/* --- VARIABLES --- */
:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --accent-color: #ff2a00;
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --cursor-size: 20px;
    --cursor-hover-size: 80px;
    --services-font-size: 6vw;
}

/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.has-custom-cursor * {
    cursor: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100%;
}

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.loader-bar {
    width: 0%;
    height: 2px;
    background: #fff;
    margin-top: 20px;
}

/* --- CUSTOM CURSOR --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    display: none; /* Hide by default */
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-outline {
    display: block; /* Show only when custom cursor is active */
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
}

.cursor-outline {
    width: var(--cursor-size);
    height: var(--cursor-size);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body.hovering .cursor-outline {
    width: var(--cursor-hover-size);
    height: var(--cursor-hover-size);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    border-color: transparent;
    mix-blend-mode: difference;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

@media (min-width: 1024px) {
    nav {
        padding: 2rem 3rem;
    }
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #fff;
    text-decoration: none;
}

.menu-trigger {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.menu-trigger span {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-trigger:hover span {
    transform: translateY(-100%);
}

.menu-trigger::after {
    content: "Close";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-trigger:hover::after {
    transform: translateY(-100%);
}

/* --- FULLSCREEN MENU OVERLAY --- */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #111;
    z-index: 90;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: circle(0% at 90% 10%);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.fullscreen-menu.active {
    clip-path: circle(150% at 90% 10%);
}

.menu-list {
    list-style: none;
    text-align: center;
}

.menu-item {
    overflow: hidden;
    margin: 1rem 0;
}

.menu-link {
    display: block;
    font-family: var(--font-display);
    font-size: 6vw;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
    transform: translateY(100%);
    transition: color 0.3s;
}

.menu-link:hover {
    color: var(--accent-color);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5vw;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #050505 70%);
    z-index: -1;
    overflow: hidden;
}

.hero-bg-media {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

iframe.hero-bg-media,
.hero-bg-media-frame {
    border: 0;
}

.hero-bg-media-frame {
    opacity: 0.42;
    filter: saturate(0.65) brightness(0.48);
}

.hero-line {
    display: flex;
    overflow: hidden;
}

.hero-text {
    font-family: var(--font-display);
    font-size: 12vw;
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    transform: translateY(100%);
    white-space: nowrap;
}

.hero-text.filled {
    color: var(--text-color);
    -webkit-text-stroke: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    transform: rotate(90deg);
    transform-origin: right bottom;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.5);
    display: none;
    /* Hide on mobile to save space */
}

@media (min-width: 768px) {
    .scroll-indicator {
        display: block;
        bottom: 3rem;
        right: 3rem;
        font-size: 0.8rem;
    }
}

/* --- MARQUEE --- */
.marquee-section {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
}

.marquee-item {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 8vw;
    text-transform: uppercase;
    margin-right: 2rem;
    color: rgba(255, 255, 255, 0.1);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    transition: color 0.3s;
}

@media (min-width: 768px) {
    .marquee-item {
        font-size: 4rem;
        margin-right: 4rem;
    }
}

.marquee-item:hover {
    color: var(--accent-color);
    -webkit-text-stroke: 0;
}

/* --- PROJECTS GRID --- */
.showcase {
    padding: 8rem 5vw;
}

.section-header {
    margin-bottom: 4rem;
    overflow: hidden;
}

.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    }
}

.project-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.project-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.project-img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0) 100%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.project-item:hover .project-img-container::after {
    opacity: 0.9;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    filter: grayscale(100%) brightness(0.8);
}

.project-item:hover .project-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.08);
}

.project-info {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 2;
    pointer-events: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .project-title {
        font-size: 2.2rem;
    }
}

.project-cat {
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .project-info {
        opacity: 1;
        transform: none;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        background: rgba(0,0,0,0.4);
    }
    .project-img {
        filter: grayscale(0%) brightness(0.9);
    }
}

/* --- FOOTER --- */
footer {
    padding: 4rem 5vw;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta {
    font-family: var(--font-display);
    font-size: 15vw;
    line-height: 0.8;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .footer-cta {
        font-size: 8vw;
    }
}

.footer-cta span {
    display: block;
    transition: transform 0.3s;
}

.footer-cta:hover span {
    transform: translateX(10px);
    color: var(--accent-color);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
        mix-blend-mode: normal;
        background: linear-gradient(180deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.7) 72%, rgba(5, 5, 5, 0) 100%);
        backdrop-filter: blur(12px);
    }

    nav .logo-image {
        height: 28px !important;
    }

    .menu-trigger {
        padding: 0.45rem 0.6rem;
        letter-spacing: 1.4px;
    }

    .hero {
        min-height: 100svh;
        height: auto;
        padding: 6.5rem 7vw 4rem;
        justify-content: center;
    }

    .hero-text {
        font-size: clamp(3rem, 17vw, 5.5rem);
        white-space: normal;
        line-height: 0.94;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .project-item {
        aspect-ratio: 4 / 5;
        height: auto;
        margin-bottom: 0;
    }

    .project-img {
        filter: grayscale(0%);
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }

    .menu-link {
        font-size: 12vw;
    }

    .marquee-section {
        padding: 2rem 0;
    }

    .marquee-item {
        font-size: 11vw;
        margin-right: 1.5rem;
    }

    .showcase {
        padding: 5rem 5vw;
    }

    .project-title {
        font-size: 1.45rem;
    }

    .client-stories {
        min-height: auto;
        padding: 4.5rem 5vw;
    }

    .story-item {
        align-items: flex-start;
        gap: 1rem;
    }

    .story-title {
        font-size: 12vw;
    }

    .story-item:hover .story-title {
        transform: none;
    }

    .story-arrow {
        display: none;
    }

    .view-all-btn {
        flex-wrap: wrap;
    }

    .content-title {
        font-size: clamp(2.6rem, 14vw, 4.5rem);
    }

    .content-p {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .services-portal-container {
        height: 52vh;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 3rem 5vw;
    }

    .footer-cta {
        font-size: 12vw;
    }
}

/* --- Client Stories Section --- */
.client-stories {
    padding: 6rem 5vw;
    position: relative;
    transition: background-color 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .client-stories {
        padding: 10rem 5vw;
    }
}

.stories-list {
    position: relative;
    z-index: 2;
}

.story-item {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.has-custom-cursor .story-item {
    cursor: none;
}

.story-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.story-title {
    font-family: var(--font-display);
    font-size: 10vw;
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.8;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
    .story-title {
        font-size: 8vw;
        opacity: 0.3;
    }
}

.story-item:hover .story-title {
    opacity: 1;
    transform: translateX(2vw);
}

.story-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5) rotate(-45deg);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: #000;
}

.story-item:hover .story-arrow {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* Floating Image */
.floating-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 400px;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    overflow: hidden;
    transform: translate(-50%, -50%) rotate(5deg);
    transition: opacity 0.3s ease;
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.client-stories-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 4rem;
    display: block;
}

.view-all-btn {
    margin-top: 4rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-pill {
    padding: 1rem 2rem;
    border-radius: 30px;
    background: #fff;
    color: #000;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-pill:hover {
    transform: scale(1.05);
}

.btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* --- Content Styling --- */
.content-section {
    padding: 8rem 5vw;
    max-width: 1200px;
    margin: 0 auto;
}

.content-title {
    font-family: var(--font-display);
    font-size: 12vw;
    text-transform: uppercase;
    margin-bottom: 2rem;
    line-height: 1;
}

@media (min-width: 1024px) {
    .content-title {
        font-size: 6vw;
    }
}

.content-p {
    font-size: 1rem;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 2rem;
    max-width: 800px;
}

@media (min-width: 768px) {
    .content-p {
        font-size: 1.2rem;
    }
}

/* --- SERVICES PORTAL --- */
.services-portal-section {
    padding: 10rem 0;
    margin: 5rem 0;
    background-color: #000;
    overflow: hidden;
    position: relative;
    user-select: none;
}

.services-portal-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 3000px;
}

.services-portal-vortex {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
}

.service-vortex-item {
    font-family: var(--font-display);
    font-size: var(--services-font-size);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color);
    line-height: 1;
    white-space: nowrap;
    position: absolute;
    left: 50%;
    backface-visibility: hidden;
    transition: color 0.3s;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    color: transparent;
}

.service-vortex-item.active {
    color: var(--text-color);
    -webkit-text-stroke: 0;
}

.services-overlay-top,
.services-overlay-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 25%;
    z-index: 10;
    pointer-events: none;
}

.services-overlay-top {
    top: 0;
    background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.services-overlay-bottom {
    bottom: 0;
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 768px) {
    :root {
        --services-font-size: 15vw;
    }

    .services-portal-container {
        height: auto;
        min-height: 0;
        padding: 0 5vw;
    }

    .services-portal-vortex.is-mobile-static {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
        width: 100%;
        height: auto;
        align-content: start;
        transform: none !important;
        perspective: none;
    }

    .services-portal-vortex.is-mobile-static .service-vortex-item {
        position: static;
        left: auto;
        width: 100%;
        white-space: normal;
        text-align: center;
        font-size: clamp(0.95rem, 4vw, 1.2rem);
        line-height: 1.2;
        padding: 1rem 0.8rem;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.04);
        color: #fff;
        -webkit-text-stroke: 0;
        opacity: 1 !important;
        transform: none !important;
    }

    .services-overlay-top,
    .services-overlay-bottom {
        display: none;
    }
}
/* --- MOBILE RESPONSIVENESS UPDATES --- */
#clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin-top: 4rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .loader-text {
        font-size: 3rem;
    }
    .content-section {
        padding: 4rem 5vw;
    }
    .hero-text {
        font-size: clamp(3rem, 17vw, 5.5rem);
        line-height: 0.94;
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .client-stories {
        padding: 4.5rem 5vw;
    }
    .story-title {
        font-size: 12vw;
    }
    #clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 2rem;
    }
    .content-title {
        font-size: 12vw;
    }
    .content-p {
        font-size: 1.1rem;
    }
}

/* --- SITEWIDE SHELL UPGRADE --- */
.site-nav {
    gap: 1.5rem;
    align-items: center;
}

.nav-desktop {
    flex: 1;
    display: none;
    justify-content: center;
}

.nav-links {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.58);
    backdrop-filter: blur(12px);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-size: 0.78rem;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-left: auto;
}

.nav-page-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-cta {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1.4px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(255, 59, 0, 0.22);
}

.site-nav .menu-trigger {
    padding: 0.65rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.menu-open nav {
    mix-blend-mode: normal;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(14px);
}

body.menu-open .menu-trigger span,
body.menu-open .menu-trigger:hover span {
    transform: translateY(-100%);
}

body.menu-open .menu-trigger::after,
body.menu-open .menu-trigger:hover::after {
    transform: translateY(-100%);
}

.menu-panel {
    width: min(1240px, 92vw);
    min-height: min(720px, 82vh);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
    gap: 3rem;
    padding: clamp(2rem, 4vw, 4rem);
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.96), rgba(5, 5, 5, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}

.menu-panel-main,
.menu-panel-side {
    display: flex;
    flex-direction: column;
}

.menu-panel-main {
    justify-content: center;
}

.menu-kicker,
.menu-side-label,
.footer-kicker,
.home-capability-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 59, 0, 0.12);
    color: var(--accent-color);
    font-size: 0.72rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.menu-kicker {
    margin-bottom: 1.25rem;
}

.menu-panel .menu-list {
    text-align: left;
}

.menu-panel .menu-item {
    margin: 0.3rem 0;
}

.menu-panel .menu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: clamp(3rem, 6vw, 5.8rem);
}

.menu-panel .menu-link.active {
    color: var(--accent-color);
}

.menu-link-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 0.68rem;
    letter-spacing: 1px;
}

.menu-panel-side {
    justify-content: flex-end;
    gap: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-side-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.menu-side-cta,
.footer-contact-link {
    color: #fff;
    text-decoration: none;
}

.menu-side-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 1rem 1.4rem;
    border-radius: 999px;
    background: #fff;
    color: #000;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.menu-side-link {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.35rem;
    text-transform: uppercase;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 980px;
}

.home-hero .hero-text {
    font-size: clamp(4rem, 9.5vw, 8.6rem);
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 0.82rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.hero-intro {
    max-width: 760px;
    margin-top: 1.75rem;
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.hero-action-btn.primary {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 18px 36px rgba(255, 59, 0, 0.24);
}

.hero-action-btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.hero-action-btn:hover {
    transform: translateY(-2px);
}

.hero-proof-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.4rem;
}

.hero-proof-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.15rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.hero-proof-card strong {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
}

.hero-proof-card span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* Opening statement. This used to be a flat PNG with the copy baked in; it is
   now live text so it can be edited, translated, selected and indexed. */
.home-statement-section {
    padding: 1rem 5vw 6rem;
    background: #050505;
}

.home-statement-shell {
    max-width: 1380px;
    margin: 0 auto;
    padding: 4.5rem clamp(1.6rem, 4vw, 4.5rem) 5rem;
    border-radius: 28px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.home-statement-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-color, #ff3b00);
    margin-bottom: 2rem;
}

.home-statement-title {
    margin: 0 0 2.6rem;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7.4vw, 6.6rem);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: #e2e2e2;
    max-width: 16ch;
    /* Honour line breaks typed into the heading in the admin. */
    white-space: pre-line;
}

.home-statement-body p {
    margin: 0 0 1.1rem;
    max-width: 68ch;
    font-size: clamp(1rem, 1.25vw, 1.28rem);
    line-height: 1.62;
    color: #9a9a9a;
}

.home-statement-body p:last-child {
    margin-bottom: 0;
}

.home-capability-section {
    padding: 7rem 5vw;
}

.home-section-header {
    max-width: 900px;
}

.home-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.home-capability-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.6rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 240px;
}

.home-capability-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.05;
    text-transform: uppercase;
    color: #fff;
}

.home-capability-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
}

.project-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.project-index {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.7rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.project-info {
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    padding: 1.15rem 1.2rem;
    opacity: 1;
    transform: none;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.34), rgba(8, 8, 8, 0.74));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-item:hover .project-info {
    transform: translateY(-8px);
}

.project-kicker {
    display: inline-flex;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font-size: 0.72rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.project-summary {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
    font-size: 0.95rem;
}

.project-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.project-link-copy {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.72rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.project-cat,
.project-link-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
}

.project-action-icon {
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.22);
}

.project-action-icon-folder::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    width: 13px;
    height: 8px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 2px;
}

.project-action-icon-folder::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: 6px;
    height: 3px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-bottom: 0;
    border-radius: 2px 2px 0 0;
}

.project-action-icon-play::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 6px;
    border-left: 8px solid rgba(255, 255, 255, 0.9);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.project-link-arrow {
    position: relative;
    width: 12px;
    height: 12px;
}

.project-link-arrow::before {
    content: '';
    position: absolute;
    right: 1px;
    top: 1px;
    width: 7px;
    height: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.92);
    border-right: 1px solid rgba(255, 255, 255, 0.92);
}

.project-link-arrow::after {
    content: '';
    position: absolute;
    right: 1px;
    top: 7px;
    width: 12px;
    height: 1px;
    background: rgba(255, 255, 255, 0.92);
    transform: rotate(-45deg);
    transform-origin: right center;
}

.showcase-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.8rem;
}

.showcase-cta-link {
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.4vw, 2.35rem);
    line-height: 1;
    text-decoration: none;
    border-bottom: 2px solid var(--accent-color);
}

@media (min-width: 769px) {
    .showcase {
        padding: 6rem 1.2rem 7rem;
        background: #020202;
    }

    .showcase .section-header {
        width: min(1720px, 100%);
        margin: 0 auto 3rem;
    }

    .showcase .section-label {
        margin: 0;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 2.8px;
    }

    .showcase .grid {
        width: min(1880px, 100%);
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(var(--works-columns-desktop, 4), minmax(0, 1fr));
        gap: 18px;
    }

    .showcase .home-work-card {
        aspect-ratio: 1.42 / 1;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: #030303;
    }

    .showcase .home-work-card .project-img-container,
    .showcase .home-work-card .project-img {
        border-radius: inherit;
    }

    .showcase .home-work-card .project-img-container::after {
        opacity: 1;
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 46%, rgba(0, 0, 0, 0.2) 78%, rgba(0, 0, 0, 0.72) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68));
    }

    .showcase .home-work-card .project-img {
        filter: grayscale(100%) brightness(0.5) contrast(1.12);
        transform: scale(1.01);
    }

    .showcase .home-work-card:hover .project-img {
        filter: grayscale(75%) brightness(0.66) contrast(1.08);
        transform: scale(1.045);
    }

    .showcase .home-work-card .project-index {
        top: 1rem;
        left: 1rem;
        min-width: 2rem;
        height: 2rem;
        padding: 0;
        border-radius: 8px;
        border-color: rgba(255, 59, 0, 0.45);
        background: rgba(0, 0, 0, 0.58);
    }

    .showcase .home-work-card .project-info {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        padding: 1.45rem 1.3rem 1.1rem 3.55rem;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transform: none;
    }

    .showcase .home-work-card:hover .project-info {
        transform: none;
    }

    .showcase .home-work-card .project-kicker {
        min-height: 0.85rem;
        margin-bottom: 1rem;
        color: var(--accent-color);
        font-size: 0.66rem;
        font-weight: 800;
        letter-spacing: 1.75px;
    }

    .showcase .home-work-card .project-title {
        max-width: 78%;
        margin: 0;
        padding-bottom: 0.12em;
        font-size: clamp(1.45rem, 1.58vw, 2rem);
        line-height: 1.08;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

    .showcase .home-work-card .project-summary {
        max-width: 62%;
        margin-top: 0.85rem;
        color: rgba(255, 255, 255, 0.86);
        font-size: clamp(0.72rem, 0.75vw, 0.88rem);
        line-height: 1.58;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .showcase .home-work-card .project-meta-row {
        margin-top: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 1rem;
    }

    .showcase .home-work-card .project-cat,
    .showcase .home-work-card .project-link-copy {
        color: rgba(255, 255, 255, 0.86);
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 1.2px;
        line-height: 1.18;
    }
}

@media (min-width: 769px) and (max-width: 1180px) {
    .showcase .grid {
        grid-template-columns: repeat(var(--works-columns-tablet, 2), minmax(0, 1fr));
    }
}

.portfolio-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2rem;
}

.portfolio-intro-title {
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.95;
}

.portfolio-intro-body {
    margin: 0;
    max-width: 34rem;
}

.portfolio-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.portfolio-summary-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-summary-card strong {
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: #fff;
}

.portfolio-summary-card span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.68);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-empty-state {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.site-footer {
    padding: 4rem 5vw;
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
    gap: 3rem;
    width: 100%;
}

.footer-lead {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.footer-note,
.footer-small-copy {
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}

.footer-meta {
    display: grid;
    gap: 1.5rem;
    align-content: end;
}

.footer-meta-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-meta-label {
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.footer-link {
    display: inline-flex;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-contact-link {
    font-family: var(--font-display);
    font-size: 1.15rem;
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    .nav-desktop,
    .nav-cta {
        display: flex;
    }
}

@media (max-width: 980px) {
    .menu-panel {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-panel-side {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .home-capability-grid,
    .portfolio-summary-strip,
    .footer-shell,
    .portfolio-intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-nav {
        gap: 0.6rem;
    }

    .nav-page-pill {
        font-size: 0.64rem;
        padding: 0.45rem 0.7rem;
    }

    .nav-actions {
        gap: 0.55rem;
    }

    .menu-panel {
        width: 100vw;
        min-height: 100vh;
        border-radius: 0;
        border: 0;
        padding: 6.5rem 1.25rem 2rem;
    }

    .menu-panel .menu-link {
        font-size: 12vw;
    }

    .hero-copy {
        max-width: none;
    }

    .home-hero .hero-text {
        font-size: clamp(3rem, 14vw, 5.2rem);
    }

    .hero-kicker {
        font-size: 0.72rem;
        letter-spacing: 1.8px;
    }

    .hero-intro {
        font-size: 1rem;
        line-height: 1.55;
    }

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

    .hero-action-btn {
        width: 100%;
    }

    .hero-proof-strip {
        grid-template-columns: 1fr;
    }

    .home-capability-section {
        padding: 5rem 5vw;
    }

    .home-statement-section {
        padding: 0.5rem 5vw 4rem;
    }

    .home-statement-shell {
        border-radius: 18px;
        padding: 3rem 1.5rem 3.2rem;
    }

    .home-statement-label {
        margin-bottom: 1.4rem;
        letter-spacing: 0.2em;
    }

    .home-statement-title {
        margin-bottom: 1.8rem;
        max-width: none;
    }

    .home-capability-grid {
        grid-template-columns: 1fr;
    }

    .project-index {
        top: 0.8rem;
        left: 0.8rem;
    }

    .project-info {
        left: 0.9rem;
        right: 0.9rem;
        bottom: 0.9rem;
        padding: 1rem;
    }

    .project-summary {
        font-size: 0.9rem;
    }

    .project-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-intro {
        margin-bottom: 1.5rem;
    }

    .portfolio-summary-strip {
        margin-bottom: 1.5rem;
    }

    .site-footer {
        padding: 3rem 5vw 6rem;
    }
}

/* ============================================================
   2026 LEVEL-UP LAYER
   Design elevation, 3D hero, tilt accents & Extra Life game
   ============================================================ */

:root {
    --accent-glow: rgba(255, 59, 0, 0.35);
    --surface-1: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.06);
    --line-1: rgba(255, 255, 255, 0.09);
    --radius-lg: 22px;
}

::selection {
    background: var(--accent-color);
    color: #fff;
}

/* refined scrollbar */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

/* subtle film grain over everything */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* --- HERO ELEVATION --- */
.hero {
    position: relative;
    isolation: isolate;
}

.hero-3d-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.85;
}

.hero-3d-layer canvas { display: block; width: 100%; height: 100%; }

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

.home-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28vh;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--bg-color));
}

.hero-kicker {
    position: relative;
    padding-left: 2.2rem;
}

.hero-kicker::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.6rem;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-glow);
}

.hero-text {
    text-shadow: 0 0 60px rgba(255, 59, 0, 0.12);
}

.hero-action-btn.primary {
    box-shadow: 0 0 0 rgba(255, 59, 0, 0);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.hero-action-btn.primary:hover {
    box-shadow: 0 8px 40px var(--accent-glow);
}

/* --- SECTION LABEL ACCENT --- */
.section-label,
.client-stories-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.section-label::before,
.client-stories-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
    display: inline-block;
}

/* --- CARD TILT (3D depth accents) --- */
.tilt-3d {
    transform-style: preserve-3d;
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 0.25s ease-out;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.tilt-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.08), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tilt-3d:hover::after { opacity: 1; }

/* --- CAPABILITY CARDS ELEVATION --- */
.home-capability-card {
    border: 1px solid var(--line-1);
    background:
        linear-gradient(160deg, var(--surface-2), var(--surface-1)) padding-box;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.home-capability-card:hover {
    border-color: rgba(255, 59, 0, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 59, 0, 0.06);
}

/* ============================================================
   EXTRA LIFE — THE GAME
   ============================================================ */

.game-section {
    padding: 6rem 5vw 5rem;
    position: relative;
    overflow: hidden;
}

.game-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 70vw;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(255, 59, 0, 0.09), transparent 65%);
    pointer-events: none;
}

.game-frame {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.game-head { text-align: center; margin-bottom: 2.2rem; }

.game-label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(255, 59, 0, 0.4);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    margin-bottom: 1.2rem;
    animation: coin-blink 1.6s steps(2) infinite;
}

@keyframes coin-blink {
    0%, 60% { opacity: 1; }
    61%, 100% { opacity: 0.45; }
}

.game-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    letter-spacing: 1px;
}

.game-sub {
    max-width: 42rem;
    margin: 1.1rem auto 0;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    font-size: 0.98rem;
}

.game-stage {
    position: relative;
    height: clamp(320px, 48vh, 460px);
    border: 1px solid var(--line-1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(255, 59, 0, 0.10), transparent 60%),
        linear-gradient(180deg, #0a0a0a, #050505);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 80px rgba(0, 0, 0, 0.6);
}

.game-stage canvas {
    position: absolute;
    inset: 0;
    touch-action: manipulation;
    cursor: pointer;
}

.game-hud {
    position: absolute;
    top: 1rem;
    left: 1.2rem;
    right: 1.2rem;
    display: flex;
    gap: 1.6rem;
    z-index: 3;
    pointer-events: none;
}

.hud-block { display: flex; flex-direction: column; gap: 0.15rem; }

.hud-block span {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.hud-block strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: #fff;
    letter-spacing: 1px;
}

.hud-lives { margin-left: auto; }
.hud-lives strong { color: var(--accent-color); text-shadow: 0 0 14px var(--accent-glow); }

.game-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(5px);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.game-overlay.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.game-overlay-inner {
    text-align: center;
    padding: 1rem;
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.game-msg-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1.5px;
    margin-bottom: 0.6rem;
}

.game-msg-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    margin-bottom: 1.6rem;
}

.game-start-btn {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent-color);
    border: 0;
    border-radius: 999px;
    padding: 0.95rem 2.6rem;
    cursor: pointer;
    box-shadow: 0 10px 40px var(--accent-glow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-start-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 55px var(--accent-glow); }

.game-scanlines {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px);
    mix-blend-mode: overlay;
}

.game-foot {
    margin-top: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.game-foot-copy {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.game-cta {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.8rem 1.8rem;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.game-cta:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px var(--accent-glow);
}

@media (max-width: 768px) {
    .game-section { padding: 4rem 5vw 3.5rem; }
    .game-stage { height: 320px; }
    .game-hud { gap: 1rem; }
    .hud-block strong { font-size: 1.05rem; }
    .game-foot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .game-label { animation: none; }
    .tilt-3d { transform: none !important; }
}

/* ============================================================
   ENGAGEMENT LAYER — leaderboard, share, unlockables
   ============================================================ */

.game-btn-row {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.game-share-btn {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.95rem 1.8rem;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.game-share-btn:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.game-extra { margin-bottom: 1.4rem; }

.game-unlock {
    margin: 0 auto 1.2rem;
    max-width: 26rem;
    border: 1px solid rgba(255, 210, 63, 0.4);
    background: rgba(255, 210, 63, 0.06);
    border-radius: 14px;
    padding: 1rem 1.2rem;
}

.game-unlock-badge {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #ffd23f;
    margin-bottom: 0.4rem;
}

.game-unlock p { color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; margin-bottom: 0.6rem; }

.game-promo-code {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: #ffd23f;
    border: 1px dashed rgba(255, 210, 63, 0.5);
    border-radius: 8px;
    padding: 0.35rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.game-promo-code:hover { background: rgba(255, 210, 63, 0.1); }
.game-promo-code.copied::after { content: ' ✓ copied'; font-size: 0.7rem; letter-spacing: 1px; }

.game-unlock-link {
    color: #ffd23f;
    font-family: var(--font-display);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.95rem;
}

.game-board { max-width: 22rem; margin: 0 auto; }

.game-board-entry {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.game-board-entry input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-display);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
}

.game-board-entry input:focus { outline: none; border-color: var(--accent-color); }

.game-board-entry button {
    background: var(--accent-color);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-family: var(--font-display);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
}

.game-rank-msg { color: #ffd23f; font-size: 0.9rem; letter-spacing: 0.5px; }

.game-board-title {
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.game-board-row {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    padding: 0.28rem 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.game-board-row.is-you { background: rgba(255, 59, 0, 0.15); }
.game-board-row .gb-rank { color: var(--accent-color); font-family: var(--font-display); width: 1.4rem; }
.game-board-row .gb-name { color: #fff; letter-spacing: 1px; flex: 1; text-align: left; }
.game-board-row .gb-score { color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; }
.game-board-loading { color: rgba(255, 255, 255, 0.4); font-size: 0.8rem; }

/* ============================================================
   SITE EXTRAS — WhatsApp, transitions, arcade mode
   ============================================================ */

.whatsapp-fab {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 8000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-fab:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 40px rgba(37, 211, 102, 0.5); }

.page-curtain {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.83, 0, 0.17, 1);
    pointer-events: none;
}

.page-curtain-brand {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 6px;
    color: var(--accent-color);
    opacity: 0.9;
}

body.curtain-open .page-curtain { transform: translateY(-100%); }

body.arcade-mode { animation: arcade-hue 1.2s linear infinite; }

@keyframes arcade-hue {
    0%, 100% { filter: none; }
    25% { filter: hue-rotate(12deg) saturate(1.15); }
    75% { filter: hue-rotate(-12deg) saturate(1.2); }
}

.arcade-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9600;
    background: rgba(5, 5, 5, 0.92);
    border: 2px solid var(--accent-color);
    border-radius: 16px;
    padding: 1.6rem 2.4rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: #ffd23f;
    text-align: center;
    box-shadow: 0 0 60px rgba(255, 59, 0, 0.4);
    animation: arcade-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.arcade-toast small { display: block; margin-top: 0.6rem; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 1px; color: rgba(255, 255, 255, 0.7); }
.arcade-toast a { color: var(--accent-color); }

@keyframes arcade-pop {
    from { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.arcade-confetti {
    position: fixed;
    top: -12px;
    width: 9px;
    height: 9px;
    background: var(--accent-color);
    z-index: 9550;
    pointer-events: none;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    to { transform: translateY(105vh) rotate(540deg); }
}

/* ============================================================
   WEBGL HOVER FX
   ============================================================ */

.project-img-container { position: relative; }

.fx-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 2;
}

.fx-canvas.active { opacity: 1; }

/* ============================================================
   ANAMORPHIC SECTION
   ============================================================ */

.anamorphic-section {
    padding: 6rem 5vw;
    overflow: hidden;
}

.anamorphic-stage {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    padding: 2rem 0 3rem;
}

.anamorphic-frame {
    position: relative;
    width: min(880px, 92vw);
    aspect-ratio: 16 / 9;
    transform-style: preserve-3d;
}

.anamorphic-screen {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    overflow: visible;
    transform-style: preserve-3d;
    background: #0a0a0a;
}

.anamorphic-media {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    will-change: transform;
}

.anamorphic-media img,
.anamorphic-media video,
.anamorphic-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.7));
}

.anamorphic-bezel {
    position: absolute;
    inset: -14px;
    border: 14px solid #101010;
    border-radius: 20px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
    transform: translateZ(-2px);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials-section { padding: 6rem 5vw; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
    margin-top: 2.5rem;
}

.testimonial-card {
    position: relative;
    border: 1px solid var(--line-1);
    border-radius: var(--radius-lg);
    background: linear-gradient(165deg, var(--surface-2), var(--surface-1));
    padding: 2rem 1.8rem 1.6rem;
    margin: 0;
}

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 3.4rem;
    line-height: 0.6;
    color: var(--accent-color);
    opacity: 0.85;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    font-size: 0.98rem;
    margin: 0 0 1.4rem;
}

.testimonial-card figcaption strong {
    display: block;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    font-size: 0.95rem;
}

.testimonial-card figcaption span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* ============================================================
   BLOG
   ============================================================ */

.blog-header {
    padding: 11rem 5vw 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-page-title { font-size: clamp(2.6rem, 7vw, 5rem); }

.blog-grid-section {
    padding: 2rem 5vw 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.6rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(165deg, var(--surface-2), var(--surface-1));
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 59, 0, 0.45);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.blog-card-cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0c0c0c;
}

.blog-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-cover img { transform: scale(1.06); }

.blog-card-cover-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-cover-empty span {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 6px;
    color: rgba(255, 59, 0, 0.4);
}

.blog-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; }

.blog-card-meta {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.blog-card-body h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.25;
}

.blog-card-body p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; line-height: 1.6; }

.blog-card-more {
    margin-top: 0.4rem;
    color: var(--accent-color);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.blog-empty { text-align: center; padding: 4rem 0; color: rgba(255, 255, 255, 0.6); }
.blog-empty h3 { font-family: var(--font-display); text-transform: uppercase; color: #fff; margin-bottom: 0.6rem; }

.blog-post-main { max-width: 780px; margin: 0 auto; padding: 11rem 5vw 5rem; }

.blog-back {
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.blog-back:hover { color: var(--accent-color); }

.blog-post-meta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-post-cover {
    margin: 2.5rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-post-cover img { width: 100%; display: block; }

.blog-post-body {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.85;
    font-size: 1.02rem;
}

.blog-post-body p { margin-bottom: 1.4rem; }
.blog-post-body h2, .blog-post-body h3, .blog-post-body h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    color: #fff;
    margin: 2.4rem 0 1rem;
    line-height: 1.2;
}
.blog-post-body h2 { font-size: 1.8rem; }
.blog-post-body h3 { font-size: 1.4rem; }
.blog-post-body ul { margin: 0 0 1.4rem 1.2rem; }
.blog-post-body li { margin-bottom: 0.5rem; }
.blog-post-body a { color: var(--accent-color); }
.blog-post-body blockquote {
    border-left: 3px solid var(--accent-color);
    padding-left: 1.2rem;
    margin: 1.8rem 0;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
}

.blog-post-cta {
    margin-top: 4rem;
    padding: 2.4rem;
    text-align: center;
    border: 1px solid var(--line-1);
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse at 50% 120%, rgba(255, 59, 0, 0.12), transparent 65%);
}

.blog-post-cta p {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 1.2rem;
}

/* ============================================================
   3D MODEL VIEWER (project pages)
   ============================================================ */

.model3d-viewer {
    position: relative;
    width: 100%;
    height: clamp(340px, 55vh, 560px);
    border-radius: var(--radius-lg, 20px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.model3d-viewer:active { cursor: grabbing; }
.model3d-viewer canvas { display: block; width: 100% !important; height: 100% !important; }

.model3d-loading {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.model3d-hint { color: rgba(255, 255, 255, 0.4); font-size: 0.78rem; }

/* ============================================================
   GATED PDF + FORM STATUS
   ============================================================ */

.gated-pdf-form {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 30rem;
    margin: 0 auto;
}

.gated-pdf-form input {
    flex: 1;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    padding: 0.9rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.gated-pdf-form input:focus { outline: none; border-color: var(--accent-color); }
.gated-pdf-form input.error { border-color: #ff4d4d; animation: field-shake 0.3s; }

@keyframes field-shake {
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.gated-pdf-form button { border: 0; cursor: pointer; }

.gated-pdf-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.form-status {
    margin-top: 1.2rem;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #6ee7a0;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-status.visible { opacity: 1; }
.form-status.is-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ff8f8f;
}

/* Draft preview indicator */
.is-draft-preview body::before,
html.is-draft-preview body::before {
    content: 'DRAFT PREVIEW';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    background: var(--accent-color);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 3px;
    padding: 0.3rem 1.2rem;
    border-radius: 0 0 10px 10px;
}

@media (max-width: 768px) {
    .anamorphic-section { padding: 4rem 5vw; }
    .blog-header { padding-top: 8rem; }
    .blog-post-main { padding-top: 8rem; }
    .whatsapp-fab { width: 50px; height: 50px; right: 1rem; bottom: 1rem; }
}
/* Secret playable portfolio */
.secret-logo{touch-action:none;cursor:grab;z-index:10002}.secret-logo:hover{filter:drop-shadow(0 0 10px var(--accent-color))}.secret-logo.dragging{cursor:grabbing;filter:drop-shadow(0 0 18px var(--accent-color))}.secret-portal{position:fixed;z-index:9998;right:28px;bottom:28px;width:58px;height:58px;border:1px solid #ffffff25;border-radius:50%;color:#ffffff45;background:#090909aa;font:700 11px var(--font-display);cursor:pointer;transition:.3s}.secret-portal:before{content:'';position:absolute;inset:7px;border:1px dashed currentColor;border-radius:50%;animation:spin 10s linear infinite}.secret-portal span{position:absolute;right:0;bottom:-18px;width:90px;font:8px var(--font-body);letter-spacing:.12em;opacity:0}.secret-portal:hover span,.secret-portal.armed span{opacity:1}.secret-portal.hot{color:#fff;background:var(--accent-color);box-shadow:0 0 0 12px #ff2a0020,0 0 50px var(--accent-color);transform:scale(1.15)}@keyframes spin{to{transform:rotate(360deg)}}
body.adventure-open{overflow:hidden!important}.adventure-shell{position:fixed;inset:0;z-index:20000;color:#f4f1e9;background:#0b0b0b;opacity:0;transform:scale(1.02);transition:.4s;font-family:var(--font-body)}.adventure-shell.is-visible{opacity:1;transform:none}.adventure-shell:before{content:'';position:absolute;inset:0;background:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:42px 42px;pointer-events:none}.adventure-bar{position:relative;z-index:4;height:82px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 3vw;border-bottom:1px solid #ffffff25}.adventure-bar>div>b{color:var(--accent-color);letter-spacing:.14em}.adventure-bar small{display:block;color:#666;font-size:8px;letter-spacing:.18em;margin-top:6px}.adventure-bar aside{display:flex;gap:4vw;color:#777;font-size:9px;letter-spacing:.15em}.adventure-bar aside b{display:block;color:#fff;font:700 17px var(--font-display);margin-top:6px}.adventure-bar>button{justify-self:end;border:1px solid #444;background:none;color:#aaa;padding:10px;font-size:9px}.adventure-stage{position:relative;height:calc(100vh - 82px);overflow:hidden;cursor:crosshair}.adventure-intro{position:absolute;z-index:8;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#0b0b0b;transition:.45s}.adventure-intro.gone{opacity:0;transform:scale(1.05);pointer-events:none}.adventure-intro p,.reward-card>p:first-child{color:var(--accent-color);font-size:10px;font-weight:700;letter-spacing:.25em}.adventure-intro h2,.reward-card h2{margin:22px 0 16px;font:700 clamp(3rem,7vw,7.5rem)/.86 var(--font-display);text-transform:uppercase;letter-spacing:-.04em}.adventure-intro h2 em{color:transparent;-webkit-text-stroke:1px #fff;font-style:normal}.adventure-intro>label{max-width:470px;color:#888;line-height:1.6}.adventure-intro>button,.reward-form>button{margin-top:28px;border:0;background:var(--accent-color);color:#fff;padding:18px 24px;font-weight:800;letter-spacing:.12em}.adventure-intro>small{margin-top:15px;color:#555;letter-spacing:.14em}
.service-fragment{position:absolute;z-index:3;left:var(--x);top:var(--y);width:clamp(150px,15vw,230px);min-height:105px;padding:18px;text-align:left;color:#eee;border:1px solid #3a3a3a;background:#111e;transform:translate(-50%,-50%);animation:float 3s var(--d) ease-in-out infinite;transition:.35s;cursor:crosshair}.service-fragment:before{content:'+';position:absolute;right:9px;top:7px;color:var(--accent-color)}.service-fragment small{color:#666;font-size:8px}.service-fragment b{display:block;margin:13px 0 8px;font:700 clamp(16px,1.5vw,24px) var(--font-display)}.service-fragment span{color:#777;font-size:10px}.service-fragment:hover{border-color:var(--accent-color)}.service-fragment.got{opacity:0;transform:translate(-50%,-50%) scale(1.7) rotate(6deg);pointer-events:none}@keyframes float{50%{transform:translate(-50%,calc(-50% - 10px))}}.adventure-player{position:absolute;z-index:7;left:50%;top:50%;width:54px;height:54px;display:none;place-items:center;border-radius:50%;background:var(--accent-color);transform:translate(-50%,-50%);pointer-events:none;box-shadow:0 0 0 8px #ff2a0025,0 0 30px #ff2a0077}.adventure-player.active{display:grid}.adventure-player b{font:800 24px/.7 var(--font-display)}.adventure-player i{font:800 8px var(--font-display)}.adventure-message{position:absolute;z-index:8;left:50%;bottom:7%;color:var(--accent-color);font-size:12px;font-weight:700;letter-spacing:.16em;opacity:0;transform:translateX(-50%)}.adventure-message.pop{animation:pop 1.1s}@keyframes pop{20%,70%{opacity:1;transform:translate(-50%,-12px)}}.adventure-stage.complete{animation:glitch .6s steps(2)}@keyframes glitch{30%{filter:invert(1);transform:translateX(10px)}60%{filter:hue-rotate(120deg);transform:translateX(-8px)}}
.adventure-reward{position:absolute;z-index:5;inset:82px 0 0;overflow:auto;padding:5vh 6vw;background:#f0ece2;color:#111}.reward-back{border:0;background:none;color:#555;font-size:9px;letter-spacing:.15em}.reward-card{width:min(900px,100%);margin:4vh auto}.reward-code{float:right;border:1px solid #aaa;padding:10px;font-size:10px}.reward-code span{color:var(--accent-color)}.reward-card h2{font-size:clamp(3rem,6vw,6rem)}.reward-card>label{display:block;max-width:620px;color:#68645e;line-height:1.6}.reward-form{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:40px}.reward-form label{display:flex;flex-direction:column;gap:8px}.reward-form label span{font-size:8px;font-weight:700;letter-spacing:.15em}.reward-form input,.reward-form select{border:0;border-bottom:1px solid #aaa;padding:14px 0;background:none;font-size:16px}.reward-form .wide,.reward-form>button{grid-column:1/-1}.reward-form>button{justify-self:start}.reward-confirm{margin-top:30px;padding:20px;border-left:3px solid var(--accent-color);background:#fff}

/* --- DUAL ROW CLIENT MARQUEE (HOMEPAGE) --- */
.clients-marquee-section {
    padding: 6rem 0;
    background: #040404;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.clients-marquee-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 1.5rem;
}

.clients-marquee-intro {
    color: #888;
    max-width: 680px;
    margin: 0.8rem auto 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.marquee-rows-container {
    width: 100%;
    position: relative;
}

.marquee-row + .marquee-row {
    margin-top: 2.5rem;
}

.marquee-row[hidden] {
    display: none;
}

.client-marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.client-marquee-track {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: max-content;
    padding: 0.6rem 0;
}

.marquee-left .client-marquee-track {
    animation: marquee-scroll-left 42s linear infinite;
}

.marquee-right .client-marquee-track {
    animation: marquee-scroll-right 48s linear infinite;
}

.client-marquee-wrapper:hover .client-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.home-marquee-card {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.75rem 1.6rem;
    height: 58px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.home-marquee-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 90, 47, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 90, 47, 0.15);
}

.home-marquee-card.has-logo {
    min-width: 170px;
}

/* Client logos arrive in every brand colour (and a few are solid black, which
   would vanish on this background). Normalise them to white, restore the real
   colours on hover. */
.home-marquee-card img {
    max-height: 32px;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.78;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.home-marquee-card:hover img {
    filter: none;
    opacity: 1;
}

.home-marquee-card span {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-marquee-card small {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-left .client-marquee-track,
    .marquee-right .client-marquee-track {
        animation: none;
    }

    .client-marquee-wrapper {
        overflow-x: auto;
    }
}
