:root {
    --navy: #27485D;
    --sea: #5b6b62;
    --paper: #F9F8F5;
    --text: #8AA7AA;
}


/* --------------------------------------------------
   RESET
-------------------------------------------------- */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}


/* --------------------------------------------------
   BODY
-------------------------------------------------- */

body {
    min-height: 100vh;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    font-family: "avenir-lt-pro", sans-serif;
    color: var(--paper);

    background:
        linear-gradient(
            rgba(18, 31, 40, 0.45),
            rgba(18, 31, 40, 0.55)
        ),
        url("../assets/img/hero.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* --------------------------------------------------
   BACKGROUND
-------------------------------------------------- */

.bg {
    position: fixed;
    inset: 0;

    background:
        url("../img/harbour-window-cleaning-st-ives-cornwall.jpg")
        center / cover no-repeat;

    opacity: 0.75;

    z-index: -1;
}


/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.hero {
    width: 100%;
    max-width: 760px;
    min-height: 100vh;

    margin: 0;
    padding: 2rem;

    display: flex;
    align-items: center;

    text-align: center;

    background: var(--sea);
    color: var(--paper);
}


/* --------------------------------------------------
   HERO CONTENT
-------------------------------------------------- */

.hero-content {
    width: 100%;
}


/* --------------------------------------------------
   EYEBROW
-------------------------------------------------- */

.eyebrow {
    margin: 0 0 1.25rem;

    letter-spacing: 0.3em;
    font-size: 0.75rem;

    color: var(--paper);
}


/* --------------------------------------------------
   LOGO
-------------------------------------------------- */

.logo {
    display: block;

    width: 300px;
    max-width: 80%;
    height: auto;

    margin: 0 auto;
}


/* --------------------------------------------------
   HEADINGS
-------------------------------------------------- */

h1 {
    margin: 5rem 0 0.5rem;

    font-family: "the-seasons", serif;
    font-weight: 400;

    color: var(--paper);

    font-size: clamp(3rem, 10vw, 5.8rem);
    line-height: 0.95;
}

h1 span {
    font-size: 0.75em;
}

h2 {
    margin-top: 0;

    font-family: "avenir-lt-pro", sans-serif;
    font-weight: 700;
    font-style: normal;

    text-transform: uppercase;
    letter-spacing: 4px;
}


/* --------------------------------------------------
   STRAPLINE
-------------------------------------------------- */

.strap {
    margin: 1.5rem 0 0;

    font-size: 1.35rem;
    line-height: 1.4;
}


/* --------------------------------------------------
   INTRO
-------------------------------------------------- */

.intro {
    max-width: 42rem;

    margin: 1.5rem auto;

    color: var(--paper);

    line-height: 1.6;
}


/* --------------------------------------------------
   ACTION BUTTONS
-------------------------------------------------- */

.actions {
    display: flex;

    gap: 1rem;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    margin: 2rem 0;
}

.btn {
    display: inline-block;

    padding: 0.9rem 1.6rem;

    border: 1px solid var(--paper);
    border-radius: 999px;

    color: var(--paper);
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    background: var(--paper);
    color: var(--navy);

    transform: translateY(-2px);
}

.primary {
    background: var(--paper);
    color: var(--navy);
}


/* --------------------------------------------------
   COMING SOON MESSAGE
-------------------------------------------------- */

.soon {
    margin: 2rem 0 0;

    opacity: 0.7;

    font-style: italic;
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

footer {
    margin-top: 2rem;
    padding-top: 1.5rem;

    text-align: center;

    font-size: 0.9rem;

    border-top: 1px solid rgba(249, 248, 245, 0.4);
}


/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */

@media (max-width: 600px) {

    body {
        align-items: flex-start;
        padding: 0;
    }

    .hero {
        min-height: 100vh;
        padding: 1.5rem;
    }

    .logo {
        width: 260px;
    }

    .strap {
        font-size: 1.15rem;
    }

    .intro {
        font-size: 0.95rem;
    }

    .actions {
        margin: 1.5rem 0;
    }

    .btn {
        padding: 0.8rem 1.4rem;
    }

    footer {
        font-size: 0.8rem;
    }
}


/* --------------------------------------------------
   SHORT SCREENS
-------------------------------------------------- */

@media (max-height: 700px) {

    .hero {
        align-items: flex-start;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    h1 {
        margin-top: 2rem;
    }
}