.template-business {
    --site-nav-hover-color: var(--primary-color);
    --business-ink: color-mix(in srgb, var(--secondary-color) 88%, #101827);
    --business-muted: color-mix(in srgb, var(--secondary-color) 62%, transparent);
    --business-line: color-mix(in srgb, var(--secondary-color) 13%, transparent);
    --business-soft: color-mix(in srgb, var(--primary-color) 5%, var(--background-color));
}

.template-business .site-nav {
    position: sticky;
    top: 0;
    z-index: 25;
    max-width: none;
    padding-right: max(24px, calc((100% - 1132px) / 2));
    padding-left: max(24px, calc((100% - 1132px) / 2));
    border-bottom: 1px solid var(--business-line);
    background: color-mix(in srgb, var(--background-color) 94%, transparent);
    color: var(--business-ink);
    backdrop-filter: blur(16px);
}

.template-business .site-brand strong {
    max-width: min(280px, 24vw);
    overflow: hidden;
    font-size: 17px;
    letter-spacing: -.25px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.template-business .site-nav nav {
    gap: 24px;
}

.template-business .site-nav nav a:not(.nav-contact) {
    position: relative;
    color: var(--business-muted);
    font-weight: 600;
}

.template-business .site-nav nav a:not(.nav-contact)::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.template-business .site-nav nav a:hover::after {
    transform: scaleX(1);
}

.template-business .nav-contact,
.template-business .site-button {
    border-radius: 8px;
    background: var(--primary-color);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--primary-color) 25%, transparent);
}

.template-business .site-button-secondary {
    border-color: color-mix(in srgb, var(--primary-color) 42%, transparent);
    background: var(--background-color);
    color: var(--business-ink);
    box-shadow: none;
}

.template-business .mobile-site-menu {
    display: none;
}

.template-business .customer-hero {
    min-height: 720px;
    padding-top: 96px;
    padding-bottom: 96px;
    color: var(--business-ink);
    background:
        linear-gradient(120deg, var(--business-soft), color-mix(in srgb, var(--background-color) 93%, transparent)),
        var(--background-color);
}

.template-business .customer-hero::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--primary-color), color-mix(in srgb, var(--primary-color) 18%, transparent));
}

.template-business .customer-hero h1 {
    max-width: 760px;
    color: var(--business-ink);
    font-size: clamp(50px, 6vw, 82px);
    line-height: 1.06;
    letter-spacing: -4px;
    overflow-wrap: anywhere;
}

.template-business .customer-hero .hero-inner > p:not(.site-eyebrow) {
    max-width: 660px;
    color: var(--business-muted);
    font-size: 18px;
    line-height: 1.8;
}

.template-business .site-eyebrow,
.template-business .section-kicker,
.template-business .section-heading span {
    color: var(--primary-color);
}

.template-business .hero-media {
    max-width: 560px;
    aspect-ratio: 5 / 4;
    border: 1px solid color-mix(in srgb, var(--primary-color) 16%, transparent);
    border-radius: 18px;
    box-shadow: 32px 32px 0 color-mix(in srgb, var(--primary-color) 8%, transparent);
}

.template-business .customer-hero.section-layout-image-background {
    min-height: min(820px, 92vh);
    padding-top: 140px;
    background: var(--business-ink);
    color: #fff;
}

.template-business .customer-hero.section-layout-image-background::before {
    z-index: 2;
}

.template-business .customer-hero.section-layout-image-background h1 {
    color: #fff;
}

.template-business .customer-hero.section-layout-image-background .hero-media {
    width: 100%;
    max-width: none;
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: .64;
}

.template-business .customer-hero.section-layout-image-background .hero-media::after {
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--business-ink) 94%, transparent), color-mix(in srgb, var(--business-ink) 20%, transparent)),
        linear-gradient(0deg, color-mix(in srgb, var(--business-ink) 60%, transparent), transparent 55%);
}

.template-business .customer-section {
    color: var(--business-ink);
}

.template-business .customer-section h2,
.template-business .contact-section h2 {
    font-size: clamp(38px, 4.7vw, 60px);
    letter-spacing: -2.5px;
    overflow-wrap: anywhere;
}

.template-business .about-section {
    gap: 84px;
    padding-top: 125px;
    padding-bottom: 125px;
}

.template-business .about-intro img,
.template-business .about-intro .image-placeholder {
    max-height: 470px;
    border: 1px solid var(--business-line);
    border-radius: 14px;
    box-shadow: 18px 18px 0 var(--business-soft);
}

.template-business .about-copy {
    padding: 8px 0 8px 30px;
    border-left: 3px solid var(--primary-color);
    color: var(--business-muted);
    font-size: 18px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.template-business .about-section:has(.about-copy > p:empty) {
    grid-template-columns: minmax(0, 1fr);
}

.template-business .about-section:has(.about-copy > p:empty) .section-kicker,
.template-business .about-section:has(.about-copy > p:empty) .about-intro {
    grid-column: auto;
    grid-row: auto;
}

.template-business .about-section:has(.about-copy > p:empty) .about-copy {
    display: none;
}

.template-business .services-section {
    background: var(--business-soft) !important;
}

.template-business .service-grid {
    gap: 22px;
}

.template-business .service-grid article {
    position: relative;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
    padding: 28px;
    border: 1px solid var(--business-line);
    border-radius: 12px;
    background: var(--background-color);
    box-shadow: 0 14px 35px color-mix(in srgb, var(--secondary-color) 7%, transparent);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.template-business .service-grid article:hover {
    border-color: color-mix(in srgb, var(--primary-color) 34%, transparent);
    box-shadow: 0 22px 48px color-mix(in srgb, var(--secondary-color) 12%, transparent);
    transform: translateY(-5px);
}

.template-business .service-image {
    height: 180px;
    border-radius: 12px 12px 0 0;
}

.template-business .service-number {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--primary-color) 10%, var(--background-color));
    color: var(--primary-color);
}

.template-business .service-grid h3 {
    margin-top: 24px;
    color: var(--business-ink);
}

.template-business .service-grid p,
.template-business .portfolio-grid p {
    color: var(--business-muted);
}

.template-business .portfolio-grid {
    gap: 26px;
}

.template-business .portfolio-grid article {
    min-width: 0;
    border: 1px solid var(--business-line);
    border-radius: 12px;
    background: var(--background-color);
    box-shadow: 0 12px 34px color-mix(in srgb, var(--secondary-color) 7%, transparent);
    overflow-wrap: anywhere;
    transition: transform .2s ease;
}

.template-business .portfolio-grid article:hover {
    transform: translateY(-4px);
}

.template-business .portfolio-grid img,
.template-business .portfolio-grid .image-placeholder {
    height: 330px;
}

.template-business .portfolio-section.section-layout-large-feature .portfolio-grid article:first-child img,
.template-business .portfolio-section.section-layout-large-feature .portfolio-grid article:first-child .image-placeholder {
    height: 520px;
}

.template-business .review-section {
    background: var(--business-soft);
}

.template-business .review-grid blockquote {
    min-width: 0;
    border: 1px solid var(--business-line);
    border-radius: 12px;
    background: var(--background-color);
    box-shadow: 0 12px 34px color-mix(in srgb, var(--secondary-color) 7%, transparent);
    overflow-wrap: anywhere;
}

.template-business .review-grid blockquote p {
    color: var(--business-ink);
    font-size: 16px;
    line-height: 1.8;
}

.template-business .review-grid footer {
    border-top-color: var(--business-line);
}

.template-business .contact-section {
    background: var(--business-ink);
}

.template-business .contact-links a {
    border-bottom-color: rgba(255, 255, 255, .14);
}

.template-business .contact-form-card {
    border-radius: 12px;
}

.template-business .contact-section.section-layout-contact-card {
    border-radius: 14px;
}

.template-business .map-heading {
    color: var(--business-ink);
}

.template-business .site-footer-extended {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(150px, .65fr) minmax(220px, .9fr);
    gap: 60px;
    padding-top: 68px;
    padding-bottom: 0;
    background: color-mix(in srgb, var(--business-ink) 96%, #000);
}

.template-business .site-footer-extended h2,
.template-business .site-footer-extended h3 {
    margin: 0 0 16px;
    color: var(--footer-text);
    overflow-wrap: anywhere;
}

.template-business .site-footer-extended h2 {
    font-size: 23px;
}

.template-business .site-footer-extended h3 {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.template-business .site-footer-extended p,
.template-business .site-footer-extended address {
    max-width: 430px;
    color: var(--footer-muted);
    font-style: normal;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.template-business .footer-links,
.template-business .footer-contact {
    display: grid;
    align-content: start;
    gap: 9px;
}

.template-business .footer-links a,
.template-business .footer-contact a {
    color: var(--footer-muted);
}

.template-business .footer-bottom {
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-between;
    margin-top: 18px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.template-business .floating-contact-actions a,
.template-business .customer-back-to-top {
    border-radius: 10px;
}

@media (max-width: 1000px) {
    .template-business .customer-hero {
        min-height: 660px;
    }

    .template-business .about-section {
        gap: 48px;
    }

    .template-business .site-footer-extended {
        grid-template-columns: 1.2fr .8fr;
    }

    .template-business .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1000px) {
    .template-business .site-nav > nav {
        display: none;
    }

    .template-business .mobile-site-menu {
        position: relative;
        display: block;
    }

    .template-business .mobile-site-menu summary {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--business-line);
        border-radius: 8px;
        color: var(--business-ink);
        font-size: 0;
        cursor: pointer;
        list-style: none;
    }

    .template-business .mobile-site-menu summary::before {
        color: currentColor;
        content: "☰";
        font-size: 21px;
    }

    .template-business .mobile-site-menu summary::-webkit-details-marker {
        display: none;
    }

    .template-business .mobile-site-menu nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        display: grid;
        width: min(310px, calc(100vw - 32px));
        max-height: calc(100vh - 100px);
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px;
        border: 1px solid var(--business-line);
        border-radius: 12px;
        background: var(--background-color);
        box-shadow: 0 22px 50px color-mix(in srgb, var(--secondary-color) 18%, transparent);
    }

    .template-business .mobile-site-menu nav a {
        padding: 12px 14px;
        border-radius: 7px;
        color: var(--business-ink);
        overflow-wrap: anywhere;
    }

    .template-business .mobile-site-menu .nav-contact {
        margin-top: 5px;
        color: #fff;
        text-align: center;
    }

    .template-business .customer-hero {
        padding-top: 72px;
    }
}

@media (max-width: 600px) {
    .template-business .site-nav {
        padding-right: 16px;
        padding-left: 16px;
    }

    .template-business .site-brand strong {
        max-width: 150px;
    }

    .template-business .customer-hero h1 {
        font-size: 43px;
        letter-spacing: -2.3px;
    }

    .template-business .hero-actions {
        justify-content: center;
    }

    .template-business .about-section {
        padding-top: 85px;
        padding-bottom: 85px;
    }

    .template-business .about-intro img,
    .template-business .about-intro .image-placeholder {
        box-shadow: 9px 9px 0 var(--business-soft);
    }

    .template-business .portfolio-grid img,
    .template-business .portfolio-grid .image-placeholder,
    .template-business .portfolio-section.section-layout-large-feature .portfolio-grid article:first-child img,
    .template-business .portfolio-section.section-layout-large-feature .portfolio-grid article:first-child .image-placeholder {
        height: 270px;
    }

    .template-business .site-footer-extended {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 50px;
        text-align: left;
    }

    .template-business .footer-contact {
        grid-column: auto;
    }

    .template-business .footer-bottom {
        display: grid;
        grid-column: auto;
        gap: 4px;
        text-align: left;
    }
}
