﻿
:root {
    --espresso: #1C170F;
    --ivory: #E2DED5;
    --sand: #C7B49D;
    --sand-hi: #E6D2B4;
    --sand-lo: #B38F66;
    --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
    --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    background: #1C170F;
    color: #E2DED5;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.photo, .wash {
    position: fixed;
    inset: 0;
    z-index: -2;
}

.photo {
    background: #1C170F url("/Images/download.jpg") 62% 38% / cover no-repeat;
}

.wash {
    z-index: -1;
    background: linear-gradient(90deg, rgba(28,23,15,.95) 0%, rgba(28,23,15,.82) 30%, rgba(28,23,15,.42) 62%, rgba(28,23,15,.16) 100%), linear-gradient(0deg, rgba(28,23,15,.80) 0%, rgba(28,23,15,0) 36%), linear-gradient(180deg, rgba(28,23,15,.55) 0%, rgba(28,23,15,0) 22%);
}

.stage {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 2rem;
    padding-block: clamp(1.5rem, 1.2vw, 4rem);
    max-width: 100%;
    margin-inline: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.logo {
    width: clamp(150px, 15.6vw, 290px);
}

    .logo svg {
        display: block;
        width: 100%;
        height: auto;
    }

.city {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin: .9rem 0 0;
    font-size: clamp(.62rem, .8vw, .78rem);
    font-weight: 400;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--ivory);
}

    .city::after {
        content: "";
        width: clamp(2rem, 4vw, 4rem);
        height: 1px;
        background: var(--sand);
    }

main {
    align-self: center;
    padding-block: 2rem;
}

.status {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 0 0 clamp(.2rem, .6vw, .6rem);
    font-size: clamp(.72rem, 1.05vw, 1rem);
    font-weight: 400;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--ivory);
}

    .status::before {
        content: "";
        width: clamp(2.4rem, 4vw, 4.2rem);
        height: 1px;
        background: var(--ivory);
    }

h1 {
    margin: 0;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(3.4rem, 9.2vw, 9.6rem);
    line-height: 1.02;
    letter-spacing: -.01em;
    color: #fff;
    white-space: nowrap;
}

    h1 span {
        background: linear-gradient(180deg, var(--sand-hi) 0%, var(--sand-lo) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.sub {
    margin: clamp(1rem, 2.2vw, 2.2rem) 0 .7rem;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    font-weight: 400;
}

.lede {
    margin: 0;
    max-width: 30rem;
    font-size: clamp(.9rem, 1.3vw, 1.2rem);
    line-height: 1.75;
    color: rgba(226,222,213,.9);
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.8rem 3rem;
}

.contact {
    display: flex;
    flex-wrap: wrap;
}

.item {
    display: grid;
    align-content: start;
    gap: .85rem;
    padding-right: clamp(1.5rem, 3vw, 3.4rem);
}

    .item + .item {
        padding-left: clamp(1.5rem, 3vw, 3.4rem);
        border-left: 1px solid rgba(199,180,157,.45);
    }

    .item svg {
        width: 1.7rem;
        height: 1.7rem;
        stroke: var(--sand);
        fill: none;
        stroke-width: 1.4;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .item small {
        display: block;
        margin-bottom: .2rem;
        font-size: .66rem;
        font-weight: 500;
        letter-spacing: .3em;
        text-transform: uppercase;
    }

    .item div {
        font-size: clamp(.82rem, 1vw, .95rem);
        line-height: 1.55;
        letter-spacing: .02em;
    }

    .item a {
        color: inherit;
        text-decoration: none;
    }

        .item a:hover, .item a:focus-visible {
            text-decoration: underline;
            text-underline-offset: 4px;
            outline: none;
        }

.social {
    display: flex;
    align-items: center;
    gap: 0;
    padding-bottom: .4rem;
}

    .social a {
        display: grid;
        place-items: center;
        padding: 0 1.1rem;
        color: var(--sand);
    }

        .social a + a {
            border-left: 1px solid rgba(199,180,157,.45);
        }

    .social svg {
        width: 1.6rem;
        height: 1.6rem;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

        .social svg .f {
            fill: currentColor;
            stroke: none;
        }

    .social a:hover, .social a:focus-visible {
        color: var(--sand-hi);
        outline: none;
    }

.in {
    animation: rise 1s cubic-bezier(.2,.7,.2,1) both;
}

.d1 {
    animation-delay: .05s;
}

.d2 {
    animation-delay: .25s;
}

.d3 {
    animation-delay: .45s;
}

.d4 {
    animation-delay: .65s;
}

.d5 {
    animation-delay: .85s;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 720px) {
    .wash {
        background: linear-gradient(0deg, rgba(28,23,15,.96) 0%, rgba(28,23,15,.78) 55%, rgba(28,23,15,.55) 100%);
    }

    .photo {
        background-position: 70% 30%;
    }

    .city {
        display: none;
    }

    h1 {
        font-size: clamp(2.8rem, 15.5vw, 5rem);
    }

    .contact {
        flex-direction: column;
        gap: 1.4rem;
    }

    .item, .item + .item {
        padding: 0;
        border: 0;
        grid-template-columns: auto 1fr;
        column-gap: 1rem;
        align-items: start;
    }

        .item svg {
            grid-row: span 2;
        }

    footer {
        align-items: flex-start;
    }

    .social a:first-child {
        padding-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .in {
        animation: none;
    }
}
