:root {
    --bg-color: #050505;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(10, 10, 10, 0.6);
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --accent-color: #F08B1A;
    --accent-glow: rgba(240, 139, 26, 0.4);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

ul {
    list-style: none;
}

img, video {
    max-width: 100%;
    display: block;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(240, 139, 26, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.2;
}

.title {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-date {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 300;
}

.title-line {
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
    margin-bottom: 3rem;
}

.section-padding {
    padding: 100px 0;
}

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

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 40px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    left: 0;
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid var(--accent-color);
    color: var(--text-primary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-primary:hover {
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hero Section */
.hero {
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.8) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    background: transparent;
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: -5px; /* Pull closer to JERONIMO */
    font-weight: 400;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 50px; /* Leave clear blank line of space before tagline */
    text-shadow: 0 0 30px rgba(255,255,255,0.1);
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-weight: 300;
    text-transform: uppercase;
    background: transparent;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-concept {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.5rem;
    font-size: clamp(0.85rem, 2.5vw, 1.8rem);
    margin-bottom: 30px;
    line-height: 1.4;
    white-space: nowrap;
}

.about-concept .phrase {
    white-space: nowrap;
}

.about-concept .highlight {
    color: var(--accent-color);
}

.about-text > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.visual-placeholder {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.about-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
}

.visual-placeholder:hover .about-video {
    filter: grayscale(0%);
}

.visual-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.1;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.visual-placeholder:hover .visual-glow {
    opacity: 0.3;
}

/* Works Section */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.work-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-surface);
    transition: var(--transition);
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(240, 139, 26, 0.15);
}

.work-video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.work-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    filter: brightness(0.4) grayscale(60%);
}

.work-item:hover .work-video {
    transform: scale(1.05);
    filter: brightness(1) grayscale(0%);
}

.work-info {
    padding: 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.work-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.work-info p {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.work-item:hover .work-video {
    transform: scale(1.05);
    filter: brightness(1);
}

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

.work-item-portrait .work-video-wrapper {
    aspect-ratio: 9/16;
}

/* Video Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-video {
    max-width: 100%;
    max-height: 90vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    transition: color 0.3s ease;
    z-index: 2001;
    line-height: 1;
}

.close-modal:hover {
    color: var(--accent-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-surface);
    padding: 50px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: color 0.4s ease;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-box {
    background: var(--bg-surface);
    padding: 80px 40px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-box .title {
    margin-bottom: 20px;
}

.contact-box p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.social-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-links a {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-links a:hover,
.social-links a:focus,
.social-links a:active {
    color: #F08B1A;
    outline: none;
}

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-title { font-size: 4rem; letter-spacing: 4px; }
    .about-grid { grid-template-columns: 1fr; }
    .works-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Custom cursor causes issues on mobile */
    body, a { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none; }
    
    .header { padding: 20px; }
    .header.scrolled { padding: 15px 20px; }
    
    .mobile-toggle { display: block; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav.active { right: 0; }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .nav-link { font-size: 1.5rem; }
    
    .hamburger.active { background: transparent; }
    .hamburger.active::before { transform: rotate(45deg); top: 0; }
    .hamburger.active::after { transform: rotate(-45deg); top: 0; }
    
    .hero {
        background: #000;
    }
    
    #hero .hero-bg .bg-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        transform: translateY(-6vh) scale(1.55) !important;
        transform-origin: center center !important;
    }
    
    .hero-title { font-size: 2.5rem; letter-spacing: 3px; }
    .hero-subtitle { font-size: 0.75rem; letter-spacing: 4px; }
    .title { font-size: 2.2rem; }
    .section-padding { padding: 70px 0; }
    .contact-box { padding: 50px 20px; }
}

@media (max-width: 768px) {
  .hero-mobile-main-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: translateY(-10vh) scale(1.75) !important;
    transform-origin: center center !important;
  }
}

/* Sound Toggle Button */
.sound-toggle {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.sound-toggle:hover {
  color: #F08B1A;
  border-color: #F08B1A;
  background: rgba(0,0,0,0.65);
}

.sound-toggle:focus,
.sound-toggle:active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.sound-toggle.is-sound-on,
.sound-toggle.is-sound-on:hover,
.sound-toggle.is-sound-on:focus,
.sound-toggle.is-sound-on:active {
  color: #F08B1A;
  border-color: #F08B1A;
}

@media (max-width: 768px) {
  .sound-toggle {
    right: 14px;
    bottom: 14px;
    padding: 9px 12px;
    font-size: 10px;
  }
}



/* About Catch Line Formatting */
.about-mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .about-mobile-break {
    display: block;
  }

  .about-catch-line-1,
  .about-catch-line-2 {
    display: inline-block;
    white-space: nowrap;
  }
}
