/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;

    background: #F3EFE6;
    color: #111111;

    font-family: "Manrope", sans-serif;
    font-weight: 400;

    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}


/* VARIABLES */

:root {
    --cream: #F3EFE6;
    --green: #17251D;
    --terracotta: #A84A32;
    --beige: #D9D0C0;
    --black: #111111;

    --serif: "DM Serif Display", serif;
    --sans: "Manrope", sans-serif;

    --grid-columns: 12;
    --grid-gap: 20px;
    --grid-margin: 32px;
}

.site-wrapper {
    width: 100%;
    margin: 0 auto;
    container-type: inline-size;
}


/* GRID */

.header,
.hero,
.intro,
.feature,
.statement,
.image-statement,
.locale,
.wine,
.gallery,
.contact,
.footer {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);

    padding-left: var(--grid-margin);
    padding-right: var(--grid-margin);
}


/* TYPOGRAPHY */

h1,
h2 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.035em;
}

.eyebrow,
.contact-label {
    font-family: var(--sans);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* BACK TO TOP */

.back-to-top {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    background: transparent;
    color: #fff;

    font-family: var(--sans);
    font-size: 28px;
    line-height: 1;
    font-weight: 400;

    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        color 0.2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    color: var(--terracotta);
}

/* HEADER */

.header {
    position: relative;
    z-index: 10;

    width: 100%;
    height: 82px;

    align-items: center;

    background: var(--cream);
}

.logo {
    grid-column: 1 / 4;

    font-family: var(--serif);
    font-size: 25px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.nav {
    grid-column: 5 / 9;

    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a,
.menu-link {
    font-size: 16px;
    font-weight: 600;

    transition: opacity 0.2s ease;
}

.nav a:hover,
.menu-link:hover {
    opacity: 0.5;
}

.header-actions {
    grid-column: 10 / 13;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.header-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 115px;
    height: 40px;

    padding: 0 20px;

    background: var(--green);
    color: var(--cream);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.06em;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.header-button:hover {
    background: var(--terracotta);
}


/* HERO */

.hero {
    min-height: 650px;

    padding-top: 30px;
    padding-bottom: 30px;

    background: var(--green);
}

.hero-image {
    grid-column: 1 / 8;
    grid-row: 1;

    height: 770px;
}

.hero-content {
    grid-column: 8 / 13;
    grid-row: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-left: 7%;
    padding-right: 5%;

    color: var(--cream);
}

.hero-content .eyebrow {
    margin-bottom: 42px;
}

.hero h1 {
    font-size: clamp(70px, 8cqw, 125px);
    line-height: 0.82;

    margin-left: -5px;
    margin-bottom: 42px;
}

.hero-text {
    max-width: 350px;

    font-size: 15px;
    line-height: 1.65;

    margin-bottom: 38px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    width: fit-content;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.06em;

    border-bottom: 1px solid currentColor;

    padding-bottom: 7px;
}

.text-link span {
    font-size: 18px;
    line-height: 0;
}


/* INTRO */

.intro {
    min-height: 620px;

    padding-top: 120px;
    padding-bottom: 120px;

    background: var(--green);
    color: var(--cream);

    align-items: center;
}

.intro-content {
    grid-column: 1 / 10;
}

.intro-content .eyebrow {
    margin-bottom: 40px;
}

.intro h2 {
    font-size: clamp(55px, 6cqw, 92px);
    line-height: 0.9;

    margin-bottom: 55px;
}

.intro-content > p:not(.eyebrow) {
    max-width: 570px;

    font-size: 15px;
    line-height: 1.8;

    margin-bottom: 22px;
}


/* FEATURE */

.feature {
    min-height: 720px;

    padding-top: 100px;
    padding-bottom: 100px;

    align-items: center;
}

.feature-left {
    background: var(--cream);
}

.feature-right {
    background: var(--beige);
}

.feature-image {
    height: 520px;
}

.feature-left .feature-image {
    grid-column: 1 / 7;
    grid-row: 1;

    align-self: center;
}

.feature-left .feature-content {
    grid-column: 8 / 12;
    grid-row: 1;

    align-self: center;
}

.feature-right .feature-image {
    grid-column: 7 / 13;
    grid-row: 1;

    align-self: center;
}

.feature-right .feature-content {
    grid-column: 2 / 6;
    grid-row: 1;

    align-self: center;
}

.feature-content {
    align-self: center;
}

.feature .eyebrow {
    margin-bottom: 30px;
}

.feature h2 {
    font-size: clamp(60px, 6cqw, 95px);
    line-height: 0.85;

    margin-bottom: 45px;
}

.feature-content > p:not(.eyebrow) {
    max-width: 440px;

    font-size: 14px;
    line-height: 1.8;

    margin-bottom: 22px;
}


/* IL LOCALE */

.locale {
    background: var(--green);
    color: var(--cream);

    align-items: center;
}

.locale .feature-content {
    grid-column: 2 / 6;
    grid-row: 1;

    align-self: center;
}

.locale .feature-image {
    grid-column: 7 / 13;
    grid-row: 1;

    height: 520px;

    align-self: center;
}


/* STATEMENT */

.statement {
    min-height: 650px;

    padding-top: 100px;
    padding-bottom: 100px;

    background: var(--terracotta);
    color: var(--cream);

    align-content: center;
}

.statement .eyebrow {
    grid-column: 1 / 13;
    grid-row: 1;

    width: 100%;
    max-width: 900px;

    margin: 0 auto 45px auto;

    text-align: left;
}

.statement h2 {
    grid-column: 1 / 13;
    grid-row: 2;

    display: flex;
    align-items: baseline;
    justify-content: center;

    gap: 25px;

    width: 100%;

    font-size: clamp(150px, 18cqw, 290px);
    line-height: 0.75;

    margin: 0 0 60px 0;
}

.statement h2 span {
    font-size: clamp(90px, 10cqw, 160px);
    line-height: 0.8;

    letter-spacing: -0.04em;
}

.statement > p:last-child {
    grid-column: 1 / 13;
    grid-row: 3;

    width: 100%;
    max-width: 700px;

    margin: 0 auto;

    font-size: 24px;
    line-height: 1.8;

    text-align: center;
}


/* IMAGE STATEMENT */

.image-statement {
    min-height: 700px;

    padding-top: 100px;
    padding-bottom: 100px;

    background: var(--cream);

    align-items: center;
}

.image-statement-image {
    grid-column: 1 / 8;

    height: 500px;

    align-self: center;
}

.image-statement-content {
    grid-column: 9 / 13;

    align-self: center;
}

.image-statement-content .eyebrow {
    margin-bottom: 35px;
}

.image-statement-content h2 {
    font-size: clamp(55px, 6cqw, 90px);
    line-height: 0.87;

    margin-bottom: 45px;
}

.image-statement-content p:not(.eyebrow) {
    max-width: 410px;

    font-size: 14px;
    line-height: 1.8;

    margin-bottom: 22px;
}


/* WINE */

.wine {
    min-height: 650px;

    padding-top: 100px;
    padding-bottom: 100px;

    background: var(--beige);

    align-items: center;
}

.wine-image {
    grid-column: 1 / 7;
    grid-row: 1;

    height: 500px;

    align-self: center;
}

.wine-content {
    grid-column: 8 / 12;
    grid-row: 1;

    align-self: center;
}

.wine-content .eyebrow {
    margin-bottom: 40px;
}

.wine h2 {
    font-size: clamp(70px, 8cqw, 120px);
    line-height: 0.82;

    margin-bottom: 50px;
}

.wine-content > p {
    max-width: 420px;

    font-size: 14px;
    line-height: 1.8;

    margin-bottom: 50px;
}

.wine-list {
    display: flex;
    flex-wrap: wrap;

    gap: 10px 30px;
}

.wine-list span {
    font-family: var(--serif);
    font-size: 23px;
}


/* GALLERY */

.gallery {
    display: block;

    padding-top: 80px;
    padding-bottom: 100px;

    background: var(--cream);
}

.gallery-header {
    display: grid;

    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);

    margin-bottom: 70px;
}

.gallery-header > div {
    grid-column: 1 / 7;
}

.gallery-header .eyebrow {
    margin-bottom: 35px;
}

.gallery-header h2 {
    font-size: clamp(70px, 8cqw, 120px);
    line-height: 0.8;
}

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, 360px);

    gap: var(--grid-gap);
}

.gallery-item {
    width: 100%;
    height: 100%;

    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}


/* CONTACT */

.contact {
    min-height: 700px;

    padding-top: 120px;
    padding-bottom: 120px;

    background: var(--cream);

    align-content: center;
}

.contact-content {
    grid-column: 2 / 13;
}

.contact-content .eyebrow {
    margin-bottom: 40px;
}

.contact h2 {
    font-family: var(--serif);

    font-size: clamp(75px, 9cqw, 135px);
    font-weight: 400;

    line-height: 0.82;
    letter-spacing: -0.04em;

    margin-bottom: 80px;
}

.contact-details {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 60px;

    margin-bottom: 60px;
}

.contact-label {
    margin-bottom: 15px;
}

.contact-details p:not(.contact-label) {
    font-size: 15px;
    line-height: 1.8;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 190px;
    height: 50px;

    padding: 0 25px;

    background: var(--green);
    color: var(--cream);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.06em;

    transition: background 0.2s ease;
}

.contact-button:hover {
    background: var(--terracotta);
}


/* FOOTER */

.footer {
    min-height: 180px;

    padding-top: 20px;
    padding-bottom: 45px;

    background: var(--green);
    color: var(--cream);

    align-items: end;
}

.footer-logo {
    grid-column: 1 / 4;

    font-family: var(--serif);
    font-size: 32px;
    line-height: 1;
}

.footer-info {
    grid-column: 5 / 8;

    font-size: 13px;
    line-height: 1.7;
}

.footer-legal {
    grid-column: 8 / 11;

    font-size: 12px;
    line-height: 1.7;

    opacity: 0.75;
}

.footer-copy {
    grid-column: 11 / 13;

    font-size: 9px;
    line-height: 1.6;

    text-align: right;

    opacity: 0.65;
}


/* TABLET */

@media (max-width: 900px) {

    :root {
        --grid-margin: 24px;
        --grid-gap: 16px;
    }

    .nav {
        display: none;
    }

    .logo {
        grid-column: 1 / 7;
    }

    .header-actions {
        grid-column: 8 / 13;
    }

    .hero-image {
        grid-column: 1 / 8;
    }

    .hero-content {
        grid-column: 8 / 13;

        padding-left: 25px;
    }

    .hero h1 {
        font-size: 75px;
    }

    .intro-content {
        grid-column: 2 / 11;
    }

    .feature-left .feature-image {
        grid-column: 1 / 7;
    }

    .feature-left .feature-content {
        grid-column: 8 / 13;
    }

    .feature-right .feature-content {
        grid-column: 1 / 6;
    }

    .feature-right .feature-image {
        grid-column: 7 / 13;
    }

    .locale .feature-content {
        grid-column: 1 / 6;
    }

    .locale .feature-image {
        grid-column: 7 / 13;
    }

    .statement .eyebrow {
        max-width: 650px;
    }

    .statement h2 {
        font-size: clamp(110px, 15vw, 190px);
    }

    .statement h2 span {
        font-size: clamp(55px, 7vw, 90px);
    }

    .image-statement-image {
        grid-column: 1 / 8;
    }

    .image-statement-content {
        grid-column: 9 / 13;
    }

    .wine-image {
        grid-column: 1 / 7;
    }

    .wine-content {
        grid-column: 8 / 13;
    }

    .contact-content {
        grid-column: 2 / 13;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    :root {
        --grid-margin: 18px;
        --grid-gap: 12px;
    }


    /* HEADER */

    .header {
        height: 70px;
    }

    .logo {
        grid-column: 1 / 7;
        font-size: 22px;
    }

    .header-actions {
        grid-column: 8 / 13;
        gap: 12px;
    }

    .menu-link {
        display: none;
    }

    .header-button {
        min-width: 100px;
        height: 36px;
    }


    /* BACK TO TOP */

    .back-to-top {
        top: 15px;
        right: 15px;

        width: 40px;
        height: 40px;
    }


    /* HERO */

    .hero {
        display: block;

        padding: 0;
    }

    .hero-image {
        width: 100%;
        height: 55vh;
    }

    .hero-content {
        width: 100%;
        min-height: 500px;

        padding: 70px var(--grid-margin);
    }

    .hero h1 {
        font-size: clamp(70px, 20vw, 105px);
    }


    /* INTRO */

    .intro {
        min-height: auto;

        display: block;

        padding-top: 80px;
        padding-bottom: 90px;
    }

    .intro-content {
        width: 100%;
    }

    .intro h2 {
        font-size: 58px;
    }


    /* FEATURE */

    .feature,
    .locale {
        display: flex;
        flex-direction: column;

        padding: 0;
    }

    .feature-image,
    .feature-left .feature-image,
    .feature-right .feature-image,
    .locale .feature-image {
        width: 100%;
        height: 430px;

        order: 1;
    }

    .feature-content,
    .feature-left .feature-content,
    .feature-right .feature-content,
    .locale .feature-content {
        width: 100%;

        padding: 75px var(--grid-margin);

        order: 2;
    }

    .feature h2 {
        font-size: 65px;
    }


    /* STATEMENT */

    .statement {
        display: block;

        min-height: 570px;

        padding: 90px var(--grid-margin);
    }

    .statement .eyebrow {
        width: 100%;
        max-width: 100%;

        margin-bottom: 55px;

        text-align: left;
    }

    .statement h2 {
        display: flex;
        align-items: baseline;
        justify-content: center;

        gap: 10px;

        width: 100%;

        font-size: 100px;
        line-height: 0.75;

        margin: 0 0 55px 0;
    }

    .statement h2 span {
        font-size: 55px;
        line-height: 0.8;
    }

    .statement > p:last-child {
        width: 100%;
        max-width: 400px;

        margin: 0 auto;

        text-align: center;
    }


    /* IMAGE STATEMENT */

    .image-statement {
        display: flex;
        flex-direction: column;

        padding: 0;
    }

    .image-statement-image {
        width: 100%;
        height: 400px;

        order: 1;
    }

    .image-statement-content {
        width: 100%;

        padding: 75px var(--grid-margin);

        order: 2;
    }

    .image-statement-content h2 {
        font-size: 65px;
    }


    /* WINE */

    .wine {
        display: flex;
        flex-direction: column;

        min-height: auto;

        padding: 0;
    }

    .wine-image {
        width: 100%;
        height: 400px;

        order: 1;
    }

    .wine-content {
        width: 100%;

        padding: 75px var(--grid-margin);

        order: 2;
    }

    .wine h2 {
        font-size: 70px;
    }

    .wine-list {
        display: block;
    }

    .wine-list span {
        display: block;

        font-size: 28px;

        margin-bottom: 12px;
    }


    /* GALLERY */

    .gallery {
        padding: 80px var(--grid-margin) 100px;
    }

    .gallery-header {
        display: block;

        margin-bottom: 50px;
    }

    .gallery-header h2 {
        font-size: 75px;
    }

    .gallery-grid {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;

        gap: 12px;
    }

    .gallery-item {
        height: 220px;
    }


    /* CONTACT */

    .contact {
        display: block;

        min-height: auto;

        padding: 60px var(--grid-margin) 70px;
    }

    .contact-content {
        width: 100%;
    }

    .contact-content .eyebrow {
        margin-bottom: 25px;
    }

    .contact h2 {
        font-size: 65px;

        margin-bottom: 40px;
    }

    .contact-details {
        display: block;

        margin-bottom: 35px;
    }

    .contact-details > div {
        margin-bottom: 25px;
    }

    .contact-details p:not(.contact-label) {
        font-size: 15px;
        line-height: 1.6;
    }

    .contact-details p:not(.contact-label) {
        line-height: 1.6;
    }

    .contact-button {
        height: 48px;
    }


    /* FOOTER */

    .footer {
        display: block;

        min-height: auto;

        padding: 50px var(--grid-margin);
    }

    .footer-logo {
        margin-bottom: 35px;
    }

    .footer-info {
        margin-bottom: 30px;
    }

    .footer-legal {
        margin-bottom: 30px;
    }

    .footer-copy {
        text-align: left;
    }
}