:root {
    --color-black: #050505;
    --color-white: #ffffff;
    --color-terracotta: #b65a3a;
    /* User specified PP Neue Montreal -> fallback General Sans */
    --font-heading: 'PP Neue Montreal', 'General Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body, html {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography System */
.display-headline {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(80px, 10vw, 160px); /* 120-160px desktop */
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.display-subheading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(40px, 5vw, 90px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #a0a0a0;
}

.body-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(18px, 1.5vw, 20px);
    line-height: 1.6;
}

.pull-quote {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(50px, 6vw, 100px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 1400px;
}

/* Spacers - increased for more whitespace */
.spacer-huge { height: 25vh; }
.spacer-large { height: 15vh; }
.spacer-medium { height: 8vh; }

/* Themes */
.theme-white {
    background-color: var(--color-white);
    color: var(--color-black);
}

.theme-black {
    background-color: var(--color-black);
    color: var(--color-white);
}

.theme-terracotta {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 20vh 5vw; /* Increased padding */
}

.layout-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}

.layout-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
}

/* --------------------------------- */
/* HERO SECTION (100vh)              */
/* --------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Reverted to 100vh per instructions */
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    background-color: #000;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cinematic Gradient */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%),
        rgba(182, 90, 58, 0.05); /* Subtle terracotta tint */
}

/* Asymmetrical Typography Container */
.hero-typography-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    display: flex;
    /* Analyzed video: glowing waves on left, dots on right. Safest contrast area: bottom right. */
    align-items: flex-end;
    justify-content: flex-end;
    padding: 10vh 8vw;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 800px;
    visibility: hidden; /* For initial GSAP fade */
}

.hero-label {
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(60px, 7vw, 120px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

.hero-support {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.2vw, 20px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}


/* --------------------------------- */
/* SECTION SPECIFICS                 */
/* --------------------------------- */
#section-2 .display-headline { max-width: 1600px; }

#section-3 .s3-item { margin-bottom: 25px; }

/* Tech Stack Vertical */
.tech-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.tech-stage {
    min-height: 75vh;
    display: flex;
    align-items: center;
    width: 100%;
}

.tech-arrow {
    font-family: var(--font-heading);
    font-size: 60px;
    color: var(--color-terracotta);
    font-weight: 300;
    margin-left: 2px;
    opacity: 0.8;
}

/* Conclusion Ending — no links, no CTA */
#section-final .final-conclusion {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 80vh;
    padding-top: 20vh;
    padding-bottom: 20vh;
    gap: 24px;
}

.footer-logo {
    width: 52px;
    opacity: 0.75;
}

.conclusion-name {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

/* Visibility states for GSAP */
.s2-word span, .s2-reveal, .s3-title, .s3-item, .s4-title, .tech-text, .tech-arrow, .s5-statement, .pull-quote {
    visibility: hidden;
}
