@font-face {
    font-family: "Inter";
    src: url("/sherwood/fonts/inter/Inter-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/sherwood/fonts/inter/Inter-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/sherwood/fonts/inter/Inter-Black.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/sherwood/fonts/montserrat/Montserrat-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Crafty Girls";
    src: url("/font/CraftyGirls-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --coming-ink: #183126;
    --coming-paper: #f5f0e7;
    --coming-green: #657943;
    --coming-orange: #f4a51c;
    --coming-white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--coming-paper);
}

body {
    margin: 0;
    color: var(--coming-white);
    background: var(--coming-paper);
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.coming__hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
}

.coming__image,
.coming__shade {
    position: absolute;
    inset: 0;
}

.coming__image {
    z-index: -3;
    background: url("/sherwood/img/scuolallegra-home-hero.png") center 42% / cover no-repeat;
    transform: scale(1.01);
}

.coming__shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(9, 24, 18, .94) 0%, rgba(9, 24, 18, .78) 45%, rgba(9, 24, 18, .26) 78%, rgba(9, 24, 18, .18) 100%),
        linear-gradient(0deg, rgba(9, 24, 18, .74) 0%, transparent 44%);
}

.coming__shell {
    width: min(100% - 48px, 1240px);
    min-height: 100svh;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.coming__header,
.coming__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.coming__header {
    padding: 30px 0;
}

.coming__brand {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    line-height: 1;
}

.coming__brand span {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -.06em;
}

.coming__brand strong {
    color: var(--coming-orange);
    font-family: "Crafty Girls", cursive;
    font-size: clamp(2.15rem, 4.3vw, 3.25rem);
    font-weight: 400;
}

.coming__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.coming__contact:hover,
.coming__contact:focus-visible {
    border-color: var(--coming-white);
    background: var(--coming-white);
    color: var(--coming-ink);
    transform: translateY(-1px);
}

.coming__contact:focus-visible {
    outline: 3px solid var(--coming-orange);
    outline-offset: 3px;
}

.coming__content {
    width: min(760px, 100%);
    align-self: center;
    padding: 54px 0 64px;
}

.coming__eyebrow {
    margin: 0 0 18px;
    color: #f7c867;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.coming h1 {
    max-width: 740px;
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: .98;
    text-wrap: balance;
}

.coming__lead {
    max-width: 670px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.6;
}

.coming__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
}

.coming__features article {
    min-height: 150px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
}

.coming__features article > span {
    display: block;
    margin-bottom: 18px;
    color: #f7c867;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
}

.coming__features h2 {
    margin: 0 0 7px;
    font-size: 1.05rem;
}

.coming__features p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: .86rem;
    line-height: 1.5;
}

.coming__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.coming__contact--primary {
    border-color: var(--coming-orange);
    background: var(--coming-orange);
    color: #1c251d;
}

.coming__actions > p {
    max-width: 270px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: .78rem;
    line-height: 1.45;
}

.coming__footer {
    padding: 24px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .62);
    font-size: .78rem;
}

.coming__footer p {
    margin: 0;
}

@media (max-width: 760px) {
    .coming__image {
        background-position: 61% center;
    }

    .coming__shade {
        background: linear-gradient(180deg, rgba(9, 24, 18, .58) 0%, rgba(9, 24, 18, .88) 47%, rgba(9, 24, 18, .98) 100%);
    }

    .coming__shell {
        width: min(100% - 36px, 600px);
    }

    .coming__header {
        padding: 24px 0;
    }

    .coming__contact--desktop {
        display: none;
    }

    .coming__content {
        align-self: end;
        padding: 72px 0 42px;
    }

    .coming h1 {
        font-size: clamp(2.65rem, 13vw, 4.25rem);
    }

    .coming__lead {
        margin-top: 22px;
        font-size: 1rem;
    }

    .coming__features {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 28px;
    }

    .coming__features article {
        display: grid;
        grid-template-columns: 30px 1fr;
        gap: 12px;
        min-height: 0;
        padding: 15px 16px;
        border-radius: 15px;
    }

    .coming__features article > span {
        margin: 3px 0 0;
    }

    .coming__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .coming__contact--primary {
        width: 100%;
        text-align: center;
    }

    .coming__actions > p {
        max-width: none;
        text-align: center;
    }

    .coming__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding-bottom: 22px;
    }
}

@media (max-height: 760px) and (min-width: 761px) {
    .coming__content {
        padding: 30px 0 36px;
    }

    .coming__features {
        margin-top: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .coming__contact {
        transition: none;
    }
}
