﻿
/* =========================================================
   STREGA
   THE HOUSE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.house-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--strega-paper);
    background: url("/images/the-house/the-house-hero.webp") center center / cover no-repeat;
}


.house-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(20, 13, 9, 0.86) 0%, rgba(20, 13, 9, 0.54) 50%, rgba(20, 13, 9, 0.12) 100% );
}


.house-hero__inner {
    position: relative;
    z-index: 2;
    width: min( calc(100% - 3rem), var(--content-width) );
    margin: 0 auto;
    padding-bottom: 6rem;
}


.house-hero__title {
    max-width: 1050px;
    margin: 1rem 0 0;
    font-size: clamp( 3.8rem, 7vw, 7rem );
    font-weight: 400;
    line-height: 0.95;
}


.house-hero__intro {
    max-width: 600px;
    margin: 2rem 0 0;
    font-size: clamp( 1.15rem, 1.5vw, 1.4rem );
    line-height: 1.6;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.house-introduction {
    padding: 8rem 0;
    background: var(--strega-paper);
}


.house-introduction__inner {
    width: min( calc(100% - 3rem), 1120px );
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp( 4rem, 9vw, 10rem );
}


.house-introduction__heading h2 {
    max-width: 430px;
    margin: 0.6rem 0 0;
    font-size: clamp( 2.7rem, 4.5vw, 4.8rem );
    font-weight: 400;
    line-height: 0.98;
}


.house-introduction__copy {
    max-width: 600px;
    font-size: 1.05rem;
    line-height: 1.7;
}


    .house-introduction__copy p {
        margin-top: 0;
        margin-bottom: 1.4rem;
    }


.house-introduction__lead {
    font-size: 1.4rem;
    line-height: 1.45;
}


/* =========================================================
   PLACE
========================================================= */

.house-place {
    min-height: 680px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: var(--strega-cream);
}


.house-place__image {
    min-height: 680px;
    display: flex;
}


.house-place__content {
    padding: clamp(4rem, 7vw, 8rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}


    .house-place__content h2,
    .house-mare__content h2 {
        max-width: 550px;
        margin: 0.65rem 0 1.75rem;
        font-size: clamp( 2.8rem, 4.5vw, 5rem );
        font-weight: 400;
        line-height: 0.98;
    }


    .house-place__content p,
    .house-mare__content p {
        max-width: 520px;
        line-height: 1.7;
    }


.house-section-lead {
    font-size: 1.2rem;
}


/* =========================================================
   IMAGE PLACEHOLDERS
========================================================= */

.house-image-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.48);
    background: linear-gradient( 145deg, #505a47, #283528 );
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.house-image-placeholder--dark {
    background: linear-gradient( 145deg, #493225, #1f1712 );
}


/* =========================================================
   TEXT LINKS
========================================================= */

.text-link {
    position: relative;
    width: fit-content;
    margin-top: 1.5rem;
    padding-bottom: 0.35rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


    .text-link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: currentColor;
        transform-origin: left;
        transition: transform 180ms ease;
    }


    .text-link:hover::after {
        transform: scaleX(0.45);
    }


.text-link--light {
    color: var(--strega-paper);
}


/* =========================================================
   MARE
========================================================= */

.house-mare {
    min-height: 680px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    color: var(--strega-paper);
    background: var(--strega-brown-deep);
}


.house-mare__content {
    padding: clamp(4rem, 7vw, 8rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.house-mare__image {
    min-height: 680px;
    display: flex;
}

/* =========================================================
   STREGA MARE PHOTOGRAPH
========================================================= */

.house-mare__image {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

    .house-mare__image img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 680px;
        object-fit: cover;
        object-position: 65% center;
    }

/* TABLET */

@media (max-width: 980px) {

    .house-mare__image img {
        min-height: 500px;
        object-position: center 45%;
    }
}

/* MOBILE */

@media (max-width: 640px) {

    .house-mare__image img {
        min-height: 380px;
        object-position: center 40%;
    }
}


/* =========================================================
   KEEPING
========================================================= */

.house-keeping {
    padding: 9rem 0;
    background: var(--strega-paper);
}


.house-keeping__inner {
    width: min( calc(100% - 3rem), 1200px );
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: clamp( 4rem, 8vw, 9rem );
}


.house-keeping__heading {
    max-width: 360px;
}


    .house-keeping__heading h2 {
        margin: 0.6rem 0 1.5rem;
        font-size: clamp( 2.8rem, 4.5vw, 4.8rem );
        font-weight: 400;
        line-height: 0.98;
    }


    .house-keeping__heading p {
        max-width: 320px;
        line-height: 1.65;
        opacity: 0.7;
    }


.house-keeping__rules {
    border-top: 1px solid var(--strega-line);
}


    .house-keeping__rules article {
        display: grid;
        grid-template-columns: 45px minmax(160px, 0.8fr) minmax(0, 1.2fr);
        gap: 2rem;
        padding: 2rem 0;
        border-bottom: 1px solid var(--strega-line);
    }


        .house-keeping__rules article > span {
            padding-top: 0.2rem;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 0.68rem;
            opacity: 0.48;
        }


    .house-keeping__rules h3 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 400;
        line-height: 1.25;
    }


    .house-keeping__rules p {
        margin: 0;
        font-size: 0.96rem;
        line-height: 1.6;
    }


/* =========================================================
   THINGS FROM THE HOUSE
========================================================= */

.house-objects {
    padding: 9rem 0;
    background: var(--strega-cream);
}


.house-objects__header {
    width: min( calc(100% - 3rem), 1200px );
    margin: 0 auto 4rem;
}


    .house-objects__header h2 {
        max-width: 720px;
        margin: 0.6rem 0 1.5rem;
        font-size: clamp( 2.8rem, 5vw, 5rem );
        font-weight: 400;
        line-height: 0.98;
    }


    .house-objects__header p {
        max-width: 650px;
        margin: 0;
        font-size: 1.1rem;
        line-height: 1.65;
    }


.house-objects__grid {
    width: min( calc(100% - 3rem), 1400px );
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}


.house-object-card__image {
    aspect-ratio: 4 / 5;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.52);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.house-object-card__image--chocolate {
    background: linear-gradient( 145deg, #624839, #302018 );
}


.house-object-card__image--table {
    background: linear-gradient( 145deg, #655c47, #332b20 );
}


.house-object-card__image--keeping {
    color: rgba(37, 29, 23, 0.46);
    background: linear-gradient( 145deg, #ddd2c2, #b7aa96 );
}


.house-object-card .eyebrow {
    margin-bottom: 0.4rem;
}


.house-object-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.55rem;
    font-weight: 400;
}


.house-object-card p {
    max-width: 380px;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    opacity: 0.72;
}


/* =========================================================
   CLOSING
========================================================= */

.house-closing {
    padding: 9rem 0;
    color: var(--strega-paper);
    background: var(--strega-green-deep);
}


.house-closing__inner {
    width: min( calc(100% - 3rem), 1000px );
    margin: 0 auto;
    text-align: center;
}


.house-closing blockquote {
    max-width: 900px;
    margin: 2rem auto 1.5rem;
    font-size: clamp( 2.2rem, 4.5vw, 4.3rem );
    font-weight: 400;
    line-height: 1.05;
}


.house-closing__copy {
    margin: 0 auto 3rem;
    font-size: 1rem;
    opacity: 0.65;
}


.house-closing__links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

    .house-hero {
        min-height: 620px;
    }


    .house-introduction__inner,
    .house-keeping__inner {
        grid-template-columns: 1fr;
    }


    .house-place,
    .house-mare {
        grid-template-columns: 1fr;
    }


    .house-place__image,
    .house-mare__image {
        min-height: 500px;
    }


    .house-mare__content {
        order: 2;
    }


    .house-mare__image {
        order: 1;
    }


    .house-objects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .house-hero {
        min-height: 560px;
    }


    .house-hero__inner {
        width: calc(100% - 2rem);
        padding-bottom: 4rem;
    }


    .house-hero__title {
        font-size: clamp( 3.2rem, 15vw, 4.8rem );
    }


    .house-introduction,
    .house-keeping,
    .house-objects {
        padding: 5rem 0;
    }


    .house-introduction__inner,
    .house-keeping__inner,
    .house-objects__header,
    .house-objects__grid,
    .house-closing__inner {
        width: calc(100% - 2rem);
    }


    .house-place__content,
    .house-mare__content {
        padding: 4rem 1rem;
    }


    .house-place__image,
    .house-mare__image {
        min-height: 380px;
    }


    .house-keeping__rules article {
        grid-template-columns: 30px 1fr;
        gap: 1rem;
    }


        .house-keeping__rules article p {
            grid-column: 2;
        }


    .house-objects__grid {
        grid-template-columns: 1fr;
    }


    .house-closing {
        padding: 6rem 0;
    }


    .house-closing__links {
        flex-direction: column;
        align-items: stretch;
    }
}
