@font-face {
    font-family: "Sackers Gothic Light";
    src: url("assets/fonts/SackersGothic-Light.otf") format("opentype");
    font-display: swap;
}

:root {
    color-scheme: dark;
    --ink: #002637;
    --white: #f7f8f7;
    --display: "Bellefair", Georgia, serif;
    --body: "Cormorant Garamond", Georgia, serif;
    --small-caps: "Sackers Gothic Light", "Bellefair", Georgia, serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--ink);
    color: var(--white);
}

.landing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100svh;
    overflow: hidden;
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: clamp(20px, 6svh, 60px) 5%;
    text-align: center;
}

.brand {
    width: max(35%, 150px, 25svh);
    min-width: 0;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.frame {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    width: clamp(300px, 73%, 450px);
    min-height: 0;
    aspect-ratio: 642 / 780;
    padding: 25% 10% 8% 10%;
}

.frame-outline {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.announcement {
    align-self: start;
    margin: 0;
    font: 400 clamp(18px, 1.5vw, 20px)/1.5 var(--display);
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.announcement span {
    display: block;
}

.flourish {
    align-self: center;
    justify-self: center;
    object-fit: contain;
    width: 40px;
    filter: brightness(0) invert(1);
}

.contact {
    align-self: end;
    font: 400 clamp(16px, 1.35vw, 18px)/1.1 var(--display);
    color: rgba(255, 255, 255, 0.85);
}

.contact p {
    margin: 0 0 10px;
    font: 400 clamp(15px, 1.2vw, 18px)/1.25 var(--display);
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact a, .contact span {
    display: block;
    color: inherit;
    text-decoration: none;
    font: 400 clamp(15px, 1.2vw, 18px)/1.15 var(--body);
    letter-spacing: .055em;
}

.contact a:hover {
    text-decoration: underline;
    text-underline-offset: .15em;
}

.contact a:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 5px;
}

.emblem {
    display: block;
    height: clamp(40px, 5vh, 75px);
    width: auto;
    filter: brightness(0) invert(1);
}

.photograph {
    min-height: 100%;
    overflow: hidden;
}

.photograph img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 800px) {
    .landing {
        grid-template-columns: 1fr;
    }

    .intro {
        min-height: 100svh;
        padding: 35px 6% 30px;
        gap: 25px;
    }

    .brand {
        width: 225px;
        min-width: 0;
    }

    .brand-city {
        font-size: 17px;
    }

    .frame {
        width: min(76vw, 460px);
        padding: 18% 7% 11%;
    }

    .announcement {
        font-size: clamp(16px, 4.1vw, 25px);
    }

    .contact p {
        font-size: clamp(17px, 4vw, 23px);
        margin-bottom: 12px;
    }

    .contact a, .contact span {
        font-size: clamp(17px, 4vw, 23px);
    }

    .emblem {
        height: 50px;
    }

    .photograph {
        min-height: 65svh;
        background-position: center 55%;
    }
}

@media (max-width: 400px) {
    .intro {
        padding-inline: 4%;
    }

    .frame {
        width: 86vw;
    }

    .announcement {
        letter-spacing: .1em;
    }
}
