@font-face {
    font-family: 'Sharp Serif';
    src: url('../fonts/SharpSerifText-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cordier Script';
    src: url('../fonts/CordierScript-Regular.woff') format('woff'),
         url('../fonts/CordierScript-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-cream: #f4efe4;
    --color-ink: #2c211b;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background: var(--color-ink);
}

body {
    font-family: 'Sharp Serif', Georgia, serif;
    color: var(--color-cream);
}

.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.hero__images {
    display: flex;
    height: 100%;
}

.hero__image {
    position: relative;
    flex: 1 1 0;
    overflow: hidden;
}

.hero__image img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 14, 10, 0.35) 0%, rgba(20, 14, 10, 0.55) 100%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    pointer-events: none;
}

.hero__logo {
    width: clamp(180px, 26vw, 380px);
    height: auto;
}

.hero__script {
    margin-top: clamp(0.75rem, 2vw, 1.5rem);
    font-family: 'Cordier Script', cursive;
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    color: var(--color-cream);
}

.hero__footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem clamp(1.25rem, 5vw, 3rem) 2rem;
}

.hero__footer a {
    color: var(--color-cream);
    text-decoration: none;
    font-family: 'Sharp Serif', Georgia, serif;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.hero__footer a:hover,
.hero__footer a:focus-visible {
    border-color: currentColor;
}

@media (max-width: 767px) {
    .hero__images {
        flex-direction: column;
    }

    .hero__overlay {
        padding: 1rem;
    }

    .hero__footer {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 1rem clamp(1rem, 4vw, 1.5rem) 1.25rem;
        text-align: center;
    }

    .hero__footer a {
        font-size: 0.7rem;
    }
}
