@font-face {
    font-family: "Lambo-Variable";
    src: url("../fonts/Lambo-Variable.woff") format("woff");
}
@font-face {
    font-family: "UTM-Edwardian";
    src: url("../fonts/UTM-Edwardian.ttf") format("truetype");
}
@font-face {
    font-family: "Product-Sans";
    src: url("../fonts/Product-Sans-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Product-Sans";
    src: url("../fonts/Product-Sans-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "Product-Sans";
    src: url("../fonts/Product-Sans-Italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: "Product-Sans";
    src: url("../fonts/Product-Sans-Bold-Italic.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
}

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

body {
    background-color: #000000;
    color: #ffffff;
    font-family: "Product-Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ── loading ── */

.loading-container {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-container img {
    width: clamp(160px, 18vw, 300px);
    height: auto;
    animation: blink 1s infinite ease-in-out;
}

@keyframes blink {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 1; }
}

/* ── main ── */

main {
    opacity: 0;
    display: none;
    transition: opacity 0.9s ease-in-out;
}

/* ── hero section ── */

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero-media {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background-color: #000;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.4) 50%, #000000 85%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: flex-end;
    padding-bottom: 14rem;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-tagline {
    font-family: "Product-Sans", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(0.9rem, 3vw, 2.1rem);
    color: #ffffff;
    margin-bottom: 3.5rem;
}

.hero-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.hero-title {
    font-family: "Lambo-Variable", serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.25rem);
    /*letter-spacing: -0.02em;*/
    text-transform: uppercase;
    line-height: 0.85;
    white-space: nowrap;
    transform: scaleY(1.5);
    transform-origin: bottom;
}

.hero-actions {
    flex-shrink: 0;
    align-self: flex-end;
}

/* ── VIEW 360 button ── */

.btn-view360 {
    display: inline-flex;
    align-items: center;
    gap: clamp(0.6rem, 1.5vw, 1rem);
    padding: clamp(0.7rem, 1.5vw, 1.05rem) clamp(1rem, 2vw, 1.5rem);
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #ffffff;
    font-family: "Product-Sans", sans-serif;
    font-size: clamp(0.78rem, 2vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    white-space: nowrap;
}

.btn-view360 .btn-arrow {
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    line-height: 1;
}

.btn-view360:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #fff;
}

.btn-view360.secondary {
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-view360.secondary:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #fff;
}

/* ── classic section ── */

.classic {
    background: #1a1a1a;
    padding: clamp(4rem, 7vh, 6rem) 0 clamp(4rem, 7vh, 6rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.classic-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.classic-tagline {
    font-family: "UTM-Edwardian", cursive;
    font-size: clamp(2.8rem, 4.5vw, 3.8rem);
    color: #ffffff;
    line-height: 1.3;
    font-weight: 400;
}

.classic-separator {
    margin: 0.2rem 0 0;
}

.classic-separator img {
    height: auto;
    width: min(320px, 50vw);
    display: block;
    margin: 0 auto;
}

.classic-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.classic-title {
    font-family: "UTM-Edwardian", cursive;
    font-size: clamp(3rem, 5vw, 4.2rem);
    letter-spacing: 0.04em;
    line-height: 1.3;
    font-weight: 400;
    color: #ffffff;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    text-align: center;
}

/* ── hexagonal arrows (square aspect for even edges) ── */

.carousel-arrow {
    flex-shrink: 0;
    z-index: 5;
    width: 72px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.carousel-arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ff0000;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.carousel-arrow::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgb(26 26 26);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: background 0.25s;
}

.arrow-icon {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-family: "Product-Sans", sans-serif;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 300;
    transition: color 0.25s;
}

.carousel-arrow:hover::after {
    background: #ff0000;
}

.carousel-arrow:hover .arrow-icon {
    color: #ffffff;
}

/* ── carousel ── */

.classic-carousel {
    width: 100%;
    margin-top: clamp(1rem, 2vh, 1.5rem);
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
}

.carousel-track {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(1.5vw, 9vw, 6vw);
    padding: 0 0 1.5rem;
    margin: 0 -6vw;
}

.carousel-slide {
    flex: 0 0 16%;
    max-width: 16%;
    position: relative;
    opacity: 0.6;
    filter: brightness(0.45);
    will-change: opacity, filter;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    /*background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.85));*/
    pointer-events: none;
    z-index: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    bottom: -13px;
    left: -12%;
    right: -12%;
    height: 26px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65) 0%, transparent 90%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.carousel-slide img {
    width: 100%;
    /*aspect-ratio: 3 / 4;*/
    object-fit: cover;
    display: block;
    position: relative;
}

.carousel-slide:nth-child(3) {
    flex: 0 0 20%;
    max-width: 20%;
    opacity: 1;
    filter: brightness(1);
    z-index: 2;
}

.carousel-slide:nth-child(3) img {
    aspect-ratio: 2.85 / 4;
}

/* ── classic action ── */

.classic-action {
    margin-top: clamp(1rem, 1vh, 1.75rem);
    text-align: center;
}

/* ── GSAP text animation base ── */

.char,
.word {
    transform: translateY(100%);
    display: inline-block;
}

/* ── responsive ── */

@media (max-width: 1024px) {
    .carousel-arrow {
        width: 5.2em;
        height: 4.5em;
    }

    .arrow-icon {
        font-size: 1.4rem;
    }

    .classic-title-row {
        max-width: 90%;
    }

    .hero {
        padding-top: 64px;
        min-height: 0;
        height: 42vh;
    }

    .hero-tagline {
        margin-bottom: 3rem;
    }

    .hero-media {
        top: 64px;
        bottom: 0;
    }

    .hero-content {
        min-height: 0;
        height: calc(42vh - 64px);
        padding-bottom: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 64px;
        min-height: 0;
        height: 42vh;
    }

    .hero-media {
        top: 64px;
        bottom: 0;
    }

    .hero-tagline {
        margin-bottom: 2.5rem;
    }

    .hero-content {
        min-height: 0;
        height: calc(42vh - 64px);
        padding-bottom: 3.5rem;
    }

    .carousel-arrow {
        width: 3.3em;
        height: 2.8em;
    }

    .arrow-icon {
        font-size: 1.3rem;
    }

    .classic-tagline {
        font-size: clamp(2.2rem, 6vw, 2.8rem);
    }

    .classic-title {
        font-size: clamp(1.5rem, 6vw, 3rem);
    }

    .classic-header {
        padding: 0;
    }

    .btn-view360 {
        padding: clamp(0.5rem, 1.5vw, 1.05rem) clamp(1rem, 2vw, 1.5rem);
    }
}

@media (max-width: 650px) {
    .hero-tagline {
        font-size: clamp(1rem, 2.2vw, 1.1rem);
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3.25rem);
        transform: scaleY(1.35);
    }
}

@media (max-width: 540px) {
    .hero {
        padding-top: 56px;
        min-height: 0;
        height: 40vh;
    }

    .hero-media {
        top: 56px;
        bottom: 0;
    }

    .hero-tagline {
        margin-bottom: 2rem;
    }

    .hero-content {
        min-height: 0;
        height: calc(40vh - 56px);
        padding-bottom: 2.75rem;
    }

    .classic {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .carousel-arrow {
        width: 2em;
        height: 1.75em;
    }

    .arrow-icon {
        font-size: 1.1rem;
    }

    .arrow-icon img {
        width: 0.85em !important;
        height: 0.85em !important;
    }

    .classic-carousel {
        overflow: hidden;
    }

    .carousel-track {
        /* Keep outer slides half-hidden on small screens */
        gap: clamp(2vw, 4vw, 14px);
        margin: 0 -12vw;
    }

    .classic-tagline {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .classic-title {
        font-size: clamp(1.15rem, 7vw, 2.6rem);
    }

    .classic-header {
        padding: 0;
    }

    .btn-view360 {
        padding: clamp(0.5rem, 1.5vw, 1.05rem) clamp(1rem, 2vw, 1.5rem);
    }
}

@media (max-width: 400px) {
    .hero-inner {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }
}

@media (min-width: 1920px) {
    body {
        font-size: 18px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-media {
        top: 80px;
    }

    .hero-content {
        min-height: calc(100vh - 80px);
    }
}
