@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --forest: #173c35;
    --forest-dark: #0e2925;
    --moss: #829b62;
    --citrus: #d9e36d;
    --clay: #c86442;
    --sand: #eee9de;
    --cream: #f8f6f0;
    --charcoal: #202925;
    --muted: #6b756d;
    --line: rgba(23, 60, 53, .18);
    --display: 'Cormorant Garamond', serif;
    --sans: 'Space Grotesk', sans-serif;
    --mono: 'IBM Plex Mono', monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--charcoal);
    background: var(--cream);
    font-family: var(--sans);
}

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

img {
    display: block;
    max-width: 100%;
}

.site-shell {
    overflow: hidden;
}

.topbar {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    min-height: 86px;
    gap: 28px;
    padding: 0 clamp(22px, 6vw, 90px);
    color: white;
}

.topbar::after {
    position: absolute;
    right: clamp(22px, 6vw, 90px);
    bottom: 0;
    left: clamp(22px, 6vw, 90px);
    height: 1px;
    background: rgba(255, 255, 255, .36);
    content: '';
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    white-space: nowrap;
}

.brand em {
    display: block;
    margin-top: 4px;
    color: var(--citrus);
    font: 500 9px/1 var(--mono);
    letter-spacing: .26em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--citrus);
    color: var(--citrus);
    font: 600 11px var(--mono);
}

.brand-mark i {
    display: none;
}

.brand-mark::before {
    content: 'SB';
}

nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.2vw, 29px);
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
}

nav a,
.header-call,
.button,
.text-link,
.service-item,
.project img {
    transition: all .25s ease;
}

nav a:hover,
.text-link:hover {
    color: var(--citrus);
}

.nav-quote {
    padding: 12px 17px;
    color: var(--forest-dark);
    background: var(--citrus);
}

.nav-quote:hover {
    color: var(--forest-dark);
    background: white;
}

.nav-phone,
.menu-button {
    display: none;
}

.header-call {
    padding-left: 21px;
    border-left: 1px solid rgba(255, 255, 255, .36);
    font: 500 12px var(--mono);
    white-space: nowrap;
}

.header-call span {
    display: block;
    margin-bottom: 4px;
    color: var(--citrus);
    font-size: 9px;
    letter-spacing: .1em;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: min(820px, 94vh);
    padding: 150px clamp(22px, 8vw, 125px) 88px;
    color: white;
    isolation: isolate;
}

.hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    display: block;
    background: var(--forest-dark);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
    opacity: .88;
}

.hero-image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 41, 37, .28) 0%, rgba(14, 41, 37, .2) 38%, rgba(14, 41, 37, .95) 100%);
    content: '';
}

.hero-rail {
    position: absolute;
    top: 118px;
    left: clamp(22px, 8vw, 125px);
    margin: 0;
    color: var(--citrus);
    font: 500 10px var(--mono);
    letter-spacing: .18em;
}

.hero-copy {
    max-width: 790px;
}

.eyebrow {
    margin: 0 0 17px;
    color: var(--citrus);
    font: 500 10px var(--mono);
    letter-spacing: .18em;
}

h1,
h2 {
    margin: 0;
    font-weight: 600;
    line-height: .94;
    letter-spacing: -.055em;
}

h1 {
    max-width: 780px;
    font-size: clamp(62px, 9vw, 128px);
}

h1 em,
h2 em {
    color: var(--citrus);
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -.03em;
}

.hero-text {
    max-width: 465px;
    margin: 27px 0 30px;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    line-height: 1.7;
}

.hero-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 650px;
    margin: 0 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .35);
    border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.hero-services span {
    padding: 16px 12px 16px 0;
    color: rgba(255, 255, 255, .88);
    font: 600 16px/1.3 var(--sans);
    letter-spacing: .02em;
}

.hero-services span::before {
    margin-right: 7px;
    color: var(--citrus);
    content: '+ ';
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 52px;
    padding: 0 19px;
    border: 0;
    font: 600 12px var(--sans);
    letter-spacing: .02em;
    cursor: pointer;
}

.button-primary {
    color: var(--forest-dark);
    background: var(--citrus);
}

.button-primary:hover {
    background: white;
    transform: translateY(-3px);
}

.button span {
    font-size: 18px;
    font-weight: 400;
}

.text-link {
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .7);
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.text-link span {
    margin-left: 10px;
}

.image-index {
    position: absolute;
    top: 120px;
    right: clamp(22px, 8vw, 125px);
    display: block;
    color: white;
    font: 500 10px var(--mono);
    letter-spacing: .12em;
    writing-mode: vertical-rl;
}

.image-note {
    position: absolute;
    right: clamp(22px, 8vw, 125px);
    bottom: 100px;
    display: block;
    width: 178px;
    padding: 18px;
    border-left: 3px solid var(--citrus);
    color: var(--forest-dark);
    background: var(--citrus);
}

.image-note span {
    display: block;
    margin-bottom: 10px;
    font: 500 9px var(--mono);
    letter-spacing: .12em;
}

.image-note strong {
    font: 600 22px/1.05 var(--display);
}

.hero-bottom {
    position: absolute;
    right: clamp(22px, 8vw, 125px);
    bottom: 0;
    left: clamp(22px, 8vw, 125px);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .36);
    color: rgba(255, 255, 255, .82);
    font: 500 9px var(--mono);
    letter-spacing: .14em;
}

.trust-bar {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 24px;
    padding: 43px clamp(22px, 8vw, 125px);
    color: var(--forest);
    background: var(--citrus);
}

.trust-bar p {
    margin: 0;
    font: 500 25px/1.08 var(--display);
}

.trust-bar p strong {
    display: block;
    font-weight: 500;
}

.trust-bar div {
    padding-left: 20px;
    border-left: 1px solid rgba(23, 60, 53, .32);
}

.trust-bar strong {
    display: block;
    margin-bottom: 9px;
    color: var(--forest);
    font: 500 22px var(--mono);
}

.trust-bar span {
    font-size: 11px;
    line-height: 1.45;
}

.services {
    padding: 108px clamp(22px, 8vw, 125px);
    background: var(--sand);
    scroll-margin-top: 25px;
}

.section-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 55px;
}

.section-intro h2,
.work h2,
.quote h2,
.emergency h2 {
    font-size: clamp(47px, 6vw, 82px);
}

.section-intro::after {
    width: 92px;
    height: 14px;
    margin: 0 0 9px auto;
    background: var(--clay);
    content: '';
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    border-top: 1px solid var(--forest);
}

.service-item {
    position: relative;
    display: block;
    min-height: 254px;
    padding: 28px 25px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(248, 246, 240, .56);
}

.service-item::after {
    position: absolute;
    right: 24px;
    bottom: 23px;
    width: 27px;
    height: 1px;
    background: var(--clay);
    content: '';
}

.service-item:hover {
    color: white;
    background: var(--forest);
    transform: translateY(-5px);
}

.service-item:hover h3,
.service-item:hover p,
.service-item:hover .service-number {
    color: white;
}

.service-number {
    color: var(--clay);
    font: 500 11px var(--mono);
}

.service-item h3 {
    max-width: 220px;
    margin: 42px 0 10px;
    color: var(--forest);
    font-size: 22px;
    letter-spacing: -.04em;
}

.service-item p {
    max-width: 270px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.service-item a {
    position: absolute;
    right: 24px;
    bottom: 12px;
    color: var(--clay);
    font-size: 24px;
}

.service-item:hover a {
    color: var(--citrus);
}

.emergency {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    min-height: 500px;
    color: white;
    background: var(--forest-dark);
}

.emergency-image {
    min-height: 500px;
}

.emergency-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.75);
}

.emergency-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px clamp(30px, 7vw, 110px);
}

.emergency .eyebrow {
    color: var(--citrus);
}

.emergency h2 em {
    color: var(--citrus);
}

.emergency-copy>p:not(.eyebrow) {
    max-width: 375px;
    margin: 28px 0 32px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.75;
}

.button-light {
    width: fit-content;
    color: var(--forest-dark);
    background: white;
}

.button-light:hover {
    color: var(--forest-dark);
    background: var(--citrus);
}

.button-light span {
    font: 500 11px var(--mono);
}

.work {
    padding: 110px clamp(22px, 8vw, 125px);
    background: var(--cream);
}

.work-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.work-heading>p {
    max-width: 310px;
    margin: 0 4% 7px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.process-rail {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin: 0 0 27px auto;
    color: var(--forest);
    font: 500 10px var(--mono);
}

.process-rail span {
    white-space: nowrap;
}

.process-rail b {
    color: var(--clay);
    font-weight: 500;
}

.process-rail i {
    width: 25px;
    height: 1px;
    background: var(--clay);
}

.work-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    grid-template-rows: repeat(2, 260px);
    gap: 14px;
}

.project {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--forest);
}

.project-large {
    grid-row: span 2;
}

.project img,
.project-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
    transition: transform .6s ease;
}

.project::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(14, 41, 37, .92));
    content: '';
    pointer-events: none;
}

.project:hover img {
    transform: scale(1.06);
}

.project figcaption {
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 18px;
    left: 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: white;
    font: 500 9px var(--mono);
    letter-spacing: .06em;
}

.project figcaption strong {
    color: var(--citrus);
    font: 600 12px var(--sans);
    white-space: nowrap;
}

.reviews {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 8vw;
    padding: 105px clamp(22px, 8vw, 125px);
    color: var(--forest);
    background: var(--citrus);
}

.reviews .eyebrow,
.review-stars {
    color: var(--clay);
}

.rating {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 14px;
    align-items: center;
    margin-top: 33px;
}

.rating strong {
    grid-row: span 2;
    font: 500 61px/1 var(--display);
}

.rating span {
    color: var(--clay);
    font-size: 16px;
    letter-spacing: .12em;
}

.rating small {
    color: var(--forest);
    font-size: 10px;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.review-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 23px;
    background: var(--cream);
}

.review-stars {
    margin: 0;
    font-size: 13px;
    letter-spacing: .1em;
}

.review-card blockquote {
    margin: 28px 0 auto;
    font: 500 18px/1.35 var(--display);
}

.review-card footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.review-card footer strong {
    color: var(--forest);
    font-size: 11px;
}

.review-card footer span {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

.quote {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 10vw;
    padding: 110px clamp(22px, 8vw, 125px);
    color: white;
    background: var(--forest);
}

.quote .eyebrow {
    color: var(--citrus);
}

.quote h2 em {
    color: var(--citrus);
}

.quote-intro>p:not(.eyebrow) {
    max-width: 295px;
    margin-top: 27px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.7;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-self: start;
    gap: 26px 20px;
}

label {
    color: var(--citrus);
    font: 500 10px var(--mono);
    letter-spacing: .1em;
}

input,
select,
textarea {
    display: block;
    width: 100%;
    padding: 13px 0 10px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    border-radius: 0;
    outline: none;
    color: white;
    background: transparent;
    font: 500 14px var(--sans);
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, .55);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--citrus);
}

select {
    cursor: pointer;
}

select option {
    color: var(--charcoal);
}

.full-width,
.form-message {
    grid-column: 1 / -1;
}

.form-message {
    margin: 0;
    color: var(--citrus);
    font-size: 12px;
}

.site-shell>footer {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr 1fr;
    gap: 30px;
    padding: 48px clamp(22px, 8vw, 125px) 28px;
    color: white;
    background: var(--forest-dark);
}

.footer-brand,
.footer-brand .brand-mark {
    color: white;
}

.footer-brand em {
    color: var(--citrus);
}

.site-shell>footer p {
    max-width: 320px;
    margin: 0;
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
    line-height: 1.7;
}

.site-shell>footer div {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 12px;
    font-weight: 600;
}

.site-shell>footer div a:hover {
    color: var(--citrus);
}

.site-shell>footer small {
    grid-column: 1 / -1;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .45);
    font: 500 9px var(--mono);
    letter-spacing: .08em;
}

@media (max-width: 1050px) {
    .header-call {
        display: none;
    }

    .hero {
        min-height: 720px;
    }

    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .topbar {
        min-height: 72px;
    }

    .topbar::after {
        right: 22px;
        left: 22px;
    }

    .topbar nav,
    .header-call {
        display: none;
    }

    .menu-button {
        display: block;
        margin-left: auto;
        padding: 8px 0;
        border: 0;
        color: white;
        background: none;
        font: 600 12px var(--sans);
        cursor: pointer;
    }

    .topbar.menu-open nav {
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 23px 22px 27px;
        color: var(--forest);
        background: var(--cream);
        font-size: 14px;
    }

    .topbar.menu-open .nav-quote {
        width: fit-content;
        color: var(--forest-dark);
        background: var(--citrus);
    }

    .topbar.menu-open .nav-phone {
        display: block;
        color: var(--clay);
        font: 500 12px var(--mono);
    }

    .hero {
        min-height: 745px;
        padding: 150px 22px 90px;
    }

    .hero-rail {
        top: 106px;
        left: 22px;
    }

    .image-index {
        top: 109px;
        right: 22px;
    }

    .image-note {
        display: none;
    }

    .image-note strong {
        font-size: 18px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 25px;
    }

    .hero-services span {
        padding: 12px 8px 12px 0;
        font-size: 14px;
    }

    .hero-bottom {
        right: 22px;
        left: 22px;
        gap: 11px;
        font-size: 8px;
    }

    .trust-bar {
        grid-template-columns: 1fr 1fr;
        gap: 25px 12px;
        padding: 35px 22px;
    }

    .trust-bar p {
        grid-column: 1 / -1;
        font-size: 23px;
    }

    .trust-bar div {
        padding-left: 12px;
    }

    .services,
    .work,
    .quote {
        padding: 75px 22px;
    }

    .section-intro {
        display: block;
        margin-bottom: 40px;
    }

    .section-intro::after {
        margin: 27px 0 0;
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-item {
        min-height: 220px;
    }

    .emergency {
        grid-template-columns: 1fr;
    }

    .emergency-image {
        min-height: 285px;
    }

    .emergency-copy {
        padding: 65px 22px;
    }

    .work-heading {
        display: block;
    }

    .work-heading>p {
        margin: 23px 0 0;
    }

    .process-rail {
        width: 100%;
        margin: 0 0 21px;
        padding-bottom: 8px;
        overflow-x: auto;
    }

    .work-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 14px;
    }

    .project,
    .project-large {
        grid-row: auto;
        height: 285px;
    }

    .reviews {
        grid-template-columns: 1fr;
        gap: 39px;
        padding: 75px 22px;
    }

    .review-list {
        grid-template-columns: 1fr;
    }

    .review-card {
        min-height: 245px;
    }

    form {
        grid-template-columns: 1fr;
    }

    .quote .full-width {
        grid-column: auto;
    }

    .site-shell>footer {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 43px 22px 27px;
    }

    .site-shell>footer small {
        grid-column: auto;
        line-height: 1.6;
    }
}