@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-VariableFont.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Color Palette and Variables */
:root {
    --color-bg: #090B10;
    /* Deep charcoal/ocean blue mix */
    --color-bg-secondary: #0F131C;
    --color-text: #F3F4F6;
    --color-text-muted: #9CA3AF;
    --color-accent: #E5E7EB;
    /* Silver/White */
    --color-border: rgba(255, 255, 255, 0.1);
    --color-glow: rgba(255, 255, 255, 0.05);

    --font-primary: 'Inter', sans-serif;

    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s forwards var(--transition-smooth);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
/* Removed Site Header since logo is now in Hero Content */
.hero-logo {
    height: clamp(40px, 5vw, 60px);
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 24px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
    color: var(--color-accent);
    cursor: pointer;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--color-accent);
    border-radius: 20px;
    position: relative;
    opacity: 0.7;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

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

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    opacity: 0.7;
}

/* Scroll-Expansion Hero Styling */
.scroll-expansion-container {
    height: 300vh;
    /* Provides plenty of scroll room */
    position: relative;
    /* Wave Canvas is inside this container */
}

.sticky-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Base dimensions for the expanding center video */
:root {
    --hero-media-width-base: 300px;
    --hero-media-height-base: 400px;
    --hero-media-width-expand: 1250px;
    --hero-media-height-expand: 400px;
}

@media (max-width: 768px) {
    :root {
        --hero-media-width-base: 280px;
        --hero-media-height-base: 300px;
        --hero-media-width-expand: 650px;
        --hero-media-height-expand: 200px;
    }
}

.hero-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--hero-media-width-base);
    height: var(--hero-media-height-base);
    max-width: 95vw;
    max-height: 85vh;
    border-radius: 24px;
    overflow: hidden;
    z-index: 10;
    transition: transform 0.1s linear, width 0.1s linear, height 0.1s linear, border-radius 0.1s linear;
}

.hero-video-wrapper.expanded {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 11, 16, 0.5) 0%, rgba(9, 11, 16, 0.2) 50%, var(--color-bg) 100%);
    pointer-events: none;
    transition: opacity 0.1s linear;
}

.shadow-glow {
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.5);
}

.hero-top-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    padding: 0 20px;
    z-index: 20;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    --text-offset-top: 320px;
    --scroll-push: 0px;
    transform: translate(-50%, calc(-50% - var(--text-offset-top) - var(--scroll-push)));
    transition: opacity 0.1s linear;
}

.hero-bottom-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    z-index: 20;
    pointer-events: none;
    display: flex;
    justify-content: center;
    --text-offset-bottom: 240px;
    --scroll-push: 0px;
    transform: translate(-50%, calc(-50% + var(--text-offset-bottom) + var(--scroll-push)));
    transition: opacity 0.1s linear;
}

@media (max-width: 768px) {
    .hero-top-text {
        /* Prevents the logo from being pushed completely off-screen on shorter mobile devices */
        --text-offset-top: min(280px, 36vh);
    }

    .hero-bottom-text {
        --text-offset-bottom: min(230px, 34vh);
    }

    .scroll-indicator {
        display: none;
    }
}

/* Global Canvas adjusting for scroll */
.global-canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    /* Subtle effect */
    pointer-events: none;
}

.headline {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.sub-headline {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 300;
    color: var(--color-text-muted);
    margin-bottom: 0px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 0px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #E5E7EB;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(229, 231, 235, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(229, 231, 235, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(229, 231, 235, 0);
    }
}

.primary-cta {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--color-text);
    color: var(--color-bg);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    background-color: #FFF;
}

/* Sections Global */
section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    /* Ensure content is above canvas */
}

.section-headline {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    line-height: 1.2;
}

/* Dynamic Canvas Background */
.global-canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    /* Subtle effect */
}



/* Story Section */
.story-section {
    padding: 160px 0;
    /* Transparent back to show waves */
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-left .section-headline {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    line-height: 1.1;
    color: #FFF;
}

.story-text {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.not-list {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.not-list li {
    font-size: 1.05rem;
    font-weight: 300;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 20px;
}

.list-dash {
    width: 24px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* Manifesto Section */
.manifesto-section {
    padding: 160px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.manifesto-section .container-sm {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-headline {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #FFF;
    margin-bottom: 24px;
}

.manifesto-subtext {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.manifesto-highlight {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
}

.origin-image-container {
    margin-top: 60px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Fallback static border */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    position: relative;
    --mouse-x: 50%;
    --mouse-y: 50%;
    transition: box-shadow 0.5s ease;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    cursor: pointer;
}

/* Dynamic Hover Border Glow for Origin Image */
.origin-image-container::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    padding: 3px;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(82, 168, 255, 1), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 10;
}

@media (min-width: 769px) {
    .origin-image-container:hover {
        animation: oceanWave 5s infinite ease-in-out;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    }

    .origin-image-container:hover::before {
        opacity: 1;
    }
}

.origin-hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    /* Inner radius slightly smaller than container */
    display: block;
    object-fit: cover;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    /* Lift the image off the card */
}

.origin-story-block {
    margin-top: 100px;
    padding-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.origin-label {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.origin-text {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.origin-text em {
    color: #FFF;
    font-style: italic;
}

.text-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted var(--color-border);
    transition: all 0.3s ease;
}

.text-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.origin-mantra {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 500;
    color: #FFF;
    letter-spacing: -0.5px;
    margin-top: 40px;
}

/* Hosts Section */
.hosts-section {
    text-align: center;
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hosted-by {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--color-text);
}

.co-hosted {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 60px;
    font-weight: 300;
}

.partner {
    font-weight: 500;
    color: var(--color-accent);
}

.sponsor-logos-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.sponsor-logo {
    height: 40px;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%) brightness(200%) opacity(0.5);
    transition: all 0.4s ease;
}

.sponsor-logo:hover {
    filter: grayscale(0%) brightness(100%) opacity(1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .sponsor-logos-wrapper {
        gap: 40px;
        flex-direction: column;
    }

    .sponsor-logo {
        height: 35px;
    }
}

/* Corporate Charters Section */
.corporate-cta-section {
    padding: 120px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* separate from hosts */
    background: radial-gradient(ellipse at top, rgba(15, 19, 28, 0.4) 0%, transparent 60%);
}

.corporate-headline {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    line-height: 1.1;
    color: #FFF;
}

.corporate-subtext {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.corporate-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.corporate-email-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.corporate-email-text strong {
    color: var(--color-text);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.footer-credit {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.9;
    margin: 0;
    visibility: visible;
}

.footer-credit a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: var(--color-accent);
}

.footer-logo {
    height: 48px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* Lightbox Modal CSS */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    section {
        padding: 80px 0;
    }

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

    .site-footer .container {
        flex-direction: column;
        gap: 16px;
    }
}