:root {
    --bg-color: #030303; /* Near Absolute Black */
    --bg-darker: #000000;
    --text-primary: #ffffff;
    --text-muted: #888888;
    --border-color: #222222;
    --accent: #dddddd;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Jost', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography base */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Base Classes */
.fullscreen {
    min-height: 100vh;
}
.flex-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.section {
    padding: 10rem 0;
    position: relative;
}
.bg-darker {
    background-color: var(--bg-darker);
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Navigation - Minimalist */
.studio-nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    transition: background 0.4s ease, padding 0.4s ease;
}
.studio-nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 1.5rem 4rem;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
}

/* Custom DreamWorks x Framestore SVG Logo */
.logo-link {
    display: inline-flex;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.framestore-icon {
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-link:hover .framestore-icon {
    transform: scale(1.05);
}

/* On hover, the framestore border box becomes solid white */
.logo-link:hover .framestore-icon > rect {
    fill: var(--text-primary);
}

/* Because paths use currentColor, making the SVG text color match the background color turns the drawing black against the white box */
.logo-link:hover .framestore-icon {
    color: var(--bg-color);
}

.nav-links {
    display: flex;
    gap: 3rem;
}
.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.mobile-menu-btn { display: none; cursor: pointer; font-size: 1.5rem; }

/* Hero Reel Section */
.hero-reel {
    position: relative;
    text-align: center;
    padding: 0 2rem;
}
.bg-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #050505;
    background-image: linear-gradient(0deg,  #000000 0%, transparent 40%);
    z-index: -2;
}
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: -1;
}

.cinematic-title {
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: clamp(5px, 2vw, 15px);
    margin: 1rem 0;
    color: var(--text-primary);
}
.cinematic-title.sm {
    font-size: clamp(3rem, 6vw, 5rem);
}

.studio-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.hero-desc {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: clamp(1rem, 2vw, 1.3rem);
    letter-spacing: 3px;
    max-width: 800px;
    margin: 2rem auto 0;
    color: var(--accent);
}

/* Scroll indicator */
.scroll-down {
    position: absolute;
    bottom: 3rem; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
}
.scroll-down span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 3px;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%; left: 0;
    width: 100%; height: 100%;
    background: var(--text-primary);
    animation: drop 2s ease-in-out infinite;
}
@keyframes drop {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Grid Layouts */
.studio-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.section-title {
    font-size: 1rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    letter-spacing: 4px;
}
.section-title.center {
    text-align: center;
    margin-bottom: 4rem;
}

.lead {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2rem;
}
.about-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Typography Blocks */
.subsection-title {
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--accent);
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.muted {
    font-size: 0.95rem;
    color: #555;
}

/* Showreel Styles */
.container-sm {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #111;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.video-placeholder {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    letter-spacing: 3px;
    color: #555;
    background: repeating-linear-gradient(
      45deg,
      #080808,
      #080808 10px,
      #111111 10px,
      #111111 20px
    );
}
.video-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}


/* Experience Layout */
.split-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}
.exp-block {
    margin-bottom: 4rem;
}
.exp-block .date {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}
.exp-block h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
}
.exp-block h4 {
    font-size: 1rem;
    color: #888;
    margin-bottom: 1rem;
    font-weight: 300;
}

/* Software Knowledge Grid */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 3.5rem 2rem;
    margin-top: 1rem;
}

.soft-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.soft-item span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 500;
}

.soft-logo {
    font-size: 4rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    transition: transform 0.3s ease;
}

.soft-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.soft-item:hover .soft-logo {
    transform: translateY(-8px) scale(1.05);
}

/* Pure CSS Monochrome Vectors (Solid White Design) */
.nuke-logo-css {
    width: 60px; height: 60px;
    background-color: #fff;
    border-radius: 50%;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.hazard-blade {
    position: absolute;
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid #050505;
}
.hazard-blade.top { transform: translateY(-11px); }
.hazard-blade.left { transform: rotate(120deg) translateY(-11px); }
.hazard-blade.right { transform: rotate(240deg) translateY(-11px); }
.hazard-center {
    width: 10px; height: 10px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 2;
}

.mocha-logo-css {
    width: 60px; height: 60px;
    background-color: #fff;
    border-radius: 12px;
    color: #050505; font-family: var(--font-heading); font-weight: 700; font-size: 26px;
    display: flex; align-items: center; justify-content: center;
}

.silhouette-logo-css {
    width: 60px; height: 60px;
    background-color: #fff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    color: #050505; font-family: var(--font-heading); font-weight: 700; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
}

.adobe-logo-css {
    width: 60px; height: 60px;
    background-color: #fff;
    border-radius: 12px;
    color: #050505; 
    font-family: sans-serif; font-weight: 800; font-size: 34px; letter-spacing: -1px;
    display: flex; align-items: center; justify-content: center;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
}

.proj-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #080808;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.proj-img-placeholder span {
    font-family: var(--font-body);
    color: #444;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.proj-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}

.project-card:hover .proj-img-placeholder {
    border-color: #777;
}

/* Resume Section */
.resume-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
}

.resume-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.resume-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.studio-btn {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 1.2rem 2.5rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--text-primary);
    cursor: pointer;
}

.studio-btn.primary {
    background: var(--text-primary);
    color: var(--bg-color);
}

.studio-btn.primary:hover {
    background: transparent;
    color: var(--text-primary);
}

.studio-btn.secondary {
    background: transparent;
    color: var(--text-primary);
}

.studio-btn.secondary:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

.mt-line {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Contact Links */
.center { text-align: center; }

.contact-status {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0 3rem 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 1px;
}

.status-badge i {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.status-badge:not(.static):hover {
    border-color: #555;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}
.icon-link {
    font-size: 2.5rem; /* Medium-large logo size */
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}
.icon-link:hover {
    color: var(--text-primary);
    transform: translateY(-5px);
}

.copyright {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #444;
}

/* Wrapper anim class for GSAP hooks */
.wrapper-anim {
    visibility: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
    .studio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .gallery-item {
        grid-template-columns: 1fr;
    }
    .img-frame { border-right: none; border-bottom: 1px solid var(--border-color); }
    .split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 2rem; }
    .studio-nav { padding: 1.5rem 2rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
}
