:root {
    --page-margin: 260px;
    --gutter: 40px;
    --brand-orange: #F26522;
    --brand-gray: #625852;
    --text-stone: #57534E;
}

@font-face {
    font-family: 'Mont';
    font-weight: 400;
    src: url('font/Mont-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Mont';
    font-weight: 500;
    src: url('font/Mont-Book.otf') format('opentype');
}

@font-face {
    font-family: 'Mont';
    font-weight: 600;
    src: url('font/Mont-SemiBold.otf') format('opentype');
}

@font-face {
    font-family: 'Mont';
    font-weight: 700;
    src: url('font/Mont-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'Mont';
    font-weight: 800;
    src: url('font/Mont-Black.otf') format('opentype');
}

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

body {
    /* Using Mont as requested, fallback to Montserrat/sans-serif */
    font-family: 'Mont', 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

/* 
    The following styles are kept because they require highly specific logic
    that is difficult or impossible to achieve cleanly with basic Tailwind utility classes,
    such as the custom text-fill gradient animation.
*/

@keyframes slow-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-slow-spin {
    animation: slow-spin 60s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes shine {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 0px rgba(242,101,34,0)); }
    50% { filter: brightness(1.15) drop-shadow(0 0 15px rgba(242,101,34,0.6)); }
}

.animate-shine {
    animation: shine 3s ease-in-out infinite;
}

.text-stage {
    opacity: 0; /* Hide initially until JS fires */
    /* JS sets inline opacity and pointer-events. No CSS transitions or transforms here. */
}

#stage-0 {
    opacity: 1; /* Show first stage immediately before images load */
    pointer-events: auto;
}

.text-stage .hero-title, .text-stage .hero-subtitle {
    /* Premium text-fill effect */
    background: linear-gradient(to right, #000 0%, #000 var(--fill, 0%), #B2B2B2 var(--fill, 0%), #B2B2B2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-stage span {
    color: inherit;
}

/* Infinite Logo Marquee */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}
