@font-face {
    font-family: 'Rosart';
    src: url('Rosart-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* 
       We are setting Rosart as the primary font to test. 
       If you want to try Helvetica Neue, simply swap the order below so 'Helvetica Neue' comes first!
    */
    --font-primary: 'Rosart', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent vertical scrolling */
    background-color: #f8f8f6; /* Light background for black text */
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loader */
.loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #f8f8f6;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

/* Top Container for Text */
.top-container {
    width: 100%;
    height: 15vh; /* Takes up 15% of the screen height */
    padding: 1.5rem 3rem; /* Reduced vertical padding */
    color: #000; /* Black text */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.description {
    font-size: 1.1rem; 
    line-height: 1.3;
    margin-bottom: 1rem;
    width: 100%;
    letter-spacing: 0;
}

.description strong {
    font-weight: normal;
}

.links {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.links a {
    color: #000;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
}

.links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Horizontal Scroll Container */
.horizontal-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100vw;
    height: 85vh; /* Takes up the remaining 85% of the screen */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.horizontal-scroll::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* Individual Slide */
.slide {
    height: 85vh; /* Match container height */
    flex: 0 0 auto;
    width: auto;
    position: relative;
}

.slide img, .slide video {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-container {
        padding: 1.5rem;
        height: auto; 
        min-height: 20vh;
    }
    .horizontal-scroll, .slide {
        height: 80vh;
    }
    .scroll-bracket {
        top: 60vh;
        width: 15px;
    }
    .scroll-bracket.left { left: 1rem; }
    .scroll-bracket.right { right: 1rem; }
}

/* Fixed Dynamic Scroll Buttons */
.scroll-bracket {
    position: fixed;
    top: 57.5vh; /* Center vertically within the 85vh image frame (15vh + 85vh/2) */
    transform: translateY(-50%);
    width: 80px; /* Increased for better visibility */
    height: auto;
    z-index: 50;
    cursor: pointer;
    /* CSS magic temporarily removed to debug visibility */
    transition: transform 0.2s ease;
}

.scroll-bracket.left {
    left: 2rem;
}

.scroll-bracket.right {
    right: 2rem;
}

.scroll-bracket:hover {
    transform: translateY(-50%) scale(1.1);
}
