/* Font Face Definitions */
@font-face {
    font-family: 'Neue Haas';
    src: url('fonts/neue-haas-regular.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas';
    src: url('fonts/neue-haas-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas';
    src: url('fonts/neue-haas-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Realtime Rounded Font - Regular */
@font-face {
    font-family: 'Realtime Rounded';
    src: url('fonts/realtime-rounded/realtimeroundedtest-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Realtime Rounded Font - Semibold */
@font-face {
    font-family: 'Realtime Rounded';
    src: url('fonts/realtime-rounded/realtimeroundedtest-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --font-sans: 'Neue Haas', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Realtime Rounded', 'Consolas', 'Monaco', monospace;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-grey: #696969;
    --color-grey-dark: #696969;
    --color-grey-light: #f5f5f5;
    --ease-expo-out: cubic-bezier(0.16, 1.08, 0.38, 0.98);
    --ease-quart-out: cubic-bezier(0.26, 1.04, 0.54, 1);
    --ease-quart-in: cubic-bezier(0.26, 0, 0.6, 0.2);
    --ease-quart-inout: cubic-bezier(0.77, 0, 0.175, 1);
    --transition-duration: 0.5s;
    --transition-duration-fast: 0.3s;
    --transition-duration-slow: 0.8s;
    /* Grid system - based on original */
    --gutter: 4.47vw;
    --column: 11.17vw;
}

@media (min-width: 768px) {
    :root {
        --gutter: 2.76vw;
        --column: 5.36vw;
    }
}

@media (min-width: 1024px) {
    :root {
        --gutter: 1.42vw;
        --column: 2.69vw;
    }
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: var(--font-sans);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    line-height: inherit;
    background-color: var(--color-grey-light);
    color: var(--color-white);
    overflow-x: hidden;
}

/* Hide horizontal scrollbar */
.team-section {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.team-section::-webkit-scrollbar {
    display: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-duration-fast) var(--ease-quart-out);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    transition: opacity var(--transition-duration) var(--ease-quart-out), transform var(--transition-duration-slow) var(--ease-expo-out);
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded,
img:not([loading]) {
    opacity: 1;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-duration-fast) var(--ease-quart-out);
}

/* Utility Classes */
.container {
    width: 100%;
    /* max-width: 1440px; */
    margin: 0 auto;
    padding: 0 0px;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 0px;
    }
}

/* Typography */
.uppercase {
    text-transform: uppercase;
}

.font-mono {
    font-family: var(--font-mono);
    letter-spacing: .02em;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 20px;
    width: 45%;
    max-width: 1400px;
    /* Glassmorphism effect */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    transition: all 0.5s var(--ease-expo-out);
}

.header:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (min-width: 1024px) {
    .header {
        padding: 0 30px;
    }
}

.logo-link {
    color: #FEB400;
    text-transform: uppercase;
    font-family: 'Realtime Rounded';
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    width: 160px;
    min-width: 104px;
    height: auto;
    vertical-align: middle;
}

.nav-menu {
    display: none;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        align-items: center;
        height: 100%;
        margin-left: auto;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.nav-link::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.menu-btn {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    height: 32px;
    padding: 0 12px;
    background: var(--color-white);
    color: var(--color-black);
    border: none;
    margin-left: auto;
    transition: background 0.3s ease, color 0.3s ease;
}

@media (min-width: 768px) {
    .menu-btn {
        display: none;
    }
}

.menu-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* ========================================
   HERO SECTION - Full Screen Video
   ======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background: var(--color-black);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    z-index: 1;
}

.hero-tagline {
    position: relative;
    z-index: 2;
    padding: 0 20px 60px;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-tagline {
        padding: 0 40px 80px;
    }
}

.hero-tagline-text {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    opacity: 0.9;
}

@media (min-width: 768px) {
    .hero-tagline-text {
        font-size: 12px;
    }
}

/* ========================================
   FIXED HEADLINE
   ======================================== */
.fixed-headline {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    pointer-events: none;
    text-align: center;
    width: 90%;
    max-width: 1200px;
}

.fixed-headline h1 {
    font-family: var(--font-sans);
    font-size: clamp(28px, 8vw, 120px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--color-white);
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

/* ========================================
   INTRO SECTION
   ======================================== */
.intro-section {
    position: relative;
    z-index: 1;
    background: #f9f9f9;
    padding: 60px 20px;
    overflow: clip;
}

@media (min-width: 768px) {
    .intro-section {
        padding: 80px 40px;
    }
}

@media (min-width: 1024px) {
    .intro-section {
        padding-top: 160px;
        padding-bottom: 180px;
        padding-left: 60px;
        padding-right: 60px;
    }
}

.intro-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1023px) {
    .intro-container {
        padding-bottom: 40px;
    }
}

.intro-content {
    text-align: left;
}

@media (min-width: 1024px) {
    .intro-content {
        max-width: 50%;
    }
}

.intro-title {
    font-family: var(--font-sans);
    font-size: clamp(42px, 8vw, 100px);
    font-weight: 300;
    color: var(--color-black);
    margin-bottom: 30px;
    line-height: 1;
}

@media (min-width: 768px) {
    .intro-title {
        margin-bottom: 40px;
    }
}

.intro-text {
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-grey-dark);
    max-width: 500px;
}

@media (min-width: 768px) {
    .intro-text {
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
    .intro-text {
        font-size: 28px;
    }
}

/* Absolute positioned image on the right - behind text */
.intro-image-wrapper {
    display: none;
}

@media (min-width: 1024px) {
    .intro-image-wrapper {
        display: block;
        position: absolute;
        z-index: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        padding-left: 50px;
    }
}

.intro-image-parallax {
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.intro-image-wrapper img {
    display: block;
    width: 55vw;
    height: auto;
    transition: opacity 0.5s var(--ease-quart-out);
}

/* Legacy intro-image class (kept for compatibility) */
.intro-image {
    flex: 1;
    overflow: hidden;
}

.intro-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: none;
    border-radius: 0;
}

/* ========================================
   FEATURE SECTIONS (TETHERED / STRATOSPHERIC)
   ======================================== */
.feature-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.feature-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-expo-out);
}

.feature-section:hover .feature-background img {
    transform: scale(1.02);
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.feature-content-centered {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .feature-content-centered {
        padding: 60px 40px;
    }
}

.feature-title-large {
    font-family: var(--font-sans);
    font-size: clamp(60px, 15vw, 180px);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-white);
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .feature-title-large {
        letter-spacing: 0.15em;
        margin-bottom: 40px;
    }
}

@media (min-width: 1024px) {
    .feature-title-large {
        letter-spacing: 0.15em;
    }
}

.feature-description-centered {
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
}

@media (min-width: 768px) {
    .feature-description-centered {
        font-size: 12px;
    }
}

.feature-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    width: 100%;
    max-width: 600px;
}

@media (min-width: 768px) {
    .feature-content {
        padding: 60px 40px;
    }
}

@media (min-width: 1024px) {
    .feature-content {
        padding: 80px 60px;
        max-width: 700px;
    }
}

.feature-label {
    font-family: var(--font-sans);
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.feature-description {
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .feature-description {
        font-size: 12px;
    }
}

.feature-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-link:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.section-title {
    font-family: var(--font-sans);
    font-size: max(52px, 3.25rem);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: -0.04em;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: max(172px, 8.875rem);
        line-height: 0.9;
        letter-spacing: -0.06em;
    }
}

.about-text {
    font-family: var(--font-mono);
    font-size: max(14px, 0.875rem);
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--color-grey-dark);
    font-weight: 600;
    max-width: 100%;
    margin: 10px auto 0;
    padding: 0 20px;
    letter-spacing: 0 !important;
}

@media (min-width: 1024px) {
    .about-text {
        font-size: max(14px, 1.275rem);
        text-transform: uppercase;
        line-height: 1.1;
        letter-spacing: -0.02em;
        width: calc(10 * var(--column) + 9 * var(--gutter));
        max-width: calc(10 * var(--column) + 9 * var(--gutter));
        padding: 0;
    }
}

.about-image {
    position: relative;
    margin-top: 60px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* ========================================
   TEAM SECTION - HORIZONTAL SCROLL
   ======================================== */
.team-section {
    background: var(--color-black);
    overflow: clip;
    padding-bottom: 1px;
}

/* Scroll wrapper - contains everything */
.team-scroll-wrapper {
    display: block;
}

@media (min-width: 1024px) {
    .team-scroll-wrapper {
        display: flex;
        flex-direction: column;
        width: max-content;
    }
}

/* Sticky container - sticks to top and scrolls horizontally */
.team-sticky-container {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .team-sticky-container {
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        flex-direction: row;
        width: max-content;
        will-change: transform;
    }
}

/* Spacer creates vertical scroll height for horizontal scroll effect */
.team-scroll-spacer {
    display: none;
}

@media (min-width: 1024px) {
    .team-scroll-spacer {
        display: block;
        padding-bottom: calc(100% - 100vh);
    }
}

.team-panel {
    padding: 60px 20px;
}

@media (min-width: 1024px) {
    .team-panel {
        padding: 80px 40px;
        height: 100vh;
        flex-shrink: 0;
    }
}

/* Team Intro Panel */
.team-intro {
    background: var(--color-grey-light);
    color: var(--color-black);
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .team-intro {
        min-width: calc(5.5 * var(--column) + 5.5 * var(--gutter));
        width: fit-content;
        padding-left: calc(1 * var(--column) + 1 * var(--gutter));
        padding-top: 80px;
        padding-bottom: 35px;
    }
}

.team-intro-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-title-mobile {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    font-size: max(52px, 3.25rem);
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 120px;
    line-height: 1;
    letter-spacing: -0.04em;
}

@media (min-width: 1024px) {
    .team-title-mobile {
        display: none;
    }
}

.team-title-mobile span:nth-child(2) {
    margin-left: auto;
}

.team-title-mobile span:nth-child(3) {
    width: 100%;
    text-align: right;
}

.team-label {
    font-family: var(--font-mono);
    font-size: max(14px, 0.875rem);
    line-height: 1.3;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

@media (min-width: 1024px) {
    .team-label {
        width: calc(7 * var(--column) + 6 * var(--gutter));
    }
}

.team-label::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.team-description {
    font-family: var(--font-mono);
    font-size: max(19px, 1.2rem);
    text-transform: uppercase;
    font-weight: 400;
    color: var(--color-grey-dark);
    line-height: 1.4;
}

@media (min-width: 1024px) {
    .team-description {
        font-size: max(29px, 1.8rem);
        line-height: 1.1;
        letter-spacing: -0.02em;
        width: calc(7 * var(--column) + 6 * var(--gutter));
    }
}

.team-title-desktop {
    display: none;
    font-size: max(172px, 8.875rem);
    text-transform: uppercase;
    font-weight: 400;
    margin-top: auto;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

@media (min-width: 1024px) {
    .team-title-desktop {
        display: block;
        width: fit-content;
        max-width: calc(19 * var(--column) + 19 * var(--gutter));
        padding-right: calc(1 * var(--column) + 1 * var(--gutter));
    }
}

/* Team Image Main Panel */
.team-image-main {
    padding: 0;
    background: var(--color-black);
}

@media (min-width: 1024px) {
    .team-image-main {
        width: 100vw;
        height: 100vh;
        flex-shrink: 0;
    }
}

.team-figure {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 460px;
}

@media (min-width: 1024px) {
    .team-figure {
        min-height: 100vh;
        height: 100vh;
    }
}

.team-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

.team-figure figcaption {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: max(14px, 0.875rem);
    line-height: 1.3;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    .team-figure figcaption {
        left: 40px;
        right: 40px;
    }
}

/* Team Gallery Panel */
.team-gallery {
    background: var(--color-grey-light);
    color: var(--color-black);
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
}

@media (min-width: 1024px) {
    .team-gallery {
        width: calc(16 * var(--column) + 17 * var(--gutter));
        padding-left: calc(1 * var(--column) + 2 * var(--gutter));
        padding-right: calc(1 * var(--column) + 2 * var(--gutter));
        padding-top: 80px;
        padding-bottom: 40px;
        flex-direction: column-reverse;
    }
    
    .team-gallery.team-gallery-reverse {
        flex-direction: column;
    }
}

.gallery-header {
    margin-bottom: 40px;
}

.gallery-title {
    font-family: var(--font-mono);
    font-size: max(14px, 0.875rem);
    line-height: 1.3;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-title::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.gallery-subtitle {
    font-family: var(--font-mono);
    font-size: max(14px, 0.875rem);
    line-height: 1.3;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-grey-dark);
}

.gallery-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .gallery-list {
        flex-direction: row;
        gap: 20px;
    }
}

.gallery-item {
    flex: 1;
}

.gallery-item figure {
    width: 100%;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 276 / 340;
    object-fit: cover;
}

.gallery-item figcaption {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
}

.fig-label {
    font-family: var(--font-mono);
    font-size: max(14px, 0.875rem);
    line-height: 1.3;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    color: var(--color-black);
}

.fig-label::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.fig-text {
    font-family: var(--font-mono);
    font-size: max(14px, 0.875rem);
    line-height: 1.3;
    font-weight: 600;
    color: var(--color-grey-dark);
    margin-left: 10px;
}

/* Team Quote Panel */
.team-quote {
    background: var(--color-grey-light);
    color: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-left: 1px solid rgba(105, 105, 105, 0.4);
}

@media (min-width: 1024px) {
    .team-quote {
        width: calc(17 * var(--column) + 16 * var(--gutter));
        padding-left: calc(1 * var(--column) + 1 * var(--gutter));
        padding-bottom: 40px;
    }
}

.quote-content {
    max-width: calc(12 * var(--column) + 11 * var(--gutter));
}

.quote-title {
    font-family: var(--font-sans);
    font-size: max(36px, 2.25rem);
    font-weight: 300;
    line-height: 1;
    display: inline;
}

@media (min-width: 1024px) {
    .quote-title {
        font-size: max(60px, 3.75rem);
        line-height: 1;
        letter-spacing: -0.08em;
        letter-spacing: -0.08em;
    }
}

.quote-subtitle {
    display: inline;
    font-family: var(--font-sans);
    font-size: max(36px, 2.25rem);
    font-weight: 300;
    color: var(--color-grey);
    line-height: 1;
}

@media (min-width: 1024px) {
    .quote-subtitle {
        font-size: max(60px, 3.75rem);
        line-height: 1;
    }
}

/* ========================================
   BACKERS SECTION
   ======================================== */
.backers-section {
    position: relative;
    z-index: 1;
    background: var(--color-white);
    color: var(--color-black);
    padding: 40px 0;
    overflow: hidden;
}

.backers-title {
    font-family: var(--font-mono);
    font-size: max(14px, 0.875rem);
    line-height: 1.3;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-grey-dark);
    text-align: center;
    margin-bottom: 18px;
}

.backers-marquee {
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marquee 20s linear infinite;
    width: fit-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.backer-logo {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    margin: 0 30px;
    opacity: 0.4;
    object-fit: contain;
}

/* ========================================
   JOIN SECTION
   ======================================== */
.join-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.join-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.join-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.join-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    z-index: 1;
}

@media (min-width: 1024px) {
    .join-overlay {
        height: 33%;
    }
}

.join-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 120px;
    padding-bottom: 20px;
}

.join-title-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    .join-title-wrapper {
        height: 100%;
    }
}

.join-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    font-size: max(52px, 3.25rem);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-white);
    line-height: 1;
    letter-spacing: -0.04em;
}

@media (min-width: 1024px) {
    .join-title {
        font-size: max(142px, 8.875rem);
        line-height: 0.9;
        letter-spacing: -0.02em;
        flex-wrap: nowrap;
    }
}

.join-title span:nth-child(2) {
    margin-left: auto;
}

@media (max-width: 1023px) {
    .join-title span:nth-child(2) {
        width: 100%;
        text-align: right;
    }
}

.join-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--font-mono);
}

@media (min-width: 1024px) {
    .join-bottom {
        flex-direction: row;
        align-items: flex-end;
    }
}

.join-text {
    max-width: 200px;
}

.join-text p {
    font-size: max(14px, 0.875rem);
    text-transform: uppercase;
    line-height: 1.3;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    padding-top: 0.3em;
    font-family: var(--font-mono);
    font-size: max(13px, 0.8125rem);
    font-weight: 600;
    text-transform: uppercase;
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid transparent;
    margin-top: 20px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 1024px) {
    .join-btn {
        margin-top: 30px;
    }
}

.join-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-white);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    position: relative;
    z-index: 1;
    padding: 60px 20px 30px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: max(14px, 0.875rem);
    line-height: 1.3;
    font-weight: 600;
    color: var(--color-grey-dark);
    background: var(--color-white);
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .footer {
        padding: 60px 40px 15px;
        min-height: 330px;
    }
}

.footer-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-row {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .footer-row {
        flex-direction: row;
    }
}

.footer-newsletter {
    width: 100%;
    margin-bottom: 42px;
}

@media (min-width: 1024px) {
    .footer-newsletter {
        max-width: 400px;
        margin-bottom: 0;
    }
}

.newsletter-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.email-input {
    width: 100%;
    height: 40px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    outline: none;
    transition: border-color 0.3s var(--ease-quart-out);
}

.email-input:focus {
    border-bottom-color: rgba(0, 0, 0, 0.3);
}

.email-input::placeholder {
    text-transform: uppercase;
    color: var(--color-black);
}

.checkbox-wrapper {
    margin-top: 20px;
}

.checkbox-label {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 300;
    font-size: 12px;
    cursor: pointer;
    color: var(--color-grey-dark);
    text-align: left;
}

.checkbox {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.checkbox-custom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1px solid var(--color-black);
    transition: background-color 0.3s var(--ease-quart-out), border-color 0.3s var(--ease-quart-out);
}

.checkbox-custom svg {
    width: 10px;
    opacity: 0;
    color: var(--color-white);
    transition: opacity 0.3s var(--ease-quart-out);
}

.checkbox:checked + .checkbox-custom {
    background: var(--color-black);
    border-color: rgba(255, 255, 255, 0.4);
}

.checkbox:checked + .checkbox-custom svg {
    opacity: 1;
}

.checkbox-text {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--color-grey-dark);
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.checkbox-text a {
    color: var(--color-black);
    text-decoration: underline;
}

.submit-btn {
    width: 60px;
    height: 32px;
    margin-top: 30px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    background: var(--color-black);
    color: var(--color-white);
    border: 1px solid transparent;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.submit-btn:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-black);
}

.footer-nav {
    margin-left: auto;
}

@media (min-width: 1024px) {
    .footer-nav {
        max-width: 350px;
    }
}

.footer-links {
    columns: 2;
    gap: 20px;
}

.footer-links li {
    padding: 8px 0;
    margin-left: -10px;
}

@media (min-width: 1024px) {
    .footer-links li {
        padding: 5px 0;
    }
}

.footer-links a {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: var(--color-grey-dark);
    transition: color 0.3s ease;
}

.footer-links a::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 2px;
    background: var(--color-black);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-black);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 40px;
}

@media (min-width: 1024px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
    }
}

.copyright {
    order: 2;
    font-size: 11px;
    margin-top: 10px;
}

@media (min-width: 1024px) {
    .copyright {
        order: 1;
        margin-top: 0;
    }
}

.footer-credits {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    order: 1;
    margin-left: auto;
}

@media (min-width: 1024px) {
    .footer-credits {
        order: 2;
    }
}

.footer-credits p {
    font-size: 11px;
}

.footer-credits a {
    text-decoration: underline;
}

.social-links {
    display: flex;
    align-items: center;
    margin-left: -7px;
    margin-right: 5px;
}

.social-links li a {
    display: inline-block;
    padding: 8px;
    color: var(--color-grey);
    transition: color 0.3s ease;
}

.social-links li a:hover {
    color: var(--color-black);
}

.social-links svg {
    width: 15px;
    height: 15px;
}

/* ========================================
   ANIMATIONS & KEYFRAMES
   ======================================== */

/* Marquee animation for backers */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide up animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide in from left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide in from right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale in animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Reveal animation */
@keyframes reveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

/* Text reveal animation */
@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spin animation */
@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}

/* ========================================
   ANIMATION CLASSES
   ======================================== */

/* Animate on scroll - initial state */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-expo-out), transform 0.8s var(--ease-expo-out);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* Hero text - no animation */
.hero-text span {
    display: inline-block;
}

/* Section title - no animation */

/* About text - no animation */

/* About image - no animation */

/* Team panels - no animation, horizontal scroll handles the transition */

/* Team titles - visible without animation */
.team-title-mobile span,
.team-title-desktop {
    display: inline-block;
}

/* Gallery items - visible, hover effect only */
.gallery-item img {
    transition: transform 0.8s var(--ease-expo-out), opacity 0.5s var(--ease-quart-out);
}

.gallery-item:hover img {
    transform: scale(1.02);
}

/* Quote content - visible without animation */

/* Backers marquee */
.marquee-track {
    animation: marquee 20s linear infinite;
}

/* Individual backer logos fade in */
.backer-logo {
    opacity: 0.4;
    transition: opacity 0.5s var(--ease-quart-out);
}

.backer-logo:hover {
    opacity: 0.8;
}

/* Join section - no animation */

.join-btn {
    position: relative;
    overflow: hidden;
}

.join-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s var(--ease-quart-out);
}

.join-btn:hover::after {
    left: 100%;
}

/* Footer - no animation */

/* Navigation links animation */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--ease-quart-out);
}

.nav-link:hover::after {
    width: 100%;
}

/* Image reveal on scroll */
.team-figure img,
.gallery-item img {
    opacity: 0;
    transform: scale(1.1);
    animation: scaleIn 1s var(--ease-expo-out) forwards;
    animation-delay: 0.3s;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Intersection Observer animation triggers */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Hover effects with transitions */
.team-figure {
    overflow: hidden;
}

.team-figure img {
    transition: transform 0.8s var(--ease-expo-out);
}

.team-figure:hover img {
    transform: scale(1.05);
}

/* Footer links hover animation */
.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-black);
    transition: width 0.3s var(--ease-quart-out);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Button hover animation */
.menu-btn,
.submit-btn,
.join-btn {
    transition: all 0.3s var(--ease-quart-out);
    transform: translateY(0);
}

.menu-btn:hover,
.submit-btn:hover,
.join-btn:hover {
    transform: translateY(-2px);
}

/* Input focus animation */
.email-input {
    transition: border-color 0.3s var(--ease-quart-out), box-shadow 0.3s var(--ease-quart-out);
}

.email-input:focus {
    border-bottom-color: var(--color-black);
    box-shadow: 0 2px 0 0 var(--color-black);
}

/* Checkbox animation */
.checkbox-custom {
    transition: all 0.3s var(--ease-quart-out);
}

.checkbox:checked + .checkbox-custom {
    transform: scale(1.1);
}

/* Logo hover animation */
.logo-link {
    color: white;
    /* color: #FEB400; */
    text-transform: uppercase;
    font-family: 'Realtime Rounded';
    transition: opacity 0.3s var(--ease-quart-out);
}

.logo-link:hover {
    opacity: 0.8;
}

/* Social links animation */
.social-links li a svg {
    transition: transform 0.3s var(--ease-quart-out);
}

.social-links li a:hover svg {
    transform: scale(1.2);
}
