/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 10px;
    background: #000;
    scroll-snap-type: y mandatory;
}

@media (max-width: 599px) {
    html { font-size: 0.92593vw; }
}
@media (min-width: 600px) and (max-width: 1919px) {
    html { font-size: 0.52083vw; }
}
@media (min-width: 1920px) {
    html { font-size: 10px; }
}

body {
    margin: 0;
    background: #000;
    color: #fff;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 200;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.02em;
    overflow-x: hidden;
}

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

/* ============================================
   FIXED VIDEO BACKGROUND — always visible
   ============================================ */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Removed film grain to maximize clarity */
}

.video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    /* Cinematic vignette to crush messy edges and draw focus to the crisp fire */
    background: radial-gradient(circle at center, transparent 15%, rgba(0,0,0,0.85) 120%);
}

.video-bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    /* Remove harsh processing for pure, untouched clarity */
    image-rendering: high-quality;
    filter: contrast(1.02) saturate(1.05);
}

.video-bg video.is-active {
    opacity: 1;
}

/* ============================================
   DUST PARTICLE OVERLAY
   ============================================ */
#dust-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   AWWWARDS UI OVERLAY
   ============================================ */
.awwwards-ui {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 100;
    font-family: 'Inter', Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    mix-blend-mode: difference;
}

.awwwards-ui > div {
    position: absolute;
    pointer-events: auto;
    padding: 4rem 5rem;
}

.awwwards-ui__logo {
    top: 0; left: 0;
    font-family: 'Anton', sans-serif;
    font-size: 2.8rem;
    letter-spacing: 0.08em;
    transition: color 0.3s;
    pointer-events: auto;
}

.awwwards-ui__logo:hover {
    color: #ff6b00;
}

.brand-hidden {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    vertical-align: bottom;
    transition: max-width 0.8s cubic-bezier(0.2, 0, 0.2, 1), opacity 0.6s ease;
}

.awwwards-ui__logo.is-expanded .brand-hidden {
    max-width: 120px;
    opacity: 1;
}

.awwwards-ui__menu {
    top: 0; right: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-label {
    padding-bottom: 2px;
}

.awwwards-ui__pagination {
    bottom: 0; left: 0;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.awwwards-ui__sound {
    bottom: 0; right: 0;
    cursor: pointer;
    transition: opacity 0.3s;
}

.awwwards-ui__sound:hover {
    opacity: 0.6;
}

.nav__menu-btn {
    background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; gap: 6px; padding: 4px;
}
.nav__menu-btn span {
    display: block; width: 32px; height: 1.5px; background: #fff;
    transition: transform 0.3s, opacity 0.3s;
}

.nav__menu-btn.is-active span:nth-child(1) {
    transform: translateY(3.75px) rotate(45deg);
}
.nav__menu-btn.is-active span:nth-child(2) {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* ============================================
   MENU OVERLAY
   ============================================ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99; /* Just below .awwwards-ui (100) */
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-overlay__bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.menu-overlay__nav {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.menu-link {
    font-family: 'Anton', sans-serif;
    font-size: clamp(4rem, 8vw, 10rem);
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    opacity: 0;
    transform: translateY(40px);
    transition: color 0.3s ease;
}

.menu-link:hover {
    color: #ff6b00;
}

.menu-accordion {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.menu-accordion__content {
    height: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0; /* Animated dynamically when opened */
}

.menu-sublink {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

.menu-sublink:hover {
    color: #ff6b00;
}

/* Menu Active State */
html:has(body.menu-open),
body.menu-open {
    overflow: hidden; /* Prevent scrolling when menu is open */
}

body.menu-open .menu-overlay {
    pointer-events: auto;
}

body.menu-open .menu-overlay__bg {
    opacity: 1;
}

/* ============================================
   INTERIOR PAGE OVERLAY
   ============================================ */
.interior-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 50; /* Above regular panels, below global UI */
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
}

.interior-content {
    width: 100%;
    max-width: 1600px;
    padding: 0 4rem;
    text-align: center;
}

.explore-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(4rem, 8vw, 12rem);
    text-transform: uppercase;
    color: #fff;
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.explore-title span {
    display: block;
    flex: 1;
    text-align: center;
}

.explore-cols {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 4rem;
}

.explore-col {
    flex: 0 0 32%; /* Align perfectly under the 3 headers */
    display: flex;
    flex-direction: column;
}

.text-left {
    text-align: left;
}

.close-btn {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); /* Low opacity premium circle */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    z-index: 10;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) scale(1.05);
}

.close-btn svg {
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.close-btn:hover svg {
    transform: rotate(90deg); /* Highly satisfying magnetic rotation */
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 101;
    background: rgba(255, 255, 255, 0.05);
}

.scroll-progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff4d00, #ff8c00);
    will-change: width;
}

/* ============================================
   PANELS — transparent, content floats over video
   ============================================ */
.scroll-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.panel {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.panel__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: 8rem 6rem;
}

.panel__inner--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.panel__inner--left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4rem;
    max-width: 900px;
    margin-right: auto;
}

.panel__inner--split {
    display: flex;
    align-items: center;
    gap: 8rem;
}

/* Hero */
.panel--hero {
    height: 100vh;
    min-height: 100vh;
    align-items: center;
    padding-bottom: 0;
}

/* Statement: push content to lower portion so fire stays visible */
.panel--statement {
    align-items: flex-end;
    padding-bottom: 8vh;
}

/* Marquee panel needs column layout */
.panel--marquee {
    flex-direction: column;
    padding-top: 4rem;
}

/* ============================================
   TEXT TREATMENT — readable over video
   ============================================ */
.section-title,
.hero-title__line,
.stat__number,
.footer-brand,
.marquee__track {
    text-shadow:
        0 2px 30px rgba(0, 0, 0, 0.8),
        0 4px 60px rgba(0, 0, 0, 0.5);
}

.section-body,
.section-label,
.hero-subtitle,
.stat__label,
.stat__suffix,
.scroll-cta {
    text-shadow:
        0 1px 20px rgba(0, 0, 0, 0.9),
        0 2px 40px rgba(0, 0, 0, 0.7);
}

/* ============================================
   HERO
   ============================================ */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 4rem;
    width: 100%;
    margin-top: 45vh;
}

.hero-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24vw; /* Brings them closer while perfectly framing the match */
    align-items: center;
    width: 100%;
    overflow: visible;
}

.hero-title__line {
    display: block;
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -0.03em;
    font-size: clamp(4rem, 10vw, 14rem);
}

.hero-subtitle {
    margin-top: 18vh; /* Pushes the text down to overlay the unburnt wooden stem */
    font-size: clamp(1.4rem, 1.8vw, 2rem);
    font-weight: 200;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ============================================
   SCROLL INDICATOR (Geometric Line)
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.scroll-indicator__text {
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    opacity: 0.5;
}

.scroll-indicator__line {
    width: 1px;
    height: 12vh;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.scroll-indicator__line-inner {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #fff;
    transform-origin: top;
    animation: scroll-line 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SECTION CONTENT
   ============================================ */
.section-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.01em;
    font-size: clamp(3.6rem, 7vw, 10rem);
}

.section-title--medium {
    font-size: clamp(3rem, 5.5vw, 8rem);
}

.section-title--small {
    font-size: clamp(2rem, 3.5vw, 5.5rem);
    line-height: 1.1;
}

.section-title--massive {
    font-size: clamp(5rem, 8vw, 12rem);
    letter-spacing: -0.03em;
}

.section-divider {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b00, transparent);
    margin: 4rem 0;
}

.section-divider--left {
    width: 80px;
    height: 3px;
    background: #ff6b00;
    margin: 1rem 0;
    /* Override GSAP dynamic width for this specific editorial layout */
    width: 100px !important;
}

.section-body--editorial {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    line-height: 1.4;
    font-weight: 300;
}

.section-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-list li {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.4;
    position: relative;
    padding-left: 3rem;
    color: #fff;
    opacity: 0.9;
}

.section-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #ff6b00;
    box-shadow: 0 0 10px #ff6b00; /* Premium glowing bullet point */
    border-radius: 50%;
}

.feature-item strong {
    color: #ff6b00;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    display: block;
}

.feature-item span {
    font-size: 0.7em;
    opacity: 0.6;
    display: block;
    margin-top: 0.6rem;
    font-weight: 300;
}

.section-body {
    font-size: clamp(1.4rem, 1.8vw, 2rem);
    font-weight: 200;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.6;
    max-width: 64rem;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.8);
}

.section-body--center {
    text-align: center;
    margin: 0 auto;
}

.split-left,
.split-right {
    flex: 1;
}

.section-label {
    display: block !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3em !important;
    color: #ff6b00 !important;
    margin-bottom: 2.5rem !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
}

/* Section label consolidated to top of file */

.section-cta {
    display: inline-block;
    margin-top: 3rem;
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ff6b00;
    border-bottom: 1px solid rgba(255, 107, 0, 0.3);
    padding-bottom: 0.4rem;
    transition: border-color 0.3s, color 0.3s;
}

.section-cta:hover {
    border-color: #ff6b00;
    color: #ff8c00;
}

/* ============================================
   PROCESS GRID (Replaces Stats)
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4rem;
    text-align: left;
    width: 100%;
}
.process-step {
    display: flex;
    flex-direction: column;
}
.process-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(4rem, 5vw, 6rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.process-desc {
    font-size: clamp(1.4rem, 1.8vw, 2rem);
    font-weight: 200;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    opacity: 0.7;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
    width: 100%;
    overflow: hidden;
    padding: 4rem 0;
}

.marquee__track {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 6vw, 8rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    opacity: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   CTA BUTTON
   ============================================ */
.btn-main {
    display: inline-block;
    padding: 2rem 6rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.4rem;
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

.btn-main:hover {
    border-color: #ff6b00;
    background: rgba(255, 107, 0, 0.08);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.15);
}

/* ============================================
   FOOTER
   ============================================ */
.panel--footer {
    min-height: auto;
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.08em;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    font-size: 1.3rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 3rem;
}

.footer-bottom p {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    opacity: 0.3;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav {
        padding: 2rem 2.4rem;
    }

    .panel__inner {
        padding: 6rem 3rem;
    }

    .panel__inner--split {
        flex-direction: column;
        gap: 4rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem 2rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
