:root {
    --bg-color: #FDFBF7;
    --text-color: #0d0d0d;
    --accent-color: #E74837;
    /* The energetic orange */
    --secondary-color: #222470;
    /* Deep Navy */

    --font-display: 'Anton', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --spacing-huge: 15vh;

    --container-width: 90vw;
    --border-radius: 4px;
    /* Sharp corners for brutal feel */
}

/* RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 400;
    /* Anton is naturally bold */
    line-height: 0.9;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* UTILS */
.container {
    width: var(--container-width);
    margin: 0 auto;
}

.brutal-title {
    font-size: clamp(3rem, 12vw, 20rem);
    color: var(--accent-color);
    letter-spacing: -0.02em;
    word-break: break-word;
}

.section-padding {
    padding: var(--spacing-huge) 0;
}

/* NAVIGATION (Overlay Style) */
.nav-toggle {
    position: fixed;
    top: var(--spacing-md);
    right: var(--spacing-md);
    z-index: 1000;
    background-color: var(--secondary-color);
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--accent-color);
}

.nav-toggle:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--accent-color);
}

.nav-toggle.active {
    background-color: white;
    color: var(--secondary-color);
    box-shadow: none;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--accent-color);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-overlay.active {
    transform: translateY(0);
}

.nav-menu {
    text-align: center;
}

.nav-item {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 4rem);
    /* Reduced max size from 6rem to 4rem, and scaling from 6vw to 4vw */
    color: var(--bg-color);
    margin: 0.5rem 0;
    /* Reduced margin */
    transition: transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.nav-overlay.active .nav-item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.nav-item:hover {
    color: var(--secondary-color);
    transform: skewX(-10deg) translateX(20px);
}

/* HERO SECTION */
#hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero-text {
    z-index: 2;
    text-align: center;
    position: relative;
}

.hero-text h1 {
    font-size: 15vw;
    /* Reduced from 18vw */
    color: var(--accent-color);
    line-height: 0.8;
}

.hero-sub {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    margin-top: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40vw;
    z-index: 1;
    opacity: 0.8;
    mix-blend-mode: multiply;
    animation: pulse-scale 8s infinite alternate;
}

@keyframes pulse-scale {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* SECTIONS */
.grid-section {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.col-left {
    grid-column: 1 / 6;
}

.col-right {
    grid-column: 7 / 13;
}

.col-full {
    grid-column: 1 / -1;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h2 {
    font-size: 5rem;
    color: var(--text-color);
}

.section-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent-color);
}

/* SERVICES - BENTO GRID */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    border: 2px solid var(--text-color);
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
    box-shadow: 5px 5px 0 var(--text-color);
}

.service-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 10px 10px 0 var(--accent-color);
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* TEAM - MAGAZINE STYLE */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    position: relative;
    cursor: pointer;
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
    background-color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
}

.team-img-placeholder {
    width: 100%;
    height: 100%;
    background: url('./assets/octopus_guitar.png') no-repeat center/contain;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.5s;
}

.team-card:hover .team-img-placeholder {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.role-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.team-name {
    font-size: 3rem;
    color: var(--text-color);
}

.team-desc {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* PROCESS - TIMELINE */
.process-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid var(--text-color);
    padding-top: 2rem;
    margin-top: 2rem;
}

.process-step {
    flex: 1;
    padding-right: 2rem;
}

.process-num {
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--accent-color);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

/* SCROLL REVEAL UTILS */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .brutal-title {
        font-size: 20vw;
    }

    .hero-text h1 {
        font-size: 20vw;
    }

    .grid-section {
        grid-template-columns: 1fr;
    }

    .col-left,
    .col-right {
        grid-column: 1 / -1;
    }

    .process-row {
        flex-direction: column;
        gap: 3rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }
}


/* COMING SOON OVERLAY */
.coming-soon {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
    padding: 2rem;
}

.coming-soon-content h1 {
    font-family: var(--font-display);
    font-size: clamp(4rem, 15vw, 10rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.coming-soon-content p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.coming-soon-content .contact-email {
    font-weight: 700;
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    margin-top: 2rem;
    color: #222470;
    font-family: var(--font-display);
}

/* SOCIAL CAROUSEL */
.carousel-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */

    /* Ensure items are centered if there are few, but start aligned if scrolling needed */
    justify-content: flex-start;
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.carousel-item {
    flex: 0 0 auto;
    /* Don't grow, don't shrink, auto basis */
    width: 280px;
    /* Fixed reasonable width for mobile */
    max-width: 80vw;
    /* Cap at 80% screen width */
    aspect-ratio: 9 / 16;
    max-height: 60vh;
    /* CRITICAL: Prevent it from being taller than 60% of vertical screen */

    scroll-snap-align: center;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tiktok-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
    z-index: 2;
}

@media (min-width: 768px) {
    .carousel-container {
        justify-content: center;
        /* Center items on desktop */
        /* INTENTIONALLY REMOVED flex-wrap: wrap to keep carousel behavior */
    }

    .carousel-item {
        width: 320px;
        /* Slightly larger on desktop */
        max-height: 600px;
        /* Cap height on desktop */
    }
}

/* SOCIAL GALLERY */
#social-gallery {
    background: #000000;
    color: var(--bg-color);
}

/* FOOTER SOCIAL LINKS */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link i {
    font-size: 1.5rem;
}

.social-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.social-link:hover::after {
    width: 100%;
}

/* STICKY FOOTER SETUP */
#main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main-content>main {
    flex: 1;
}