@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: 'Sharp Serif';
    src: url('../fonts/SharpSerifText-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    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: #fbf8ef;
    --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(270px, 39vw, 570px);
    height: auto;
}

.hero__script {
    margin-top: clamp(1.1rem, 3vw, 2.3rem);
    font-family: 'Cordier Script', cursive;
    font-size: clamp(2.3rem, 6vw, 4.1rem);
    color: var(--color-cream);
}

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

.hero__footer-col {
    flex: 1 1 0;
    min-width: 0;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}

.hero__footer-col > * + * {
    margin-top: 0.3rem;
}

.hero__footer-heading {
    margin: 0 0 0.2rem;
    font-family: 'Sharp Serif', Georgia, serif;
    font-size: 18px;
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero__footer-text {
    margin: 0;
    font-family: 'Sharp Serif', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.hero__footer a {
    color: var(--color-cream);
    text-decoration: none;
    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 {
        justify-content: flex-start;
        padding: 1rem;
        padding-top: 3rem;
    }

    .hero__footer {
        display: block;
        bottom: 0;
        padding: 1rem clamp(1rem, 4vw, 1.5rem) 1.25rem;
    }

    .hero__footer-col + .hero__footer-col {
        margin-top: 0.85rem;
    }

    .hero__footer-heading {
        font-size: 18px;
    }
}
