/* =========================================================
   FROM OUR KITCHEN
   ========================================================= */

.ingredients-section {
    position: relative;
    overflow: hidden;
    background: #f0ebe3;
    color: #211a15;
    padding: clamp(100px, 11vw, 175px) 0;
}

.ingredients-container {
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.ingredients-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: clamp(60px, 7vw, 100px);
}

.ingredients-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #a56e40;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.ingredients-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: #a56e40;
}

.ingredients-title {
    max-width: 720px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(45px, 5.4vw, 78px);
    font-weight: 400;
    line-height: .96;
    letter-spacing: -.045em;
}

.ingredients-title em {
    color: #a56e40;
    font-weight: 400;
}


/* =========================================================
   FEATURE AREA
   ========================================================= */

.ingredients-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
    gap: clamp(60px, 9vw, 145px);
    align-items: center;
}


/* =========================================================
   FEATURE IMAGE
   ========================================================= */

.ingredients-image-wrap {
    position: relative;
    height: clamp(520px, 52vw, 700px);
    overflow: hidden;
    background: #d8d0c5;
}

.ingredients-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}

.ingredients-image-wrap:hover .ingredients-image {
    transform: scale(1.035);
}

.ingredients-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(20, 14, 10, 0) 55%,
            rgba(20, 14, 10, .45) 100%
        );
    pointer-events: none;
}

.ingredients-image-label {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #f5eee4;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ingredients-image-label span:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ingredients-image-label span:first-child::after {
    content: "";
    width: 35px;
    height: 1px;
    background: rgba(245, 238, 228, .7);
}


/* =========================================================
   FEATURE CONTENT
   ========================================================= */

.ingredients-content {
    max-width: 455px;
}

.ingredients-number {
    margin-bottom: 32px;
    color: #a56e40;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.ingredients-subtitle {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(35px, 3.5vw, 53px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.035em;
}

.ingredients-text {
    margin: 28px 0 0;
    color: #71675e;
    font-size: 15px;
    line-height: 1.9;
}

.ingredients-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-top: 38px;
    padding-bottom: 11px;

    border-bottom: 1px solid rgba(33, 26, 21, .4);

    color: #211a15;
    text-decoration: none;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;

    transition:
        gap .3s ease,
        color .3s ease,
        border-color .3s ease;
}

.ingredients-button span {
    font-size: 17px;
    line-height: 1;
    transition: transform .3s ease;
}

.ingredients-button:hover {
    gap: 19px;
    color: #a56e40;
    border-color: #a56e40;
}

.ingredients-button:hover span {
    transform: translate(2px, -2px);
}


/* =========================================================
   INGREDIENT LIST
   ========================================================= */

.ingredients-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin-top: clamp(75px, 9vw, 125px);
    border-top: 1px solid rgba(33, 26, 21, .18);
}

.ingredient-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;

    min-height: 130px;
    padding: 30px 25px 20px 0;

    border-right: 1px solid rgba(33, 26, 21, .14);
}

.ingredient-item:not(:first-child) {
    padding-left: 25px;
}

.ingredient-item:last-child {
    border-right: 0;
}

.ingredient-index {
    color: #a56e40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1;
}

.ingredient-item h4 {
    margin: 0;

    color: #211a15;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 400;
}

.ingredient-item p {
    margin: 8px 0 0;

    color: #877c71;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: .02em;
}


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .ingredients-container {
        width: min(100% - 60px, 1280px);
    }

    .ingredients-heading {
        display: block;
    }

    .ingredients-title {
        margin-top: 28px;
        max-width: 700px;
    }

    .ingredients-feature {
        gap: 60px;
    }

    .ingredients-image-wrap {
        height: 570px;
    }

    .ingredients-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .ingredient-item:nth-child(2) {
        border-right: 0;
    }

    .ingredient-item:nth-child(3),
    .ingredient-item:nth-child(4) {
        border-top: 1px solid rgba(33, 26, 21, .14);
    }

    .ingredient-item:nth-child(3) {
        padding-left: 0;
    }
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .ingredients-section {
        padding: 85px 0;
    }

    .ingredients-container {
        width: calc(100% - 40px);
    }

    .ingredients-heading {
        margin-bottom: 50px;
    }

    .ingredients-kicker {
        font-size: 9px;
        letter-spacing: .17em;
    }

    .ingredients-title {
        margin-top: 22px;
        font-size: clamp(39px, 10vw, 55px);
        line-height: .98;
    }

    .ingredients-feature {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .ingredients-image-wrap {
        height: min(120vw, 540px);
    }

    .ingredients-content {
        max-width: 600px;
    }

    .ingredients-number {
        margin-bottom: 23px;
    }

    .ingredients-subtitle {
        font-size: clamp(34px, 9vw, 48px);
    }

    .ingredients-text {
        margin-top: 22px;
        font-size: 14px;
        line-height: 1.85;
    }

    .ingredients-button {
        margin-top: 30px;
    }

    .ingredients-list {
        margin-top: 65px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .ingredients-section {
        padding: 70px 0;
    }

    .ingredients-container {
        width: calc(100% - 30px);
    }

    .ingredients-heading {
        margin-bottom: 42px;
    }

    .ingredients-title {
        font-size: 38px;
    }

    .ingredients-image-wrap {
        height: 390px;
    }

    .ingredients-image-label {
        left: 18px;
        right: 18px;
        bottom: 18px;
        font-size: 7px;
        letter-spacing: .13em;
    }

    .ingredients-image-label span:first-child::after {
        width: 24px;
    }

    .ingredients-subtitle {
        font-size: 35px;
    }

    .ingredients-text {
        font-size: 13px;
    }

    .ingredients-list {
        grid-template-columns: 1fr;
        margin-top: 55px;
    }

    .ingredient-item,
    .ingredient-item:not(:first-child) {
        min-height: auto;
        padding: 23px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(33, 26, 21, .14);
    }

    .ingredient-item:first-child {
        border-top: 0;
    }

    .ingredient-item:last-child {
        border-bottom: 0;
    }

    .ingredient-item:nth-child(3),
    .ingredient-item:nth-child(4) {
        border-top: 0;
    }
}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ingredients-image,
    .ingredients-button,
    .ingredients-button span {
        transition: none;
    }
}