/* Homepage */
.home-hero {
    position: relative;
    min-height: min(660px, calc(100svh - 84px));
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(7,29,43,.84) 0%,rgba(7,29,43,.46) 43%,rgba(7,29,43,.02) 78%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding-block: 60px 100px;
}

.hero-copy .eyebrow {
    color: var(--lime);
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-copy .eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--lime);
}

.hero-copy h1 {
    font-size: clamp(42px,4.8vw,76px);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: .01em;
}

.hero-copy h1 em {
    font-style: normal;
    color: var(--lime);
}

.hero-copy p {
    color: #e1e9e9;
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.hero-copy .actions {
    gap: 20px;
    align-items: center;
}

.hero-copy .text-link {
    color: white;
    border-color: #a4b5b9;
}

.hero-bottom {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-block: 23px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ffffff35;
    font-size: 13px;
    color: #dce7e9;
    letter-spacing: .06em;
}

.hero-bottom .hero-index {
    color: var(--lime);
}

.expertise-strip {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: var(--paper);
    padding-block: 27px;
}

.expertise-strip a {
    padding-inline: 24px;
    border-right: 1px solid #cfd9d0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 15px;
}

.expertise-strip a:first-child {
    padding-left: 0;
}

.expertise-strip a:last-child {
    border: 0;
}

.expertise-strip span {
    color: var(--green);
    font-size: 13px;
}

.home-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.about-visual {
    position: relative;
    padding: 0 25px 30px 0;
}

.about-visual::after {
    content: '';
    position: absolute;
    inset: 30px 0 0 30px;
    border: 1px solid #c6d2c4;
    z-index: -1;
}

.about-visual img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-stamp {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 24px 30px;
    background: var(--green);
    color: white;
    font-size: 15px;
}

.about-stamp strong {
    display: block;
    color: var(--lime);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: .04em;
}

.home-about h2 {
    font-size: clamp(28px,3vw,44px);
}

.about-points {
    display: flex;
    gap: 18px;
    padding-block: 18px;
    margin-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 15px;
}

.about-points span::before {
    content: '＋';
    color: var(--green);
    margin-right: 10px;
}

.home-services {
    background: var(--paper);
}

.service-preview {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: start;
}

.service-feature {
    position: sticky;
    top: 120px;
}

.service-feature img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    max-height: 520px;
    background: #e9eee7;
}

.service-feature p {
    font-size: 13px;
    margin-top: 12px;
}

.service-rows a {
    display: grid;
    grid-template-columns: 28px minmax(0, max-content) 36px;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #cdd6cb;
}

.service-rows a:first-child {
    border-top: 1px solid #cdd6cb;
}

.service-rows .number {
    font-size: 13px;
    color: var(--green);
}

.service-rows h3 {
    margin-bottom: 6px;
    font-size: 24px;
}

.service-rows p {
    font-size: 13px;
    margin: 0;
    letter-spacing: .04em;
}

.service-rows a:hover h3 {
    color: var(--green);
}

.home-case-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 24px;
}

.home-case-grid .card:first-child .card-media {
    aspect-ratio: 1.25;
}

.home-case-grid .card:not(:first-child) {
    padding-top: 28px;
}

.process-band {
    background: var(--green);
    color: white;
}

.process-band .eyebrow {
    color: var(--lime);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.process-grid article {
    border-top: 1px solid #ffffff45;
    padding-top: 25px;
}

.process-grid .num {
    font-size: 37px;
    font-weight: 300;
    color: var(--lime);
}

.process-grid h3 {
    margin: 15px 0 12px;
    font-size: 22px;
}

.process-grid p {
    color: #d3e1d9;
    font-size: 15px;
    margin: 0;
}

@media (max-width: 960px) {
    .home-hero {
        min-height: 620px;
    }
    .home-about {
        gap: 35px;
    }
    .about-points {
        flex-wrap: wrap;
        gap: 12px;
    }
    .service-preview {
        gap: 30px;
    }
    .service-feature img {
        max-height: 460px;
    }
    .home-case-grid {
        grid-template-columns: 1fr 1fr;
    }
    .home-case-grid .card:last-child {
        display: none;
    }
    .home-case-grid .card:not(:first-child) {
        padding-top: 0;
    }
    .home-case-grid .card:first-child .card-media {
        aspect-ratio: 1.45;
    }
    .process-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 600px) {
    .home-hero {
        min-height: 600px;
    }
    .hero-copy {
        padding-block: 48px 94px;
    }
    .hero-copy h1 {
        font-size: 40px;
        letter-spacing: .01em;
    }
    .hero-copy p {
        font-size: 15px;
        max-width: 320px;
    }
    .hero-copy .actions {
        gap: 17px;
    }
    .hero-bottom {
        font-size: 13px;
        letter-spacing: .02em;
    }
    .hero-bottom .desktop-caption {
        display: none;
    }
    .expertise-strip {
        grid-template-columns: 1fr 1fr;
        gap: 20px 0;
    }
    .expertise-strip a {
        padding-inline: 15px;
    }
    .expertise-strip a:nth-child(2) {
        border: 0;
    }
    .expertise-strip a:nth-child(3) {
        padding-left: 0;
    }
    .home-about, .service-preview {
        grid-template-columns: 1fr;
    }
    .service-feature {
        position: static;
    }
    .service-feature img {
        max-height: 320px;
    }
    .service-rows h3 {
        font-size: 21px;
    }
    .service-rows a {
        padding-block: 20px;
        gap: 10px;
    }
    .home-case-grid {
        grid-template-columns: 1fr;
    }
    .home-case-grid .card:last-child {
        display: block;
    }
    .process-grid {
        gap: 25px;
    }
}
