/*
Theme Name: Just Tamy
Author: Just Tamy
Description: Minimal fine dining portfolio and recipe theme.
Version: 2.5.14
Text Domain: just-tamy
*/


/* =================================================
   RESET / GLOBAL
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #111;
}

body,
body.custom-background {
    margin: 0;

    background: #111 !important;
    background-color: #111 !important;

    color: #eee;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;
}

img {
    display: block;

    max-width: 100%;

    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =================================================
   HEADER
================================================== */

.site-header {
    position: absolute;

    z-index: 100;

    top: 0;
    left: 0;

    width: 100%;

    color: #fff;
}

.site-header-inner {
    display: flex;

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

    width:
        min(
            1700px,
            calc(100% - 80px)
        );

    margin: 0 auto;

    padding: 32px 0;
}

.site-logo {
    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.primary-menu {
    display: flex;

    gap: 32px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.primary-menu a {
    position: relative;

    font-size: 13px;

    letter-spacing: 0.08em;
}

.primary-menu a::after {
    position: absolute;

    bottom: -5px;
    left: 0;

    width: 0;
    height: 1px;

    background: currentColor;

    content: "";

    transition:
        width 0.3s ease;
}

.primary-menu a:hover::after {
    width: 100%;
}


/* =================================================
   HOME HERO
================================================== */

.hero {
    position: relative;

    display: flex;

    min-height: 100vh;

    align-items: flex-end;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    color: #fff;
}

.hero-content {
    position: relative;

    z-index: 2;

    width:
        min(
            1700px,
            calc(100% - 80px)
        );

    margin: 0 auto;

    padding-bottom: 90px;
}

.hero-eyebrow,
.section-eyebrow,
.recipe-label,
.work-hero-label,
.recipe-hero-label {
    margin: 0 0 6px;

    font-size: 11px;

    letter-spacing: 0.2em;

    text-transform: uppercase;
}

.hero-title {
    max-width: 1100px;

    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            64px,
            11vw,
            170px
        );

    font-weight: 400;

    line-height: 0.9;

    letter-spacing: -0.05em;
}

.hero-subtitle {
    max-width: 580px;

    margin: 24px 0 30px;

    font-size: 18px;

    font-weight: 300;

    line-height: 1.7;
}

.hero-link,
.text-link,
.section-link {
    display: inline-block;

    border-bottom:
        1px solid currentColor;

    padding-bottom: 4px;

    font-size: 12px;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


/* =================================================
   GENERAL SECTIONS
================================================== */

.section {
    position: relative;

    isolation: isolate;

    width:
        min(
            1400px,
            calc(100% - 80px)
        );

    margin: 0 auto;

    padding: 30px 0;
}

.section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 20px;
}

.section-heading h2,
.philosophy h2,
.home-contact h2 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            40px,
            5vw,
            76px
        );

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -0.035em;
}


/* =================================================
   WIDE CAROUSEL SECTIONS
================================================== */

.selected-work,
.featured-recipes {
    width:
        min(
            1700px,
            calc(100% - 40px)
        );
}


/* =================================================
   GOLD BOTANICAL BACKGROUND
================================================== */

.patterned-section::before {
    content: "";

    position: absolute;

    z-index: -1;

    left: 50%;

    top: 27.5%;

    width: 100vw;
    height: 60%;

    transform:
        translateX(-50%);

    background-color: #E3C78E;

    background-image:
        linear-gradient(
            rgba(17, 17, 17, 0.18),
            rgba(17, 17, 17, 0.18)
        ),
        url("assets/images/chervil-pattern.png");

    background-repeat:
        no-repeat,
        repeat;

    background-position:
        center,
        center;

    background-size:
        cover,
        420px auto;
}

.patterned-section,
.patterned-section .section-eyebrow,
.patterned-section .section-heading h2,
.patterned-section .section-link,
.patterned-section .carousel-button {
    color: #fff;
}


/* =================================================
   CAROUSEL HEADER
================================================== */

.carousel-heading-actions {
    display: flex;

    align-items: center;

    gap: 28px;
}

.carousel-controls {
    display: flex;

    gap: 8px;
}

.carousel-button {
    display: flex;

    width: 38px;
    height: 38px;

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

    border:
        1px solid
        rgba(255, 255, 255, 0.85);

    border-radius: 50%;

    background: transparent;

    color: #fff;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.carousel-button:hover {
    border-color: #fff;

    background: #fff;

    color: #111;
}


/* =================================================
   GENERIC CAROUSEL
================================================== */

.content-carousel {
    width: 100%;

    overflow: hidden;
}

.carousel-viewport {
    width: 100%;

    overflow: hidden;
}

.carousel-track {
    display: flex;

    width: max-content;

    gap: 20px;

    transition:
        transform
        0.8s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );

    will-change: transform;
}

.carousel-item {
    flex:
        0 0
        calc(
            (
                min(
                    1700px,
                    calc(100vw - 40px)
                )
                - 40px
            )
            / 3
        );

    min-width: 0;
}


/* =================================================
   WORK CARDS
================================================== */

.work-item {
    overflow: hidden;
}

.work-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 4 / 5;

    background: #222;
}

.work-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease;
}

.work-item:hover .work-image img {
    transform:
        scale(1.03);
}

.card-overlay {
    position: absolute;

    z-index: 1;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.02) 32%,
            rgba(0, 0, 0, 0.18) 58%,
            rgba(0, 0, 0, 0.82) 100%
        );
}

.work-info {
    position: absolute;

    z-index: 2;

    right: 0;
    bottom: 0;
    left: 0;

    padding: 32px;

    color: #fff;
}

.work-info h3 {
    max-width: 700px;

    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            26px,
            3vw,
            42px
        );

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -0.025em;
}

.work-excerpt {
    max-width: 550px;

    margin: 8px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    font-size: 14px;

    line-height: 1.55;
}


/* =================================================
   PHILOSOPHY
================================================== */

.philosophy {
    display: block;

    padding-top: 30px;
    padding-bottom: 30px;
}

.philosophy-inner {
    max-width: 900px;

    margin: 0;

    text-align: left;
}

.philosophy h2 {
    margin: 0 0 24px;
}

.philosophy-inner > p:last-child {
    max-width: 680px;

    margin: 0;

    color: #aaa;

    font-size: 19px;

    line-height: 1.9;
}


/* =================================================
   HOMEPAGE RECIPE CARDS
================================================== */

.recipe-card {
    overflow: hidden;
}

.recipe-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 4 / 5;

    background: #222;
}

.recipe-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease;
}

.recipe-card:hover .recipe-image img {
    transform:
        scale(1.03);
}

.recipe-card-content {
    position: absolute;

    z-index: 2;

    right: 0;
    bottom: 0;
    left: 0;

    padding: 32px;

    color: #fff;
}

.recipe-label {
    color:
        rgba(
            255,
            255,
            255,
            0.8
        );
}

.recipe-card-content h3 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            26px,
            3vw,
            42px
        );

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -0.025em;
}

.recipe-excerpt {
    max-width: 550px;

    margin: 8px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    font-size: 14px;

    line-height: 1.55;
}


/* =================================================
   HOME CONTACT
================================================== */

.home-contact {
    padding-top: 30px;
    padding-bottom: 30px;
}

.home-contact-inner {
    max-width: 800px;
}

.home-contact h2 {
    margin: 0 0 24px;
}


/* =================================================
   FOOTER
================================================== */

.site-footer {
    border-top:
        1px solid
        rgba(255, 255, 255, 0.1);

    background: #111;

    color: #eee;
}

.site-footer-inner {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    width:
        min(
            1700px,
            calc(100% - 80px)
        );

    margin: 0 auto;

    padding: 40px 0;

    gap: 40px;
}

.footer-brand {
    font-size: 13px;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.footer-social {
    display: flex;

    align-items: center;

    gap: 28px;
}

.footer-social a {
    position: relative;

    padding-bottom: 3px;

    font-size: 11px;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.footer-social a::after {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 0;
    height: 1px;

    background: currentColor;

    content: "";

    transition:
        width 0.3s ease;
}

.footer-social a:hover::after {
    width: 100%;
}

.footer-copyright {
    justify-self: end;

    color: #999;

    font-size: 12px;
}


/* =================================================
   STANDARD WORDPRESS CONTENT
================================================== */

.site-content {
    width:
        min(
            1400px,
            calc(100% - 80px)
        );

    margin: 0 auto;

    padding:
        120px
        0
        50px;
}

.site-content h1 {
    margin-top: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            44px,
            7vw,
            90px
        );

    font-weight: 400;

    letter-spacing: -0.04em;
}

.empty-message {
    color: #aaa;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;
}


/* =================================================
   RECIPE ARCHIVE
================================================== */

.recipe-archive-header {
    max-width: 850px;

    margin-bottom: 30px;
}

.recipe-archive-header h1 {
    margin:
        0
        0
        20px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            64px,
            9vw,
            120px
        );

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -0.05em;
}

.recipe-archive-header > p:last-child {
    max-width: 600px;

    color: #aaa;

    font-size: 18px;
}

.recipe-pagination {
    margin-top: 50px;
}


/* =================================================
   SINGLE RECIPE HERO
================================================== */

.single-recipe {
    background: #111;

    color: #eee;
}

.recipe-hero {
    position: relative;

    width: 100%;

    height: 85vh;

    min-height: 500px;

    overflow: hidden;

    background: #111;

    color: #fff;
}

.recipe-hero-image {
    position: absolute;

    inset: 0;
}

.recipe-hero-image img {
    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;

    object-position: center;
}

.recipe-hero-overlay {
    position: absolute;

    z-index: 1;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05) 10%,
            rgba(0, 0, 0, 0.10) 45%,
            rgba(0, 0, 0, 0.78) 100%
        );

    pointer-events: none;
}

.recipe-hero-content {
    position: absolute;

    z-index: 2;

    right: 0;
    bottom: 0;
    left: 0;

    width:
        min(
            1700px,
            calc(100% - 80px)
        );

    margin: 0 auto;

    padding-bottom: 55px;
}

.recipe-hero-content h1 {
    max-width: 1150px;

    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            48px,
            7vw,
            105px
        );

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -0.045em;
}

.recipe-hero-description {
    max-width: 680px;

    margin:
        14px
        0
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.9
        );

    font-size: 16px;

    line-height: 1.6;
}


/* =================================================
   SINGLE RECIPE CONTENT
================================================== */

.single-recipe-content {
    width:
        min(
            820px,
            calc(100% - 40px)
        );

    margin: 0 auto;

    padding:
        80px
        0
        100px;

    color: #eee;

    font-size: 18px;

    line-height: 1.85;
}

.single-recipe-content h2,
.single-recipe-content h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
}

.single-recipe-content h2 {
    margin:
        60px
        0
        20px;

    font-size: 42px;
}

.single-recipe-content h3 {
    margin:
        42px
        0
        14px;

    font-size: 28px;
}

.single-recipe-content p {
    margin:
        0
        0
        22px;
}

.single-recipe-content ul,
.single-recipe-content ol {
    margin:
        0
        0
        30px;

    padding-left: 24px;
}

.single-recipe-content li {
    margin-bottom: 10px;
}

.single-recipe-content strong {
    color: #fff;
}

.single-recipe-content img {
    margin:
        40px
        0;

    border-radius: 0;
}


/* =================================================
   SINGLE WORK
================================================== */

body.single-work {
    height: 100vh;

    overflow: hidden;

    background: #111 !important;
}

body.single-work .site-footer {
    display: none;
}

.single-work {
    height: 100vh;

    overflow: hidden;

    background: #111;
}

.single-work article {
    height: 100%;

    background: #111;
}

.work-hero {
    position: relative;

    display: flex;

    height: 100vh;

    min-height: 0;

    align-items: flex-end;

    overflow: hidden;

    background: #111;

    color: #fff;
}

.work-hero[data-slide-count]:not(
    [data-slide-count="1"]
) {
    cursor: pointer;
}

.work-slides {
    position: absolute;

    z-index: 0;

    inset: 0;
}

.work-slide {
    position: absolute;

    inset: 0;

    opacity: 0;

    transition:
        opacity 1.5s ease;
}

.work-slide.is-active {
    opacity: 1;
}

.work-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}

.work-hero-overlay {
    position: absolute;

    z-index: 1;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05) 10%,
            rgba(0, 0, 0, 0.10) 45%,
            rgba(0, 0, 0, 0.72) 100%
        );

    pointer-events: none;
}

.work-hero-content {
    position: relative;

    z-index: 2;

    width:
        min(
            1700px,
            calc(100% - 80px)
        );

    margin: 0 auto;

    padding-bottom: 55px;

    pointer-events: none;
}

.work-hero-content h1 {
    max-width: 1100px;

    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            48px,
            7vw,
            105px
        );

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -0.045em;
}

.work-hero-description {
    max-width: 680px;

    margin-top: 14px;

    color:
        rgba(
            255,
            255,
            255,
            0.9
        );

    font-size: 16px;

    line-height: 1.6;
}

.work-hero-description p {
    margin: 0;
}

.work-hero-description p + p {
    margin-top: 8px;
}

.work-slide-status {
    display: flex;

    gap: 8px;

    margin-top: 14px;

    font-size: 11px;

    letter-spacing: 0.15em;
}

.work-slide-divider {
    opacity: 0.5;
}

/* =================================================
   WORK + RECIPE ARCHIVES
================================================== */

.archive-header {
    max-width: 900px;
    margin-bottom: 30px;
}

.archive-header h1 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            56px,
            8vw,
            110px
        );

    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.archive-intro {
    max-width: 650px;
    margin: 20px 0 0;

    color: #aaa;

    font-size: 17px;
    line-height: 1.7;
}


/* WORK ARCHIVE */

.archive-work-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 20px;
}

.archive-work-item {
    min-width: 0;
}

.archive-work-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 4 / 5;

    background: #222;
}

.archive-work-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease;
}

.archive-work-item:hover
.archive-work-image img {
    transform: scale(1.03);
}

.archive-work-info {
    position: absolute;

    z-index: 2;

    right: 0;
    bottom: 0;
    left: 0;

    padding: 28px;

    color: #fff;
}

.archive-work-info h2 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            24px,
            2.4vw,
            36px
        );

    font-weight: 400;
    line-height: 1.05;
}

.archive-work-info p {
    max-width: 500px;

    margin: 8px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    font-size: 13px;
    line-height: 1.55;
}


/* RECIPE ARCHIVE */

.archive-recipe-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 20px;
}

.archive-recipe-item {
    min-width: 0;
}

.archive-recipe-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 4 / 5;

    background: #222;
}

.archive-recipe-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease;
}

.archive-recipe-item:hover
.archive-recipe-image img {
    transform: scale(1.03);
}

.archive-recipe-info {
    position: absolute;

    z-index: 2;

    right: 0;
    bottom: 0;
    left: 0;

    padding: 28px;

    color: #fff;
}

.archive-recipe-info h2 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            24px,
            2.4vw,
            36px
        );

    font-weight: 400;
    line-height: 1.05;
}

.archive-recipe-excerpt {
    max-width: 500px;

    margin: 8px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    font-size: 13px;
    line-height: 1.55;
}


/* PAGINATION */

.archive-pagination {
    margin-top: 40px;
}

.archive-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.archive-pagination a,
.archive-pagination .current {
    display: inline-block;

    padding: 8px 12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.2);

    font-size: 12px;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.archive-pagination .current {
    border-color: #E3C78E;
    color: #E3C78E;
}
/* =================================================
   TABLET
================================================== */

@media (max-width: 900px) {

    .site-header-inner,
    .hero-content,
    .site-footer-inner,
    .recipe-hero-content,
    .work-hero-content {
        width:
            calc(100% - 40px);
    }
    .archive-work-grid,
.archive-recipe-grid {
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
}
    .section {
        width:
            calc(100% - 40px);
    }

    .selected-work,
    .featured-recipes {
        width:
            calc(100% - 40px);
    }

    .site-header-inner {
        padding: 24px 0;
    }

    .primary-menu {
        gap: 16px;
    }

    .hero-content {
        padding-bottom: 60px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-heading {
        display: block;
    }

    .carousel-heading-actions {
        justify-content: space-between;

        margin-top: 16px;
    }

    .carousel-item {
        flex:
            0 0
            calc(
                (
                    100vw
                    - 60px
                )
                / 2
            );
    }

    .work-info,
    .recipe-card-content {
        padding: 24px;
    }

    .philosophy-inner {
        max-width: 760px;
    }

    .footer-social {
        flex-wrap: wrap;

        gap:
            18px
            24px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-copyright {
        justify-self: start;
    }

    .recipe-hero {
        min-height: 500px;
    }

    .recipe-hero-content,
    .work-hero-content {
        padding-bottom: 40px;
    }

    .recipe-hero-content h1,
    .work-hero-content h1 {
        font-size:
            clamp(
                44px,
                12vw,
                80px
            );
    }

    .recipe-hero-description,
    .work-hero-description {
        font-size: 15px;
    }

}


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

@media (max-width: 600px) {

    .primary-menu {
        display: none;
    }

    .hero-title {
        font-size:
            clamp(
                58px,
                18vw,
                100px
            );
    }

    .hero-content {
        padding-bottom: 45px;
    }
.archive-work-grid,
.archive-recipe-grid {
    grid-template-columns: 1fr;
}

.archive-work-info,
.archive-recipe-info {
    padding: 20px;
}
    .section-heading h2,
    .philosophy h2,
    .home-contact h2 {
        font-size: 42px;
    }

    .carousel-heading-actions {
        gap: 16px;
    }

    .carousel-button {
        width: 36px;
        height: 36px;
    }

    .carousel-item {
        flex:
            0 0
            calc(
                100vw
                - 40px
            );
    }

    .work-info,
    .recipe-card-content {
        padding: 20px;
    }

    .work-info h3,
    .recipe-card-content h3 {
        font-size: 28px;
    }

    .work-excerpt,
    .recipe-excerpt {
        font-size: 13px;
    }

    .philosophy-inner > p:last-child {
        font-size: 17px;
    }

    .recipe-hero {
        height: 75vh;
        min-height: 500px;
    }

    .recipe-hero-content,
    .work-hero-content {
        padding-bottom: 28px;
    }

    .recipe-hero-content h1,
    .work-hero-content h1 {
        font-size:
            clamp(
                38px,
                11vw,
                58px
            );

        line-height: 1;
    }

    .recipe-hero-description,
    .work-hero-description {
        margin-top: 10px;

        font-size: 14px;

        line-height: 1.45;
    }

    .single-recipe-content {
        padding:
            55px
            0
            70px;

        font-size: 17px;
    }

    .single-recipe-content h2 {
        font-size: 34px;
    }

}


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

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

    html {
        scroll-behavior: auto;
    }

    .work-slide,
    .carousel-track,
    .work-image img,
    .recipe-image img {
        transition: none;
    }

}
/* =========================================================
   Contact Page
   ========================================================= */

.contact-page {
    background: #111111;
    color: #ffffff;
}

/* =========================================================
   Contact Hero — Chervil Ribbon
   ========================================================= */

.contact-hero {
    position: relative;
    z-index: 1;

    padding-top: 100px;
    padding-bottom: 100px;

    margin-bottom: -45px;
}

.contact-hero::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 115px;
    bottom: 190px;

    left: 50%;
    width: 100vw;

    transform: translateX(-50%);

    background-color: #E3C78E;
    background-image:
        linear-gradient(
            rgba(17, 17, 17, 0.18),
            rgba(17, 17, 17, 0.18)
        ),
        url("assets/images/chervil-pattern.png");

    background-repeat: no-repeat, repeat;
    background-position: center, center;
    background-size: cover, 420px auto;
}

.contact-intro {
    max-width: 950px;
}

.contact-intro .section-eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.contact-intro h1 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(64px, 9vw, 130px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.contact-lead {
    max-width: 700px;

    margin: 28px 0 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.7;
}


/* Bring the form visually into the ribbon */

.contact-form-section {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: clamp(50px, 8vw, 140px);
    align-items: start;

    padding-top: 75px;
    padding-bottom: 100px;
}

.contact-intro {
    max-width: 950px;
}

.contact-intro h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(64px, 9vw, 130px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.contact-lead {
    max-width: 700px;
    margin: 28px 0 0;
    color: #aaaaaa;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.7;
}

.contact-form-section {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: clamp(50px, 8vw, 140px);
    align-items: start;

    padding-top: 35px;
    padding-bottom: 100px;
}

.contact-form-wrapper {
    width: 100%;
    max-width: 850px;
}


/* Fluent Forms reset */

.contact-form-wrapper .fluentform {
    width: 100%;
}

.contact-form-wrapper .ff-el-group {
    margin-bottom: 28px;
}

.contact-form-wrapper .ff-el-input--label {
    margin-bottom: 8px;
}

.contact-form-wrapper .ff-el-input--label label {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* Inputs */

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper input[type="url"],
.contact-form-wrapper textarea,
.contact-form-wrapper select {
    width: 100% !important;

    padding: 15px 0 !important;

    color: #ffffff !important;
    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.5 !important;

    transition:
        border-color 0.25s ease,
        color 0.25s ease;
}

.contact-form-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus {
    outline: none !important;
    border-bottom-color: #E3C78E !important;
    box-shadow: none !important;
}


/* Placeholder */

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}


/* Submit */

.contact-form-wrapper .ff-btn-submit {
    margin-top: 12px !important;
    padding: 14px 26px !important;

    color: #111111 !important;
    background: #E3C78E !important;

    border: 1px solid #E3C78E !important;
    border-radius: 0 !important;

    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.contact-form-wrapper .ff-btn-submit:hover {
    color: #E3C78E !important;
    background: transparent !important;
}


/* Fluent Forms validation / messages */

.contact-form-wrapper .error.text-danger {
    margin-top: 7px;
    color: #d98f8f !important;
    font-size: 12px;
}

.contact-form-wrapper .ff-message-success {
    padding: 18px 20px !important;

    color: #ffffff !important;
    background: transparent !important;

    border: 1px solid rgba(227, 199, 142, 0.5) !important;
    border-radius: 0 !important;
}


/* Sidebar */

.contact-sidebar {
    padding-top: 3px;
}

.contact-sidebar-label {
    margin: 0 0 18px;

    color: #777777;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.contact-social-links a {
    position: relative;

    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.25;

    text-decoration: none;
}

.contact-social-links a::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;

    height: 1px;

    background: #E3C78E;

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.3s ease;
}

.contact-social-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


@media (max-width: 900px) {

    .contact-form-section {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-form-wrapper {
        max-width: none;
    }

}


@media (max-width: 600px) {

@media (max-width: 600px) {

    .contact-hero {
        padding-top: 70px;
        padding-bottom: 70px;
        margin-bottom: -25px;
    }

    .contact-hero::before {
        top: 25px;
        bottom: 25px;

        background-size:
            cover,
            300px auto;
    }

    .contact-form-section {
        padding-top: 55px;
        padding-bottom: 70px;
    }

    .contact-intro h1 {
        font-size: clamp(56px, 17vw, 86px);
    }

}

    .contact-form-section {
        padding-top: 20px;
        padding-bottom: 70px;
    }

    .contact-intro h1 {
        font-size: clamp(56px, 17vw, 86px);
    }

}

/* =========================================================
   WP Recipe Maker — Just Tamy
   ========================================================= */


/* Overall recipe area */
.single-recipe-content {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    padding: 16px 0 70px;
}
/* Remove WPRM card appearance */

.single-recipe-content .wprm-recipe-container,
.single-recipe-content .wprm-recipe,
.single-recipe-content .wprm-recipe-template-basic {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #eeeeee !important;
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-family: inherit !important;
}


/* We already show these beautifully in the hero */

.single-recipe-content .wprm-recipe-name,
.single-recipe-content .wprm-recipe-summary {
    display: none !important;
}


/* =========================================================
   Top information
   ========================================================= */

/* Print */

.single-recipe-content .wprm-recipe-print {
    float: left !important;

    display: inline-flex !important;
    align-items: center;
    gap: 5px;

    margin: 0 30px 0 0 !important;
    padding: 0 !important;

    color: #E3C78E !important;
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}


/* Servings / times / other metadata */
.single-recipe-content .wprm-recipe-meta-container {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 24px;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}

.single-recipe-content .wprm-recipe-meta-container > div {
    display: inline-flex !important;
    align-items: baseline;
    gap: 8px;

    margin: 0 !important;
    padding: 0 !important;
}

.single-recipe-content .wprm-recipe-meta-label {
    display: inline !important;

    margin: 0 !important;

    color: #777777 !important;

    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

.single-recipe-content .wprm-recipe-meta {
    color: #eeeeee !important;

    font-family: inherit !important;
    font-size: 14px !important;
}


/* =========================================================
   Section headings
   ========================================================= */

.single-recipe-content .wprm-recipe-header {
    margin: 0 0 22px !important;

    color: #ffffff !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(36px, 4vw, 54px) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
}


/* =========================================================
   Ingredients
   ========================================================= */

.single-recipe-content .wprm-recipe-ingredients-container {
    clear: both;

    margin: 22px 0 48px !important;
}
.single-recipe-content .wprm-recipe-ingredients {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


/*
 * Each ingredient becomes ONE horizontal row.
 *
 * Ingredient name stays left.
 * Amount/unit move right.
 */

.single-recipe-content .wprm-recipe-ingredient {
    display: flex !important;
    align-items: baseline !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 9px 0 !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}


/* Ingredient name */

.single-recipe-content .wprm-recipe-ingredient-name {
    order: 1;

    color: #eeeeee !important;

    font-size: 15px !important;
}


/* Notes immediately after ingredient */

.single-recipe-content .wprm-recipe-ingredient-notes {
    order: 2;

    margin-left: 8px !important;

    color: #666666 !important;

    font-size: 12px !important;
}


/* Amount starts the right-hand group */

.single-recipe-content .wprm-recipe-ingredient-amount {
    order: 3;

    margin-left: auto !important;

    color: #E3C78E !important;

    font-size: 15px !important;
    font-variant-numeric: tabular-nums;
}


/* Unit sits directly beside amount */

.single-recipe-content .wprm-recipe-ingredient-unit {
    order: 4;

    min-width: 40px;

    margin-left: 5px !important;

    color: #E3C78E !important;

    font-size: 13px !important;
}


/* =========================================================
   Instructions
   ========================================================= */

.single-recipe-content .wprm-recipe-instructions-container {
    margin: 0 0 55px !important;
}

.single-recipe-content .wprm-recipe-instructions {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;

    counter-reset: recipe-step;
}

.single-recipe-content .wprm-recipe-instruction {
    position: relative;

    margin: 0 !important;
    padding: 12px 0 12px 28px !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

/* Our custom step number */

.single-recipe-content .wprm-recipe-instruction::before {
    content: counter(recipe-step, decimal-leading-zero);

    position: absolute;

    top: 20px;
    left: 0;

    color: #E3C78E;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1;
}


/* Remove WPRM's own list number */

.single-recipe-content .wprm-recipe-instruction {
    list-style: none !important;
}

.single-recipe-content .wprm-recipe-instruction-text {
    margin: 0 !important;

    color: #cccccc !important;

    font-size: 15px !important;
    line-height: 1.65 !important;
}


.single-recipe-content .wprm-recipe-instruction-group-name {
    margin: 0 0 7px !important;
    padding-top: 14px !important;

    color: #E3C78E !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* =========================================================
   Notes
   ========================================================= */

.single-recipe-content .wprm-recipe-notes-container {
    margin: 50px 0 0 !important;
    padding: 25px 0 0 !important;

    border-top: 1px solid rgba(227, 199, 142, 0.35);
}

.single-recipe-content .wprm-recipe-notes {
    color: #bbbbbb !important;

    font-size: 15px !important;
    line-height: 1.7 !important;
}


/* Links */

.single-recipe-content .wprm-recipe-container a {
    color: #E3C78E !important;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 700px) {

    .single-recipe-content {
        width: calc(100% - 32px);
        padding: 40px 0 70px;
    }

    .single-recipe-content .wprm-recipe-meta-container {
        gap: 10px 25px;
        margin-bottom: 35px !important;
    }

    .single-recipe-content .wprm-recipe-ingredient {
        padding: 9px 0 !important;
    }

    .single-recipe-content .wprm-recipe-ingredient-name {
        font-size: 14px !important;
    }

    .single-recipe-content .wprm-recipe-ingredient-notes {
        display: none;
    }

    .single-recipe-content .wprm-recipe-instruction {
        padding: 16px 0 16px 48px !important;
    }

    .single-recipe-content .wprm-recipe-instruction::before {
        top: 18px;
        font-size: 18px;
    }

}