/* Hero — graphic-print template */

.hero .container-flexible {
    --container-flexible-a: 0.6;
    --container-flexible-b: 0.4;
}

.hero .hero-image-container {
    margin-top: -100px;
}

.hero .hero-base-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.hero .title-smaller {
    margin-top: 40px;
}

.website-easy {
    background-color: var(--color-bg2);
}

.website-easy p {
    margin: 25px 0;
}

.website-easy .property-list>div {
    display: flex;
}

.website-easy .property-list>div>*:first-child {
    font-size: 22px;
    line-height: 1.15;
    color: #000;
    font-weight: 700;
    width: 180px !important;
}

.website-easy .property-list>div>*:nth-child(2) {
    width: calc(100% - 180px);
    padding-left: 20px
}

@media (max-width: 1299px) {
    .website-easy .property-list>div {
        flex-wrap: wrap;
    }

    .website-easy .property-list>div>*:first-child {
        width: 100% !important;
    }

    .website-easy .property-list>div>*:nth-child(2) {
        width: 100% !important;
        padding: 10px 0 0 0
    }

}

section.integration {
    padding-bottom: 40px;
}

@media (max-width: 1299px) {
    .hero .hero-image-container {
        margin-top: -50px;
    }
}

.seo .container-flexible {
    --container-flexible-a: 0.4;
    --container-flexible-b: 0.6;
}

.new-builds .property-list {
    margin-top: 50px;
}


.new-builds .property-list>div {
    display: flex;
}

.new-builds .property-list>div>*:first-child {
    font-size: 22px;
    line-height: 1.15;
    color: #fff;
    font-weight: 700;
    width: 180px !important;
}

.new-builds .property-list>div>*:nth-child(2) {
    width: calc(100% - 180px);
    padding-left: 20px;
    color: var(--color-ink-soft);
}

@media (max-width: 1299px) {
    .new-builds .property-list>div {
        flex-wrap: wrap;
    }

    .new-builds .property-list>div>*:first-child {
        width: 100% !important;
    }

    .new-builds .property-list>div>*:nth-child(2) {
        width: 100% !important;
        padding: 10px 0 0 0
    }

    .new-builds .row.join {
        gap: 0 !important;
        row-gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .new-builds .row.join .property-list {
        margin-top: 0;
    }

    .new-builds .row.join .col-desktop-6:nth-child(2) .property-list {
        margin-top: -1px;
    }
}

section.google-rating {
    padding: calc(var(--section-padding) / 2) 0;
}


section.quote {
    text-align: center;
}

section.quote .title-h3 {
    line-height: 1.3;
}

section.quote .signature {
    color: var(--color-ink2);
    margin-top: 40px;
    text-transform: uppercase;
    font-size: 22px;
}



/* OTHER SITE */



/* Process Context Text */

.web-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    margin-top: 60px;
}

/* Base Gray Line */
.web-process-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #E5E5E5;
    z-index: 0;
}

/* Active Orange Fill Line */
.process-fill-line {
    position: absolute;
    top: 24px;
    left: 0;
    height: 1px;
    background: var(--accent);
    z-index: 1;
    width: 0%;
    /* JS controls this */
}

.process-step {
    position: relative;
    z-index: 2;
}

.process-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: #ccc;
    margin-bottom: 25px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Active State */
.process-step.active .process-num {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    transform: scale(1.2);
    box-shadow: 0 10px 20px rgba(255, 82, 0, 0.3);
}

.process-step h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #111;
    transition: color 0.3s;
}

.process-step.active h4 {
    color: var(--accent);
}

.process-step p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .web-split-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .web-split-img {
        order: 2;
        box-shadow: none;
    }

    /* Image below on mobile */
    .web-split-content {
        order: 1;
        padding-left: 0;
    }

    .web-process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .web-process-grid::before {
        display: none;
    }

    .process-fill-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .web-process-grid {
        grid-template-columns: 1fr;
    }
}



/* --- WEB DESIGN PROJECT SHOWCASE REPLACEMENT --- */
.web-project-showcase {
    padding: 120px 0 135px;
    background: #101010;
    border-top: 0;
    color: #fff;
}

.web-project-showcase-header {
    max-width: 940px;
    margin-bottom: 72px;
}

.web-project-showcase-header h2 {
    color: #fff;
    font-size: clamp(46px, 5.4vw, 84px);
    font-weight: 900;
    letter-spacing: -0.015em;
    line-height: 0.94;
    margin: 18px 0 26px;
}

.web-project-showcase-header p {
    color: #aaa;
    font-size: 20px;
    line-height: 1.55;
    max-width: 760px;
}

.web-project-showcase-header a {
    color: inherit;
    text-decoration-line: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.web-project-showcase-list {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.web-project-row {
    display: grid;
    grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 86px);
    align-items: center;
    padding: 42px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: inherit;
    text-decoration: none;
}

.web-project-row figure {
    margin: 0;
    overflow: hidden;
    background: #181818;
}

.web-project-row img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: saturate(0.78);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.web-project-row:hover img {
    transform: scale(1.035);
    filter: saturate(1);
}

.web-project-copy {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(190px, 0.5fr);
    gap: 12px 36px;
    align-items: start;
}

.web-project-client {
    grid-column: 1 / -1;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.web-project-copy h3 {
    color: #fff;
    font-size: clamp(32px, 3.6vw, 56px);
    font-weight: 900;
    letter-spacing: -0.015em;
    line-height: 0.96;
    margin: 0;
}

.web-project-stack {
    justify-self: end;
    color: #aaa;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.45;
    text-align: right;
    text-transform: uppercase;
}

.web-project-copy p {
    color: #aaa;
    font-size: 18px;
    line-height: 1.58;
    max-width: 760px;
    margin: 12px 0 0;
}

.web-project-link {
    align-self: end;
    justify-self: end;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-align: right;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .web-project-showcase {
        padding: 86px 0 98px;
    }

    .web-project-row,
    .web-project-copy {
        grid-template-columns: 1fr;
    }

    .web-project-stack,
    .web-project-link {
        justify-self: start;
        text-align: left;
    }
}

/* --- WEB PROJECT SHOWCASE LINK POSITION --- */
.web-project-link {
    grid-column: 2;
    grid-row: 4;
    align-self: start;
    justify-self: end;
    margin-top: 12px;
}

@media (max-width: 980px) {
    .web-project-link {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
    }
}


/* --- WEB PROJECT SHOWCASE META GROUP --- */
.web-project-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
    justify-self: end;
}

.web-project-meta .web-project-link {
    align-self: auto;
    justify-self: auto;
    margin-top: 0;
}

@media (max-width: 980px) {
    .web-project-meta {
        align-items: flex-start;
        justify-self: start;
    }
}

/* --- WORK PAGE VERTICAL POSITION + BACK INDEX PANEL --- */
@media (min-width: 1025px) {

    .index-content,
    .project-grid {
        transform: translateY(-75px);
    }

    .work-text-container {
        margin-top: -75px;
    }

    .back-to-index {
        left: 0;
        padding: 22px 34px 22px 50px;
        background: #fff;
        box-shadow: 24px 0 60px rgba(0, 0, 0, 0.08);
        isolation: isolate;
    }

    .back-to-index::after {
        content: '';
        position: absolute;
        top: 0;
        right: 100%;
        bottom: 0;
        width: 100vw;
        background: #fff;
        z-index: -1;
    }
}