/* ==========================================================================
   TOUCH GRASS™
   Projects Page Styles
   Photography-first landscape portfolio
   ========================================================================== */


/* ==========================================================================
   1. PROJECTS HERO
   ========================================================================== */

.projects-hero {
    padding:
        78px
        0
        70px;

    background: var(--off-white);

    border-bottom: 1px solid var(--border);
}

.projects-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.45fr);
    align-items: end;
    gap: clamp(60px, 9vw, 130px);
}

.projects-hero__copy h1 {
    max-width: 720px;

    margin:
        0
        0
        26px;

    font-size: 52px;
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.projects-hero__lead {
    max-width: 620px;
    margin: 0;

    color: var(--text);

    font-size: 17px;
    line-height: 1.65;
}

.projects-hero__note {
    padding-top: 18px;

    border-top: 1px solid var(--border-strong);
}

.projects-hero__note strong {
    display: block;

    margin-bottom: 10px;

    color: var(--ochre);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.projects-hero__note p {
    max-width: 320px;
    margin: 0;

    color: var(--text);

    font-size: 13px;
    line-height: 1.65;
}


/* ==========================================================================
   2. PROJECT INDEX BAR
   ========================================================================== */

.project-index-bar {
    background: var(--white);

    border-bottom: 1px solid var(--border);
}

.project-index-bar__inner {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.project-index-bar__inner > span {
    color: var(--muted);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.project-index-bar__nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.project-index-bar__nav a {
    position: relative;

    padding: 22px 0;

    color: var(--text);

    font-size: 13px;
    font-weight: 500;

    transition: color 180ms ease;
}

.project-index-bar__nav a::after {
    position: absolute;
    right: 0;
    bottom: 17px;
    left: 0;

    height: 1px;

    content: "";

    transform: scaleX(0);
    transform-origin: right;

    background: var(--green);

    transition: transform 200ms var(--ease);
}

.project-index-bar__nav a:hover {
    color: var(--green);
}

.project-index-bar__nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* ==========================================================================
   3. FEATURED PROJECT
   ========================================================================== */

.project-feature {
    padding:
        var(--section-space)
        0;

    background: var(--white);
}

.project-feature__image {
    overflow: hidden;

    background: var(--sage-light);
}

.project-feature__image img {
    width: 100%;
    height: 680px;

    object-fit: cover;

    transition: transform 700ms var(--ease);
}

.project-feature__image:hover img {
    transform: scale(1.008);
}

.project-feature__details {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(60px, 9vw, 130px);

    padding-top: 28px;
}

.project-label {
    display: block;

    margin-bottom: 12px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.project-feature__identity h2 {
    max-width: 520px;
    margin: 0;

    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.project-feature__story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
    gap: 50px;
}

.project-feature__story > p {
    max-width: 520px;
    margin: 0;

    color: var(--text);

    font-size: 15px;
    line-height: 1.8;
}

.project-feature__story dl {
    margin: 0;

    border-top: 1px solid var(--border-strong);
}

.project-feature__story dl > div {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 18px;

    padding: 13px 0;

    border-bottom: 1px solid var(--border);
}

.project-feature__story dt {
    color: var(--muted);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.project-feature__story dd {
    margin: 0;

    color: var(--text);

    font-size: 13px;
    line-height: 1.5;
}


/* ==========================================================================
   4. PROJECT GALLERY
   ========================================================================== */

.project-gallery {
    padding:
        var(--section-space)
        0;

    background: var(--off-white);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.project-gallery > .content-width {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap:
        76px
        28px;
}

.gallery-project {
    min-width: 0;
}

.gallery-project--tall {
    grid-column: 1 / span 5;
}

.gallery-project--wide {
    grid-column: 7 / -1;

    padding-top: 120px;
}

.gallery-project--landscape {
    grid-column: 1 / span 7;
}

.gallery-project--detail {
    grid-column: 9 / -1;

    padding-top: 100px;
}

.gallery-project--large {
    grid-column: 3 / span 8;

    margin-top: 30px;
}

.gallery-project__image {
    overflow: hidden;

    background: var(--sage-light);
}

.gallery-project__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 600ms var(--ease),
        opacity 220ms ease;
}

.gallery-project:hover .gallery-project__image img {
    transform: scale(1.01);

    opacity: 0.96;
}

.gallery-project--tall .gallery-project__image {
    height: 650px;
}

.gallery-project--wide .gallery-project__image {
    height: 500px;
}

.gallery-project--landscape .gallery-project__image {
    height: 470px;
}

.gallery-project--detail .gallery-project__image {
    height: 520px;
}

.gallery-project--large .gallery-project__image {
    height: 620px;
}

.gallery-project__caption {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(180px, 0.45fr);
    justify-content: space-between;
    gap: 28px;

    padding-top: 16px;
}

.gallery-project__caption h2 {
    margin: 0;

    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.gallery-project__caption p {
    max-width: 320px;
    margin: 2px 0 0;

    color: var(--text);

    font-size: 13px;
    line-height: 1.65;
}


/* ==========================================================================
   5. GALLERY INTERRUPTION
   ========================================================================== */

.gallery-interruption {
    grid-column: 3 / span 7;

    margin:
        20px
        0;

    padding:
        34px
        0;

    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
}

.gallery-interruption > span {
    display: block;

    margin-bottom: 16px;

    color: var(--ochre);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.gallery-interruption p {
    max-width: 690px;

    margin:
        0
        0
        14px;

    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.gallery-interruption small {
    color: var(--muted);

    font-size: 12px;
}


/* ==========================================================================
   6. PROJECT PHILOSOPHY
   ========================================================================== */

.project-philosophy {
    padding:
        var(--section-space)
        0;

    background: var(--white);
}

.project-philosophy__grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(70px, 10vw, 145px);
}

.project-philosophy h2 {
    max-width: 500px;

    margin: 0;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.project-philosophy__copy {
    max-width: 650px;
}

.project-philosophy__copy p {
    margin:
        0
        0
        20px;

    color: var(--text);

    font-size: 15px;
    line-height: 1.8;
}

.project-philosophy__copy p:last-child {
    margin-bottom: 0;

    color: var(--ochre);

    font-weight: 600;
}


/* ==========================================================================
   7. TRANSFORMATION NOTE
   ========================================================================== */

.transformation-note {
    padding:
        90px
        0;

    background: var(--sage-light);

    border-block: 1px solid var(--border);
}

.transformation-note__inner {
    display: grid;
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(70px, 10vw, 145px);
}

.transformation-note h2 {
    max-width: 560px;

    margin: 0;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.transformation-note__inner > div:last-child {
    max-width: 620px;
}

.transformation-note__inner > div:last-child p {
    margin:
        0
        0
        20px;

    color: var(--text);

    font-size: 15px;
    line-height: 1.8;
}

.transformation-note__inner strong {
    display: block;

    color: var(--green);

    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}


/* ==========================================================================
   8. PROJECT TYPES
   ========================================================================== */

.project-types {
    padding:
        var(--section-space)
        0;

    background: var(--white);
}

.project-types__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border-top: 1px solid var(--border-strong);
    border-left: 1px solid var(--border);
}

.project-types__grid a {
    position: relative;

    display: flex;
    min-height: 285px;
    flex-direction: column;

    padding:
        26px
        25px
        24px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition:
        color 180ms ease,
        background 180ms ease;
}

.project-types__grid a:hover {
    color: var(--white);
    background: var(--green);
}

.project-types__grid a > span {
    color: var(--muted);

    font-size: 12px;
    font-weight: 600;

    transition: color 180ms ease;
}

.project-types__grid strong {
    display: block;

    margin:
        auto
        0
        12px;

    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.project-types__grid p {
    max-width: 260px;
    margin: 0;

    color: var(--text);

    font-size: 13px;
    line-height: 1.65;

    transition: color 180ms ease;
}

.project-types__grid b {
    position: absolute;
    top: 24px;
    right: 24px;

    font-size: 17px;
    font-weight: 400;

    transition: transform 180ms var(--ease);
}

.project-types__grid a:hover > span,
.project-types__grid a:hover p {
    color: rgba(255, 255, 255, 0.65);
}

.project-types__grid a:hover b {
    transform: translateX(4px);
}


/* ==========================================================================
   9. PROJECT TESTIMONIAL
   ========================================================================== */

.projects-testimonial {
    padding:
        95px
        0;

    color: var(--white);
    background: var(--green-dark);
}

.projects-testimonial__inner {
    max-width: 900px;
}

.projects-testimonial .section-kicker {
    color: rgba(255, 255, 255, 0.48);
}

.projects-testimonial blockquote {
    max-width: 780px;

    margin:
        30px
        0
        28px;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.projects-testimonial__inner > div {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 13px;
}

.projects-testimonial__inner > div strong {
    font-weight: 600;
}

.projects-testimonial__inner > div span {
    color: rgba(255, 255, 255, 0.52);
}

.projects-testimonial small {
    display: block;

    margin-top: 23px;

    color: var(--ochre);

    font-size: 12px;
}


/* ==========================================================================
   10. PROJECT CTA
   ========================================================================== */

.projects-cta {
    padding:
        var(--section-space)
        0;

    background: var(--off-white);
}

.projects-cta__grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(280px, 0.55fr);
    align-items: end;
    justify-content: space-between;
    gap: clamp(65px, 10vw, 145px);
}

.projects-cta h2 {
    max-width: 600px;

    margin: 0;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.projects-cta__grid > div:last-child {
    display: grid;
    gap: 20px;

    max-width: 470px;
}

.projects-cta__grid > div:last-child > p {
    margin: 0;

    color: var(--text);

    font-size: 14px;
    line-height: 1.75;
}

.projects-cta__joke {
    color: var(--ochre) !important;

    font-size: 13px !important;
    font-weight: 600;
}


/* ==========================================================================
   11. ANCHOR OFFSETS
   ========================================================================== */

#full-landscapes,
#gardens,
#outdoor-living,
#lawns {
    scroll-margin-top: 28px;
}


/* ==========================================================================
   12. RESPONSIVE — 1100PX
   ========================================================================== */

@media (max-width: 1100px) {

    .projects-hero__copy h1 {
        font-size: 48px;
    }

    .project-feature__story {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-project--tall {
        grid-column: 1 / span 6;
    }

    .gallery-project--wide {
        grid-column: 7 / -1;
    }

    .gallery-project--detail {
        grid-column: 8 / -1;
    }

    .gallery-project--large {
        grid-column: 2 / span 10;
    }

    .project-types__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================================
   13. RESPONSIVE — 900PX
   ========================================================================== */

@media (max-width: 900px) {

    .projects-hero__inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .projects-hero__note {
        max-width: 460px;
    }

    .project-index-bar__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;

        padding-block: 20px;
    }

    .project-index-bar__nav {
        width: 100%;

        overflow-x: auto;
        gap: 26px;

        padding-bottom: 3px;

        white-space: nowrap;
    }

    .project-index-bar__nav a {
        padding:
            8px
            0;
    }

    .project-index-bar__nav a::after {
        bottom: 3px;
    }

    .project-feature__image img {
        height: 560px;
    }

    .project-feature__details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-feature__story {
        max-width: 700px;
    }

    .project-gallery > .content-width {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap:
            65px
            26px;
    }

    .gallery-project--tall,
    .gallery-project--wide,
    .gallery-project--landscape,
    .gallery-project--detail,
    .gallery-project--large {
        grid-column: auto;

        padding-top: 0;
        margin-top: 0;
    }

    .gallery-project--large {
        grid-column: 1 / -1;
    }

    .gallery-project--tall .gallery-project__image,
    .gallery-project--wide .gallery-project__image,
    .gallery-project--landscape .gallery-project__image,
    .gallery-project--detail .gallery-project__image {
        height: 480px;
    }

    .gallery-project--large .gallery-project__image {
        height: 560px;
    }

    .gallery-interruption {
        grid-column: 1 / -1;

        margin:
            5px
            0;
    }

    .project-philosophy__grid,
    .transformation-note__inner,
    .projects-cta__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}


/* ==========================================================================
   14. RESPONSIVE — 680PX
   ========================================================================== */

@media (max-width: 680px) {

    .projects-hero {
        padding:
            62px
            0
            58px;
    }

    .projects-hero__copy h1 {
        font-size: 40px;
    }

    .projects-hero__lead {
        font-size: 16px;
    }

    .project-feature__image img {
        height: 430px;
    }

    .project-feature__identity h2 {
        font-size: 28px;
    }

    .project-feature__story dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .project-gallery > .content-width {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .gallery-project--large {
        grid-column: 1;
    }

    .gallery-project--tall .gallery-project__image,
    .gallery-project--wide .gallery-project__image,
    .gallery-project--landscape .gallery-project__image,
    .gallery-project--detail .gallery-project__image,
    .gallery-project--large .gallery-project__image {
        height: 430px;
    }

    .gallery-project__caption {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-interruption {
        grid-column: 1;

        padding:
            30px
            0;
    }

    .gallery-interruption p {
        font-size: 24px;
    }

    .project-philosophy h2,
    .transformation-note h2,
    .projects-cta h2 {
        font-size: 30px;
    }

    .project-types__grid {
        grid-template-columns: 1fr;
    }

    .project-types__grid a {
        min-height: 230px;
    }

    .projects-testimonial {
        padding:
            72px
            0;
    }

    .projects-testimonial blockquote {
        font-size: 28px;
    }

    .projects-testimonial__inner > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

}


/* ==========================================================================
   15. RESPONSIVE — 420PX
   ========================================================================== */

@media (max-width: 420px) {

    .projects-hero__copy h1 {
        font-size: 36px;
    }

    .project-feature__image img,
    .gallery-project--tall .gallery-project__image,
    .gallery-project--wide .gallery-project__image,
    .gallery-project--landscape .gallery-project__image,
    .gallery-project--detail .gallery-project__image,
    .gallery-project--large .gallery-project__image {
        height: 370px;
    }

    .project-feature__identity h2 {
        font-size: 26px;
    }

    .gallery-interruption p {
        font-size: 22px;
    }

    .project-philosophy h2,
    .transformation-note h2,
    .projects-cta h2 {
        font-size: 28px;
    }

    .projects-testimonial blockquote {
        font-size: 26px;
    }

}