:root {
    --primary: #FFF000;  /* The requested Yellow */
    --bg: #000000;       /* The requested Black */
    --surface: #0a0a0a;
    --surface-light: #151515;
    --text: #ffffff;
    --text-muted: #888888;
    --border-cut: 20px;  /* Size of the cut corner */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--primary);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section-padding {
    padding: 8rem 0;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    /* The "Cut" Corner Style */
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% calc(100% - 10px), 
        calc(100% - 10px) 100%, 
        0 100%
    );
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 240, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-ladder { color: var(--primary); }
.logo-run { color: var(--text); }

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger { display: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION & VSL --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    background: radial-gradient(circle at center, rgba(255, 240, 0, 0.05) 0%, rgba(0,0,0,1) 60%);
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    font-family: "Neue Montreal Bold", "Neue Montreal Bold Placeholder", sans-serif;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* VSL CONTAINER (The Frame) */
.vsl-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    /* Cut Corners Effect */
    clip-path: polygon(
        20px 0, 100% 0, 
        100% calc(100% - 20px), calc(100% - 20px) 100%, 
        0 100%, 0 20px
    );
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px; /* Gap between frame and video */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vsl-wrapper:hover {
    transform: scale(1.01);
    box-shadow: 0 0 30px rgba(255, 240, 0, 0.1);
    border-color: rgba(255, 240, 0, 0.3);
}

/* Decorative "Zipped" marks on the frame */
.vsl-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
    z-index: 2;
}
.vsl-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 40px; height: 40px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    z-index: 2;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.play-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.play-btn:hover { transform: scale(1.1); }
.play-btn i { color: black; font-size: 2.5rem; }

/* --- FEATURES SECTION (BENTO GRID) --- */
.features-grid {
    margin-top: 4rem;
}

/* The Bento Layout */
.bento-grid {
    display: grid;
    /* 4 columns for desktop allows for flexible wide/tall spans */
    grid-template-columns: repeat(4, 1fr); 
    grid-auto-rows: 280px; /* Fixed height unit */
    gap: 1.5rem;
}

.offer-card {
    position: relative;
    background: var(--surface);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Futuristic Cut Corner Bottom-Right */
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% calc(100% - 30px), 
        calc(100% - 30px) 100%, 
        0 100%
    );
    transition: all 0.4s ease;
}

/* Grid Spans for Emphasis */
.offer-card.tall {
    grid-column: span 1;
    grid-row: span 2; /* 560px + gap height */
}

.offer-card.wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* For items without specific class, they default to 1x1 box (span 1) */

/* Image Styling */
.offer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Moody, cinematic initial state */
    filter: grayscale(100%) brightness(0.8);
    transform: scale(1.0);
    transition: all 0.5s ease;
}

/* Text Overlay */
.offer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 100%);
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.offer-overlay h3 {
    font-size: 1.8rem; /* Big emphasis */
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.offer-overlay p {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0; /* Hidden initially */
    transform: translateY(10px);
    transition: all 0.4s ease;
}

/* HOVER EFFECTS */
.offer-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 2; /* Pop over neighbors slightly */
}

.offer-card:hover img {
    filter: grayscale(0%) brightness(1); /* Full color pop */
    transform: scale(1.1); /* Slow zoom */
}

.offer-card:hover .offer-overlay {
    transform: translateY(0);
}

.offer-card:hover .offer-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive: Tablet (2 columns) */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
    
    .offer-card.tall {
        grid-column: span 1;
        grid-row: span 2;
    }
    
    .offer-card.wide {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* Responsive: Mobile (1 column stack) */
@media (max-width: 768px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .offer-card, 
    .offer-card.tall, 
    .offer-card.wide {
        width: 100%;
        height: 300px; /* Uniform large height for mobile impact */
        grid-column: auto;
        grid-row: auto;
    }

    /* Adjust text size for mobile */
    .offer-overlay h3 { font-size: 1.5rem; }
    
    /* Make text always visible on mobile, or keep hover interaction */
    .offer-overlay p { opacity: 1; transform: translateY(0); } 
    .offer-overlay { transform: translateY(0); }
    .offer-card img { filter: grayscale(0%) brightness(0.9); } /* Color by default on mobile */
}

/* --- WORKFLOW (THE LADDER) --- */
.workflow-section {
    position: relative;
}

.workflow-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* The Vertical Line */
.workflow-line {
    position: absolute;
    left: 20px; /* Mobile alignment */
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.workflow-step {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.workflow-step.active {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    position: absolute;
    /* Mobile: Line is at 20px, so center marker there */
    left: 20px; 
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--bg);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    /* Center the diamond on the line */
    transform: translateX(-50%) rotate(45deg); 
    z-index: 3;
    margin-left: 0; /* Removed negative margin causing issues */
}

.step-number span { transform: rotate(-45deg); }

.step-content {
    background: var(--surface);
    padding: 2rem;
    margin-left: 20px;
    /* Cut Corner Style */
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% calc(100% - 20px), 
        calc(100% - 20px) 100%, 
        0 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.step-content h3 { color: var(--primary); margin-bottom: 0.5rem; text-transform: uppercase; }
.step-content h4 { font-size: 1.5rem; margin-bottom: 1rem; }

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testi-card {
    background: var(--surface);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testi-pic {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    overflow: hidden;
}

.testi-pic img { width: 100%; height: 100%; object-fit: cover; }

.testi-info h4 { font-size: 1rem; }
.testi-info span { font-size: 0.8rem; color: var(--primary); }

.testi-social {
    margin-top: 0.5rem;
}

.tiktok-link,
.twitter-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.tiktok-link:hover,
.twitter-link:hover {
    color: var(--text);
    transform: translateX(3px);
}

.tiktok-link i,
.twitter-link i {
    font-size: 1.1rem;
}

.testi-quote {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- TEAM SECTION --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.team-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.team-img-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Grayscale by default, color on hover */
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.team-card:hover .team-img-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-info {
    padding: 2rem;
    text-align: left;
}

.team-name {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.team-role {
    display: inline-block;
    color: var(--bg);
    background: var(--primary);
    padding: 0.2rem 0.8rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    transform: skewX(-10deg);
}

.team-role span { display: block; transform: skewX(10deg); }

.team-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

.team-socials a {
    color: var(--text);
    font-size: 1.2rem;
    margin-right: 15px;
}
.team-socials a:hover { color: var(--primary); }

/* --- BOOKING / CTA --- */
.booking-section {
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, #111 100%);
}

.booking-form-container {
    max-width: 600px;
    margin: 3rem auto 0;
    background: var(--surface);
    padding: 3rem;
    position: relative;
}

/* Decorative frame for form */
.booking-form-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 240, 0, 0.2);
    clip-path: polygon(
        0 0, 100% 0, 
        100% calc(100% - 20px), calc(100% - 20px) 100%, 
        0 100%, 0 20px
    );
    pointer-events: none;
}

.form-group { margin-bottom: 1.5rem; text-align: left; }

label { 
    display: block; 
    margin-bottom: 0.5rem; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 1px;
}

input, select, textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    margin-top: 5rem;
    text-align: center;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.socials a {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.socials a:hover { color: var(--primary); }

/* --- GALLERY / SLIDER SECTION --- */
.gallery-nav {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
}

.gallery-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    /* Hide scrollbar */
    scrollbar-width: none; 
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-item {
    min-width: 400px;
    scroll-snap-align: center;
}

/* THE TORN NEWSPAPER EFFECT */
.jagged-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease; /* Added filter transition */
    
    /* Complex polygon to simulate torn paper edges */
    clip-path: polygon(
        0% 0%, 5% 2%, 10% 0%, 15% 2%, 20% 0%, 25% 2%, 30% 0%, 35% 2%, 40% 0%, 45% 2%, 50% 0%, 55% 2%, 60% 0%, 65% 2%, 70% 0%, 75% 2%, 80% 0%, 85% 2%, 90% 0%, 95% 2%, 100% 0%, 
        100% 100%, 95% 98%, 90% 100%, 85% 98%, 80% 100%, 75% 98%, 70% 100%, 65% 98%, 60% 100%, 55% 98%, 50% 100%, 45% 98%, 40% 100%, 35% 98%, 30% 100%, 25% 98%, 20% 100%, 15% 98%, 10% 100%, 5% 98%, 0% 100%
    );

    /* --- ADDED GLOW EFFECT HERE --- */
    /* Using drop-shadow creates a glow that follows the jagged clip-path */
    filter: drop-shadow(0 0 2px var(--primary)) drop-shadow(0 0 5px rgba(255, 240, 0, 0.3));
}

.jagged-wrapper img,
.jagged-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Old newspaper vibe: Sepia + Contrast */
    filter: sepia(0.6) contrast(1.2) grayscale(0.2);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover Effects */
.jagged-wrapper:hover {
    transform: scale(1.02);
    /* --- INTENSIFY GLOW ON HOVER --- */
    filter: drop-shadow(0 0 5px var(--primary)) drop-shadow(0 0 15px var(--primary));
}

.jagged-wrapper:hover img,
.jagged-wrapper:hover video {
    /* Restore color on hover */
    filter: sepia(0) contrast(1) grayscale(0);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: 0.3s;
}

.video-overlay i {
    font-size: 3rem;
    color: var(--primary);
}

.jagged-wrapper:hover .video-overlay {
    opacity: 1;
}

.work-info {
    margin-top: 1rem;
}

.work-info h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.2rem; }
.work-info span { color: var(--primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--primary);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    
    .vsl-wrapper {
        clip-path: none; /* Simplify on mobile */
        border-radius: 8px;
    }
    
    .workflow-line { left: 20px; }
    .step-number { 
        left: 20px; 
        transform: translateX(-50%) rotate(45deg);
        margin-left: 0;
    }
    .workflow-step { padding-left: 60px; }
    .step-content { margin-left: 20px; }
    
    .team-grid { grid-template-columns: 1fr; }
    .team-img-wrapper { height: 350px; }
    
    .gallery-item { min-width: 300px; }
    .gallery-nav { margin-top: 1rem; }
}

@media (min-width: 769px) {
    .workflow-line { left: 50%; transform: translateX(-50%); }
    .workflow-step { width: 50%; }
    
    /* --- Zig Zag Layout Fix --- */
    
    /* ODD STEPS (Right Side) */
    .workflow-step:nth-child(odd) {
        margin-left: auto;
        padding-left: 40px; /* Gap between line and content */
    }
    
    .workflow-step:nth-child(odd) .step-number {
        left: 0; /* Pin to left edge (spine) */
        right: auto;
        transform: translateX(-50%) rotate(45deg);
    }

    .workflow-step:nth-child(odd) .step-content {
        margin-left: 0;
    }

    /* EVEN STEPS (Left Side) */
    .workflow-step:nth-child(even) {
        margin-right: auto;
        padding-right: 40px; /* Gap between line and content */
        text-align: right;
    }

    .workflow-step:nth-child(even) .step-number {
        left: auto;
        right: 0; /* Pin to right edge (spine) */
        transform: translateX(50%) rotate(45deg);
    }
    
    .workflow-step:nth-child(even) .step-content {
        margin-right: 0;
        /* Reverse Cut Corner for Left Side items */
         clip-path: polygon(
            20px 0, 
            100% 0, 
            100% 100%, 
            0 100%, 
            0 20px
        );
    }
}

