:root {
    --bh-signal-orange: #ff6b26;
    --bh-electric-blue: #006aca;
    --bh-paper-blue: #e8f5ff;
    --bh-canary: #ffe476;
    --bh-card-line: #d8e3ee;
}

.site .bh-brand-icon {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    object-fit: contain;
}

.site .how-i-help .help-card,
.site .about-page .about-rotation-card:nth-child(n) {
    border: 1px solid var(--bh-card-line);
    background: #fff;
}

.site .how-i-help .help-card-icon::before {
    content: none;
}

.site .how-i-help .help-card-icon {
    width: 56px;
    height: 56px;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.site .how-i-help .help-card-icon .bh-brand-icon {
    width: 54px;
    height: 54px;
}

.site .how-i-help .help-accent-line,
.site .testimonials-accent-line {
    background: var(--bh-signal-orange);
}

/* Quotes are pulled from the existing Ghost content. Tape stays decorative. */
.site .testimonials-subgrid {
    padding-top: 12px;
    gap: 24px;
}

.site .testimonials-subgrid blockquote {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 25px clamp(15px, 2vw, 25px) 20px !important;
    border: 0 !important;
    border-radius: 2px;
    background: var(--bh-canary);
    color: #171717;
    box-shadow: 0 5px 12px rgb(0 53 101 / 8%);
}

.site .testimonials-subgrid blockquote:nth-of-type(2) { background: var(--bh-paper-blue); }
.site .testimonials-subgrid blockquote:nth-of-type(3) { background: #fff0e6; }

.site .testimonials-subgrid blockquote::before {
    color: var(--bh-navy);
    margin-bottom: 0;
}

.site .testimonials-subgrid blockquote::after {
    position: absolute;
    top: -8px;
    left: calc(50% - 28px);
    width: 56px;
    height: 16px;
    background: var(--bh-signal-orange);
    clip-path: polygon(0 7%, 98% 0, 94% 25%, 100% 48%, 95% 70%, 99% 98%, 0 94%, 5% 72%, 1% 49%, 5% 26%);
    transform: rotate(-5deg);
    content: "";
    pointer-events: none;
}

/* One cropped fragment of the studio's transparent houndstooth. */
.site .book-section .book-brand-pattern {
    left: 4%;
    bottom: 8%;
    width: clamp(68px, 24%, 92px);
    height: 92px;
    background: url("../images/brand/houndstooth-ink.svg") repeat 0 0 / 24px 27.6px;
    opacity: .72;
    transform: rotate(-7deg);
}

.site .book-section .book-brand-dots {
    top: 8%;
    right: 4%;
    width: 60px;
    height: 50px;
    background: radial-gradient(circle, var(--bh-navy) 1.6px, transparent 1.8px) 0 0 / 12px 12px;
    opacity: .62;
}

.site .about-mb-key {
    color: var(--bh-navy);
    font-weight: 700;
}

.site .about-rotation-card > .about-rotation-label,
.site .bh-icon-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site .about-rotation-label .bh-brand-icon {
    width: 34px;
    height: 34px;
}

.site .about-page .about-rotation {
    background: var(--bh-navy);
}

.site .about-page .about-rotation-newsletter {
    border-top-color: #67c4fd;
}

.site .sp-v112 .sp-links-grid a:nth-child(n) {
    border: 1px solid var(--bh-card-line);
    border-radius: 4px;
    background: #fff;
    color: var(--bh-navy);
}

.site .sp-v112 .sp-links-grid a:hover,
.site .sp-v112 .sp-links-grid a:focus-visible {
    border-color: var(--bh-electric-blue);
    background: var(--bh-paper-blue);
}

.site .sp-links-grid .bh-brand-icon,
.site .bh-icon-heading .bh-brand-icon {
    width: 44px;
    height: 44px;
}

/* Page-specific closing calls share one layout above the global Ghost footer. */
.site .bh-page-end {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(115px, 24%);
    align-items: center;
    column-gap: clamp(22px, 5vw, 60px);
    row-gap: 18px;
    width: min(calc(100% - 40px), 1120px);
    min-height: 0;
    margin: clamp(42px, 6vw, 76px) auto clamp(42px, 6vw, 76px);
    padding: clamp(25px, 5vw, 52px);
    border: 1px solid var(--bh-card-line);
    border-top: 3px solid var(--bh-signal-orange);
    border-radius: 4px;
    background: var(--bh-paper-blue);
    color: #171717;
    overflow: visible;
}

.site .bh-page-end :is(h2, h3) { color: var(--bh-navy); }
.site .bh-page-end p { color: #171717; }

.site .bh-page-end::before,
.site .bh-page-end::after,
.site .bh-page-end .contact-last-robot::before {
    content: none;
}

.site .bh-page-end > :is(.about-footer-robot, .work-closing-robot, .contact-last-robot) {
    position: static;
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: center;
    width: min(100%, 180px);
    margin: 0;
    pointer-events: none;
}

.site .bh-page-end :is(.about-footer-robot, .work-closing-robot, .contact-last-robot img) {
    max-height: 210px;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 1;
}

.site .bh-page-end > :not(.about-footer-robot, .work-closing-robot, .contact-last-robot) {
    grid-column: 1;
}

.site .bh-page-end > .contact-last-copy { grid-row: 1; }
.site .bh-page-end > .work-action { justify-self: start; }
.site .gh-foot { border-top-color: var(--bh-card-line); }

@media (max-width: 650px) {
    .site .bh-page-end { grid-template-columns: minmax(0, 1fr); }
    .site .bh-page-end > :is(.about-footer-robot, .work-closing-robot, .contact-last-robot) {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        width: 115px;
        order: 1;
    }
}

.site .book-section { background: #fff; }

.site .contact-editorial { --contact-blue: var(--bh-electric-blue); }

.site .contact-editorial .contact-choice {
    border: 1px solid var(--bh-card-line);
    border-top: 3px solid var(--bh-signal-orange);
    background: #fff;
}

.site .contact-editorial .contact-choice-book {
    border-top-color: var(--bh-electric-blue);
    background: var(--bh-paper-blue);
}

.site .pmf2 .pmf2-end,
.site .bookclub-page .end {
    border-top: 3px solid var(--bh-signal-orange);
    background: var(--bh-paper-blue);
}

.site .bookclub-page .end-card {
    background: #fff;
    border-color: var(--bh-navy);
    box-shadow: 7px 8px var(--bh-signal-orange);
}

.site .writing-archive > .bh-page-end {
    box-sizing: border-box;
    width: var(--writing-width);
}

/* Personality cards borrow the same tape and paper colors as the client notes. */
.site .about-personality .about-personality-card:nth-child(n) {
    --personality-tape: var(--bh-signal-orange);
    border: 1px solid var(--bh-card-line);
    background: var(--bh-paper-blue);
}
.site .about-personality .about-personality-card:nth-child(2) {
    --personality-tape: var(--bh-canary);
    background: #fff;
}
.site .about-personality .about-personality-card:nth-child(n)::before {
    content: "";
    inset: -8px auto auto 28px;
    width: 70px;
    height: 17px;
    background: var(--personality-tape);
    clip-path: polygon(0 6%, 98% 0, 96% 28%, 100% 51%, 97% 76%, 100% 98%, 1% 95%, 4% 73%, 0 53%, 3% 27%);
}
.site .about-personality-card .about-mb-visual { margin: 20px 0 24px; }
.site .about-personality-card .about-mb-visual span:nth-child(3) {
    color: #171717;
    background: var(--bh-signal-orange);
}
.site .about-personality-card .about-tendencies > div {
    padding-left: 10px;
    border-left: 3px solid var(--bh-electric-blue);
}
.site .about-personality-card .about-tendencies > div:nth-child(2) { border-left-color: var(--bh-pink); }
.site .about-personality-card .about-tendencies > div:nth-child(3) { border-left-color: var(--bh-canary); }
