/* ==========================================================================
   THE 2 WAY ADVERTISING - DESIGN SYSTEM (APPROVED DESIGN)
   ========================================================================== */

:root {
    --color-brand-black: #050505;
    --color-brand-white: #fafafa;
    --color-accent-yellow: #e5ff00; /* Chartreuse/Neon Green-Yellow */
    --color-accent-green: #e5ff00;  /* Vibrant Fluorescent Chartreuse Green */
    
    --font-heading: 'Outfit', sans-serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

/* Lenis Smooth Scroll Recommended Styles */
html.lenis {
    height: auto;
}

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

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

.lenis-stopped {
    overflow: hidden;
}

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

/* ==========================================================================
   GLOBAL RESET & SETTINGS
   ========================================================================== */

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

body {
    background-color: var(--color-brand-black);
    color: var(--color-brand-white);
    font-family: var(--font-sans);
    overflow-x: hidden;
    scroll-behavior: auto;
    transition: background-color 0.8s ease, color 0.8s ease;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-yellow);
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */

.header {
    position: fixed; /* Changed from absolute to fixed */
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px; /* Reduced padding from 32px to push logo/navigation up */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    padding: 14px 40px; /* Slimmer header on scroll */
    background-color: rgba(5, 5, 5, 0.55); /* Translucent dark background */
    backdrop-filter: blur(20px) Saturate(180%); /* Capitalized 'Saturate' to bypass Squarespace LESS compiler bug */
    -webkit-backdrop-filter: blur(20px) Saturate(180%); /* Capitalized 'Saturate' to bypass Squarespace LESS compiler bug */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Glowing glass edge */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header .logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -1px;
    color: var(--color-brand-white);
}

.header .nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header .hub-link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-brand-white);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.header .hub-link:hover {
    background: var(--color-accent-yellow);
    color: var(--color-brand-black);
    border-color: var(--color-accent-yellow);
    box-shadow: 0 0 15px rgba(229, 255, 0, 0.3);
}

/* ==========================================================================
   HERO SECTION & HUD
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000;
    overflow: hidden;
}

/* Background video */
.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.video-bg-container video,
.video-bg-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    pointer-events: none;
}

.video-overlay-wash {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    mix-blend-mode: multiply;
}

/* Camera HUD Overlay */
.camera-hud {
    position: absolute;
    inset: 120px 40px 40px 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hud-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    opacity: 0.08;
}

.hud-grid div {
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
.hud-grid div:nth-child(3n) { border-right: none; }
.hud-grid div:nth-child(n+7) { border-bottom: none; }

.hud-safe-margin {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.safe-5 { inset: 5%; }
.safe-10 { inset: 10%; }

.hud-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
}
.crosshair-h { width: 32px; height: 1px; background: #fff; }
.crosshair-v { width: 1px; height: 32px; background: #fff; position: absolute; top: -16px; left: 16px; }

.hud-header, .hud-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.hud-header-left, .hud-header-right, .hud-footer-left, .hud-footer-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.rec-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff3333;
    border-radius: 50%;
    animation: pulse 1s infinite alternate;
}

.hud-side-left {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    display: flex;
    gap: 32px;
    opacity: 0.5;
}

.hud-side-right {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    display: flex;
    gap: 32px;
    opacity: 0.5;
}

@keyframes pulse {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

/* Hero Content */
.hero-text-content {
    position: relative;
    z-index: 20;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 8vw, 5.8rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.95;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Scroll Line Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: #fff;
}

/* ==========================================================================
   GLITCH EFFECT
   ========================================================================== */

.glitch-text {
    position: relative;
    display: inline-block;
    color: var(--color-accent-yellow);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-active::before {
    left: 2px;
    text-shadow: -2px 0 var(--color-accent-green);
    animation: glitch-anim-1 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    opacity: 1;
}

.glitch-active::after {
    left: -2px;
    text-shadow: -2px 0 var(--color-accent-yellow);
    animation: glitch-anim-2 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    opacity: 1;
}

@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); }
    100% { clip-path: inset(30% 0 50% 0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); }
    20% { clip-path: inset(30% 0 20% 0); }
    40% { clip-path: inset(70% 0 10% 0); }
    60% { clip-path: inset(20% 0 50% 0); }
    80% { clip-path: inset(50% 0 30% 0); }
    100% { clip-path: inset(5% 0 80% 0); }
}

/* ==========================================================================
   PORTFOLIO (HORIZONTAL SCROLL) SECTION
   ========================================================================== */

.portfolio-scroll-wrapper {
    background-color: var(--color-brand-white);
    color: var(--color-brand-black);
    position: relative;
}

.portfolio-sticky-container {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-header {
    height: 20vh;
    display: flex;
    align-items: flex-end;
    justify-content: space-between; /* Spaced out to accommodate title and scroll hint */
    padding: 0 48px 24px;
    z-index: 10;
}

.portfolio-scroll-hint {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(5, 5, 5, 0.6);
    margin-bottom: 6px;
}

.scroll-arrow-anim {
    font-size: 14px;
    animation: arrow-slide 1.5s infinite alternate ease-in-out;
}

@keyframes arrow-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(8px); }
}

.portfolio-header .section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2px;
}

.portfolio-horizontal-track {
    display: flex;
    height: 80vh;
    width: fit-content;
    will-change: transform;
}

.portfolio-item-slide {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 48px;
    cursor: pointer;
    flex: 0 0 auto; /* Force flexbox to respect set widths */
}

.portfolio-item-slide.portrait-slide {
    width: 60vh;
    flex: 0 0 60vh;
}

.portfolio-item-slide.landscape-slide {
    width: 100vh;
    flex: 0 0 100vh;
}

.slide-card {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-color: #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item-slide:hover .slide-bg {
    transform: scale(1.04);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #fff;
}

.slide-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-yellow);
    margin-bottom: 12px;
    font-weight: 600;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
}

/* ==========================================================================
   ABOUT SECTION & CANVAS PARTICLES
   ========================================================================== */

.about-section {
    position: relative;
    background-color: #0a0a0a;
    color: #fff;
    padding: 20vh 0;
    overflow: hidden;
}

#about-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.crt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.04));
    background-size: 100% 2px, 3px 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.3;
}

.film-grain {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background: transparent url("http://assets.iceable.com/img/noise-transparent.png") repeat 0 0;
    opacity: 0.12;
    animation: noise-move 0.2s infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes noise-move {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -2%); }
    20% { transform: translate(-3%, 1%); }
    30% { transform: translate(2%, -3%); }
    40% { transform: translate(-1%, 3%); }
    50% { transform: translate(-2%, 1%); }
    60% { transform: translate(3%, 0); }
    70% { transform: translate(0, 2%); }
    80% { transform: translate(1%, 3%); }
    90% { transform: translate(-3%, 2%); }
    100% { transform: translate(0, 0); }
}

.about-glowing-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vh;
    background: var(--color-accent-yellow);
    opacity: 0.035;
    filter: blur(150px);
    border-radius: 50%;
    pointer-events: none;
}

.about-content-container {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 35vh;
}

.scroll-story-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center; /* Center-align text */
    align-items: center; /* Center-align flex children */
}

.story-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent-green) !important; /* Enforced consistent neon green */
    font-weight: 700;
}

.story-content {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 5.5vw, 4.3rem); /* Increased by 2pt */
    font-weight: 800; /* Bold text */
    line-height: 1.25;
    letter-spacing: -1px;
    color: #ffffff !important; /* Keep font color white */
    mix-blend-mode: difference;
}

/* ==========================================================================
   CLIENT MARQUEE SECTION
   ========================================================================== */

.clients-section {
    background-color: var(--color-brand-white);
    color: var(--color-brand-black);
    padding: 120px 0 80px;
    overflow: hidden;
}

.clients-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666;
    display: block;
    margin-bottom: 12px;
    padding: 0 48px;
}

.clients-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    padding: 0 48px;
}

.marquee-wrapper {
    margin-top: 60px;
    display: flex;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-brand-white);
    padding: 30px 0;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 32s linear infinite;
    align-items: center;
}

.marquee-track img {
    height: clamp(5.5rem, 14vw, 8rem); /* 10/10 Giant size without transparent margins */
    width: auto;
    object-fit: contain;
    margin: 0 65px;
    vertical-align: middle;
    /* No grayscale/brightness filters - show original brand colors! */
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.marquee-track img:hover {
    opacity: 1;
    transform: scale(1.08);
}

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

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */

.team-section {
    background-color: var(--color-brand-black);
    color: var(--color-brand-white);
    padding: 100px 48px 140px;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent-green);
    display: block;
    margin-bottom: 12px;
}

.team-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.team-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.team-avatar-wrap {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #121212;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.team-avatar-letter {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 900;
    color: #222;
    mix-blend-mode: overlay;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-avatar-letter {
    transform: scale(1.1);
}

.team-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-avatar-wrap::after {
    opacity: 1;
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-legacy {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-yellow);
    font-weight: 600;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-top: 4px;
}

.team-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.team-desc {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 300;
    color: #bbb;
    line-height: 1.6;
}

/* ==========================================================================
   CONTACT SECTION (CHARTREUSE)
   ========================================================================== */

.contact-section {
    background-color: var(--color-accent-yellow);
    color: var(--color-brand-black);
    position: relative;
    padding: 160px 48px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.contact-glow-orb {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    opacity: 0;
    transform: scale(0.8);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    pointer-events: none;
}

.contact-section.hovered .contact-glow-orb {
    opacity: 0.45;
    transform: scale(1.2);
}

.contact-content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.0;
}

.contact-2way-input-group {
    width: 100%;
    position: relative;
}

.contact-2way-input-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 16px;
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    font-family: var(--font-sans);
    color: var(--color-brand-black);
    outline: none;
    text-align: center;
    transition: border-bottom-color 0.3s ease;
}

.contact-2way-input-group input:focus {
    border-bottom-color: var(--color-brand-black);
}

.contact-2way-input-group input::placeholder {
    color: rgba(5, 5, 5, 0.4);
}

.contact-live-reply {
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    min-height: 20px;
}

.contact-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 48px;
    border-radius: 40px;
    background-color: var(--color-brand-black);
    color: var(--color-brand-white);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    font-weight: 700;
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease;
}

.contact-btn i {
    margin-left: 12px;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.contact-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--color-accent-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.contact-btn:hover {
    transform: scale(1.03);
    color: var(--color-brand-black);
}

.contact-btn:hover::before {
    transform: scaleX(1);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background-color: #000000; /* Full Black background */
    color: #ffffff; /* White text */
    padding: 100px 48px 32px;
    /* Removed border-top page divider */
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-tagline {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff !important; /* Pure white text */
    line-height: 1.6;
}

.footer-links-container {
    display: flex;
    gap: 120px;
}

.footer-link-column {
    display: flex;
    flex-direction: column;
}

.footer-link-column h4 {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.footer-email {
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff !important; /* Pure white text */
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.footer-email:hover {
    color: var(--color-accent-yellow) !important;
}

.footer-address {
    font-size: 0.9rem;
    color: #ffffff !important; /* Pure white text */
}

.footer-social-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff !important; /* Pure white text */
    text-decoration: none;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.footer-social-link i {
    font-size: 0.75rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    color: var(--color-accent-yellow) !important;
}

.footer-social-link:hover i {
    opacity: 1;
    transform: translate(2px, -2px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    color: #666;
    text-transform: uppercase;
}

/* ==========================================================================
   CAMPAIGN MODAL
   ========================================================================== */

.campaign-modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    background-color: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow-y: auto;
    display: none;
}

.modal-close-btn {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 160;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.modal-close-btn i {
    transition: transform 0.4s ease;
}

.modal-close-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
}

.modal-close-btn:hover i {
    transform: rotate(90deg);
}

.modal-content-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 32px 140px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.modal-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.modal-image-wrapper {
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    background-color: #1a1a1a;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

.modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-panel {
    display: flex;
    flex-direction: column;
}

.modal-insight-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent-green);
    margin-bottom: 24px;
    display: block;
    font-weight: 700;
}

.modal-campaign-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.95;
    color: #fff;
    margin-bottom: 32px;
}

.modal-campaign-desc {
    font-size: 1.1rem;
    font-weight: 300;
    color: #ccc;
    line-height: 1.7;
}

.modal-gallery-btn {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent-yellow);
    border: 1px solid rgba(229, 255, 0, 0.3);
    padding: 12px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.modal-gallery-btn:hover {
    background: var(--color-accent-yellow);
    color: var(--color-brand-black);
    border-color: var(--color-accent-yellow);
    box-shadow: 0 0 15px rgba(229, 255, 0, 0.3);
}

.modal-gallery-btn i {
    transition: transform 0.3s ease;
}

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

.modal-library-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.library-header-line {
    display: flex;
    align-items: center;
    gap: 16px;
}

.line-decorator {
    width: 48px;
    height: 1px;
    background-color: var(--color-accent-green);
}

.library-header-line h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.library-item {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: zoom-in;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.library-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.library-item:active {
    transform: scale(0.97);
}

.library-item img, .library-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.library-item-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.15);
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.library-item-badge {
    padding: 8px;
    border-radius: 8px;
    background-color: rgba(5,5,5,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   LIGHTBOX ZOOM
   ========================================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 250;
    background-color: rgba(0, 0, 0, 0.98);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-close-btn {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 260;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 260;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav-btn:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-nav-btn.prev-btn {
    left: 40px;
}

.lightbox-nav-btn.next-btn {
    right: 40px;
}

.lightbox.no-nav .lightbox-nav-btn {
    display: none;
}

.lightbox-media-container {
    width: 100%;
    max-width: 95vw;
    height: 95vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 100px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-media-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-media-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.lightbox-media-container video {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .modal-grid-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .library-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links-container {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 20px; /* Reduced header padding on mobile to push logo up */
    }

    .camera-hud {
        inset: 70px 20px 20px 20px; /* Pushed camera hud top inset down on mobile to prevent overlapping logo */
        padding: 12px;
        font-size: 9px;
    }
    
    .hud-side-left, .hud-side-right {
        display: none;
    }
    
    .portfolio-header {
        padding: 0 24px 16px;
    }
    
    .portfolio-item-slide {
        width: 85vw;
        padding: 16px 24px 32px;
    }
    
    .library-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-section {
        padding: 100px 24px;
    }

    .lightbox-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .lightbox-nav-btn.prev-btn {
        left: 12px;
    }

    .lightbox-nav-btn.next-btn {
        right: 12px;
    }

    .lightbox-close-btn {
        top: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}

/* ==========================================================================
   MEDIA GALLERY PAGE STYLES
   ========================================================================== */

.media-page-body {
    background-color: var(--color-brand-black);
    color: var(--color-brand-white);
    overflow-x: hidden;
}

.media-page-section {
    padding-top: 140px;
    min-height: 100vh;
    position: relative;
}

.media-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px 100px;
}

.media-header {
    margin-bottom: 60px;
}

.media-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.media-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: #aaa;
    max-width: 600px;
    line-height: 1.6;
}

/* Category Filters */
.media-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 40px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: var(--color-accent-yellow);
    color: var(--color-brand-black);
    border-color: var(--color-accent-yellow);
    box-shadow: 0 0 15px rgba(229, 255, 0, 0.3);
}



/* Masonry Grid Layout */
.masonry-grid {
    column-count: 3;
    column-gap: 24px;
    width: 100%;
}

@media (max-width: 900px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* Campaign Sections */
.campaign-media-section {
    margin-bottom: 80px;
    transition: opacity 0.4s ease;
}

.campaign-media-section.hidden {
    display: none;
}

.campaign-media-header {
    margin-bottom: 32px;
    border-left: 3px solid var(--color-accent-yellow);
    padding-left: 20px;
}

.campaign-media-tag {
    font-family: var(--font-mono);
    font-size: clamp(9px, 1.5vw, 11px);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-yellow);
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.campaign-media-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
}

.gallery-card {
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    display: inline-block; /* Crucial for masonry flow */
    width: 100%;
    margin-bottom: 24px;
    break-inside: avoid; /* Prevent card split */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
}

.gallery-thumb-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Video Loop Iframe */
.gallery-iframe-loop {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.18); /* Scale up to crop black bars & controls */
}

.gallery-thumb {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-thumb {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.gallery-overlay-tag {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-green);
    margin-bottom: 8px;
    font-weight: 700;
}

.gallery-overlay-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.gallery-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.gallery-badge i {
    font-size: 8px;
}

.gallery-badge.video i {
    color: var(--color-accent-yellow);
}

.gallery-badge.photo i {
    color: var(--color-accent-green);
}

.gallery-badge.shorts i {
    color: #00ffff; /* Neon Cyan */
}

/* Animations for filter filtering */
.gallery-card.hidden {
    display: none;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .media-container {
        padding: 0 24px 60px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.view-gallery-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.view-gallery-btn:hover {
    background: white;
    color: black;
    border-color: white;
}

.view-gallery-btn i {
    font-size: 0.8rem;
}
