/* About Page Styles */

.about-main {
    background-color: #0e1012;
    min-height: 100dvh;
}

/* Header Section */
.about-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.about-title {
    font-family: 'Gotham', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Full Width Line */
.about-line {
    margin-bottom: 2rem;
}

.line-full {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Showreel Video Section */
.showreel-section {
    margin-bottom: 6rem;
}

.showreel-container {
    position: relative;
}

.showreel-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 0;
}

.showreel-video-container {
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-left: 20rem;
    position: relative;
}

.showreel-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.showreel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}

.showreel-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px 20px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 10;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
}

.showreel-controls.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.showreel-btn {
    background: none;
    border: none;
    color: white;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
    transition: opacity 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.showreel-btn:hover { opacity: 0.7; }

.showreel-play-btn { margin-right: 0; }

.showreel-sound-btn.muted { text-decoration: line-through; }

.showreel-progress-control {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.showreel-time {
    color: white;
    font-size: 9px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    top: -18px;
    left: 0;
    transition: left 0.1s ease;
    pointer-events: none;
}

.showreel-progress-bar {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    border-radius: 1px;
    overflow: visible;
    transition: height 0.2s ease;
}

.showreel-progress-bar:hover { height: 3px; }
.showreel-progress-bar.dragging { height: 4px; }
.showreel-progress-bar.dragging .showreel-play-progress { transition: none; }

.showreel-load-progress {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    width: 0%;
    transition: width 0.3s ease;
}

.showreel-play-progress {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background-color: #ffffff;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 1px;
}

.showreel-preview-tooltip {
    position: absolute;
    bottom: 16px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 10px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
    z-index: 20;
    min-width: 45px;
    text-align: center;
}

@media (max-width: 768px) {
    .showreel-controls {
        gap: 12px;
        padding: 0 16px 14px 16px;
    }
    .showreel-btn { font-size: 8px; }
    .showreel-time { font-size: 8px; top: -16px; }
}

@media (max-width: 480px) {
    .showreel-controls {
        gap: 10px;
        padding: 0 12px 12px 12px;
    }
    .showreel-btn { font-size: 7px; letter-spacing: 0.3px; }
}

/* Why Video Section */
.why-video-section {
    margin-bottom: 6rem;
}

.why-video-content {
    display: flex;
    gap: 4rem;
}

.why-video-left {
    flex: 1;
    margin-left: 20rem;
}

.why-video-title {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: white;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.why-video-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.why-video-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-video-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* About Us Section */
.about-us-section {
    margin-bottom: 6rem;
}

.about-us-container {
    position: relative;
}

.about-us-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 0;
}

.team-grid {
    display: flex;
    gap: 3rem;
    margin-left: 20rem;
}

.team-member {
    flex: 1;
}

.team-photo {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: #1a1a1a;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.team-bio {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Together Container */
.together-container {
    margin-top: 4rem;
    margin-left: 20rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.together-container p {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 60rem;
}

/* Fullscreen Video Section */
.fullscreen-video-section {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
}

.fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Orange Overlay with Knockout Text */
.video-overlay-knockout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.knockout-svg {
    width: 100%;
    height: 100%;
}

.knockout-text-mask {
    font-family: 'Gotham', 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 280px;
    fill: black;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.knockout-text-mask-small {
    font-family: 'Gotham', 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 280px;
    fill: black;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tablet Styles - 1024px (uses mobile layout with proportionally larger sizes) */
@media (max-width: 1024px) {
    /* About Title - Tablet */
    .about-title {
        font-size: 1.75rem;
    }

    /* Showreel Section - Tablet (mobile layout but larger) */
    .showreel-label {
        position: static;
        margin-bottom: 2.5rem;
        font-size: 0.8rem;
    }

    .showreel-video-container {
        margin-left: 0;
    }

    .showreel-section {
        margin-bottom: 5rem;
    }

    /* Why Video Section - Tablet (column layout like mobile) */
    .why-video-content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .why-video-left {
        margin-left: 0;
    }

    .why-video-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .why-video-text {
        font-size: 1rem;
    }

    .why-video-section {
        margin-bottom: 5rem;
    }

    /* About Us Section - Tablet (column layout like mobile) */
    .about-us-label {
        position: static;
        margin-bottom: 2.5rem;
        font-size: 0.8rem;
    }

    .team-grid {
        flex-direction: column;
        margin-left: 0;
        gap: 3rem;
    }

    .team-member {
        max-width: 500px;
    }

    .team-name {
        font-size: 1.25rem;
    }

    .team-role {
        font-size: 0.9rem;
    }

    .team-bio {
        font-size: 0.95rem;
    }

    .together-container {
        margin-left: 0;
    }

    .together-container p {
        font-size: 1.25rem;
    }

    .about-us-section {
        margin-bottom: 5rem;
    }

    /* Knockout text - Tablet */
    .knockout-text-mask {
        font-size: 110px;
        transform: translateY(5%);
    }

    .knockout-text-mask-small {
        font-size: 110px;
        transform: translateY(-5%);
    }
}

/* Mobile Styles - 768px */
@media (max-width: 768px) {
    .about-title {
        font-size: 1.25rem;
    }

    .showreel-label {
        margin-bottom: 2rem;
        font-size: 0.75rem;
    }

    .showreel-section {
        margin-bottom: 4rem;
    }

    .why-video-content {
        gap: 2rem;
    }

    .why-video-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .why-video-text {
        font-size: 0.9rem;
    }

    .why-video-section {
        margin-bottom: 4rem;
    }

    .about-us-label {
        margin-bottom: 2rem;
        font-size: 0.75rem;
    }

    .team-grid {
        gap: 2.5rem;
    }

    .team-member {
        max-width: 100%;
    }

    .together-container p {
        font-size: 1.1rem;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .team-role {
        font-size: 0.8rem;
    }

    .team-bio {
        font-size: 0.875rem;
    }

    .about-us-section {
        margin-bottom: 4rem;
    }

    /* Knockout text - Mobile */
    .knockout-text-mask {
        font-size: 120px;
        transform: translateY(8%);
    }

    .knockout-text-mask-small {
        font-size: 120px;
        transform: translateY(-8%);
    }
}

/* Small mobile breakpoint - 480px */
@media (max-width: 480px) {
    .about-title {
        font-size: 1rem;
    }

    .showreel-label {
        margin-bottom: 1.5rem;
    }

    .showreel-section {
        margin-bottom: 3rem;
    }

    .why-video-content {
        gap: 1.5rem;
    }

    .why-video-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .why-video-text {
        font-size: 0.85rem;
    }

    .why-video-section {
        margin-bottom: 3rem;
    }

    .about-us-label {
        margin-bottom: 1.5rem;
    }

    .team-grid {
        gap: 2rem;
    }

    .together-container {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }

    .together-container p {
        font-size: 1rem;
    }

    .team-name {
        font-size: 1rem;
    }

    .team-role {
        font-size: 0.75rem;
    }

    .team-bio {
        font-size: 0.8rem;
    }

    .about-us-section {
        margin-bottom: 3rem;
    }

    /* Knockout text - Small Mobile */
    .knockout-text-mask {
        font-size: 80px;
        transform: translateY(10%);
    }

    .knockout-text-mask-small {
        font-size: 80px;
        transform: translateY(-10%);
    }
}

/* ========================================
   GSAP Animation Initial States
   ======================================== */

/* Elements that will be animated - start invisible */
/* Note: .line-full and .why-video-line use scaleX animation, not opacity */
.about-title,
.showreel-label,
.showreel-video-container,
.why-video-section .why-video-title,
.why-video-section .why-video-text,
.about-us-label,
.team-member,
.fullscreen-video-section {
    opacity: 0;
}

/* Smooth GPU-accelerated animations */
.about-title,
.showreel-video-container,
.team-member,
.fullscreen-video-section {
    will-change: transform, opacity;
}

