
/* ==========================================================================
   Lenis Studio Smooth Scrolling Architecture
   ========================================================================== */
html.lenis, html.lenis body {
    height: auto !important;
}

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

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

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

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* =============================================================
   GT Walsheim Trial Font Declarations (Mellow Brand System)
   ============================================================= */
@font-face {
    font-family: 'GT Walsheim Trial';
    src: url('Mellow/fonts/GT-Walsheim-Thin-Trial-BF651b7fc728c4c.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Trial';
    src: url('Mellow/fonts/GT-Walsheim-Ultra-Light-Trial-BF651b7fc72b236.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Trial';
    src: url('Mellow/fonts/GT-Walsheim-Light-Trial-BF651b7fc714941.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Trial';
    src: url('Mellow/fonts/GT-Walsheim-Regular-Trial-BF651b7fc71a47d.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Trial';
    src: url('Mellow/fonts/GT-Walsheim-Medium-Trial-BF651b7fc728fb3.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Trial';
    src: url('Mellow/fonts/GT-Walsheim-Bold-Trial-BF651b7fc737c57.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Trial';
    src: url('Mellow/fonts/GT-Walsheim-Ultra-Bold-Trial-BF651b7fc6c21e5.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Trial';
    src: url('Mellow/fonts/GT-Walsheim-Black-Trial-BF651b7fc736a5b.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Trial';
    src: url('Mellow/fonts/GT-Walsheim-Regular-Oblique-Trial-BF651b7fc67342f.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Trial';
    src: url('Mellow/fonts/GT-Walsheim-Medium-Oblique-Trial-BF651b7fc69eff5.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Trial';
    src: url('Mellow/fonts/GT-Walsheim-Bold-Oblique-Trial-BF651b7fc5f06a0.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim';
    src: url('Mellow/fonts/GT-Walsheim-Regular-Trial-BF651b7fc71a47d.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim';
    src: url('Mellow/fonts/GT-Walsheim-Medium-Trial-BF651b7fc728fb3.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim';
    src: url('Mellow/fonts/GT-Walsheim-Bold-Trial-BF651b7fc737c57.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Berkshire Swash';
    src: url('Mellow/fonts/BerkshireSwash-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Official Brand Color Palette — Restored Midnight Green Canvas */
    --color-main: #08221B; /* Midnight Green - Primary page canvas */
    --color-main-dark: #051813;
    --color-dark: #2C3330; /* Gunmetal Gray - Secondary surfaces & elevated cards */
    --gradient-dark: linear-gradient(145deg, #08221B, #2C3330);
    --color-counter: #ACBEA3; /* Camouflage Green - Secondary text, borders, accents */
    --color-light: #F8F4ED; /* Linen - Primary headings & body text */
    --color-cta: #FFA400; /* Amber Yellow - Strictly primary CTAs */

    /* Grounded Surface Tokens */
    --surface-card: #2C3330;
    --surface-card-subtle: #242A27;
    --surface-card-hover: #333C38;
    --surface-elevated: #36403C;

    /* Architectural Header Tokens - Pure Frosted Glass */
    --header-bg: rgba(8, 34, 27, 0.72);
    --header-border: rgba(172, 190, 163, 0.22);
    --header-scrolled-bg: rgba(8, 34, 27, 0.88);
    --header-scrolled-border: rgba(172, 190, 163, 0.28);

    /* Card & Section Surface Tokens */
    --card-bg: #2C3330;
    --card-border: rgba(172, 190, 163, 0.18);
    --overlay-bg: rgba(8, 34, 27, 0.45);
    --overlay-hover-bg: rgba(8, 34, 27, 0.88);

    /* Typography */
    --font-heading: 'Montserrat Alternates', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-quote: 'Montserrat Alternates', sans-serif;

    /* Transition for theme switching */
    --theme-transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Light Mode Global Theme Override */
html.light-mode {
    --color-main: #F8F4ED;
    --color-main-dark: #EAE3D2;
    --color-dark: #DFD5C0;
    --gradient-dark: linear-gradient(145deg, #F8F4ED, #DFD5C0);
    --color-counter: #2D3A32;
    --color-light: #02201B;
    --color-cta: #D56B4A;
    /* Warm Terracotta accent for contrast in Light Mode */

    --header-bg: rgba(2, 32, 27, 0.04);
    --header-border: rgba(2, 32, 27, 0.1);
    --header-scrolled-bg: rgba(248, 244, 237, 0.96);
    --header-scrolled-border: rgba(2, 32, 27, 0.05);

    --card-bg: rgba(2, 32, 27, 0.03);
    --card-border: rgba(2, 32, 27, 0.08);
    --overlay-bg: rgba(248, 244, 237, 0.15);
    --overlay-hover-bg: rgba(248, 244, 237, 0.94);
}

html.light-mode .bg-lines {
    mix-blend-mode: multiply;
    opacity: 0.04;
}

html.light-mode body::after {
    background: rgba(248, 244, 237, 0.15);
}

html.light-mode .logo-img {
    filter: invert(1) brightness(0.15) !important;
}


/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--color-light);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
    margin-left: 10px;
}

.theme-toggle-btn:hover {
    color: var(--color-cta);
    transform: scale(1.1) rotate(15deg);
}

/* Active Nav Links Underline Highlight */
.nav-links a.active:not(.btn-cta) {
    color: var(--color-cta) !important;
    position: relative;
}


/* Morphing Animation */
@keyframes morph {
    0% {
        border-radius: 12px;
    }

    33% {
        border-radius: 20px 8px 16px 14px;
    }

    66% {
        border-radius: 8px 20px 14px 16px;
    }

    100% {
        border-radius: 12px;
    }
}


/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: auto;
    background-color: var(--color-main);
    overflow-x: hidden;
    overflow-y: auto;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-main);
    color: rgba(248, 244, 237, 0.88);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    overflow-y: auto;
    transition: var(--theme-transition);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 20%, rgba(14, 48, 38, 0.22) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(8, 30, 24, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 164, 0, 0.03) 0%, transparent 50%);
    z-index: -3;
    pointer-events: none;
    animation: bgRotate 40s linear infinite;
    will-change: transform;
}

@keyframes bgRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes starDrift {
    0% {
        background-position: 0px 0px;
    }

    100% {
        background-position: -1000px 1000px;
    }
}

/* Abstract space background element */
.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.08;
    pointer-events: none;
    display: block;
    background-image: url('abstract-lines.svg');
    background-repeat: repeat;
    background-size: 1000px;
    mix-blend-mode: color-dodge;
    animation: starDrift 160s linear infinite;
}

/* Subtle atmosphere layer */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: rgba(8, 34, 27, 0.04);
    pointer-events: none;
}

h1,
h2,
h3,
h4,
.brand {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--color-light);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -1px;
}

h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 500;
}

p {
    color: rgba(248, 244, 237, 0.88);
}

a {
    text-decoration: none;
    color: var(--color-light);
    transition: all 0.3s ease;
}

/* Utility Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.text-center {
    text-align: center;
}

/* Animations (Scroll reveal classes) */
.fade-up {
    opacity: 0;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

.fade-up.visible {
    opacity: 1;
    transform: none;
}

.fade-in {
    opacity: 0;
    transform: none;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

.scale-up {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays */
.visible.stagger-1 {
    transition-delay: 0.15s;
}

.visible.stagger-2 {
    transition-delay: 0.3s;
}

.visible.stagger-3 {
    transition-delay: 0.45s;
}

.visible.stagger-4 {
    transition-delay: 0.6s;
}

.visible.stagger-5 {
    transition-delay: 0.75s;
}

/* -----------------------------------
   Header / Nav
----------------------------------- */
.main-header {
    --sp: 0;
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translate3d(-50%, 0, 0) scale(calc(1 - 0.015 * var(--sp)));
    width: min(1320px, 92%);
    padding: 12px 0;
    z-index: 10000;
    background: rgba(8, 34, 27, calc(0.72 + 0.18 * var(--sp)));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(172, 190, 163, calc(0.20 + 0.08 * var(--sp)));
    border-top: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 16px 36px rgba(0, 0, 0, calc(0.25 + 0.2 * var(--sp))),
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
    will-change: transform;
}

html.light-mode .main-header {
    background: rgba(248, 244, 237, calc(0.82 + 0.12 * var(--sp))) !important;
    border: 1px solid rgba(8, 34, 27, calc(0.18 - 0.06 * var(--sp))) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 calc(16px - 4px * var(--sp)) calc(36px - 8px * var(--sp)) rgba(0, 0, 0, calc(0.08 + 0.06 * var(--sp))),
                inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
}

.main-header .brand-logo {
    transform: scale(calc(1 - 0.1 * var(--sp)));
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.brand {
    font-size: 1.35rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--color-light);
}

.brand-logo,
.footer-logo,
.hero-logo,
.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    transform-origin: left center;
}

.nav-links {
    display: flex;
    gap: 48px;
    align-items: center;
    flex-shrink: 0;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:not(.btn-cta) {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-light);
    opacity: 0.92;
    display: inline-block;
    transition: all 0.25s ease;
    letter-spacing: 0.25px;
}

.nav-links a:not(.btn-cta):hover {
    color: var(--color-cta);
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 164, 0, 0.4);
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 10001;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-light);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Primary Call to Action Button */
.btn-cta {
    background-color: var(--color-cta);
    color: #08221B;
    padding: 11px 26px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 164, 0, 0.5);
    transition: transform 120ms cubic-bezier(0.2, 0, 0, 1), box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
    will-change: transform;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 164, 0, 0.35);
}

.btn-cta:hover {
    background-color: #ffb424;
    color: #08221B;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 164, 0, 0.55);
}

.btn-cta:active {
    transform: scale(0.97) !important;
    transition: transform 60ms ease-out !important;
}

/* Secondary Button — Outline with Amber hover */
.btn-secondary {
    background-color: transparent;
    color: var(--color-light);
    border: 1px solid rgba(172, 190, 163, 0.35);
    padding: 11px 26px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.88rem;
    border-radius: 30px;
    transition: transform 120ms cubic-bezier(0.2, 0, 0, 1), box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease;
    will-change: transform;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: rgba(255, 164, 0, 0.08);
    border-color: var(--color-cta);
    color: var(--color-cta);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 164, 0, 0.2);
}

.btn-secondary:active {
    transform: scale(0.97) !important;
    transition: transform 60ms ease-out !important;
}

.large-btn {
    padding: 13px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    margin-top: 15px;
}

/* -----------------------------------
   Hero Section — Full-screen centered
----------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    padding-top: clamp(80px, 11vh, 105px);
    padding-bottom: 25px;
    box-sizing: border-box;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: var(--color-main);
}

.hero-sunset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.95;
    filter: blur(10px) brightness(0.9) contrast(1.1);
    animation: kenBurnsZoom 24s ease-in-out infinite alternate;
}

@keyframes kenBurnsZoom {
    0% {
        transform: scale(1.02) translate(0, 0);
    }

    100% {
        transform: scale(1.10) translate(2px, -8px);
    }
}

/* Persistent Uniform Dark Overlay — Black Tint */
.hero-bg-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55) !important;
    z-index: 1;
}

/* Gentle faint glow around cursor on homescreen background */
.hero-cursor-glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(
        500px circle at var(--cursor-x, 50%) var(--cursor-y, 50%),
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 190, 110, 0.035) 40%,
        transparent 75%
    );
    opacity: var(--cursor-glow-opacity, 0);
    transition: opacity 0.5s ease;
}

@media (hover: none) {
    .hero-cursor-glow {
        display: none !important;
    }
}

/* Ambient Hero Background Quote */
.hero-bg-quote {
    position: absolute;
    bottom: 4vh;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 500;
    color: var(--color-light);
    opacity: 0.45;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    letter-spacing: 3px;
    line-height: 1.6;
}

@media (max-width: 992px), (max-height: 850px) {
    .hero-bg-quote {
        display: none !important;
    }

    .hero-section {
        padding-top: clamp(75px, 11vh, 95px);
    }

    .hero-logo {
        width: clamp(95px, 13vh, 130px) !important;
    }

    .hero-main-group {
        gap: 10px;
    }

    .hero-tagline {
        margin-bottom: 24px !important;
    }

    .hero-cta-group {
        gap: 22px !important;
    }
}

@media (max-height: 680px) {
    .hero-section {
        padding-top: 70px;
    }

    .hero-logo {
        width: clamp(75px, 11vh, 95px) !important;
    }

    .hero-main-group {
        gap: 6px;
    }

    .hero-title {
        font-size: clamp(2rem, 5.5vh, 2.8rem) !important;
    }

    .hero-tagline {
        font-size: 0.9rem !important;
        margin-bottom: 14px !important;
    }

    .hero-cta-group {
        gap: 12px !important;
    }

    .hero-cta-group .large-btn {
        padding: 9px 20px !important;
        font-size: 0.85rem !important;
        margin-top: 4px !important;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Centered Vertical Stack for all screen sizes */
.hero-main-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 5px;
}

.hero-logo-container {
    margin: 0;
    animation: heroLogoIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-logo {
    width: clamp(110px, 15vh, 175px);
    max-height: 20vh;
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.6));
}

@keyframes heroLogoIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.85);
    }

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

.hero-title {
    font-size: clamp(3.2rem, 10vw, 5.2rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-optical-sizing: auto;
    margin: 0;
    font-weight: 500;
    color: var(--color-light);
    animation: heroTextIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
    transition: color 0.4s ease;
}

/* Explicit palette styling for homepage hero */
.hero-section .hero-title {
    color: #F8F4ED !important;
    font-weight: 500;
}

.hero-section .hero-tagline {
    color: rgba(248, 244, 237, 0.90) !important;
    font-weight: 300;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    font-weight: 300;
    color: var(--color-light);
    letter-spacing: 0.04em;
    font-family: var(--font-body);
    margin-bottom: 40px;
    animation: heroTextIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.4s;
}

.hero-cta-group {
    animation: heroTextIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.6s;
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

/* Responsive Adjustments (Desktop & Tablet) */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 40px;
    }
}

/* -----------------------------------
   Intro Section
----------------------------------- */
.intro-section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.intro-text {
    font-size: 1.8rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-light);
    font-weight: 400;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 600;
    margin: 0 auto 60px auto;
    text-align: center;
    position: relative;
    letter-spacing: -0.02em;
    font-optical-sizing: auto;
    color: var(--color-light);
    transition: color 0.4s ease;
}

.section-title span {
    color: var(--color-counter);
    font-weight: 600;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#home-projects {
    padding-bottom: 40px;
}

/* Subtle separator lines between all standard page sections */
main section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* -----------------------------------
   Gallery / Portfolio
----------------------------------- */
.gallery-section {
    padding: 60px 0 120px 0;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 24px;
}

/* Slight sizing variations for an organic feel */
.grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gradient-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
    animation: morph 8s ease-in-out infinite;
}

/* Specifically spanning a couple of specific items so the 10 grid pieces fit nicely */
.grid-item:nth-child(1),
.grid-item:nth-child(4) {
    grid-row: span 2;
}

.grid-item:nth-child(5) {
    grid-column: span 2;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 164, 0, 0.2);
}

.grid-item:hover img {
    transform: scale(1.05);
}

/* -----------------------------------
   Contact
----------------------------------- */
.contact-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* -----------------------------------
   Forms & Custom Elements
----------------------------------- */
.contact-form {
    max-width: 600px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 164, 0, 0.5);
    background: rgba(255, 255, 255, 0.04);
}

.contact-form textarea {
    resize: vertical;
}

/* -----------------------------------
   Symmetrical Central Footer
----------------------------------- */
.central-footer {
    background: linear-gradient(to bottom, rgba(1, 16, 14, 0.4), var(--color-main-dark));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 60px 40px 30px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
    color: var(--color-light);
    text-align: center;
}

.footer-top-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
    width: 100%;
}

.footer-nav-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
}

.footer-nav-group:first-of-type {
    justify-content: flex-end;
    padding-right: 40px;
}

.footer-nav-group:last-of-type {
    justify-content: flex-start;
    padding-left: 40px;
}

.footer-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding: 0 40px;
}

.footer-nav-group a {
    color: var(--color-counter);
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-nav-group a:hover {
    color: var(--color-cta);
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-middle-row {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-light);
    font-size: 1.15rem;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-links a:hover {
    background: rgba(255, 164, 0, 0.1);
    border-color: var(--color-cta);
    color: var(--color-cta);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 164, 0, 0.15);
}

.footer-bottom-row {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
}

.flag-icon {
    font-size: 1.5rem;
}

/* -----------------------------------
   Portfolio Company Hover Cards
----------------------------------- */
.company-directory {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    padding: 30px 0 40px 0;
}

/* Editorial Asymmetrical Layout for Featured Case Studies */
@media (min-width: 992px) {
    .company-directory {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        align-items: stretch;
    }

    #home-projects .company-directory,
    #portfolio-projects .company-directory,
    .company-directory.editorial-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .company-card {
        grid-column: auto;
    }

    .company-card.featured-card {
        grid-column: span 12;
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        min-height: 380px;
    }

    .company-card.featured-card .company-card-thumb {
        aspect-ratio: auto;
        height: 100%;
        min-height: 320px;
        border-bottom: none;
        border-right: 1px solid rgba(172, 190, 163, 0.16);
    }

    .company-card.featured-card .company-content {
        padding: 44px 48px;
        justify-content: center;
    }

    .company-card.featured-card .company-content h3 {
        font-size: 2.1rem;
        letter-spacing: -0.8px;
    }

    .company-card.featured-card .company-description {
        font-size: 1.05rem;
        line-height: 1.65;
        max-width: 480px;
    }

    .company-card.secondary-card {
        grid-column: span 6;
    }
}

.company-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #2C3330;
    border: 1px solid rgba(172, 190, 163, 0.16);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: auto;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.company-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-bottom: 1px solid rgba(172, 190, 163, 0.14);
}

.company-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.company-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 34, 27, 0.25);
    transition: background 0.4s ease;
    z-index: 2;
}

.company-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    text-align: left;
}

.company-content h2,
.company-content h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-light);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.company-description {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(248, 244, 237, 0.85);
    margin: 0;
}

.company-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-counter);
    letter-spacing: 1px;
    margin-top: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Grounded, Non-AI Hover Interactions */
.company-card:hover {
    transform: translateY(-6px);
    border-color: rgba(172, 190, 163, 0.4);
    background: #333C38;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

html.light-mode .company-card:hover {
    background: #EAE3D2;
    box-shadow: 0 20px 40px rgba(8, 34, 27, 0.1);
}

.company-card:hover .company-bg-image {
    transform: scale(1.04);
}

.company-card:hover .company-overlay {
    background: rgba(8, 34, 27, 0.1);
}

.company-card:hover .company-content h2,
.company-card:hover .company-content h3 {
    color: var(--color-light);
}

.company-card:hover .company-card-action {
    color: var(--color-light);
    transform: translateX(4px);
}

/* -----------------------------------
   Recent Commercial Project Showcase
----------------------------------- */
.recent-project-card {
    background: linear-gradient(160deg, rgba(28, 38, 33, 0.95) 0%, rgba(14, 22, 18, 0.98) 100%);
    border: 1px solid rgba(172, 190, 163, 0.18);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(16, 60, 46, 0.12);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 10px;
}

.recent-project-card:hover {
    border-color: rgba(255, 164, 0, 0.45);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(255, 164, 0, 0.12);
    transform: translateY(-4px);
}

.browser-window-mockup {
    background: #141b17;
    border-bottom: 1px solid rgba(172, 190, 163, 0.14);
}

.browser-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(10, 16, 13, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 16px;
}

.browser-window-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 60px;
}

.browser-window-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.browser-window-dots .dot-close {
    background: #ff5f56;
    box-shadow: 0 0 6px rgba(255, 95, 86, 0.6);
}

.browser-window-dots .dot-minimize {
    background: #ffbd2e;
    box-shadow: 0 0 6px rgba(255, 189, 46, 0.6);
}

.browser-window-dots .dot-expand {
    background: #27c93f;
    box-shadow: 0 0 6px rgba(39, 201, 63, 0.6);
}

.browser-url-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 7px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--color-light);
    font-size: 0.88rem;
    font-family: monospace;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    max-width: 420px;
    width: 100%;
    justify-content: center;
}

.browser-url-pill:hover {
    background: rgba(255, 164, 0, 0.12);
    border-color: rgba(255, 164, 0, 0.35);
    color: var(--color-cta);
}

.url-lock-icon {
    font-size: 0.72rem;
    color: #10B981;
}

.url-arrow-icon {
    font-size: 0.72rem;
    opacity: 0.7;
    margin-left: 2px;
}

.browser-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #10B981;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    min-width: fit-content;
}

.live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    box-shadow: 0 0 8px #10B981;
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.browser-viewport-anchor {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.browser-viewport-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0d1411;
    aspect-ratio: 16/9;
}

@media (min-width: 992px) {
    .browser-viewport-frame {
        aspect-ratio: 16/8.2;
        max-height: 540px;
    }
}

.browser-viewport-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.browser-viewport-anchor:hover .browser-viewport-image {
    transform: scale(1.025);
}

.browser-hover-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 15, 11, 0.1) 0%, rgba(5, 15, 11, 0.65) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.browser-viewport-anchor:hover .browser-hover-veil {
    opacity: 1;
}

.browser-veil-content .veil-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 40px;
    background: var(--color-cta);
    color: #121815;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(255, 164, 0, 0.35);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.browser-viewport-anchor:hover .browser-veil-content .veil-btn {
    transform: translateY(0);
}

.recent-project-footer {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    background: rgba(14, 22, 18, 0.85);
}

@media (min-width: 992px) {
    .recent-project-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.recent-project-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-client-kicker {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-cta);
    display: block;
}

.project-client-name {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    color: var(--color-light);
    margin: 4px 0 10px;
    letter-spacing: -0.5px;
}

.project-client-summary {
    color: var(--color-counter);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 620px;
    margin: 0;
    font-weight: 300;
}

.project-spec-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: var(--color-light);
}

.spec-pill i {
    color: var(--color-cta);
    font-size: 0.85rem;
}

.spec-pill.highlight {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    color: #10B981;
}

.spec-pill.highlight i {
    color: #10B981;
}

.recent-project-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

@media (max-width: 600px) {
    .browser-header-bar {
        flex-wrap: wrap;
    }
    .browser-url-pill {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
    .recent-project-footer {
        padding: 24px 20px;
    }
    .recent-project-ctas {
        flex-direction: column;
        width: 100%;
    }
    .recent-project-ctas .btn-cta,
    .recent-project-ctas .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* -----------------------------------
   Luxury Scrolling Line Divider
----------------------------------- */
.luxury-divider-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}

.luxury-divider {
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(172, 190, 163, 0.45), transparent);
    transition: width 1.8s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0.6;
}

.luxury-divider.visible {
    width: 80%;
}

/* -----------------------------------
   Page Specific Helpers
----------------------------------- */
.page-header,
.company-header {
    padding: 160px 0 60px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

/* Glassmorphism for Page & Company Headers */
.page-header .container,
.company-header .container {
    padding: 0;
}

.page-header .hero-title {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--gradient-dark);
    padding: 40px;
    border-radius: 12px;
    border-left: 2px solid var(--color-cta);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: morph 8s ease-in-out infinite;
}

.testimonial-quote {
    font-family: var(--font-quote);
    font-size: 1.15rem;
    font-weight: 500;
    font-style: normal;
    margin-bottom: 20px;
    color: var(--color-light);
    line-height: 1.8;
}

.testimonial-author {
    color: var(--color-counter);
    font-weight: 600;
}

/* -----------------------------------
   Unified Responsive / Mobile Experience
----------------------------------- */
@media (max-width: 900px) {
    /* Performance Optimizations on Mobile */
    body {
        padding-bottom: 120px !important;
    }
    body::before {
        animation: none !important;
    }
    .bg-lines {
        animation: none !important;
        mix-blend-mode: normal !important;
    }
    body::after {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(2, 32, 27, 0.75) !important;
    }
    html.light-mode body::after {
        background: rgba(248, 244, 237, 0.85) !important;
    }

    .main-header {
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        padding: 12px 0;
        border-radius: 40px;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.26) !important;
        background: linear-gradient(180deg, rgba(10, 32, 25, 0.9) 0%, rgba(2, 12, 9, 0.96) 100%) !important;
        backdrop-filter: blur(24px) saturate(160%);
        -webkit-backdrop-filter: blur(24px) saturate(160%);
        box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 16px 36px rgba(0, 0, 0, 0.6);
    }

    html.light-mode .main-header {
        background: rgba(248, 244, 237, 0.92) !important;
        border-color: rgba(8, 34, 27, 0.12) !important;
    }

    .nav-container::before,
    .nav-container::after {
        display: none;
    }

    .nav-container {
        padding: 0 25px;
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
    }

    .brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0 !important;
        flex-grow: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .brand a {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .main-header .brand-logo {
        height: 30px !important;
        max-height: 30px !important;
        width: auto !important;
        transform: none !important;
        transform-origin: center center !important;
    }

    .nav-links {
        margin: 0 !important;
        flex-grow: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(1, 16, 14, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 60px 40px;
        gap: 40px;
        transition: right 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 10000;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a:not(.btn-cta) {
        font-size: 1.6rem;
        font-family: var(--font-heading);
        font-weight: 500;
        color: var(--color-light);
    }

    .nav-links a:not(.btn-cta):hover {
        color: var(--color-cta);
    }

    .btn-cta {
        width: 100%;
        text-align: center;
        padding: 16px;
        font-size: 1.1rem;
    }

    .nav-links .btn-cta {
        width: auto;
        text-align: left;
        padding: 0;
        font-size: 1.6rem;
        font-family: var(--font-heading);
        font-weight: 600;
        background: none !important;
        color: var(--color-cta) !important;
        box-shadow: none !important;
        border-radius: 0;
    }

    .nav-links .btn-cta:hover {
        background: none !important;
        color: var(--color-cta) !important;
        transform: translateY(-4px) !important;
        box-shadow: none !important;
    }

    .hero-title {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
        letter-spacing: -1.5px;
    }

    .hero-tagline {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }

    .intro-section {
        padding: 80px 0;
    }

    .intro-text {
        font-size: 1.25rem;
    }

    .gallery-section .grid-item,
    .grid-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .grid-item {
        grid-row: span 1 !important;
        grid-column: span 1 !important;
    }

    .footer-top-row {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .footer-logo-wrap {
        order: -1;
        padding: 0;
    }

    .footer-nav-group {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }

    .footer-nav-group:first-of-type {
        padding-right: 0;
        justify-content: center;
    }

    .footer-nav-group:last-of-type {
        padding-left: 0;
        justify-content: center;
    }

    .company-card {
        height: 320px;
    }

    /* Make company descriptions visible on touch devices */
    .company-description {
        opacity: 1;
        max-height: 80px;
        margin-bottom: 16px;
        font-size: 0.85rem;
    }
}

/* -----------------------------------
   Animations & Transitions
----------------------------------- */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-8px);
    }

    50% {
        transform: translateY(-4px);
    }

    70% {
        transform: translateY(-6px);
    }
}

@keyframes staggeredFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.staggered-item {
    opacity: 0;
    transform: translateY(20px);
}

.staggered-item.visible {
    animation: staggeredFade 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* -----------------------------------
   Category Section (Portfolio)
----------------------------------- */
.category-section {
    padding: 80px 0;
    margin-bottom: 40px;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.category-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    padding: 22px 14px;
    border-radius: 12px;
    text-align: center;
    min-width: 140px;
    min-height: 135px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.category-card i {
    font-size: 2rem;
    color: var(--color-cta);
    transition: transform 0.4s ease;
}

.category-card span {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--color-light);
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 164, 0, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

html.light-mode .category-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(2, 32, 27, 0.1);
}

html.light-mode .category-card:hover {
    background: rgba(2, 32, 27, 0.05);
}

.category-card:hover i {
    transform: scale(1.2);
}

/* Gallery Showcase Grid */
.showcase-section {
    position: relative;
    padding: 80px 0 120px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.showcase-glow-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 164, 0, 0.06) 0%, transparent 60%),
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 24px 24px;
    background-position: center, center;
    pointer-events: none;
    z-index: 1;
}

.portfolio-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 50px auto 0;
}

.showcase-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1/1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--color-main-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.showcase-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 164, 0, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.showcase-item:hover img {
    transform: scale(1.06);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: 2;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-info {
    text-align: left;
}

.showcase-category {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-cta);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-light);
    margin: 0;
}

@media (max-width: 900px) {
    .portfolio-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .portfolio-showcase-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Light Mode Gallery Overrides */
html.light-mode .showcase-item {
    border-color: rgba(2, 32, 27, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: rgba(8, 34, 27, 0.05);
}

html.light-mode .showcase-item:hover {
    border-color: rgba(213, 107, 74, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

html.light-mode .showcase-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
}

html.light-mode .showcase-glow-bg {
    background-image:
        radial-gradient(circle at 50% 50%, rgba(213, 107, 74, 0.04) 0%, transparent 60%),
        radial-gradient(rgba(2, 32, 27, 0.03) 1px, transparent 1px);
}


/* -----------------------------------
   Work Process Section (Contact)
   ----------------------------------- */
.process-section {
    padding: 120px 0;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: #2C3330;
    border: 1px solid rgba(172, 190, 163, 0.16);
    padding: 36px 28px;
    border-radius: 12px;
    position: relative;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.process-step:hover {
    background: #323A36;
    border-color: rgba(172, 190, 163, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 600;
    color: rgba(172, 190, 163, 0.2);
    position: absolute;
    top: 20px;
    right: 24px;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--color-light);
    font-weight: 600;
}

.process-step p {
    font-size: 0.92rem;
    color: rgba(248, 244, 237, 0.85);
    line-height: 1.65;
}

.process-icon-wrap {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--color-counter);
}

@media (max-width: 600px) {
    .category-card {
        min-width: calc(50% - 10px);
        padding: 20px;
    }
}

/* -----------------------------------
   Project Showcase / Case Study Layouts (Unified)
----------------------------------- */
.project-hero {
    padding: 160px 0 80px 0;
    text-align: center;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--header-border);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.project-hero h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    margin-bottom: 20px;
    line-height: 1;
    font-weight: 200;
}

.project-hero .intro-text {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto;
    color: var(--color-counter);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    padding: 100px 0;
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Post Carousel (Standardized) */
.post-card {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.post-card h3 {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--color-cta);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.post-carousel {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-carousel:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 164, 0, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    object-fit: cover;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #fff;
    width: 18px;
    border-radius: 3px;
}

/* Impact Section */
.impact-section {
    padding: 140px 0;
    background: var(--color-main-dark);
    position: relative;
    overflow: hidden;
    transition: var(--theme-transition);
}

.impact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.impact-content {
    flex: 1;
}

.impact-content h2 {
    font-size: clamp(3.5rem, 12vw, 6.5rem);
    line-height: 0.9;
    font-weight: 200;
    margin-bottom: 30px;
    letter-spacing: -4px;
}

.checkbox-group-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-counter);
    margin-bottom: 12px;
    font-weight: 500;
}

.label-note {
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
    color: var(--color-counter);
}

.impact-content p {
    font-size: 1.25rem;
    color: var(--color-counter);
    max-width: 500px;
    font-weight: 300;
    line-height: 1.6;
}

.impact-visual {
    flex: 1;
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(8, 34, 27, 0.1);
}

.impact-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .impact-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .impact-content p {
        margin: 0 auto;
    }

    .impact-visual {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Geometric Background Utility */
.geometric-bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.05;
}

/* General Project Hero Enhancements */
.full-width-image {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.full-width-image:hover {
    transform: scale(1.02);
}

/* -----------------------------------
   Phone Optimization (< 600px)
   Enforces Strict Vertical Stacking and Hierarchy
----------------------------------- */
@media (max-width: 600px) {

    /* 1. Global Spacing & Layout Override */
    section {
        padding: 80px 0 !important;
    }

    .container {
        padding: 0 24px !important;
    }

    .section-title {
        font-size: 2.1rem !important;
        margin-bottom: 45px !important;
        line-height: 1.2;
    }

    /* 2. Hero Section Refinement */
    .hero-main-group {
        flex-direction: column !important;
        gap: 15px !important;
        margin-bottom: 25px !important;
    }

    .hero-logo-container {
        margin-bottom: 0 !important;
    }

    .hero-logo {
        width: 140px !important;
    }

    .hero-title {
        font-size: 2.8rem !important;
        letter-spacing: -1px !important;
        margin-bottom: 5px !important;
    }

    .hero-tagline {
        font-size: 1.1rem !important;
        letter-spacing: 2px !important;
        line-height: 1.4;
        max-width: 180px;
        margin: 0 auto 30px;
    }

    /* 3. Category Section Stacking */
    .category-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .category-card {
        min-width: 0 !important;
        padding: 18px 10px !important;
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 8px !important;
        min-height: 120px !important;
    }

    .category-card i {
        font-size: 1.6rem !important;
        margin-bottom: 0 !important;
    }

    .category-card span {
        font-size: 0.85rem !important;
    }

    .category-card.is-locked {
        gap: 6px !important;
    }

    /* 4. Projects & Testimonials Stacking */
    .company-directory,
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .company-card {
        height: 340px !important;
    }

    /* 5. Process Stacking */
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .process-step {
        padding: 35px 25px !important;
    }

    .step-number {
        font-size: 2.2rem !important;
        right: 20px !important;
    }

    /* 6. Footer Stacking and Centering */
    .footer-top-row {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 45px !important;
    }

    .footer-logo-wrap {
        order: -3;
        margin: 0 auto;
        padding: 0 !important;
    }

    .footer-nav-group {
        flex-direction: column !important;
        gap: 15px !important;
        order: -2;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-nav-group:first-of-type {
        padding-right: 0 !important;
        justify-content: center !important;
    }

    .footer-nav-group:last-of-type {
        padding-left: 0 !important;
        justify-content: center !important;
    }

    .social-links {
        justify-content: center !important;
        gap: 30px !important;
        order: -1;
    }

    .flag-icon {
        margin-top: 20px;
    }

    /* Impact Section Polish */
    .impact-container {
        padding: 0 !important;
    }

    .impact-content h2 {
        font-size: 3rem !important;
        margin-bottom: 20px !important;
    }
}

/* END OF MOBILE MEDIA QUERY (< 600px) */


/* -----------------------------------
   Universal Home Button — above orbit, bottom-right
----------------------------------- */
#orbit-back-btn {
    position: fixed !important;
    bottom: 194px !important;
    right: 54px !important;
    left: auto !important;
    width: 42px;
    height: 42px;
    z-index: 99999 !important;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(14, 38, 30, 0.85) 0%, rgba(2, 12, 9, 0.95) 100%);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 16px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: rgba(248, 244, 237, 0.45);
    font-size: 0.85rem;
    opacity: 0.55;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transition: opacity 0.35s ease, color 0.35s ease, border-color 0.35s ease,
        box-shadow 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.35s ease;
}

#orbit-back-btn:hover {
    opacity: 0.9;
    color: #FFA400;
    border-color: rgba(255, 164, 0, 0.2);
    background: rgba(255, 164, 0, 0.06);
    box-shadow: 0 0 10px rgba(255, 164, 0, 0.12);
    transform: translateY(-2px) scale(1.08);
}

body.is-homepage #orbit-back-btn {
    display: none;
}

#orbit-home-btn {
    position: fixed !important;
    bottom: 140px !important;
    right: 54px !important;
    left: auto !important;
    width: 42px;
    height: 42px;
    z-index: 99999 !important;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(14, 38, 30, 0.85) 0%, rgba(2, 12, 9, 0.95) 100%);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 16px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: rgba(248, 244, 237, 0.45);
    font-size: 0.85rem;
    opacity: 0.55;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transition: opacity 0.35s ease, color 0.35s ease, border-color 0.35s ease,
        box-shadow 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.35s ease;
}

#orbit-home-btn:hover {
    opacity: 0.9;
    color: #FFA400;
    border-color: rgba(255, 164, 0, 0.2);
    background: rgba(255, 164, 0, 0.06);
    box-shadow: 0 0 10px rgba(255, 164, 0, 0.12);
    transform: translateY(-2px) scale(1.08);
}

/* Hide on the homepage itself */
body.is-homepage #orbit-home-btn {
    display: none;
}

/* -----------------------------------
   Floating Controls Wrapper
----------------------------------- */
#pixel-floating-controls {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99999;
    pointer-events: none;
}

#pixel-floating-controls>* {
    pointer-events: auto;
}

/* -----------------------------------
   Scroll Orbit — Pinned to BOTTOM-RIGHT of screen, ALL pages
----------------------------------- */
.scroll-orbit-container {
    position: fixed !important;
    bottom: 44px !important;
    right: 44px !important;
    left: auto !important;
    width: 62px;
    height: 62px;
    z-index: 99999 !important;
    pointer-events: auto;
    touch-action: none;
    cursor: grab;
    opacity: 0.65;
    border-radius: 50%;
    display: block !important;
    visibility: visible !important;
    transition: opacity 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
    will-change: transform;
}

.scroll-orbit-container * {
    pointer-events: none;
}

.scroll-orbit-container:hover {
    opacity: 1;
    background: rgba(255, 164, 0, 0.06);
    box-shadow: 0 0 20px rgba(255, 164, 0, 0.12);
}

.scroll-orbit-container.is-dragging {
    cursor: grabbing;
    background: rgba(255, 164, 0, 0.1);
    opacity: 1;
    box-shadow: 0 0 30px rgba(255, 164, 0, 0.2);
    transition: opacity 0.2s ease;
}

/* Beacon pulse — "I'm here!" triggered from Quirks panel */
@keyframes orbitBeacon {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 164, 0, 0.7), 0 0 0 0 rgba(255, 164, 0, 0.4);
        opacity: 1;
        transform: scale(1);
    }

    40% {
        box-shadow: 0 0 0 14px rgba(255, 164, 0, 0.25), 0 0 0 28px rgba(255, 164, 0, 0.1);
    }

    70% {
        box-shadow: 0 0 0 22px rgba(255, 164, 0, 0.1), 0 0 0 44px rgba(255, 164, 0, 0.03);
        transform: scale(1.25);
    }

    100% {
        box-shadow: 0 0 0 30px rgba(255, 164, 0, 0), 0 0 0 60px rgba(255, 164, 0, 0);
        opacity: 1;
        transform: scale(1);
    }
}

.scroll-orbit-container.pulsing {
    animation: orbitBeacon 1.2s cubic-bezier(0.22, 1, 0.36, 1) 3;
    opacity: 1;
    background: rgba(255, 164, 0, 0.1);
    transition: none;
}

@keyframes sunPulse {
    0% {
        box-shadow: 0 0 14px var(--color-cta), 0 0 3px var(--color-cta);
    }

    50% {
        box-shadow: 0 0 22px var(--color-cta), 0 0 8px rgba(255, 164, 0, 0.5);
    }

    100% {
        box-shadow: 0 0 14px var(--color-cta), 0 0 3px var(--color-cta);
    }
}

.so-sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--color-cta);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--color-cta);
    animation: sunPulse 3s ease-in-out infinite;
}

.so-planet-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.so-planet {
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--color-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 6px rgba(248, 244, 237, 0.6);
}

.so-moon-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.so-moon {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 3px;
    background: var(--color-counter);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 4px var(--color-counter);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #orbit-back-btn {
        bottom: 151px !important;
        right: 16px !important;
        left: auto !important;
        width: 44px;
        height: 44px;
    }

    #orbit-home-btn {
        bottom: 95px !important;
        right: 16px !important;
        left: auto !important;
        width: 44px;
        height: 44px;
    }

    .scroll-orbit-container {
        bottom: 20px !important;
        right: 16px !important;
        left: auto !important;
        width: 50px;
        height: 50px;
    }

    .so-planet-orbit {
        width: 50px;
        height: 50px;
    }

    #quirks-btn {
        bottom: 16px !important;
        left: 12px !important;
        padding: 8px 14px;
        font-size: 0.55rem;
    }

    #quirks-panel {
        bottom: 56px !important;
        left: 12px !important;
        width: 280px;
    }
}


/* -----------------------------------
   Spaceship Explorer Animation
----------------------------------- */
.scroll-spaceship {
    position: fixed;
    top: 25vh;
    left: -5vw;
    z-index: 5;
    pointer-events: none;
    will-change: transform;
    opacity: 0.8;
}

@keyframes flameFlicker {
    0% {
        transform: scaleY(1);
        opacity: 0.9;
    }

    100% {
        transform: scaleY(0.7);
        opacity: 0.5;
    }
}

.ship-flame {
    transform-origin: 50% 80%;
    animation: flameFlicker 0.1s infinite alternate;
}

/* ── Portfolio Project Navigation Bar ── */
.pf-nav {
    padding: 80px 0;
    border-top: 1px solid var(--card-border);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.pf-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
    color: var(--color-light);
    opacity: 0.6;
    padding: 14px 28px;
    border-radius: 80px;
    border: 1px solid var(--card-border);
    background: transparent;
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
}

.pf-nav-btn:first-of-type {
    justify-self: end;
}

.pf-nav-btn:last-of-type {
    justify-self: start;
}

.pf-nav-btn:hover {
    color: var(--color-cta);
    border-color: var(--color-cta);
    background: rgba(255, 164, 0, 0.05);
    opacity: 1;
    transform: translateY(-2px);
}

html.light-mode .pf-nav-btn:hover {
    background: rgba(213, 107, 74, 0.05);
}

.pf-nav-btn.disabled {
    opacity: 0.2;
    pointer-events: none;
    cursor: default;
}

.pf-nav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 48px;
}

.pf-nav-center a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.pf-nav-center a:hover .pf-nav-logo {
    opacity: 0.7;
}

.pf-nav-logo {
    height: 32px;
    width: auto;
    opacity: 0.4;
    transition: opacity 0.3s;
    filter: saturate(0);
}

html.light-mode .pf-nav-logo {
    filter: invert(1) saturate(0);
}

.pf-nav-portfolio-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-light);
    opacity: 0.45;
    transition: color 0.3s, opacity 0.3s;
}

.pf-nav-center a:hover .pf-nav-portfolio-label {
    color: var(--color-cta);
    opacity: 0.8;
}

@media (max-width: 600px) {
    .pf-nav {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .pf-nav-center {
        padding: 0;
        order: -1;
    }
}



/* ── Quirks Panel ── */
/* Quirks button — pinned to BOTTOM-LEFT, homepage only */
#quirks-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    top: auto;
    right: auto;
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(145deg, rgba(14, 38, 30, 0.9) 0%, rgba(2, 12, 9, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 24px rgba(0, 0, 0, 0.5);
    color: rgba(248, 244, 237, 0.45);
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    user-select: none;
}

#quirks-btn:hover,
#quirks-btn.open {
    color: #FFA400;
    border-color: rgba(255, 164, 0, 0.4);
    box-shadow: 0 8px 32px rgba(255, 164, 0, 0.15);
}

#quirks-btn i {
    font-size: 0.9rem;
}

/* Quirks Panel — opens above the bottom-left button */
#quirks-panel {
    position: fixed;
    bottom: 76px;
    left: 24px;
    top: auto;
    right: auto;
    z-index: 99997;
    width: 300px;
    background:
        radial-gradient(ellipse at top left, rgba(255, 120, 0, 0.07) 0%, transparent 60%),
        rgba(4, 20, 16, 0.97);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 164, 0, 0.18);
    border-radius: 18px;
    padding: 22px;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 164, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(14px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

#quirks-panel.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Panel title */
.quirks-panel-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 164, 0, 0.6);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 164, 0, 0.12);
}

/* Each control row */
.quirks-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.quirks-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quirks-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(172, 190, 163, 0.6);
    font-size: 0.82rem;
    flex-shrink: 0;
}

.quirks-item-icon.active-icon {
    color: #FFA400;
    border-color: rgba(255, 164, 0, 0.35);
    background: rgba(255, 164, 0, 0.08);
    box-shadow: 0 0 10px rgba(255, 120, 0, 0.2);
}

.quirks-item-body {
    flex: 1;
    min-width: 0;
}

.quirks-item-label {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 1.5px;
    text-transform: capitalize;
    color: rgba(248, 244, 237, 0.9);
    display: block;
    margin-bottom: 4px;
}

.quirks-item-hint {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(172, 190, 163, 0.6);
    line-height: 1.55;
}

/* Orbit highlight — triggered by panel hover */
.scroll-orbit-container.highlighted {
    opacity: 1;
    background: rgba(255, 164, 0, 0.12);
    box-shadow: 0 0 28px rgba(255, 164, 0, 0.35), 0 0 0 2px rgba(255, 164, 0, 0.25);
    transform: scale(1.18);
}

/* Toggle switch */
.quirks-toggle {
    position: relative;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
    cursor: pointer;
}

.quirks-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.quirks-toggle-track {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s, border-color 0.3s;
}

.quirks-toggle input:checked~.quirks-toggle-track {
    background: rgba(255, 164, 0, 0.25);
    border-color: rgba(255, 164, 0, 0.5);
}

.quirks-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(248, 244, 237, 0.4);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s;
}

.quirks-toggle input:checked~.quirks-toggle-thumb {
    transform: translateX(16px);
    background: #FFA400;
}

/* Intensity slider */
.quirks-slider-wrap {
    margin-top: 8px;
}

.quirks-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    cursor: pointer;
}

.quirks-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFA400;
    box-shadow: 0 0 6px rgba(255, 164, 0, 0.4);
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.quirks-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 12px rgba(255, 164, 0, 0.6);
}

.quirks-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: rgba(172, 190, 163, 0.45);
}


/* ── Home Quirk Item ── */
a.quirks-home-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.25s ease;
    border-radius: 8px;
}

a.quirks-home-item:hover {
    background: rgba(255, 164, 0, 0.05);
}

.quirks-home-arrow {
    font-size: 0.7rem;
    color: rgba(172, 190, 163, 0.4);
    flex-shrink: 0;
    transition: color 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

a.quirks-home-item:hover .quirks-home-arrow {
    color: #FFA400;
    transform: translateX(4px);
}

/* ── Page Transitions ── */
/* NOTE: filter on body breaks position:fixed for children — use opacity only */
@keyframes pageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pageFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

body {
    animation: pageFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.is-exiting {
    animation: pageFadeOut 0.35s cubic-bezier(0.7, 0, 0.84, 0) forwards !important;
}

/* ── Prevent excess space below footer ── */
.central-footer {
    margin-bottom: 0;
    padding-bottom: 30px;
}

body>*:last-of-type {
    margin-bottom: 0;
}

/* ── Scoped Case Study Annotations Hover Effects ── */
.mc-annotation,
.ca-annotation,
.vh-annotation,
.cs-annotation {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background 0.4s ease;
    border-radius: 0 4px 4px 0;
}

.mc-annotation:hover,
.ca-annotation:hover,
.vh-annotation:hover,
.cs-annotation:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--color-cta, #FFA400) !important;
}


/* ── UI Redesign & Smoother Animation Accents ── */

@keyframes float-slow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(3vw, 5vh) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 20px rgba(255, 164, 0, 0.15);
    }

    50% {
        box-shadow: 0 0 35px rgba(255, 164, 0, 0.3);
    }

    100% {
        box-shadow: 0 0 20px rgba(255, 164, 0, 0.15);
    }
}

.glow-blob {
    position: absolute;
    width: 35vw;
    height: 35vw;
    min-width: 300px;
    min-height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 164, 0, 0.12) 0%, rgba(2, 32, 27, 0) 70%);
    filter: blur(120px);
    pointer-events: none;
    z-index: -2;
    animation: float-slow 25s ease-in-out infinite alternate;
}

.glow-blob-alt {
    background: radial-gradient(circle, rgba(172, 190, 163, 0.1) 0%, rgba(2, 32, 27, 0) 70%);
    animation-duration: 35s;
    animation-delay: -5s;
}

/* Editorial Titles and Headings */
.hero-title,
.section-title {
    color: var(--color-light) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: initial !important;
}

.hero-title span,
.section-title span,
.page-header h1 span {
    color: var(--color-counter) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: initial !important;
    font-style: normal;
    font-weight: 600;
}

.hero-title span.text-amber,
.section-title span.text-amber,
.page-header h1 span.text-amber,
.text-amber {
    color: var(--color-cta) !important;
}

/* Grounded Studio Project Card */
.company-card {
    background: #2C3330 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(172, 190, 163, 0.16) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.company-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(172, 190, 163, 0.4) !important;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45) !important;
}

.company-bg-image {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.company-card:hover .company-bg-image {
    transform: scale(1.04) !important;
}

/* Category cards hover */
.category-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease !important;
}

.category-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(172, 190, 163, 0.35) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35) !important;
}

/* -----------------------------------
   Home CTA Section
----------------------------------- */
.home-cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(255, 164, 0, 0.04) 0%, transparent 70%);
}

html.light-mode .home-cta-section {
    background: radial-gradient(circle at center, rgba(213, 107, 74, 0.05) 0%, transparent 70%);
}

.home-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.home-cta-desc {
    color: var(--color-counter);
    font-size: 1.25rem;
    margin: 20px auto 40px auto;
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
}

.home-cta-btn {
    display: inline-block;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    box-shadow: 0 10px 30px rgba(255, 164, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.home-cta-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 164, 0, 0.45);
    background-color: var(--color-light);
    color: var(--color-main);
}

/* -----------------------------------
   Welcome Intro Screen
----------------------------------- */
#welcome-intro {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #08221B 0%, #051813 100%);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through */
    animation: intro-fade-out 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.2s;
}

#welcome-intro .welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 90%;
}

#welcome-intro .welcome-logo {
    width: 110px;
    height: auto;
    object-fit: contain;
    animation: intro-logo 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#welcome-intro .welcome-orbit-ring {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px dashed rgba(255, 164, 0, 0.25);
    border-radius: 50%;
    opacity: 0;
    animation: intro-text 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s, welcome-rotate 12s linear infinite;
}

#welcome-intro .welcome-orbit-ring::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 8px;
    height: 8px;
    background: var(--color-cta);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-cta);
}

#welcome-intro .welcome-prefix {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-counter);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    margin-bottom: -5px;
    animation: intro-text 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

#welcome-intro .welcome-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #F8F4ED 30%, #ACBEA3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    margin: 0;
    animation: intro-text 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

#welcome-intro .welcome-tagline {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-cta);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: intro-text 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

/* Stagger hero animations with snappy Apple responsiveness */
body.welcome-playing .hero-logo-container {
    animation-delay: 0.1s !important;
}
body.welcome-playing .hero-title {
    animation-delay: 0.2s !important;
}
body.welcome-playing .hero-tagline {
    animation-delay: 0.3s !important;
}
body.welcome-playing .hero-cta-group {
    animation-delay: 0.4s !important;
}

/* Intro Animations */
@keyframes intro-logo {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
        filter: drop-shadow(0 0 0 rgba(255, 164, 0, 0));
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 25px rgba(255, 164, 0, 0.35));
    }
}

@keyframes intro-text {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes welcome-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes intro-fade-out {
    0% {
        opacity: 1;
        visibility: visible;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    100% {
        opacity: 0;
        visibility: hidden;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
}

/* -----------------------------------
   Wireframe Overrides (About Us Redesign)
----------------------------------- */

/* Decorative Wireframe Headings */
.wireframe-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 500;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--color-light) 30%, var(--color-counter) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wireframe-title::before,
.wireframe-title::after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, transparent, var(--color-cta), transparent);
    max-width: 150px;
    opacity: 0.55;
}

/* About Hero Split Grid */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-hero-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-light);
    font-weight: 300;
    margin-bottom: 24px;
}

.about-hero-image {
    height: auto;
}

.about-hero-image .about-image-wrapper {
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-hero-image {
        min-height: auto;
    }
    .about-hero-image .about-image-wrapper {
        height: 360px;
    }
}

/* Premium Mission & Vision Grid Styling */
.mission-vision-container {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 60px;
    }
}

.mv-card {
    position: relative;
    padding: 32px 36px;
    background: linear-gradient(145deg, rgba(14, 38, 30, 0.85) 0%, rgba(2, 14, 11, 0.96) 60%, rgba(1, 8, 6, 0.98) 100%);
    border: 1px solid rgba(172, 190, 163, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18), 0 18px 40px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(172, 190, 163, 0.35), transparent);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(172, 190, 163, 0.35);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.mv-card:hover::before {
    opacity: 1;
}

.mv-icon {
    font-size: 2.2rem;
    color: var(--color-counter);
    margin-bottom: 4px;
    align-self: flex-start;
    filter: none;
}

.mv-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-light);
    margin: 0;
}

.mv-card-title-inline {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-light);
    margin-right: 8px;
    letter-spacing: 0.5px;
}

.mv-card-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(248, 244, 237, 0.88);
    line-height: 1.65;
    margin: 0;
}

/* Authentic Journey Card */
.journey-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 44px 38px;
    background: #2C3330;
    border: 1px solid rgba(172, 190, 163, 0.18);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.journey-card p.journey-quote {
    font-family: var(--font-quote);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 500;
    line-height: 1.75;
    color: var(--color-light);
    margin-bottom: 20px;
}

.journey-card p.journey-sub {
    font-size: 0.88rem;
    color: var(--color-counter);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

/* Wireframe Skills Grid */
.wireframe-skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding: 20px 0;
}

@media (max-width: 992px) {
    .wireframe-skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .wireframe-skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 320px;
        margin: 30px auto 0 auto;
    }
    .wf-skill-card {
        justify-content: center;
        padding: 12px;
    }
    .wf-skill-info {
        display: none !important;
    }
}

.wf-skill-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    text-align: left;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.wf-skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 164, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25), 0 0 15px rgba(255, 164, 0, 0.1);
}

.wf-skill-icon-wrap {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
}

.wf-skill-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.wf-skill-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-light);
    margin-bottom: 5px;
}

.wf-skill-info p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-counter);
    margin: 0;
    line-height: 1.5;
}



/* -----------------------------------
   Wireframe Skills Grid - Icons Only
----------------------------------- */
.wireframe-skills-grid.icons-only {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 820px;
    margin: 42px auto 0 auto;
    padding: 24px 0 10px 0;
}

.wireframe-skills-grid.icons-only .wf-skill-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    width: 105px;
    height: 105px;
    padding: 0;
    gap: 0;
    border-radius: 14px;
    flex-shrink: 0;
    box-sizing: border-box;
    background: linear-gradient(145deg, rgba(14, 38, 30, 0.9) 0%, rgba(2, 14, 11, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 12px 28px rgba(0, 5, 4, 0.5);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.wireframe-skills-grid.icons-only .wf-skill-icon-wrap {
    width: 66px;
    height: 66px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wireframe-skills-grid.icons-only .wf-skill-card.wf-card-coming-soon {
    border-style: dashed !important;
    border-color: rgba(255, 164, 0, 0.4) !important;
}

.wf-coming-soon-tag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-cta, #ffa400);
    background: linear-gradient(145deg, rgba(18, 44, 35, 0.95) 0%, #030d0a 100%);
    border: 1px solid rgba(255, 164, 0, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2px 7.5px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 6px 16px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.wf-coming-soon-tag i {
    font-size: 0.56rem;
    color: var(--color-cta, #ffa400);
}

@media (max-width: 768px) {
    .wireframe-skills-grid.icons-only {
        gap: 16px;
        max-width: 380px;
    }
    .wireframe-skills-grid.icons-only .wf-skill-card {
        width: 95px;
        height: 95px;
    }
    .wireframe-skills-grid.icons-only .wf-skill-icon-wrap {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .wireframe-skills-grid.icons-only {
        gap: 12px;
        max-width: 320px;
    }
    .wireframe-skills-grid.icons-only .wf-skill-card {
        width: 86px;
        height: 86px;
    }
    .wireframe-skills-grid.icons-only .wf-skill-icon-wrap {
        width: 54px;
        height: 54px;
        padding: 8px;
    }
    .wf-coming-soon-tag {
        font-size: 0.52rem;
        padding: 2px 6px;
        top: -9px;
    }
    .wf-coming-soon-tag i {
        font-size: 0.5rem;
    }
}


/* -----------------------------------
   Services Page Custom Styles
----------------------------------- */
.services-section {
    padding: 80px 0 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    position: relative;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 164, 0, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 164, 0, 0.15);
}

.service-icon {
    font-size: 2.6rem;
    color: var(--color-cta);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(255, 164, 0, 0.2));
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-light);
    margin-bottom: 15px;
}

.service-about p {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 300;
    color: var(--color-counter);
    line-height: 1.6;
    margin: 0;
}

.service-about {
    margin-bottom: 25px;
}

.service-who {
    margin-bottom: 25px;
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
}

.service-who h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-cta);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-who p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-counter);
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.service-deliverables-wrap {
    margin-top: auto; /* Push deliverables and button to bottom */
    margin-bottom: 30px;
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
}

.service-deliverables-wrap h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-deliverables {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-deliverables li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 0.92rem;
    color: var(--color-light);
    font-weight: 400;
}

.service-deliverables li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-cta);
    font-weight: 600;
}

.service-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-cta);
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-card-btn {
    transform: translateX(4px);
}

.service-card-btn:hover {
    color: var(--color-light);
}

.bundle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--color-cta, #FFA400);
    color: #01100e;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 40px;
    transition: all 0.35s ease;
    border: 1px solid var(--color-cta, #FFA400);
    margin-top: 35px;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 164, 0, 0.1);
}

.bundle-btn:hover {
    background-color: transparent;
    color: var(--color-cta, #FFA400);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 164, 0, 0.25);
}

/* Coming Soon — Service Card Modifier */
.service-card.coming-soon {
    opacity: 0.82;
    border-color: rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.008);
    position: relative;
    overflow: visible;
}

.service-card.coming-soon:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

/* Top-right badge */
.cs-card-badge {
    position: absolute;
    top: 18px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-counter);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
}

.cs-card-badge i {
    font-size: 0.65rem;
    opacity: 0.7;
    animation: cs-tick 2s ease-in-out infinite;
}

/* Inline coming soon tag for featured items */
.cs-tag-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 164, 0, 0.15);
    border: 1px solid rgba(255, 164, 0, 0.35);
    color: var(--color-cta);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 15px;
}

.cs-tag-inline i {
    font-size: 0.65rem;
    opacity: 0.7;
    animation: cs-tick 2s ease-in-out infinite;
}

@keyframes cs-tick {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Muted icon colour */
.service-card.coming-soon .service-icon {
    color: var(--color-counter);
    filter: none;
    opacity: 0.6;
}

.service-card.coming-soon:hover .service-icon {
    opacity: 0.8;
    transform: none;
}

/* Dimmed CTA button */
.service-card-btn.cs-btn {
    color: var(--color-counter);
    opacity: 0.6;
    pointer-events: auto;
    gap: 8px;
}

.service-card-btn.cs-btn:hover {
    color: var(--color-cta);
    opacity: 1;
}


.service-card.open-brief {
    border: 2px dashed rgba(255, 164, 0, 0.3);
    background: rgba(255, 164, 0, 0.02);
    position: relative;
    overflow: visible;
}

/* Subtle animated pulse ring on the border */
.service-card.open-brief::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    border: 1px solid rgba(255, 164, 0, 0.12);
    animation: open-brief-pulse 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes open-brief-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.012); }
}

.service-card.open-brief:hover {
    border-color: rgba(255, 164, 0, 0.6);
    background: rgba(255, 164, 0, 0.04);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 164, 0, 0.12);
}

/* "New Idea?" floating badge */
.open-brief-badge {
    position: absolute;
    top: -14px;
    left: 32px;
    background: var(--color-cta);
    color: var(--color-main-dark);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(255, 164, 0, 0.3);
}

/* Lightbulb icon gets a warm glow */
.service-card.open-brief .service-icon {
    filter: drop-shadow(0 0 14px rgba(255, 200, 50, 0.35));
    color: #FFD060;
}

.service-card.open-brief:hover .service-icon {
    filter: drop-shadow(0 0 22px rgba(255, 200, 50, 0.6));
    transform: scale(1.12) rotate(-8deg);
}

/* "How it works" label in amber */
.service-card.open-brief .service-deliverables-wrap h4 {
    color: var(--color-cta);
}

/* Dashed bullet arrows become spark dots */
.service-card.open-brief .service-deliverables li::before {
    content: '✦';
    font-size: 0.7rem;
    top: 2px;
}

/* Featured / Ace Service Card */
.service-card.ace {
    background: linear-gradient(145deg, rgba(14, 40, 32, 0.85) 0%, rgba(2, 14, 11, 0.96) 60%, rgba(1, 8, 6, 0.98) 100%);
    border: 1px solid rgba(255, 164, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 164, 0, 0.1), 0 20px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    grid-column: 1 / -1; /* Span full row */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 50px;
    flex-direction: unset;
    padding: 50px;
}

.service-card.ace .ace-left { display: flex; flex-direction: column; }
.service-card.ace .ace-right { display: flex; flex-direction: column; border-left: 1px solid rgba(255,164,0,0.15); padding-left: 50px; }

.service-card.ace::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(ellipse at top left, rgba(255,164,0,0.08), transparent 60%);
    pointer-events: none;
}

.service-card.ace::after {
    content: 'ACE SERVICE';
    position: absolute;
    top: 22px;
    right: 28px;
    background: var(--color-cta);
    color: var(--color-main-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 1.5px;
    font-family: var(--font-heading);
}

.service-card.ace h3 {
    font-size: 1.9rem;
}

.service-card.ace .service-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 20px rgba(255, 164, 0, 0.4));
}

.service-card.ace:hover {
    border-color: rgba(255, 164, 0, 0.6);
    box-shadow: 0 0 60px rgba(255, 164, 0, 0.18), 0 30px 60px rgba(0,0,0,0.4);
}

@media (max-width: 900px) {
    .service-card.ace {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    .service-card.ace .ace-right {
        border-left: none;
        border-top: 1px solid rgba(255,164,0,0.15);
        padding-left: 0;
        padding-top: 30px;
        margin-top: 30px;
    }
}

/* The Indian Pixel Advantage Section */
.comparison-section {
    padding: 120px 0;
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

/* Subtle ambient glow in the background of the section */
.comparison-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, color-mix(in srgb, var(--color-cta) 4%, transparent), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.comparison-section .container {
    position: relative;
    z-index: 1;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.advantage-card {
    position: relative;
    padding: 40px 35px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    text-align: left;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    overflow: hidden;
}

html.light-mode .advantage-card {
    background: rgba(2, 32, 27, 0.015);
}

/* Inner glow ambient light on hover */
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--color-cta) 8%, transparent), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.advantage-card:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--color-cta) 35%, transparent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 
                0 0 30px color-mix(in srgb, var(--color-cta) 8%, transparent);
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card * {
    position: relative;
    z-index: 1;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: color-mix(in srgb, var(--color-cta) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-cta) 20%, transparent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cta);
    font-size: 1.4rem;
    margin-bottom: 25px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                background-color 0.4s ease,
                color 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.advantage-card:hover .advantage-icon {
    background: var(--color-cta);
    color: var(--color-main-dark);
    border-color: var(--color-cta);
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--color-cta) 35%, transparent);
}

html.light-mode .advantage-card:hover .advantage-icon {
    color: var(--color-main);
}

.advantage-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 12px;
    line-height: 1.4;
}

.advantage-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-counter);
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

/* Responsiveness */
@media (max-width: 992px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 80px 0;
    }
}

@media (max-width: 600px) {
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .advantage-card {
        padding: 35px 25px;
    }
}

/* -----------------------------------
   Package Section Styles (Services Page)
----------------------------------- */
.packages-section {
    padding: 100px 0;
}

/* Pricing Trust Banner */
.pricing-trust-banner {
    max-width: 900px;
    margin: 0 auto 45px auto;
    padding: 18px 28px;
    background: linear-gradient(145deg, rgba(14, 40, 32, 0.85) 0%, rgba(2, 14, 11, 0.96) 60%, rgba(1, 8, 6, 0.98) 100%);
    border: 1px solid rgba(255, 164, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 16px 38px rgba(0, 0, 0, 0.55), 0 0 25px rgba(255, 164, 0, 0.08);
}

.trust-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    background: rgba(255, 164, 0, 0.15);
    border: 1px solid rgba(255, 164, 0, 0.4);
    color: var(--color-cta);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.trust-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00E676;
    box-shadow: 0 0 0 rgba(0, 230, 118, 0.7);
    animation: trustPulse 2s infinite;
}

@keyframes trustPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 230, 118, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}

.trust-banner-text {
    font-family: var(--font-body);
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--color-light);
    margin: 0;
}

.trust-banner-text strong {
    color: var(--color-cta);
    font-weight: 600;
}

html.light-mode .pricing-trust-banner {
    background: linear-gradient(135deg, rgba(213, 107, 74, 0.08) 0%, rgba(248, 244, 237, 0.95) 100%);
    border-color: rgba(213, 107, 74, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

html.light-mode .trust-banner-text {
    color: var(--color-light);
}

@media (max-width: 768px) {
    .pricing-trust-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
        gap: 12px;
    }
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    margin-top: 50px;
    align-items: stretch;
}

.package-card {
    position: relative;
    padding: 45px 36px;
    background: var(--card-bg);
    border: 1px solid rgba(172, 190, 163, 0.22);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 164, 0, 0.6);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 164, 0, 0.15);
}

/* Tier 02 - Featured / Recommended Card Distinction */
.package-card.featured {
    background: linear-gradient(180deg, rgba(255, 164, 0, 0.07) 0%, rgba(44, 51, 48, 0.95) 100%);
    border: 2px solid var(--color-cta);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45), 0 0 35px color-mix(in srgb, var(--color-cta) 22%, transparent);
}

@media (min-width: 993px) {
    .package-card.featured {
        transform: scale(1.035);
        z-index: 2;
    }

    .package-card.featured:hover {
        transform: scale(1.055) translateY(-8px);
        box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5), 0 0 45px color-mix(in srgb, var(--color-cta) 36%, transparent);
    }
}

html.light-mode .package-card.featured {
    background: linear-gradient(180deg, rgba(213, 107, 74, 0.08) 0%, rgba(248, 244, 237, 0.95) 100%);
    border: 2px solid var(--color-cta);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 25px rgba(213, 107, 74, 0.15);
}

/* Package Pricing Block */
.package-pricing {
    margin: 16px 0 24px 0;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

html.light-mode .package-pricing {
    border-color: rgba(0, 0, 0, 0.08);
}

.package-price-label {
    font-size: 0.74rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-cta);
    font-weight: 700;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    min-height: 1.2em;
}

.package-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.package-price-original {
    font-size: 1.2rem;
    color: var(--color-counter);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 164, 0, 0.75);
    text-decoration-thickness: 2px;
    opacity: 0.85;
    font-weight: 500;
    font-family: var(--font-heading);
}

.package-price-current {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--color-light);
    font-family: var(--font-heading);
    line-height: 1;
    letter-spacing: -0.5px;
}

.package-card.featured .package-price-current {
    color: var(--color-cta);
}

.package-savings-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 20px;
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.35);
    color: #00E676;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    vertical-align: middle;
}

.package-price-subtext {
    font-size: 0.78rem;
    color: var(--color-counter);
    opacity: 0.8;
    margin-top: 6px;
    font-weight: 300;
}

.package-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-light);
    margin-bottom: 8px;
}

.package-best-use {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-cta);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.package-items-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 12px;
}

.package-items-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.package-items-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--color-light);
    font-weight: 400;
}

.package-items-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-cta);
    font-weight: bold;
}

.package-who-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 8px;
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
}

.package-who-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-counter);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 300;
}

.package-card-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--color-cta);
    color: var(--color-cta);
    background: transparent;
}

.package-card-btn:hover {
    background: var(--color-cta);
    color: var(--color-main-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 164, 0, 0.4);
}

.package-card-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 164, 0, 0.2);
}

.package-card.featured .package-card-btn {
    background: var(--color-cta);
    color: var(--color-main-dark);
}

.package-card.featured .package-card-btn:hover {
    background: #ffb424;
    color: #08221B;
    border-color: #ffb424;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 164, 0, 0.5);
}

/* -----------------------------------
   Terms Highlights Section (Contact Page)
   ----------------------------------- */
.terms-highlights-section {
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.term-highlight-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px 30px;
    border-radius: 16px;
    position: relative;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.term-highlight-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 164, 0, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 25px rgba(255, 164, 0, 0.1);
}

.term-highlight-card .term-icon {
    font-size: 2.2rem;
    color: var(--color-cta);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(255, 164, 0, 0.25));
}

.term-highlight-card:hover .term-icon {
    transform: scale(1.1) rotate(5deg);
}

.term-highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: var(--color-light);
    font-weight: 500;
}

.term-highlight-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-counter);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

/* Skills grid footer note styling */
.skills-footer-note {
    margin-top: 55px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-counter);
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.skills-footer-note::before,
.skills-footer-note::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 164, 0, 0.4), transparent);
}

@media (max-width: 600px) {
    .skills-footer-note::before,
    .skills-footer-note::after {
        width: 30px;
    }
    .skills-footer-note {
        font-size: 0.65rem;
        gap: 12px;
    }
}

/* -----------------------------------
   Interactive Package Finder & Comparison
----------------------------------- */
.survey-section {
    padding: 100px 0 40px 0;
    text-align: center;
}

.survey-wrapper {
    max-width: 820px;
    margin: 0 auto;
    background: #2C3330;
    border: 1px solid rgba(172, 190, 163, 0.18);
    border-radius: 14px;
    padding: 38px 44px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.survey-wrapper:hover {
    transform: translateY(-3px);
    border-color: rgba(172, 190, 163, 0.32);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
}

.survey-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(172, 190, 163, 0.12);
    border-radius: 4px;
    margin-bottom: 36px;
    overflow: hidden;
}

.survey-progress-fill {
    height: 100%;
    width: 33%;
    background: var(--color-cta);
    transition: width 0.4s ease;
}

.survey-step {
    display: none;
}

.survey-step.active {
    display: block;
}

.survey-step.active.slide-left {
    animation: surveySlideRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.survey-step.active.slide-right {
    animation: surveySlideLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes surveySlideRight {
    from {
        opacity: 0;
        transform: translate3d(24px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes surveySlideLeft {
    from {
        opacity: 0;
        transform: translate3d(-24px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.survey-question {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 28px;
}

.survey-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
    margin-bottom: 32px;
}

.survey-option-card {
    position: relative;
    padding: 18px 22px;
    background: #242A27;
    border: 1px solid rgba(172, 190, 163, 0.14);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.survey-option-card:hover {
    background: #2B332F;
    border-color: rgba(172, 190, 163, 0.3);
}

.survey-option-card.selected {
    background: #313A35;
    border-color: var(--color-counter);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.survey-radio {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(172, 190, 163, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.survey-option-card.selected .survey-radio {
    border-color: var(--color-counter);
}

.survey-option-card.selected .survey-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-counter);
    border-radius: 50%;
    display: block;
}

.survey-option-text {
    font-size: 0.98rem;
    color: rgba(248, 244, 237, 0.9);
    font-weight: 400;
    line-height: 1.5;
}

.survey-nav-btn {
    padding: 11px 26px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-block;
    text-decoration: none;
}

.survey-nav-btn.prev {
    background: transparent;
    border: 1px solid rgba(172, 190, 163, 0.35);
    color: var(--color-light);
    margin-right: 15px;
}

.survey-nav-btn.prev:hover {
    background: rgba(172, 190, 163, 0.1);
    border-color: var(--color-counter);
    transform: translateY(-1px);
}

.survey-nav-btn.prev:active {
    transform: translateY(0);
}

.survey-nav-btn.next {
    background: var(--color-cta);
    border: 1px solid var(--color-cta);
    color: #08221B;
}

.survey-nav-btn.next:hover {
    background: #ffb326;
    border-color: #ffb326;
    color: #08221B;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 164, 0, 0.4);
}

.survey-nav-btn.next:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 164, 0, 0.2);
}

/* Results section */
.results-container {
    text-align: left;
}

.results-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-light);
    margin-bottom: 25px;
    text-align: center;
}

.preference-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.preference-item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 38px 30px 30px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.preference-item:hover {
    border-color: rgba(255, 164, 0, 0.2);
}

.preference-item.choice-1 {
    border: 1px solid var(--color-cta);
    background: rgba(255, 164, 0, 0.03);
    box-shadow: 0 10px 30px rgba(255, 164, 0, 0.05);
}

.pref-badge {
    position: absolute;
    top: -13px;
    left: 25px;
    padding: 6px 18px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    width: fit-content;
    z-index: 10;
}

.preference-item.choice-1 .pref-badge {
    background: var(--color-cta);
    color: var(--color-main-dark);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--color-cta) 30%, transparent);
}

.preference-item.choice-2 .pref-badge {
    background: var(--color-dark);
    color: var(--color-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preference-item.choice-3 .pref-badge {
    background: var(--color-dark);
    color: var(--color-counter);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pref-details {
    min-width: 0;
}

.pref-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-light);
    margin: 0;
}

.pref-desc {
    font-size: 0.95rem;
    color: var(--color-counter);
    font-weight: 300;
    line-height: 1.5;
}

.pref-action-btn {
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--color-cta);
    color: var(--color-cta);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.pref-action-btn:hover {
    background: var(--color-cta);
    color: var(--color-main-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 164, 0, 0.4);
}

.pref-action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 164, 0, 0.2);
}

.pref-price-group {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.pref-price-current {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-cta);
}

.pref-price-original {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--color-counter);
    opacity: 0.7;
}

.pref-tier-tag {
    font-size: 0.76rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-cta);
    font-weight: 700;
    font-family: var(--font-heading);
}

.pref-buttons-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .pref-price-group {
        justify-content: center;
    }
    .pref-buttons-group {
        width: 100%;
        flex-direction: column;
    }
    .pref-buttons-group .pref-action-btn {
        width: 100%;
        text-align: center;
    }
}

/* Compare modal & table */
.comparison-container {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table-wrap {
    overflow-x: auto;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px;
}

.comparison-table th, 
.comparison-table td {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-light);
    background: rgba(0, 0, 0, 0.2);
}

.comparison-table th:first-child {
    width: 30%;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-light);
}

.comparison-table td {
    font-size: 0.95rem;
    color: var(--color-counter);
    font-weight: 300;
}

.comparison-table td.included {
    color: var(--color-cta);
    font-weight: 600;
}

.comparison-table td i.fa-check {
    color: var(--color-cta);
    font-size: 1.1rem;
}

.comparison-table td i.fa-minus {
    opacity: 0.25;
}

.comparison-table tr.highlighted-row {
    background: rgba(255, 164, 0, 0.015);
}

/* Mobile swipe hint — hidden on desktop */
.comparison-scroll-hint {
    display: none;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(172, 190, 163, 0.45);
    text-align: center;
    margin-top: 12px;
    gap: 6px;
}

/* Editorial Quotes & Brand Statements */
.people-quote,
blockquote {
    font-family: var(--font-quote);
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 500;
    line-height: 1.75;
    color: var(--color-light);
    letter-spacing: -0.2px;
}

.comparison-scroll-hint i {
    animation: hintSlide 1.4s ease-in-out infinite alternate;
}

@keyframes hintSlide {
    from { transform: translateX(-3px); opacity: 0.4; }
    to   { transform: translateX(3px);  opacity: 0.9; }
}

@media (max-width: 768px) {
    .survey-wrapper {
        padding: 30px 20px;
    }
    .preference-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding-top: 48px;
    }
    .pref-action-btn {
        width: 100%;
        text-align: center;
    }

    /* Show the swipe hint on mobile */
    .comparison-scroll-hint {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .comparison-container {
        margin-top: 60px !important;
        padding-top: 40px !important;
    }

    .comparison-table-wrap {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px !important;
        /* Visual scroll hint */
        background:
            linear-gradient(to right, rgba(1,16,14,1) 0%, transparent 5%),
            linear-gradient(to left, rgba(1,16,14,1) 0%, transparent 5%),
            rgba(255,255,255,0.01) !important;
    }

    .comparison-table {
        min-width: 560px !important;
        font-size: 0.82rem !important;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 14px 14px !important;
        font-size: 0.82rem !important;
        white-space: normal;
        word-break: break-word;
    }

    .comparison-table th {
        font-size: 0.88rem !important;
        line-height: 1.3;
    }

    .comparison-table th:first-child {
        width: 35% !important;
        min-width: 110px;
    }
}

@media (max-width: 480px) {
    .comparison-table {
        min-width: 480px !important;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px !important;
        font-size: 0.75rem !important;
    }

    .comparison-table th:first-child {
        min-width: 100px !important;
    }
}

/* Custom Alert Overlay */
.custom-alert {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 34, 27, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.custom-alert.show {
    opacity: 1;
    pointer-events: auto;
}
.custom-alert-content {
    background: var(--surface-card);
    border: 1px solid rgba(172, 190, 163, 0.28);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    padding: 35px 30px;
    max-width: 420px;
    width: 85%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transform: scale(0.94) translate3d(0, 8px, 0);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.custom-alert.show .custom-alert-content {
    transform: scale(1) translate3d(0, 0, 0);
}
.custom-alert-icon {
    font-size: 2rem;
    color: var(--color-counter);
    margin-bottom: 16px;
}
.custom-alert-message {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-light);
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 400;
}
.custom-alert-close {
    padding: 10px 28px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid rgba(172, 190, 163, 0.4);
    color: var(--color-light);
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.25s ease;
}
.custom-alert-close:hover {
    background: rgba(172, 190, 163, 0.15);
    border-color: var(--color-counter);
}

/* Landscape Flex Layout for Intro Step */
#step-0 {
    padding: 10px 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

.survey-intro-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.survey-intro-left {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
}

.survey-intro-text-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.survey-intro-icon {
    font-size: 2.4rem;
    color: var(--color-counter);
    margin-bottom: 0;
    display: inline-block;
    flex-shrink: 0;
}

.survey-intro-subtitle {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-counter);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.survey-intro-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.survey-intro-btn {
    padding: 11px 32px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #08221B;
    background: var(--color-cta);
    border: 1px solid var(--color-cta);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(255, 164, 0, 0.25);
    white-space: nowrap;
}

.survey-intro-btn:hover {
    background: #ffb326;
    color: #08221B;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 164, 0, 0.3);
}

.survey-intro-btn:active {
    transform: translateY(-1px);
}

@media (max-width: 680px) {
    .survey-intro-flex {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    .survey-intro-left {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }
    .survey-intro-text-wrap {
        text-align: center;
    }
    .survey-intro-icon {
        margin-bottom: 10px;
        font-size: 3rem;
    }
    .survey-intro-title {
        font-size: 1.35rem;
        white-space: normal;
    }
    #step-0 {
        padding: 20px 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .survey-wrapper {
        padding: 30px 20px;
    }
}

/* -----------------------------------
   Home Call to Action Section
----------------------------------- */
.home-cta-section {
    padding: 100px 0 120px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.home-cta-content {
    max-width: 780px;
    margin: 0 auto;
}

.home-cta-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(248, 244, 237, 0.85);
    margin-bottom: 34px;
    font-weight: 400;
}

/* Smooth Multi-page Cross-Document View Transitions */
@view-transition {
    navigation: auto;
}

/* Custom view transitions for incoming and outgoing document roots */
::view-transition-old(root) {
    animation: 250ms cubic-bezier(0.4, 0, 0.2, 1) both fade-out;
}

::view-transition-new(root) {
    animation: 300ms cubic-bezier(0.4, 0, 0.2, 1) both fade-in,
               350ms cubic-bezier(0.4, 0, 0.2, 1) both slide-from-bottom;
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-from-bottom {
    from { transform: translateY(12px); }
    to { transform: translateY(0); }
}

/* ── Mobile Layout Optimization & Resolution / Overflow Fixes ── */
@media (max-width: 768px) {
    /* Hide home page ambient hero quote on phone */
    .hero-bg-quote {
        display: none !important;
    }

    /* Disable heavy background decorative blobs on mobile to prevent overflow & paint lag */
    .glow-blob,
    .glow-blob-alt {
        display: none !important;
    }

    /* Prevent mobile menu container from causing horizontal scrollbar */
    .nav-links {
        visibility: hidden;
        transition: right 0.5s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.5s !important;
    }
    
    .nav-links.active {
        visibility: visible !important;
    }

    /* Optimizing showcase company cards layout for phone */
    .company-card {
        height: auto !important; /* Overrides fixed heights */
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .company-card-thumb {
        height: 200px !important; /* Uniform height for images on phone */
        width: 100% !important;
        aspect-ratio: auto !important;
        flex-shrink: 0 !important;
    }

    .company-content {
        padding: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        text-align: left !important;
        flex-grow: 1 !important;
    }

    .company-content h2,
    .company-content h3 {
        font-size: 1.35rem !important;
        margin: 0 !important;
        color: var(--color-light) !important;
        font-weight: 500 !important;
    }

    /* Collapsible description on phone */
    .company-description {
        max-height: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.4s ease,
                    margin 0.4s ease !important;
    }

    .company-card.expanded .company-description {
        max-height: 160px !important;
        opacity: 0.85 !important;
        margin-top: 8px !important;
        margin-bottom: 12px !important;
    }

    .company-card.expanded {
        border-color: rgba(172, 190, 163, 0.35) !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4) !important;
        background: #2C3330 !important;
    }

    .company-card-action {
        margin-top: auto !important;
        font-size: 0.85rem !important;
        color: var(--color-counter) !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-weight: 500 !important;
    }
}

/* ── Global Premium Fullscreen Lightbox ── */
.global-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(2, 20, 17, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: none;
    opacity: 0;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    user-select: none;
}

.global-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10010;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-light);
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10010;
}

.lightbox-arrow:hover {
    background: var(--color-cta);
    border-color: var(--color-cta);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 164, 0, 0.4);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-content.loaded img {
    opacity: 1;
    transform: scale(1);
}

.lightbox-info {
    margin-top: 24px;
    text-align: center;
    color: var(--color-light);
}

.lightbox-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.lightbox-info p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-cta);
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: monospace;
    font-size: 0.95rem;
    color: var(--color-counter);
    opacity: 0.7;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    .lightbox-prev {
        left: 15px;
    }
    .lightbox-next {
        right: 15px;
    }
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 2.5rem;
    }
    .lightbox-content {
        max-width: 90%;
    }
    .lightbox-content img {
        max-height: 60vh;
    }
}

/* =============================================================
   BRAND SHOWCASE PAGES — COMPREHENSIVE MOBILE RESPONSIVENESS
   Covers: company1.html (Mitti & Co), mellow.html (Mellow),
           company-alpha-brand.html, indian-pixel-brand.html
   ============================================================= */

@media (max-width: 768px) {

    /* ── Shared section padding reductions for showcase pages ── */
    .mc-showcase section,
    .mel-showcase section,
    .vh-showcase section,
    .ca-brand-showcase section {
        padding: 70px 20px !important;
    }

    .mc-container,
    .vh-container,
    .ca-brand-showcase .container {
        padding: 0 18px !important;
        max-width: 100% !important;
    }

    /* Prevent horizontal overflow on showcase pages */
    .mc-showcase,
    .vh-showcase,
    .ca-brand-showcase {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* ── MITTI & CO (company1.html) ── */

    /* Geometric construct: image on top, text below */
    .mc-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }

    .mc-breakdown-img {
        min-height: 240px !important;
        order: -1 !important;
        width: 100% !important;
    }

    .mc-breakdown-info { order: 1 !important; text-align: center !important; }
    .mc-breakdown-info h2 { font-size: 2rem !important; }
    .mc-breakdown-info p,
    .mc-breakdown-info span { text-align: center !important; }

    /* Legibility section: image on top */
    .mc-legibility-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .mc-diffbg-img {
        order: -1 !important;
        width: 100% !important;
    }

    .mc-legibility-label {
        order: 1 !important;
        text-align: center !important;
    }

    .mc-legibility-label h3 { font-size: 1.55rem !important; }

    /* Annotations centered on mobile */
    .mc-annotation {
        padding-left: 14px !important;
        margin-bottom: 22px !important;
        text-align: center !important;
        border-left: none !important;
        border-top: 2px solid rgba(255,255,255,0.12) !important;
        padding-top: 16px !important;
        padding-left: 0 !important;
    }

    /* Section title + subtitle centered */
    .mc-section-title,
    .mc-section-sub,
    .mc-subtitle,
    .mc-hero-name { text-align: center !important; }

    /* Gallery slider */
    .mc-slide img {
        height: auto !important;
        min-height: 220px !important;
        object-fit: cover !important;
    }

    .mc-slide-placeholder { min-height: 300px !important; }

    .mc-nav-controls {
        gap: 12px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .mc-nav-btn {
        padding: 10px 22px !important;
        font-size: 0.9rem !important;
    }

    /* Hero lower-third description */
    .mc-showcase > main > .mc-showcase > div:first-child > div:last-child,
    .mc-hero .mc-hero-desc { font-size: 1rem !important; }

    /* ── MELLOW (mellow.html) ── */

    .mel-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .mel-breakdown-info { order: 1 !important; text-align: center !important; }
    .mel-breakdown-info h2 { font-size: 2rem !important; }
    .mel-breakdown-info p,
    .mel-breakdown-info span { text-align: center !important; }

    .mel-annotation {
        padding-left: 0 !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        border-left: none !important;
        border-top: 2px solid rgba(211, 163, 83, 0.25) !important;
        padding-top: 16px !important;
    }

    .mel-palette-backdrop-card { padding: 20px 16px !important; border-radius: 20px !important; }
    .mel-logo-relief-shield { padding: 14px 20px !important; border-radius: 14px !important; }
    .mel-hero-logo-img { width: clamp(200px, 75vw, 380px) !important; }
    .mel-palette-strip-back { border-radius: 16px !important; inset: 6px !important; }
    .mel-palette-chips { gap: 8px !important; }
    .mel-palette-chip { padding: 5px 12px !important; font-size: 0.7rem !important; }
    .mel-hero-tagline-cream { font-size: 1.15rem !important; padding: 0 10px !important; }
    .mel-palette-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .mel-metrics-row { grid-template-columns: 1fr !important; row-gap: 28px !important; column-gap: 16px !important; }
    .mel-slide-img { height: 380px !important; }

    /* ── VALLY & HOUND (himalya-and-hound.html) ── */

    .vh-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .vh-svg-card {
        order: -1 !important;
        min-height: 200px !important;
    }

    .vh-breakdown-info { order: 1 !important; text-align: center !important; }
    .vh-breakdown-info h2 { font-size: 2rem !important; }
    .vh-breakdown-info p,
    .vh-breakdown-info span { text-align: center !important; }

    .vh-legibility-layout {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .vh-legibility-label {
        order: 1 !important;
        text-align: center !important;
    }

    .vh-legibility-label h3 { font-size: 1.55rem !important; }

    .vh-annotation {
        padding-left: 0 !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        border-left: none !important;
        border-top: 2px solid rgba(255,255,255,0.12) !important;
        padding-top: 16px !important;
    }

    .vh-section-title,
    .vh-section-sub,
    .vh-subtitle,
    .vh-hero-name { text-align: center !important; }

    .vh-hero-desc { font-size: 1rem !important; text-align: center !important; }
    .vh-hero-content { padding: 40px 20px !important; text-align: center !important; }

    /* ── COMPANY ALPHA (company-alpha-brand.html) ── */

    .ca-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .ca-breakdown-img {
        order: -1 !important;
        min-height: 200px !important;
        width: 100% !important;
    }

    .ca-breakdown-info { order: 1 !important; text-align: center !important; }
    .ca-breakdown-info h2 { font-size: 1.8rem !important; }
    .ca-breakdown-info p,
    .ca-breakdown-info span { text-align: center !important; }

    .ca-annotation {
        padding-left: 0 !important;
        text-align: center !important;
        border-left: none !important;
        border-top: 2px solid rgba(255,255,255,0.12) !important;
        padding-top: 14px !important;
    }

    .ca-bg-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .ca-bg-headline {
        order: -1 !important;
        text-align: center !important;
    }

    .ca-bg-headline h2 {
        font-size: 1.4rem !important;
        text-align: center !important;
    }

    .ca-section-title,
    .ca-section-sub,
    .ca-subtitle { text-align: center !important; }

    .ca-bg-grid { order: 1 !important; }
    .ca-slide-placeholder { min-height: 280px !important; }

    .ca-brand-hero { min-height: 55vh !important; }
    .ca-brand-showcase section { padding: 65px 20px !important; }

    /* ── INDIAN PIXEL BRAND (indian-pixel-brand.html) ── */
    /* Override inline style grids using attribute selectors */

    /* Visual Hierarchy section: 1fr 1fr grid → column stack */
    .identity-section [style*="grid-template-columns:1fr 1fr"],
    .identity-section [style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        margin-bottom: 60px !important;
        padding-bottom: 60px !important;
    }

    .identity-section [style*="grid-template-columns:1fr 1fr"] img,
    .identity-section [style*="grid-template-columns: 1fr 1fr"] img {
        width: 100% !important;
        order: -1 !important;
    }

    /* Center the text side on mobile */
    .identity-section [style*="grid-template-columns:1fr 1fr"] > div,
    .identity-section [style*="grid-template-columns: 1fr 1fr"] > div {
        text-align: center !important;
    }

    /* Visibility / Logo-on-backgrounds: auto 340px → column stack */
    .identity-section [style*="grid-template-columns:auto 340px"],
    .identity-section [style*="grid-template-columns: auto 340px"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        margin-bottom: 60px !important;
        padding-bottom: 60px !important;
    }

    .identity-section [style*="grid-template-columns:auto 340px"] img,
    .identity-section [style*="grid-template-columns: auto 340px"] img {
        width: 100% !important;
        max-width: 100% !important;
        order: -1 !important;
    }

    .identity-section [style*="grid-template-columns:auto 340px"] > div,
    .identity-section [style*="grid-template-columns: auto 340px"] > div {
        text-align: center !important;
    }

    /* Center the new named grid classes */
    .ip-visual-hierarchy-grid > div,
    .ip-bg-versatility-grid > div {
        text-align: center !important;
    }

    /* ip-bc-annotation centered */
    .ip-bc-annotation {
        text-align: center !important;
        border-left: none !important;
        border-top: 2px solid rgba(172,190,163,0.2) !important;
        padding-left: 0 !important;
        padding-top: 16px !important;
        margin-top: 4px !important;
    }

    /* ip-section-title and desc */
    .ip-section-title,
    .ip-section-desc { text-align: center !important; }

    /* Business card wrap */
    .ip-bc-wrap {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Palette grid */
    .palette-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* Exploration grid */
    .exploration-grid {
        grid-template-columns: 1fr !important;
    }

    .exploration-card {
        padding: 40px 20px !important;
        text-align: center !important;
    }

    .identity-section { padding: 80px 20px !important; }
    .typography-section { padding: 80px 20px !important; }
    .container-wide { padding: 0 20px !important; max-width: 100% !important; }

    /* ── Main site — general center alignment on mobile ── */
    /* Section intro text */
    .section-label,
    .section-intro,
    .section-eyebrow { text-align: center !important; }

    /* pf-nav */
    .pf-nav { padding: 50px 20px !important; }
}

/* Very small phones < 480px */
@media (max-width: 480px) {

    /* Mitti & Co hero description at bottom of hero */
    .mc-showcase > div > div[style*="position:absolute"][style*="bottom:0"],
    .mc-showcase > div > div[style*="position: absolute"][style*="bottom: 0"] {
        padding: 16px 18px 36px !important;
    }

    .mc-showcase > div > div[style*="position:absolute"] p,
    .mc-showcase > div > div[style*="position: absolute"] p {
        font-size: 0.88rem !important;
        max-width: 100% !important;
        line-height: 1.7 !important;
    }

    .mc-breakdown-info h2,
    .vh-breakdown-info h2,
    .ca-breakdown-info h2 {
        font-size: 1.7rem !important;
    }

    .mc-subtitle,
    .vh-subtitle { font-size: 0.78rem !important; }

    .mc-annotation strong,
    .vh-annotation strong,
    .ca-annotation strong {
        font-size: 0.62rem !important;
        letter-spacing: 2px !important;
    }

    /* Swatch labels: allow wrap to prevent horizontal overflow */
    .mc-swatch-name,
    .vh-swatch-name {
        font-size: 0.58rem !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .vh-hero-content { padding: 30px 16px !important; }
    .ca-hero-content { padding: 0 16px !important; }
    .ca-brand-hero h1 { font-size: 0.95rem !important; letter-spacing: 4px !important; }
    .ca-brand-hero p { font-size: 0.92rem !important; }
}

/* -----------------------------------
   Package Details Page Intro Header
----------------------------------- */
.pkg-intro-section {
    display: none;
    background: var(--pkg-bg, #011411);
    color: var(--pkg-text, #F8F4ED);
    padding: 180px 0 100px 0;
    min-height: 85vh;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--pkg-border, rgba(255, 255, 255, 0.08));
    z-index: 10;
}

.pkg-intro-section.show-details {
    display: flex;
}

.pkg-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.pkg-intro-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.pkg-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--pkg-accent, #FFA400);
    color: var(--pkg-accent, #FFA400);
    padding: 8px 20px;
    border-radius: 40px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    box-shadow: 0 0 15px color-mix(in srgb, var(--pkg-accent, #FFA400) 20%, transparent);
}

.pkg-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 200;
    line-height: 1.1;
    margin: 0 0 10px 0;
    letter-spacing: -1.5px;
}

.pkg-title span {
    color: var(--pkg-accent, #FFA400);
    font-weight: 400;
}

.pkg-subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--pkg-text-muted, #ACBEA3);
    margin-bottom: 24px;
}

.pkg-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--pkg-text-muted, #ACBEA3);
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 520px;
}

.pkg-action-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pkg-btn-primary {
    background-color: var(--pkg-accent, #FFA400);
    color: var(--color-main-dark, #000908);
    padding: 16px 36px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 80px;
    transition: all 0.35s ease;
    border: 1px solid var(--pkg-accent, #FFA400);
}

.pkg-btn-primary:hover {
    background-color: var(--pkg-text, #F8F4ED);
    border-color: var(--pkg-text, #F8F4ED);
    color: var(--pkg-bg, #011411);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.pkg-btn-secondary {
    border: 1px solid var(--pkg-border, rgba(255, 255, 255, 0.15));
    background: transparent;
    color: var(--pkg-text, #F8F4ED);
    padding: 16px 36px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 80px;
    transition: all 0.35s ease;
}

.pkg-btn-secondary:hover {
    border-color: var(--pkg-accent, #FFA400);
    color: var(--pkg-accent, #FFA400);
    transform: translateY(-2px);
    background: rgba(255, 164, 0, 0.02);
}

.pkg-intro-right {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--pkg-border, rgba(255, 255, 255, 0.06));
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.pkg-features-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pkg-text, #F8F4ED);
    margin-bottom: 28px;
    border-bottom: 1px solid var(--pkg-border, rgba(255, 255, 255, 0.08));
    padding-bottom: 16px;
}

.pkg-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkg-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pkg-feature-icon {
    color: var(--pkg-accent, #FFA400);
    font-size: 1.15rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pkg-feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pkg-feature-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pkg-text, #F8F4ED);
}

.pkg-feature-desc {
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--pkg-text-muted, #ACBEA3);
    font-weight: 300;
}

@media (max-width: 900px) {
    .pkg-intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .pkg-intro-section {
        padding: 140px 0 80px 0;
    }
    .pkg-intro-left {
        align-items: center;
        text-align: center;
    }
    .pkg-desc {
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .pkg-action-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .pkg-btn-primary, .pkg-btn-secondary {
        width: 100%;
        text-align: center;
    }
    .pkg-intro-right {
        padding: 24px;
    }
}

/* ── Hero Logo Glow Runaway Ring Animation ── */
.logo-glow-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.runaway-ring {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    pointer-events: none;
    overflow: visible;
}

.runaway-polygon-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.07);
    stroke-width: 1px;
}

.runaway-polygon {
    fill: none;
    stroke: rgba(255, 255, 255, 0.75);
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 60 210; /* perimeter is 270px. 60px dash, 210px gap */
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.95));
    animation: rotateHex 4s linear infinite;
}

@keyframes rotateHex {
    from {
        stroke-dashoffset: 270;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* Style for custom date input calendar picker indicator */
.contact-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.contact-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}


/* ── Services Horizontal Carousel & Expandable Cards Overrides ── */
.services-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 30px !important;
    margin-top: 50px;
    padding: 20px 10px 40px 10px !important;
    scrollbar-width: none !important; /* Hide scrollbar Firefox */
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    align-items: flex-start !important; /* Allow variable heights */
}
.services-grid.active {
    cursor: grabbing;
}
.services-grid::-webkit-scrollbar {
    display: none !important; /* Hide scrollbar Chrome/Safari/Edge */
}

.service-card {
    flex: 0 0 350px !important;
    width: 350px !important;
    scroll-snap-align: center !important;
    max-width: 85vw !important;
    height: auto !important;
    cursor: pointer;
    user-select: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* Reset Flagship Ace Card back to normal card format */
.service-card.ace {
    grid-column: unset !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 40px !important;
    background: linear-gradient(145deg, rgba(14, 40, 32, 0.85) 0%, rgba(2, 14, 11, 0.96) 60%, rgba(1, 8, 6, 0.98) 100%) !important;
    border: 1px solid rgba(255, 164, 0, 0.35) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(20px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 164, 0, 0.1), 0 20px 40px rgba(0,0,0,0.5) !important;
}
.service-card.ace .ace-left,
.service-card.ace .ace-right {
    display: block !important;
    border-left: none !important;
    padding-left: 0 !important;
}

/* Expandable Details System */
.service-card .service-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}
.service-card.expanded .service-details {
    max-height: 1200px; /* High enough to show all content */
    opacity: 1;
    margin-top: 20px;
}

/* Expand/Collapse Footer Indicator */
.expand-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--color-cta);
    font-family: var(--font-heading);
    font-weight: 500;
    transition: all 0.3s ease;
    border-top: 1px dashed rgba(255, 164, 0, 0.15);
    padding-top: 15px;
}
.expand-indicator .indicator-text::before {
    content: 'View Details';
}
.service-card.expanded .expand-indicator .indicator-text::before {
    content: 'Hide Details';
}
.expand-indicator i {
    transition: transform 0.3s ease;
}
.service-card.expanded .expand-indicator i {
    transform: rotate(180deg);
}

/* Carousel Dots Navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-dot.active {
    background: var(--color-cta);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 164, 0, 0.5);
}


/* ── Services Carousel Hover & Interaction Enhancements ── */
.service-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease !important;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    border-color: rgba(255, 164, 0, 0.6) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 164, 0, 0.25) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Glow effect on the icon */
.service-card:hover .service-icon {
    transform: scale(1.15) rotate(8deg) translateY(-2px);
    color: #ffffff;
    filter: drop-shadow(0 0 15px rgba(255, 164, 0, 0.8));
}

/* Highlight expand indicator on hover */
.service-card:hover .expand-indicator {
    color: #ffffff;
    border-top-color: rgba(255, 164, 0, 0.3);
}

/* Visually highlight the currently active card in the center (mobile & desktop) */
.service-card.active-centered {
    border-color: rgba(255, 164, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 164, 0, 0.1);
}


/* ── Services Glassmorphism Enhancements ── */
.service-card {
    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

html.light-mode .service-card {
    background: rgba(2, 32, 27, 0.045) !important;
    border: 1px solid rgba(2, 32, 27, 0.1) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 164, 0, 0.6) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 164, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

html.light-mode .service-card:hover {
    background: rgba(2, 32, 27, 0.07) !important;
    border-color: rgba(213, 107, 74, 0.6) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), 0 0 25px rgba(213, 107, 74, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}


/* ── Services Carousel Navigation Buttons ── */
.services-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 0 60px;
    box-sizing: border-box;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--color-light) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.carousel-nav-btn:hover {
    background: var(--color-cta) !important;
    color: var(--color-main-dark) !important;
    border-color: var(--color-cta) !important;
    box-shadow: 0 0 15px rgba(255, 164, 0, 0.4) !important;
}

.carousel-nav-btn.prev {
    left: 0;
}

.carousel-nav-btn.next {
    right: 0;
}

@media (max-width: 1100px) {
    .carousel-nav-btn.prev {
        left: 0;
    }
    .carousel-nav-btn.next {
        right: 0;
    }
}

@media (max-width: 768px) {
    .services-carousel-wrapper {
        padding: 0 15px !important;
    }
    .carousel-nav-btn {
        display: none !important;
    }
    .service-card {
        padding: 30px 24px !important;
    }
    .service-card.ace {
        padding: 30px 24px !important;
    }
    .service-card.ace h3 {
        font-size: 1.45rem !important;
    }
}


/* ── Services Carousel Progress Seek Bar ── */
.carousel-progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
    user-select: none;
}

.carousel-counter {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-counter);
    letter-spacing: 1px;
    width: 24px;
    transition: color 0.3s ease;
}

.carousel-counter.current {
    text-align: right;
    color: var(--color-cta);
}

.carousel-counter.total {
    text-align: left;
    opacity: 0.5;
}

.carousel-progress-track {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

html.light-mode .carousel-progress-track {
    background: rgba(2, 32, 27, 0.1);
}

.carousel-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 14.285%; /* 100% / 7 cards */
    background: var(--color-cta);
    border-radius: 2px;
    transform: translateX(0%);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 10px rgba(255, 164, 0, 0.5);
}


/* ── Services Carousel Smooth Fade & Centering Highlights ── */
.service-card {
    opacity: 0.35 !important;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.5s ease, box-shadow 0.5s ease, background 0.5s ease !important;
}

/* Center card is fully opaque and scaled up slightly */
.service-card.active-centered {
    opacity: 1 !important;
    transform: scale(1.03) !important;
    border-color: rgba(255, 164, 0, 0.4) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 164, 0, 0.2) !important;
}

/* Light mode center card styling overrides */
html.light-mode .service-card.active-centered {
    border-color: rgba(213, 107, 74, 0.4) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 0 25px rgba(213, 107, 74, 0.15) !important;
}

/* Hovering a card makes it fully opaque and pop out */
.service-card:hover {
    opacity: 1 !important;
    transform: translateY(-10px) scale(1.05) !important;
    z-index: 5;
}

/* Fallback for noscript (always show full opacity if scripts are disabled) */
noscript .service-card {
    opacity: 1 !important;
}


/* ── Survey Contact Form Step ── */
.survey-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.survey-form-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.survey-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.survey-form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--color-counter);
}

.survey-form-group input,
.survey-form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--color-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.survey-form-group input:focus,
.survey-form-group textarea:focus {
    border-color: rgba(255, 164, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 164, 0, 0.08);
}

.survey-form-group textarea {
    resize: vertical;
    min-height: 90px;
}

html.light-mode .survey-form-group input,
html.light-mode .survey-form-group textarea {
    background: rgba(2, 32, 27, 0.04);
    border-color: rgba(2, 32, 27, 0.12);
    color: var(--color-light);
}

@media (max-width: 600px) {
    .survey-form-row {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════
   Services Category Tab Bar
═══════════════════════════════════════════════════ */
.services-tab-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 48px auto;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 80px;
    padding: 6px;
    width: fit-content;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
}

.svc-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 28px;
    border: none;
    border-radius: 60px;
    background: transparent;
    color: var(--color-counter);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    outline: none;
}

.svc-tab i {
    font-size: 0.82rem;
    transition: transform 0.3s ease;
}

.svc-tab:hover {
    color: var(--color-light);
    transform: translateY(-1px);
}

.svc-tab:hover i {
    transform: scale(1.15);
}

/* Active pill — amber filled */
.svc-tab.active {
    background: var(--color-cta);
    color: var(--color-main-dark);
    box-shadow: 0 4px 20px rgba(255, 164, 0, 0.35), 0 1px 0 rgba(255,255,255,0.15) inset;
    font-weight: 700;
}

.svc-tab.active i {
    transform: scale(1.1);
}

.svc-tab.active:hover {
    background: var(--color-cta);
    box-shadow: 0 6px 28px rgba(255, 164, 0, 0.5);
    transform: translateY(-2px);
}

/* Subtle count badge inside tab */
.svc-tab .tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    color: inherit;
    line-height: 1;
}

.svc-tab.active .tab-count {
    background: rgba(1, 20, 18, 0.2);
    color: var(--color-main-dark);
}

/* Tab-switching fade animation on the grid */
.services-grid.tab-switching {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    filter: blur(5px);
    pointer-events: none;
}

.services-grid {
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform, filter;
}

/* Light mode overrides */
html.light-mode .services-tab-bar {
    background: rgba(2, 32, 27, 0.04);
    border-color: rgba(2, 32, 27, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255,255,255,0.5);
}

html.light-mode .svc-tab {
    color: rgba(2, 32, 27, 0.5);
}

html.light-mode .svc-tab:hover {
    color: var(--color-light);
}

html.light-mode .svc-tab.active {
    background: var(--color-cta);
    color: #fff;
}

/* Mobile */
@media (max-width: 600px) {
    .services-tab-bar {
        gap: 6px;
        padding: 5px;
    }

    .svc-tab {
        padding: 10px 18px;
        font-size: 0.82rem;
        gap: 7px;
    }
}

/* Tab hidden utility — !important ensures it beats .service-card.ace { display:grid } */
.tab-hidden {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   Custom Cursor — Hollow Amber Circle with Comet Trail
   ═══════════════════════════════════════════════════════════════════ */

/* Hide default cursor everywhere */
*, *::before, *::after, html, body, a, button, input, textarea, select {
    cursor: none !important;
}

/* Full-screen canvas for the comet trail */
#ip-cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2147483645;
}

/* The hollow amber ring that follows the mouse */
.ip-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 164, 0, 0.9);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2147483646;
    transform: translate(-50%, -50%);
    transition: width 0.18s cubic-bezier(0.2, 0, 0.2, 1), 
                height 0.18s cubic-bezier(0.2, 0, 0.2, 1), 
                border-color 0.18s ease, 
                opacity 0.2s ease, 
                box-shadow 0.2s ease,
                transform 0.1s ease-out;
    box-shadow: 0 0 12px rgba(255, 164, 0, 0.35),
                inset 0 0 6px rgba(255, 164, 0, 0.12);
    will-change: transform, left, top;
}

/* Gentle faint glow aura around the cursor */
.ip-cursor-ring::before {
    content: '';
    position: absolute;
    inset: -35px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 164, 0, 0.22) 0%, rgba(255, 164, 0, 0.09) 40%, rgba(255, 164, 0, 0.015) 65%, transparent 75%);
    opacity: 0.45;
    transform: scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* Grow slightly with a soft, faded bloom when hovering interactive elements */
.ip-cursor-ring.is-hover::before {
    opacity: 1;
    transform: scale(1.1);
}

.ip-cursor-ring.is-hover {
    width: 48px;
    height: 48px;
    border-color: rgba(255, 164, 0, 0.95);
    box-shadow: 0 0 25px 6px rgba(255, 164, 0, 0.26),
                0 0 55px 15px rgba(255, 164, 0, 0.12),
                inset 0 0 12px rgba(255, 164, 0, 0.15);
}

/* Small solid dot at exact pointer position */
.ip-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 5px;
    height: 5px;
    background: rgba(255, 164, 0, 0.95);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2147483647;
    transform: translate(-50%, -50%);
    will-change: transform, left, top;
    box-shadow: 0 0 6px rgba(255, 164, 0, 0.6);
}

/* Disable custom cursor on touch / small screens */
@media (hover: none), (max-width: 768px) {
    *, *::before, *::after, html, body, a, button, input, textarea, select {
        cursor: auto !important;
    }
    .ip-cursor-ring,
    .ip-cursor-dot,
    #ip-cursor-trail {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Additional Coming Soon Styling Overrides
   ═══════════════════════════════════════════════════════════════════ */

/* Category card coming soon status */
.category-card.coming-soon {
    opacity: 0.65;
}

.category-card.coming-soon:hover {
    transform: none !important;
    background: var(--card-bg) !important;
    border-color: var(--card-border) !important;
    box-shadow: none !important;
}

.category-card.coming-soon:hover i {
    transform: none !important;
}

/* Showcase item coming soon status */
.showcase-item.coming-soon-item {
    opacity: 0.85;
}

.showcase-item.coming-soon-item:hover {
    transform: none !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.showcase-item.coming-soon-item:hover img {
    transform: none !important;
}

/* Specific styling for cs-card-badge when inside a showcase item */
.showcase-item .cs-card-badge {
    top: 14px;
    right: 14px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255, 164, 0, 0.35);
    color: var(--color-cta);
}

/* ═══════════════════════════════════════════════════════════════════
   Skill Tree & Motion Graphics Unlock Section
   ═══════════════════════════════════════════════════════════════════ */

.skill-unlock-section {
    padding: 140px 0 100px;
    position: relative;
}

.skill-unlock-card {
    background: rgba(13, 31, 26, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 164, 0, 0.22);
    border-radius: 24px;
    padding: 60px 48px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
    max-width: 1080px;
    margin: 0 auto;
}

.skill-unlock-card::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 164, 0, 0.12) 0%, rgba(255, 164, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.skill-unlock-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.skill-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 164, 0, 0.08);
    border: 1px solid rgba(255, 164, 0, 0.35);
    color: var(--color-cta);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.skill-unlock-card h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--color-light);
}

.skill-unlock-tagline {
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    color: var(--color-counter);
    max-width: 680px;
    margin: 0 auto 36px;
    font-weight: 300;
    line-height: 1.6;
}

.skill-statement-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 164, 0, 0.28);
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 780px;
    margin: 0 auto 44px;
    text-align: left;
}

.skill-statement-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-light);
    opacity: 0.9;
    margin: 0 0 12px;
}

.skill-statement-box p:last-child {
    margin-bottom: 0;
}

.skill-statement-box em {
    font-style: normal;
    color: var(--color-cta);
    font-weight: 600;
}

/* ── Compact Transparency Note (Relocated & Miniaturized) ── */
.skill-transparency-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 164, 0, 0.22);
    border-radius: 12px;
    padding: 12px 20px;
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--color-counter);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.skill-transparency-note i {
    color: var(--color-cta);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.skill-transparency-note strong {
    color: var(--color-light);
    font-weight: 600;
}

@media (max-width: 600px) {
    .skill-transparency-note {
        padding: 12px 16px;
        font-size: 0.78rem;
        margin-bottom: 24px;
        gap: 10px;
    }
}

/* ── Skill Tree Track ── */
.skill-tree-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-counter);
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--font-heading);
}

.skill-tree-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 44px;
    text-align: left;
}

.skill-tree-node {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.skill-tree-node.is-unlocked {
    border-color: rgba(46, 213, 115, 0.25);
}

.skill-tree-node.is-locked {
    border: 1px dashed rgba(255, 164, 0, 0.45);
    background: rgba(255, 164, 0, 0.03);
}

.skill-node-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.skill-node-icon {
    font-size: 1.3rem;
    color: var(--color-cta);
}

.skill-node-pill {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 20px;
    font-family: var(--font-heading);
}

.skill-tree-node.is-unlocked .skill-node-pill {
    background: rgba(46, 213, 115, 0.12);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.skill-tree-node.is-locked .skill-node-pill {
    background: rgba(255, 164, 0, 0.15);
    color: var(--color-cta);
    border: 1px solid rgba(255, 164, 0, 0.35);
}

.skill-node-title {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 6px;
}

.skill-node-desc {
    font-size: 0.78rem;
    color: var(--color-counter);
    line-height: 1.5;
    margin-bottom: 14px;
}

.skill-node-meter {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-tree-node.is-unlocked .skill-node-fill {
    width: 100%;
    height: 100%;
    background: #2ed573;
}

.skill-tree-node.is-locked .skill-node-fill {
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-cta) 0%, #ffd075 100%);
    position: relative;
    animation: skillShimmer 2.2s ease-in-out infinite alternate;
}

@keyframes skillShimmer {
    0% { width: 55%; opacity: 0.7; }
    100% { width: 75%; opacity: 1; }
}

/* ── What Will Unlock ── */
.skill-features-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-cta);
    margin-bottom: 18px;
    text-align: center;
    font-family: var(--font-heading);
}

.skill-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    text-align: left;
}

.skill-feature-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 18px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.skill-feature-icon {
    color: var(--color-cta);
    font-size: 1.15rem;
    margin-top: 2px;
}

.skill-feature-text h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 4px;
}

.skill-feature-text p {
    font-size: 0.76rem;
    color: var(--color-counter);
    line-height: 1.45;
    margin: 0;
}

.skill-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Explore by Discipline Locked Card ── */
.category-card.is-locked {
    border-style: dashed !important;
    border-color: rgba(255, 164, 0, 0.35) !important;
    background: rgba(255, 164, 0, 0.03) !important;
    position: relative;
    gap: 8px !important;
}

.category-card.is-locked:hover {
    border-color: rgba(255, 164, 0, 0.6) !important;
    background: rgba(255, 164, 0, 0.06) !important;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.category-card .card-lock-badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-cta);
    background: rgba(255, 164, 0, 0.12);
    border: 1px solid rgba(255, 164, 0, 0.3);
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-heading);
    margin-bottom: -4px;
}

/* ── Light Mode Support ── */
html.light-mode .skill-unlock-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(213, 107, 74, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

html.light-mode .skill-statement-box {
    background: rgba(2, 32, 27, 0.03);
    border-color: rgba(213, 107, 74, 0.35);
}

html.light-mode .skill-statement-box p {
    color: var(--color-main);
}

html.light-mode .skill-transparency-note {
    background: rgba(2, 32, 27, 0.04);
    border-color: rgba(213, 107, 74, 0.35);
    color: var(--color-counter);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

html.light-mode .skill-transparency-note strong {
    color: var(--color-light);
}

html.light-mode .skill-transparency-note i {
    color: var(--color-cta);
}

html.light-mode .skill-tree-node {
    background: rgba(2, 32, 27, 0.02);
    border-color: rgba(2, 32, 27, 0.08);
}

html.light-mode .skill-tree-node.is-locked {
    background: rgba(213, 107, 74, 0.04);
    border-color: rgba(213, 107, 74, 0.4);
}

html.light-mode .skill-node-title {
    color: var(--color-main);
}

html.light-mode .skill-feature-item {
    background: rgba(2, 32, 27, 0.02);
    border-color: rgba(2, 32, 27, 0.08);
}

html.light-mode .skill-feature-text h4 {
    color: var(--color-main);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .skill-tree-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .skill-features-grid {
        grid-template-columns: 1fr;
    }
    .skill-unlock-card {
        padding: 40px 24px;
    }
}

@media (max-width: 600px) {
    .skill-tree-grid {
        grid-template-columns: 1fr;
    }
}

/* ── SCOPE BOUNDARIES & MODULAR ADD-ONS ── */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 900px) {
    .addons-grid {
        grid-template-columns: 1fr;
    }
}

.addon-card {
    background: rgba(8, 34, 27, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(172, 190, 163, 0.2);
    border-radius: 16px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.addon-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 164, 0, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 164, 0, 0.08);
}

.addon-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.addon-cat-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-cta);
    background: rgba(255, 164, 0, 0.08);
    border: 1px solid rgba(255, 164, 0, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
}

.addon-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cta);
    font-size: 1.1rem;
}

.addon-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-light);
    margin: 0 0 10px 0;
}

.addon-card-desc {
    color: var(--color-counter);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 22px 0;
    font-weight: 300;
}

.addon-items-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.addon-items-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(248, 244, 237, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

.addon-items-list li i {
    color: var(--color-cta);
    font-size: 0.75rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.addon-card-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: auto;
}

.addon-rate-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-counter);
}

.addon-rate-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-cta);
}

.addon-rate-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-counter);
}

html {
    scroll-behavior: auto;
}

/* ═══════════════════════════════════════════════════════════════════════
   PREMIUM MOTION GRAPHICS SYSTEM
   Indian Pixel — High-End Scroll Animation Layer
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Scroll Progress Bar ────────────────────────────────────────────── */
#ip-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg, #ffa400 0%, #ff6a00 50%, #ffd700 100%);
    transform-origin: left center;
    transform: scaleX(0);
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(255, 164, 0, 0.7), 0 0 4px rgba(255, 200, 0, 0.5);
    will-change: transform;
}

/* ─── Base Reveal State (hidden) ─────────────────────────────────────── */
.fade-up,
.fade-left,
.fade-right,
.fade-in,
.scale-in,
.blur-in,
.reveal-child {
    opacity: 0;
    will-change: opacity, transform;
    transition:
        opacity    0.78s cubic-bezier(0.22, 1, 0.36, 1),
        transform  0.78s cubic-bezier(0.22, 1, 0.36, 1),
        filter     0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up    { transform: none; }
.fade-left  { transform: translateX(-52px); }
.fade-right { transform: translateX(52px); }
.fade-in    { transform: none; }
.scale-in   { transform: scale(0.86); }
.blur-in    { transform: translateY(24px); filter: blur(12px); }

/* Clip reveal — cinematic curtain wipe */
.clip-reveal {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Visible / revealed state ───────────────────────────────────────── */
.fade-up.visible,
.fade-left.visible,
.fade-right.visible,
.fade-in.visible,
.scale-in.visible,
.blur-in.visible,
.reveal-child.visible {
    opacity: 1;
    transform: none;
    filter: none;
}

.clip-reveal.visible {
    clip-path: inset(0 0% 0 0);
}

/* ─── Split-title char animation ─────────────────────────────────────── */
.split-title {
    overflow: visible;
    display: block;
    opacity: 1 !important;
    transform: none !important;
}

.split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(55%) rotateX(-40deg);
    transform-origin: bottom center;
    animation: charReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-play-state: paused;
}

.split-title.visible .split-char {
    animation-play-state: running;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* ─── Luxury divider ─────────────────────────────────────────────────── */
.luxury-divider {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition:
        opacity   0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.luxury-divider.visible {
    opacity: 1;
    transform: scaleX(1);
}

/* ─── Parallax layer wrapper ─────────────────────────────────────────── */
[data-parallax] {
    will-change: transform;
}

/* ─── Section shimmer / progress line ────────────────────────────────── */
section[id] {
    position: relative;
}

section[id]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--section-progress, 0) * 100%);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 164, 0, 0.35) 40%,
        rgba(255, 164, 0, 0.6)  70%,
        transparent
    );
    pointer-events: none;
    z-index: 1;
}

/* ─── Stagger speed variants ─────────────────────────────────────────── */
.stagger-slow > .reveal-child { transition-duration: 0.95s; }
.stagger-fast > .reveal-child { transition-duration: 0.52s; }

/* ─── Page enter / exit transitions ─────────────────────────────────── */
/* CRITICAL: Never use transform or filter on body, as it creates a local containing block
   that breaks position:fixed for all descendants (popups, custom cursor, headers, etc.). */
body {
    animation: pageFadeIn 0.5s ease-out;
}

body.is-exiting {
    animation: pageFadeOut 0.35s ease-in forwards;
    pointer-events: none;
}

main {
    animation: contentSlideIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes contentSlideIn {
    from {
        opacity: 0;
        transform: none;
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ─── Scroll indicator pulse (calm Apple motion) ────────────────────────── */
.scroll-chevron {
    animation: gentlePulse 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    display: inline-block;
    will-change: transform, opacity;
}

@keyframes gentlePulse {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.6; }
    50%       { transform: translate3d(0, 5px, 0); opacity: 0.95; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

/* ─── Apple Accessibility Standards ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
    .fade-up, .fade-left, .fade-right, .fade-in,
    .scale-in, .blur-in, .clip-reveal, .reveal-child,
    .split-char, .luxury-divider {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
        transition: opacity 150ms ease !important;
    }
    body { animation: none !important; }
    #welcome-intro { display: none !important; }
    .scroll-orbit-container { animation: none !important; }
    .so-planet-orbit, .so-moon-orbit { animation: none !important; }
    #ip-scroll-progress { display: none !important; }
    .scroll-indicator i { animation: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
    .main-header,
    .global-lightbox,
    .custom-alert,
    .scroll-orbit-container,
    .company-overlay,
    .video-wrapper {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .main-header {
        background: #08221B !important;
        border-bottom: 2px solid rgba(172, 190, 163, 0.4) !important;
    }
}

@media (prefers-contrast: more) {
    :root {
        --color-counter: #C5D6BD;
        --color-light: #FFFFFF;
        --card-border: rgba(172, 190, 163, 0.5);
        --header-border: rgba(172, 190, 163, 0.6);
    }
    .main-header {
        border: 2px solid #ACBEA3 !important;
    }
    .company-card, .process-step, .mv-card, .journey-card, .survey-wrapper {
        border: 2px solid rgba(172, 190, 163, 0.5) !important;
    }
    .btn-secondary {
        border: 2px solid #ACBEA3 !important;
    }
}
