/* ==========================================================
   TIMELESS FACTORS
   Services Page
========================================================== */

:root {
    --tf-primary: #263718;
    --tf-primary-hover: #53633B;

    --tf-text: #262820;
    --tf-text-light: #686B60;

    --tf-accent: #879171;
    --tf-border: #DED2BD;

    --tf-background: #FBF8F1;
    --tf-background-light: #F4EFE4;

    --tf-earth: #84694B;

    --tf-container: 1240px;

    --tf-radius-sm: 8px;
    --tf-radius-md: 16px;
    --tf-radius-lg: 28px;
}


/* ==========================================================
   BASE
========================================================== */

.tf-services-page {
    overflow: hidden;

    background: var(--tf-background);
    color: var(--tf-text);
}

.tf-services-container {
    width: min(
        calc(100% - 48px),
        var(--tf-container)
    );

    margin-inline: auto;
}

.tf-services-page h1,
.tf-services-page h2,
.tf-services-page h3 {
    margin-top: 0;

    color: var(--tf-primary);
}

.tf-services-page h1,
.tf-services-page h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
}

.tf-services-page p {
    line-height: 1.75;
}

.tf-services-page a {
    text-decoration: none;
}


/* ==========================================================
   EYEBROW
========================================================== */

.tf-services-eyebrow {
    display: block;

    margin-bottom: 18px;

    color: var(--tf-primary-hover);

    font-size: .74rem;
    font-weight: 600;

    letter-spacing: .17em;
    text-transform: uppercase;
}


/* ==========================================================
   BUTTONS
========================================================== */

.tf-services-btn {
    min-height: 54px;

    padding: 0 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: .9rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        border-color .25s ease;
}

.tf-services-btn:hover {
    transform: translateY(-2px);
}

.tf-services-btn--primary {
    background: var(--tf-primary);
    color: var(--tf-background-light);
}

.tf-services-btn--primary:hover {
    background: var(--tf-primary-hover);
    color: #fff;
}

.tf-services-btn--outline {
    background: transparent;

    border-color: var(--tf-primary);

    color: var(--tf-primary);
}

.tf-services-btn--outline:hover {
    background: var(--tf-primary);
    color: var(--tf-background-light);
}

.tf-services-btn--light {
    background: var(--tf-background-light);
    color: var(--tf-primary);
}


/* ==========================================================
   HERO
========================================================== */

.tf-services-hero {
    min-height: 730px;

    display: flex;
    align-items: center;

    padding: 90px 0;

    background: var(--tf-background-light);
}

.tf-services-hero__grid {
    display: grid;

    grid-template-columns:
        .95fr
        1.05fr;

    gap: 90px;

    align-items: center;
}

.tf-services-hero h1 {
    max-width: 760px;

    margin: 0 0 32px;

    font-size:
        clamp(
            3.7rem,
            6.4vw,
            6.6rem
        );

    line-height: .93;

    letter-spacing: -.052em;
}

.tf-services-hero__content > p {
    max-width: 610px;

    margin: 0 0 38px;

    color: var(--tf-text-light);

    font-size: 1.08rem;
}

.tf-services-hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


/* HERO GRAPHIC */

.tf-services-hero__visual {
    position: relative;

    min-height: 540px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-services-hero__circle {
    width: min(470px, 80vw);

    aspect-ratio: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--tf-primary-hover);
    border-radius: 50%;
}

.tf-services-hero__circle::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    border:
        1px solid
        rgba(83, 99, 59, .28);

    border-radius: 50%;
}

.tf-services-hero__circle-inner {
    position: relative;
    z-index: 2;

    width: 230px;
    height: 230px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--tf-primary);

    color: var(--tf-background-light);

    text-align: center;
}

.tf-services-hero__circle-inner span {
    font-size: .68rem;

    text-transform: uppercase;

    letter-spacing: .16em;
}

.tf-services-hero__circle-inner strong {
    max-width: 170px;

    margin: 10px 0;

    font-family: Georgia, serif;

    font-size: 2rem;
    font-weight: 400;

    line-height: 1.05;
}

.tf-services-hero__circle-inner small {
    font-size: .65rem;

    opacity: .7;
}

.tf-services-hero__note {
    position: absolute;

    right: 0;
    bottom: 10px;

    width: 220px;

    padding: 26px;

    border-radius: var(--tf-radius-md);

    background: var(--tf-earth);

    color: #fff;
}

.tf-services-hero__note span {
    display: block;

    margin-bottom: 8px;

    font-size: .63rem;

    letter-spacing: .13em;

    text-transform: uppercase;
}

.tf-services-hero__note strong {
    font-family: Georgia, serif;

    font-size: 1.25rem;

    font-weight: 400;

    line-height: 1.3;
}


/* ==========================================================
   INTRO
========================================================== */

.tf-services-intro {
    padding: 135px 0;
}

.tf-services-intro__grid {
    display: grid;

    grid-template-columns:
        .9fr
        1.1fr;

    gap: 100px;
}

.tf-services-intro h2 {
    font-size:
        clamp(
            3rem,
            4.5vw,
            4.8rem
        );

    line-height: 1;
}

.tf-services-intro__copy {
    max-width: 620px;
}

.tf-services-intro__copy p {
    color: var(--tf-text-light);
}


/* ==========================================================
   SECTION HEADING
========================================================== */

.tf-services-section-heading {
    max-width: 760px;

    margin-bottom: 65px;
}

.tf-services-section-heading h2 {
    margin-bottom: 20px;

    font-size:
        clamp(
            3rem,
            4.8vw,
            5.1rem
        );

    line-height: 1.02;

    letter-spacing: -.03em;
}

.tf-services-section-heading p {
    max-width: 590px;

    color: var(--tf-text-light);
}


/* ==========================================================
   SERVICES GRID
========================================================== */

.tf-services-list {
    padding: 140px 0;

    background: var(--tf-background-light);
}

.tf-services-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}

.tf-service-card {
    min-height: 530px;

    padding: 38px;

    display: flex;
    flex-direction: column;

    border:
        1px solid
        rgba(222, 210, 189, .8);

    border-radius: var(--tf-radius-md);

    background: var(--tf-background);

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.tf-service-card:hover {
    transform: translateY(-4px);

    border-color: var(--tf-accent);
}

.tf-service-card--featured {
    background: var(--tf-primary);

    color: var(--tf-background-light);
}

.tf-service-card--featured h3 {
    color: var(--tf-background-light);
}

.tf-service-card--featured p,
.tf-service-card--featured li {
    color:
        rgba(
            255,
            255,
            255,
            .7
        );
}

.tf-service-card__top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 70px;
}

.tf-service-card__number {
    color: var(--tf-accent);
}

.tf-service-card__category {
    color: var(--tf-primary-hover);

    font-size: .67rem;

    letter-spacing: .12em;

    text-transform: uppercase;
}

.tf-service-card--featured
.tf-service-card__category {
    color: var(--tf-accent);
}

.tf-service-card h3 {
    margin-bottom: 20px;

    font-family: Georgia, serif;

    font-size: 2.55rem;

    font-weight: 400;
}

.tf-service-card p {
    color: var(--tf-text-light);
}

.tf-service-card ul {
    margin: 28px 0 0;

    padding: 0;

    list-style: none;
}

.tf-service-card li {
    padding: 10px 0;

    border-bottom:
        1px solid
        var(--tf-border);

    color: var(--tf-text-light);

    font-size: .9rem;
}

.tf-service-card--featured li {
    border-color:
        rgba(
            255,
            255,
            255,
            .14
        );
}

.tf-service-card__footer {
    margin-top: auto;

    padding-top: 30px;

    display: flex;

    justify-content: space-between;
    align-items: center;
}

.tf-service-card__footer span {
    color: var(--tf-accent);

    font-size: .8rem;
}

.tf-service-card__footer a {
    color: var(--tf-primary);

    font-weight: 600;
}

.tf-service-card--featured
.tf-service-card__footer a {
    color: var(--tf-background-light);
}


/* ==========================================================
   PROCESS
========================================================== */

.tf-services-process {
    padding: 140px 0;

    background: var(--tf-primary);

    color: var(--tf-background-light);
}

.tf-services-process
.tf-services-eyebrow {
    color: var(--tf-accent);
}

.tf-services-section-heading--light h2 {
    color: var(--tf-background-light);
}

.tf-services-process__grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.tf-process-step {
    min-height: 310px;

    padding: 32px;

    display: flex;
    flex-direction: column;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            .22
        );
}

.tf-process-step + .tf-process-step {
    border-left:
        1px solid
        rgba(
            255,
            255,
            255,
            .16
        );
}

.tf-process-step > span {
    color: var(--tf-accent);

    font-size: .75rem;
}

.tf-process-step h3 {
    margin-top: auto;

    margin-bottom: 15px;

    color: var(--tf-background-light);

    font-family: Georgia, serif;

    font-size: 2rem;

    font-weight: 400;
}

.tf-process-step p {
    color:
        rgba(
            255,
            255,
            255,
            .68
        );
}


/* ==========================================================
   BOOKING
========================================================== */

.tf-booking {
    padding: 150px 0;

    background: var(--tf-background);
}

.tf-booking__grid {
    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    gap: 100px;

    align-items: start;
}

.tf-booking__intro {
    position: sticky;

    top: 120px;
}

.tf-booking__intro h2 {
    margin-bottom: 28px;

    font-size:
        clamp(
            3.1rem,
            4.8vw,
            5rem
        );

    line-height: 1;
}

.tf-booking__intro > p {
    max-width: 520px;

    color: var(--tf-text-light);
}

.tf-booking__details {
    margin-top: 55px;
}

.tf-booking__details > div {
    padding: 20px 0;

    display: flex;

    align-items: center;

    gap: 18px;

    border-bottom:
        1px solid
        var(--tf-border);
}

.tf-booking__details span {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        var(--tf-border);

    border-radius: 50%;

    color: var(--tf-primary-hover);

    font-size: .7rem;
}

.tf-booking__details p {
    margin: 0;
}


/* FORM */

.tf-booking__form-wrap {
    padding: 50px;

    border-radius: var(--tf-radius-lg);

    background: var(--tf-background-light);
}

.tf-form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.tf-form-group {
    margin-bottom: 22px;
}

.tf-form-group label {
    display: block;

    margin-bottom: 9px;

    color: var(--tf-primary);

    font-size: .76rem;

    font-weight: 600;

    letter-spacing: .05em;
}

.tf-booking-form input,
.tf-booking-form select,
.tf-booking-form textarea {
    width: 100%;

    padding: 15px 16px;

    border:
        1px solid
        var(--tf-border);

    border-radius: 10px;

    outline: none;

    background: var(--tf-background);

    color: var(--tf-text);

    font: inherit;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.tf-booking-form input,
.tf-booking-form select {
    min-height: 54px;
}

.tf-booking-form textarea {
    resize: vertical;
}

.tf-booking-form input:focus,
.tf-booking-form select:focus,
.tf-booking-form textarea:focus {
    border-color: var(--tf-primary-hover);

    box-shadow:
        0 0 0 3px
        rgba(83,99,59,.08);
}


/* SESSION BUTTONS */

.tf-session-options {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}

.tf-session-options label {
    margin: 0;

    cursor: pointer;
}

.tf-session-options input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.tf-session-options span {
    min-height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        var(--tf-border);

    border-radius: 10px;

    background: var(--tf-background);

    color: var(--tf-text);
}

.tf-session-options input:checked + span {
    border-color: var(--tf-primary);

    background: var(--tf-primary);

    color: var(--tf-background-light);
}


/* FORM FOOTER */

.tf-booking-form__footer {
    margin-top: 20px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;
}

.tf-booking-form__footer p {
    max-width: 280px;

    margin: 0;

    color: var(--tf-text-light);

    font-size: .76rem;
}


/* SUCCESS */

.tf-booking-success {
    padding: 70px 20px;

    text-align: center;
}

.tf-booking-success > span {
    width: 66px;
    height: 66px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--tf-primary);

    color: #fff;

    font-size: 1.6rem;
}

.tf-booking-success h3 {
    font-family: Georgia, serif;

    font-size: 2.3rem;

    font-weight: 400;
}

.tf-booking-success p {
    color: var(--tf-text-light);
}


/* ==========================================================
   SHOP CTA
========================================================== */

.tf-services-shop-cta {
    padding: 90px 0;

    background: var(--tf-primary);
}

.tf-services-shop-cta__inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 60px;
}

.tf-services-shop-cta
.tf-services-eyebrow {
    color: var(--tf-accent);
}

.tf-services-shop-cta h2 {
    max-width: 720px;

    margin: 0;

    color: var(--tf-background-light);

    font-size:
        clamp(
            2.7rem,
            4.5vw,
            4.5rem
        );

    line-height: 1;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .tf-services-hero__grid,
    .tf-services-intro__grid,
    .tf-booking__grid {
        grid-template-columns: 1fr;
    }

    .tf-services-grid {
        grid-template-columns: 1fr;
    }

    .tf-services-process__grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .tf-booking__intro {
        position: static;
    }

    .tf-services-shop-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 640px) {

    .tf-services-container {
        width: min(
            calc(100% - 32px),
            var(--tf-container)
        );
    }

    .tf-services-hero {
        min-height: auto;

        padding: 70px 0 90px;
    }

    .tf-services-hero__grid {
        gap: 60px;
    }

    .tf-services-hero h1 {
        font-size: 3.6rem;
    }

    .tf-services-hero__actions {
        flex-direction: column;
    }

    .tf-services-hero__actions
    .tf-services-btn {
        width: 100%;
    }

    .tf-services-hero__visual {
        min-height: 420px;
    }

    .tf-services-hero__circle {
        width: 330px;
    }

    .tf-services-hero__circle::before {
        width: 255px;
        height: 255px;
    }

    .tf-services-hero__circle-inner {
        width: 170px;
        height: 170px;
    }

    .tf-services-hero__circle-inner strong {
        font-size: 1.5rem;
    }

    .tf-services-hero__note {
        width: 175px;

        padding: 20px;

        right: 0;
    }


    .tf-services-intro,
    .tf-services-list,
    .tf-services-process,
    .tf-booking {
        padding: 90px 0;
    }

    .tf-service-card {
        min-height: auto;

        padding: 28px;
    }

    .tf-service-card__top {
        margin-bottom: 50px;
    }

    .tf-service-card h3 {
        font-size: 2.1rem;
    }

    .tf-services-process__grid {
        grid-template-columns: 1fr;
    }

    .tf-process-step + .tf-process-step {
        border-left: 0;
    }

    .tf-process-step {
        min-height: 240px;

        border-top:
            1px solid
            rgba(
                255,
                255,
                255,
                .16
            );
    }

    .tf-booking__grid {
        gap: 55px;
    }

    .tf-booking__form-wrap {
        padding: 28px 20px;
    }

    .tf-form-row {
        grid-template-columns: 1fr;
    }

    .tf-booking-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .tf-booking-form__footer
    .tf-services-btn {
        width: 100%;
    }

    .tf-services-shop-cta {
        padding: 75px 0;
    }

}