:root {
    /* Colors */
    --color-bg: #0f0f0f;
    /* Warm Black */
    --color-text: #e0e0e0;
    /* Off-white */
    --color-text-muted: #a0a0a0;
    --color-accent: #c5a059;
    /* Muted Gold */
    --color-dark-green: #1a2f1a;
    --color-overlay: rgba(0, 0, 0, 0.7);

    /* Typography */
    --font-serif: 'Syne', sans-serif;
    /* Wide, cinematic, geometric */
    --font-sans: 'Inter', sans-serif;

    /* Luxury Gradients */
    --gradient-gold: linear-gradient(135deg, #bf953f, #fcf6ba 40%, #b38728 60%, #fbf5b7 80%, #aa771c);

    --font-size-hero: clamp(3.5rem, 10vw, 8rem);
    --font-size-h1: clamp(2.5rem, 6vw, 4.5rem);
    --font-size-h2: clamp(2rem, 5vw, 3.5rem);
    --font-size-body: 1.125rem;

    /* Spacing */
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;

    /* Transitions */
    --transition-slow: 1s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    cursor: none;
    /* Hide default cursor */
}

body {
    margin: 0;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    /* Bolder for Syne */
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    cursor: none;
    /* Custom cursor handling */
}

a:hover {
    opacity: 0.7;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--color-text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    mix-blend-mode: difference;
}

.custom-cursor-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    filter: blur(4px);
    transition: width 0.3s ease, height 0.3s ease;
}

/* Utilities */
.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

.cinematic-text {
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    display: block;
    font-weight: 600;
}

.padding-lg {
    padding: var(--spacing-xl) 0;
}

.padding-md {
    padding: var(--spacing-lg) 0;
}

.padding-xl {
    padding-top: 15rem;
    padding-bottom: var(--spacing-lg);
}

.bg-darker {
    background-color: #080808;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--color-text);
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    cursor: none;
    cursor: none;
    transition: background-color var(--transition-medium), color var(--transition-medium), transform var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--color-text);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md) 0;
    z-index: 100;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.site-header.scrolled {
    background-color: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo .bureau {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.7;
    margin-left: 0.5rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.site-nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.site-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    filter: saturate(0.8) contrast(1.1);
    transform: scale(1.1);
    animation: kenBurns 20s ease-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.25);
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 15, 15, 0.3), rgba(15, 15, 15, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInDown var(--transition-slow) forwards 0.5s;
}

.hero-title {
    font-size: var(--font-size-hero);
    margin-bottom: var(--spacing-sm);
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Work Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.work-item {
    position: relative;
    cursor: none;
    overflow: hidden;
}

.work-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 2px;
}

.work-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    /* Slower zoom for drama */
}

.work-item:hover .work-img-container img {
    transform: scale(1.03);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    backdrop-filter: blur(4px);
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: opacity var(--transition-medium);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-overlay h3 {
    color: var(--color-text);
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.work-item:hover .work-overlay h3 {
    transform: translateY(0);
}

.work-overlay p {
    color: var(--color-accent);
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.work-item:hover .work-overlay p {
    transform: translateY(0);
}

/* Services */
.services-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 900px) {
    .services-wrapper {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
    transition: border-color 0.3s ease;
}

.service-item:hover {
    border-color: var(--color-accent);
}

.service-item h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.service-item p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin: 0;
    max-width: 600px;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: var(--spacing-xl);
    opacity: 0.9;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

.footer-links a {
    font-size: 0.9rem;
    margin-left: 2rem;
}

.footer-legal {
    font-size: 0.8rem;
    opacity: 0.5;
    width: 100%;
    text-align: center;
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .footer-legal {
        width: auto;
        text-align: right;
        margin-top: 0;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Bar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
}

.team-member {
    position: relative;
    cursor: none;
}

.member-img {
    width: 100%;
    aspect-ratio: 1;
    /* Square or Portrait */
    overflow: hidden;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
    margin-bottom: 1.5rem;
    position: relative;
}

.team-member:hover .member-img {
    filter: grayscale(0%);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.team-member:hover .member-img img {
    transform: scale(1.05);
}

.member-info h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.member-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Film Grain Overlay */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Cinematic Vignette */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9996;
    background: radial-gradient(circle, transparent 50%, rgba(0, 0, 0, 0.8) 120%);
}

/* Luxury Utilities */
.text-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(191, 149, 63, 0.3);
}

/* Stacking Works Section */
.stacking-works {
    position: relative;
    padding-bottom: 5vh;
}

.stack-card {
    margin-bottom: var(--spacing-md);
    /* Default mobile spacing */
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .stacking-works {
        padding-bottom: 10vh;
    }

    .stack-card {
        position: sticky;
        top: 15vh;
        height: 70vh;
        margin-bottom: 10vh;
    }
}

/* create a slight stack offset effect purely visual if needed, 
   but sticky naturally handles the 'stacking on top' behavior. 
   We just need backgrounds to cover. 
*/

.card-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: #000;
}

.card-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, rgba(0, 0, 0, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--spacing-md);
}

.card-brand {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    color: rgba(255, 255, 255, 0.6);
    align-self: flex-start;
}

.card-text {
    align-self: flex-start;
}

.card-text h3 {
    font-size: 3rem;
    font-family: var(--font-serif);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.card-text p {
    font-family: var(--font-sans);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

/* Split Layout */
.section-header-cinematic {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding: 2rem 0;
}

.section-header-cinematic .cinematic-text {
    font-size: 1rem;
    letter-spacing: 0.3em;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.section-header-cinematic h2 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    text-transform: uppercase;
    font-family: var(--font-serif);
    position: relative;
    display: inline-block;
    z-index: 1;
}

/* Realistic Film Strip Border Effect */
.film-strip-card {
    position: relative;
    padding: 0 45px;
    /* Space for sprocket holes on sides */
    background: #111;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.film-strip-card::before,
.film-strip-card::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 35px;
    background-color: #0f0f0f;
    /* Realistic Sprocket Holes: Solid black strip with white rounded rectangles */
    background-image:
        linear-gradient(to bottom, #080808 6px, transparent 6px, transparent 22px, #080808 22px),
        linear-gradient(to right, #080808 6px, #222 6px, #222 26px, #080808 26px);
    background-size: 100% 30px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.film-strip-card::before {
    left: 0;
    border-right: 1px solid #222;
}

.film-strip-card::after {
    right: 0;
    border-left: 1px solid #222;
}

/* Apply to inner content to ensure it sits on top */
.film-strip-content {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.split-image .reveal-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.split-layout:hover .split-image img {
    transform: scale(1.05);
}


/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-10px);
}

.service-number {
    display: block;
    font-size: 3rem;
    font-family: var(--font-serif);
    color: var(--color-accent);
    margin-bottom: 2rem;
    opacity: 0.5;
    transition: color 0.3s ease;
}

.service-card:hover .service-number {
    color: var(--color-bg);
    opacity: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.service-card:hover p {
    color: rgba(15, 15, 15, 0.7);
}

/* Big Footer Updates */
.footer-links-col a:hover {
    color: var(--color-accent);
    padding-left: 10px;
}

.footer-links-col a {
    transition: all 0.3s ease;
}

/* =========================================
   Mobile Responsiveness (768px - Tablet/Mobile)
   ========================================= */
@media (max-width: 768px) {
    :root {
        --spacing-md: 2rem;
        --spacing-lg: 4rem;
        --spacing-xl: 5rem;
        --font-size-hero: 3.5rem;
    }

    /* Navigation */
    .site-header {
        padding: 1rem 0;
        background-color: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(10px);
    }

    .header-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .site-nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-nav a {
        font-size: 0.8rem;
    }

    /* Hero Type */
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    /* Film Strip Shrink */
    .film-strip-card {
        padding: 0 25px;
        /* Thinner side padding */
    }

    .film-strip-card::before,
    .film-strip-card::after {
        width: 20px;
        /* Thinner strips for mobile */
        background-size: 100% 20px;
        /* Smaller holes */
        background-image:
            linear-gradient(to bottom, #080808 4px, transparent 4px, transparent 16px, #080808 16px),
            linear-gradient(to right, #080808 4px, #222 4px, #222 16px, #080808 16px);
    }

    /* Stacking Works Reset */
    .stacking-works {
        padding-bottom: 2rem;
    }

    .stack-card {
        position: relative;
        top: auto !important;
        height: auto !important;
        margin-bottom: 3rem;
    }

    .card-content {
        max-width: 100%;
        height: 60vh;
        /* Fixed height for mobile cards */
    }

    .card-text h3 {
        font-size: 2rem;
    }

    /* General Layout */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-header-cinematic h2 {
        font-size: 3rem;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links,
    .footer-links-col {
        margin-top: 1.5rem;
        text-align: center;
    }

    .big-footer-cta h2 {
        line-height: 1.1 !important;
        /* Fix overlap */
    }
}

/* =========================================
   Small Mobile (480px and below)
   ========================================= */
@media (max-width: 480px) {
    :root {
        --spacing-md: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        /* Ensure it fits */
    }

    .site-nav {
        gap: 1rem;
    }

    .site-nav a {
        font-size: 0.75rem;
    }

    /* Tweak Film Strip further */
    .film-strip-card {
        padding: 0 10px;
        /* Very minimal padding */
    }

    .film-strip-card::before,
    .film-strip-card::after {
        display: none;
        /* Hide film strip sides entirely on tiny screens to save space */
    }

    .film-strip-card {
        border-left: 1px solid #222;
        border-right: 1px solid #222;
    }

    /* Adjust Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}