/* Shared A-hero + B-magazine page shell. */
.bh-page-content,
.bh-page-magazine {
    background: var(--bh-paper);
    color: var(--bh-ink);
}

.bh-page-magazine {
    width: 100%;
    overflow: clip;
}

.bh-page-magazine > .works-sheet,
.bh-page-magazine > .service-sheet,
.bh-page-magazine > .pricing-sheet,
.bh-page-magazine > .contact-sheet,
.bh-page-magazine > .case-sheet {
    width: 100%;
    max-width: none;
    margin: 0;
    background: transparent;
    color: inherit;
}

.bh-page .bh-hero__nav a.is-active,
.bh-page .bh-mag-nav nav a.is-active {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.45rem;
}

.bh-page-hero__copy {
    width: min(920px, 78vw);
}

.bh-process-directory {
    padding-top: 0;
}

.bh-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #d8d8d8;
    border-left: 1px solid #d8d8d8;
}

.bh-process-grid article {
    min-height: 280px;
    border-right: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    border-left: 0 !important;
}

.bh-process-grid article + article {
    border-left: 0;
}

.bh-process-grid small {
    display: block;
    margin-top: 12px;
    color: #72787c;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.bh-faq-directory {
    padding: 0 clamp(2rem, 8vw, 9rem) clamp(5.5rem, 9vw, 9rem);
}

.bh-faq-directory details {
    border-top: 1px solid var(--bh-line);
}

.bh-faq-directory details:last-child {
    border-bottom: 1px solid var(--bh-line);
}

.bh-faq-directory summary {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 30px;
    align-items: center;
    min-height: 88px;
    cursor: pointer;
    list-style: none;
    font-family: var(--bh-serif);
    font-size: clamp(17px, 1.5vw, 22px);
}

.bh-faq-directory summary::-webkit-details-marker {
    display: none;
}

.bh-faq-directory summary span {
    font-family: var(--bh-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.bh-faq-directory summary i {
    font-style: normal;
    transition: transform 180ms ease;
}

.bh-faq-directory details[open] summary i {
    transform: rotate(45deg);
}

.bh-faq-directory details > p {
    max-width: 760px;
    margin: -4px 30px 30px 62px !important;
    color: var(--bh-muted);
    font-family: var(--bh-serif);
    font-size: 15px;
    line-height: 1.85;
}

.bh-legal-copy > section {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: clamp(20px, 4vw, 70px);
    padding: 42px 0;
    border-top: 1px solid var(--bh-line);
}

.bh-legal-copy > section > span {
    font-family: var(--bh-serif);
    font-size: 24px;
}

.bh-legal-copy h2 {
    font-size: clamp(34px, 4vw, 58px) !important;
    line-height: 1 !important;
}

.bh-legal-copy p {
    max-width: 780px;
    margin-top: 18px !important;
    color: var(--bh-muted);
    font-family: var(--bh-serif);
    font-size: 16px;
    line-height: 1.9;
}

.bh-legal-intro {
    max-width: 780px;
    margin: 0 0 12px !important;
    color: var(--bh-muted);
    font-family: var(--bh-serif);
    font-size: 18px;
    line-height: 1.85;
}

.bh-legal-note {
    max-width: 780px;
    margin: 44px 0 0 !important;
    padding-top: 22px;
    border-top: 1px solid var(--bh-line);
    color: var(--bh-muted);
    font-size: 14px !important;
}

.bh-legal-copy a {
    border-bottom: 1px solid currentColor;
}

@media (max-width: 980px) {
    .bh-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .bh-page-hero__copy {
        width: auto;
    }

    .bh-hero__copy h1 {
        font-size: clamp(30px, 9.7vw, 43px) !important;
    }

    .bh-hero__copy h1 span {
        white-space: nowrap;
    }

    .bh-mag-nav nav a:nth-child(4) {
        display: inline-flex;
    }

    .bh-process-grid {
        grid-template-columns: 1fr;
    }

    .bh-process-grid article {
        min-height: 230px;
    }

    .bh-faq-directory {
        padding-right: 18px;
        padding-left: 18px;
    }

    .bh-faq-directory summary {
        grid-template-columns: 42px minmax(0, 1fr) 24px;
        min-height: 78px;
        font-size: 16px;
    }

    .bh-faq-directory details > p {
        margin: 0 0 26px 42px !important;
        font-size: 14px;
    }

    .bh-legal-copy > section {
        grid-template-columns: 42px minmax(0, 1fr);
    }
}
