:root {
    --bg-light: #FBFBFD;
    --bg-cream: #F5F5F7;
    --bg-dark: #000000;
    --text-dark: #1D1D1F;
    --text-light: #F5F5F7;
    --text-muted-dark: #86868B;
    --text-muted-light: #A1A1A6;
    --accent-blue: #2997FF;
    --accent-blue-hover: #147CE5;

    --font-sans: 'Neue Montreal', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --nav-height: 54px;
    --section-pad: 120px;
    --card-radius: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    letter-spacing: -0.02em;
    font-weight: 600;
}

.hero-headline {
    font-size: clamp(3.5rem, 6vw, 5rem);
    line-height: 1.05;
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #000;
}

.hero-subheadline {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.5;
    color: #1a1a1a;
    max-width: 380px;
    margin-bottom: 32px;
    font-weight: 400;
}

.section-headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.section-subheadline {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.5;
    color: var(--text-muted-dark);
    max-width: 700px;
}

.massive-headline {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 16px;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mt-6 {
    margin-top: 48px;
}

/* Buttons */
button {
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: scale(1.02);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    height: auto;
    background: transparent;
    z-index: 1000;
    transition: background 0.3s ease;
}

.navbar.dark-mode {
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    padding: 24px 0;
}

.navbar.dark-mode .nav-links a {
    color: var(--text-light);
}

.navbar.dark-mode .nav-links {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar.dark-mode .nav-links a:hover {
    color: #fff;
}

.navbar.dark-mode .logo-dot {
    background-color: #fff;
}

.navbar.dark-mode .logo {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background-color: #F0F4FF;
    border-radius: 8px;
    align-items: center;
    justify-items: center;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 32px;
    background-color: #F2F2F7;
    padding: 12px 32px;
    border-radius: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 400;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-cta {
    background: #111;
    color: white;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
}

.navbar.dark-mode .nav-cta {
    background: #fff;
    color: #000;
}

/* Sections */
.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.section-cream {
    background-color: var(--bg-cream);
    color: var(--text-dark);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-dark .section-subheadline {
    color: var(--text-muted-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 0;
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.hero-content {
    text-align: left;
    position: absolute;
    bottom: 15%;
    left: 5%;
    z-index: 2;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
    margin-top: 0;
}

.hero-image {
    width: auto;
    height: 95vh;
    object-fit: contain;
    object-position: bottom center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #111;
    z-index: 2;
}

/* Built to Vanish Section */
.built-to-vanish {
    padding: 120px 0 0 0;
    position: relative;
    background-color: var(--bg-dark);
}

.section-intro {
    padding-bottom: 60px;
}

.built-to-vanish .section-label {
    color: #8892b0;
}

.built-to-vanish h2 i {
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 300;
}

.scrolly-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-image-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

#headset-3d-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.scroll-text-container {
    position: relative;
    z-index: 2;
    padding-bottom: 50vh;
    margin-top: -100vh;
}

.scroll-step {
    min-height: 100vh;
    display: flex;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
    pointer-events: none;
}

.scroll-step.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.feature-text {
    width: 280px;
    text-align: left;
}

.scroll-step[data-step="1"] {
    align-items: center;
    justify-content: flex-start;
    padding-left: 40px;
}

.scroll-step[data-step="2"] {
    align-items: center;
    justify-content: flex-end;
    padding-right: 40px;
}

.scroll-step[data-step="3"] {
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 100px;
}

.feature-number {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 2.8rem;
    color: #E53E3E;
    margin-bottom: 8px;
    font-weight: 300;
}

.feature-bottom .feature-number {
    text-align: center;
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.feature-desc {
    color: var(--text-muted-light);
    line-height: 1.5;
    font-size: 0.85rem;
}

/* Engineered Section */
.engineered {
    padding: var(--section-pad) 0;
}

.engineered-header {
    text-align: left;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.engineered-header .section-label {
    text-transform: none;
    letter-spacing: normal;
    color: #4b5563;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.bento-grid {
    display: grid;
    grid-template-columns: 813px 1fr;
    grid-auto-rows: 391px;
    gap: 24px;
}

@media (max-width: 1250px) {
    .bento-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.bento-card {
    background: #FFFFFF;
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.bento-dark {
    background: #000;
    color: #fff;
}

.bento-bottom-text {
    justify-content: flex-end;
}

.card-label {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
    margin-bottom: 8px;
}

.bento-content {
    position: relative;
    z-index: 2;
    flex: none;
}

.bento-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.bento-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted-dark);
    max-width: 320px;
}

.bento-dark .bento-content h3 {
    color: #fff;
}

.bento-dark .bento-content p {
    color: rgba(255, 255, 255, 0.7);
}

.bento-img {
    position: absolute;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-img-right {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
}

.bento-img-center-bottom {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
}

.bento-img-center-large {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.bento-img-fill {
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: right bottom;
}

.bento-card:hover .bento-img-center {
    transform: translate(-50%, -50%) scale(1.05);
}


/* Connection Section */
.connection-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.connection-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.connection-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 40%);
}

.connection-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 60px;
}

.connection-content .section-label {
    color: #ffffff;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* In the Wild Section */
.in-the-wild {
    padding: var(--section-pad) 0;
}

.wild-header {
    text-align: left;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wild-header .section-label {
    text-transform: none;
    letter-spacing: normal;
    color: #4b5563;
    /* slightly muted dark blue/grey */
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.wild-header h2 i {
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 300;
}

.wild-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wild-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.wild-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.wild-card:hover .wild-bg-img {
    transform: scale(1.05);
}

.wild-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 2;
}

.wild-card-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    color: #fff;
}

.wild-card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.wild-card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* Elsewhere Section */
.elsewhere-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #000;
    overflow: hidden;
}

.elsewhere-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.elsewhere-bg .particle-girl {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.elsewhere-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle gradient to ensure text readability on the left */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
}

.elsewhere-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 20vh;
    /* Adjust vertical positioning */
}

.elsewhere-text {
    max-width: 600px;
}

.elsewhere-headline {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #fff;
}

.btn-white {
    background-color: #fff;
    color: #000;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 500;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-white:hover {
    transform: scale(1.05);
}

/* Pre-Footer Hero Section */
.pre-footer {
    position: relative;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding-top: 100px;
}

.pre-footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 24px;
}

.pre-footer-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.pre-footer-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
}

.pre-footer-nav {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.pre-footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.pre-footer-nav a:hover {
    opacity: 0.7;
}

.footer-cta-container {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 20px;
    background-color: #000;
    overflow: hidden;
}

.footer-cta-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Assets/image15.png');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    z-index: 1;
}

.massive-footer-headline {
    font-size: clamp(3rem, 12vw, 12rem);
    line-height: 0.8;
    font-weight: 500;
    letter-spacing: -0.05em;
    color: #fff;
    z-index: 2;
    margin-bottom: -15px;
    white-space: nowrap;
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .copyright {
    color: var(--text-muted-light);
    font-size: 0.85rem;
}

.link-columns {
    display: flex;
    gap: 80px;
}

.link-group {
    display: flex;
    flex-direction: column;
}

.link-group a {
    display: block;
    color: var(--text-muted-light);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.link-group a:first-child {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    cursor: default;
}

.link-group a:not(:first-child):hover {
    color: #fff;
}


/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.in-view {
    opacity: 1;
    transform: scale(1);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

.reveal-fade.in-view {
    opacity: 1;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-card {
        min-height: 400px;
    }

    .bento-large {
        flex-direction: column;
    }

    .bento-img-right {
        right: auto;
        bottom: -20px;
        top: auto;
        transform: none;
        width: 90%;
        height: auto;
    }

    .bento-card:hover .bento-img-right {
        transform: scale(1.05);
    }

    .wild-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro", "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    }

    html, body, button {
        font-family: var(--font-sans);
    }

    .nav-links {
        display: none;
    }

    .hero-image-container {
        margin-top: 0;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 40px);
    }

    .hero-content {
        bottom: 8%; /* Sit hero content a bit lower on mobile */
    }

    .connection-section {
        height: 55vh; /* Shorten the height of section four while keeping its full width */
    }

    .connection-content {
        padding-bottom: 40px; /* Adjust vertical spacing for the shortened height */
    }

    .elsewhere-section {
        height: 50vh; /* Reduce height of section six by 50% */
    }

    .elsewhere-content {
        padding-top: 0; /* Center content vertically */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .elsewhere-text {
        margin: 0 auto;
        text-align: center; /* Center text horizontally */
    }

    .elsewhere-headline {
        font-size: 24px; /* Set font size to exactly 24px */
    }

    .footer {
        padding: 20px 0; /* Reduce vertical padding by 50% to reduce height of footer by 50% */
    }
}