@font-face {
    font-family: "Atelier Fleur";
    src: url("../fonts/Atelier-Fleur-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TT Turns";
    src: url("../fonts/TT-Turns-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TT Turns";
    src: url("../fonts/TT-Turns-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --paper: #f0eee9;
    --ink: #283618;
    --sand: #877863;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-width: 320px;
    min-height: 100%;
    background: var(--paper);
    color: var(--ink);
}

body {
    font-family: "TT Turns", Arial, sans-serif;
    font-weight: 400;
}

img,
video {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.welcome,
.scene {
    min-height: 100svh;
}

.scene {
    position: relative;
    overflow: hidden;
    background: var(--paper);
}

.scene--mobile {
    display: none;
}

.desktop-header {
    position: relative;
    height: clamp(300px, 33.704vh, 364px);
}

.desktop-header .brand-logo {
    position: absolute;
    top: 7.09vh;
    left: 50%;
    width: clamp(210px, 13.23vw, 254px);
    transform: translateX(-50%);
}

.desktop-header .location,
.desktop-header .contact {
    position: absolute;
    top: 12.42vh;
    margin: 0;
    white-space: nowrap;
}

.desktop-header .location {
    left: 13.07vw;
    color: var(--sand);
    font-size: clamp(13px, 0.84vw, 16px);
    letter-spacing: 0.53em;
}

.desktop-header .contact {
    right: 14.53vw;
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 500;
}

.ac-sign {
    display: block;
    width: 134px;
}

.ac-sign img {
    width: 100%;
    height: auto;
}

.desktop-header .ac-sign {
    position: absolute;
    top: 22.98vh;
    left: 50%;
    transform: translateX(-50%);
}

.film {
    position: relative;
    overflow: hidden;
    background: #18200f;
}

.film--desktop {
    width: calc(100% - 40px);
    height: calc(100svh - clamp(300px, 33.704vh, 364px) - 25px);
    min-height: 420px;
    margin: 0 20px 25px;
}

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

.film--desktop .film__media {
    object-position: center 51%;
}

.film__line {
    position: absolute;
    z-index: 1;
    margin: 0;
    color: var(--paper);
    font-family: "Atelier Fleur", Georgia, serif;
    font-weight: 400;
}

.film--desktop .film__line {
    top: 47.76%;
    left: 50%;
    width: 700px;
    transform: translate(-50%, -50%);
    font-size: clamp(34px, 2.4vw, 46px);
    line-height: 1.17;
    text-align: center;
}

@media (max-width: 767px) {
    .scene--desktop {
        display: none;
    }

    .scene--mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 100svh;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .mobile-header {
        display: flex;
        flex: 0 0 clamp(250px, calc(100svh - 391px), 356px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 250px;
        padding: clamp(22px, 5svh, 48px) 0 clamp(18px, 3.5svh, 30px);
    }

    .mobile-header .brand-logo {
        width: 174px;
        flex: 0 0 auto;
    }

    .mobile-header .location,
    .mobile-header .contact {
        width: 100%;
        margin: 0;
        text-align: center;
        white-space: nowrap;
    }

    .mobile-header .location {
        margin-top: clamp(18px, 3svh, 28px);
        color: var(--sand);
        font-size: 10px;
        letter-spacing: 0.43em;
    }

    .mobile-header .contact {
        margin-top: clamp(12px, 2svh, 18px);
        font-size: 10px;
        font-weight: 500;
    }

    .mobile-header .ac-sign {
        width: 93px;
        margin-top: clamp(18px, 2.8svh, 27px);
    }

    .film--mobile {
        width: min(calc(100% - 44px), 346px);
        height: 391px;
        flex: 0 0 391px;
        margin: 0 auto;
    }

    .film--mobile .film__media {
        object-position: center center;
    }

    .film--mobile .film__line {
        top: 50%;
        left: 50%;
        width: 260px;
        transform: translate(-50%, -50%);
        font-size: 31px;
        line-height: 1.14;
        text-align: center;
    }
}

@media (max-width: 767px) and (max-height: 640px) {
    .mobile-header {
        flex-basis: 238px;
        min-height: 238px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .mobile-header .brand-logo {
        width: 150px;
    }

    .mobile-header .location {
        margin-top: 14px;
    }

    .mobile-header .contact {
        margin-top: 9px;
    }

    .mobile-header .ac-sign {
        width: 84px;
        margin-top: 13px;
    }

    .film--mobile {
        height: calc(100svh - 238px);
        min-height: 300px;
        flex-basis: calc(100svh - 238px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .film__media {
        visibility: hidden;
    }

    .film {
        background: url("../images/video-poster.png") center / cover no-repeat;
    }
}
