/* Match the spacing of the events intro and the type of the homepage hero. */
.note-business { --business-prose-size: clamp(17px, 1.9vw, 36px); }
.note-business .note-business-grid { margin-block-start: clamp(24px, 4.3vw, 82px); }
.note-business .note-business-grid p,
.note-business .note-business-statement > p {
    font: 400 var(--business-prose-size)/1.42 var(--sans);
    text-wrap: pretty;
}
.note-business .note-business-grid > div > :is(h2, h3),
.note-business .note-business-statement > strong {
    font: 800 var(--business-prose-size)/1.15 var(--sans);
    letter-spacing: -.025em;
    color: #1b1919;
}
@media (min-width: 741px) {
    .note-business { --business-prose-size: clamp(17px, calc(25 / 1440 * 100vw), 33.333px); }
}
@media (max-width: 740px) {
    .note-business { --business-prose-size: 16px; }
}
@media (width > 650px) {
    .note-business-grid > .note-business-copy--second { grid-area: 2 / 2; }
    .note-business-grid > .note-business-photo--second { grid-area: 2 / 1; }
}
@media (max-width: 650px) {
    .note-business .note-business-grid > .note-business-copy--second { grid-row: auto; }
}

/* Keep the current frame when replacing the source with a portrait. */
.note-business-grid > .note-business-photo--second { object-position: 50% 36%; }
@media (width > 650px) {
    .note-business-grid > .note-business-photo--second { aspect-ratio: 957 / 726; }
}

/* Use the homepage section-heading type. Keep the existing centered layout. */
.note-business .note-business-statement > h2 {
    font: 700 clamp(27px, 2.65vw, 51px)/1.04 var(--serif);
    letter-spacing: -.025em;
    text-transform: none;
    text-wrap: balance;
}
/* Same base text style as the caption under References. */
.note-business .note-business-statement > small { font: inherit; }

/* Share one centered content width; the colored panels remain full width. */
.note-business {
    --business-column-cut: clamp(24px, calc(20vw - 70px), 200px);
    --business-column-width: calc(min(100% - 2 * var(--gutter), 1600px) - var(--business-column-cut));
}
.note-business .note-business-statement {
    padding-block: calc(clamp(38px, 4.4vw, 85px) + clamp(16px, 2vw, 36px));
    padding-inline: 0;
}
.note-business .note-business-statement > *,
.note-business .note-client-refs,
.note-business .note-business-recs,
.note-business .note-personalize > .note-shell {
    width: var(--business-column-width);
    margin-inline: auto;
}
.note-business .note-business-statement > strong { margin-block-start: clamp(16px, 2.4vw, 46px); }

/* Compact centered row; on narrow screens the row alone can scroll. */
.note-business .note-client-refs__grid {
    --refs-height: clamp(25px, 2.2vw, 42px);
    display: flex;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    gap: clamp(16px, 3vw, 50px);
    align-items: center;
    justify-content: safe center;
    overflow-x: auto;
    padding-block-end: 8px;
}
.note-business .note-client-refs__grid img {
    flex: none;
    height: calc(var(--refs-height) * var(--logo-scale, 1));
    width: auto;
    max-width: none;
    aspect-ratio: auto;
}

/* Equal space from the statement panel to the references and from the
   reference row (including any scrollbar) to the recommendations box. */
.note-business .note-client-refs { padding-block: clamp(64px, 6.25vw, 120px); }
.note-business .note-client-refs > p { margin-block-start: 0; }
.note-business .note-client-refs__grid { padding-block-end: 0; }


/* Let long labels wrap inside the narrower cards on small screens. */
.note-business :is(.note-business-recs, .note-personalize) article {
    hyphens: auto;
    overflow-wrap: anywhere;
}

/* Keep the page-colored backing separate from the recommendation frame. */
.note-business .note-business-recs-backing {
    padding-block-end: calc(clamp(32px, 4vw, 76px) + 5px);
}
.note-business .note-business-recs {
    margin-block: 0;
    padding: clamp(15px, 1.5vw, 30px);
}
.note-business .note-business-recs article > div {
    padding-inline: 0;
    padding-block-end: 0;
}
.note-business .note-business-recs article img { height: auto; object-position: center; }
.note-business .note-business-recs article:nth-child(2) img { object-position: 50% 22%; }
@media (max-width: 650px) {
    .note-business .note-business-recs > div { grid-template-columns: minmax(0, 1fr); }
}

/* Match the references caption and let the panel show through the graphics. */
.note-business .note-personalize { padding-block: calc(clamp(26px, 2.85vw, 55px) + 10px) calc(clamp(26px, 2.85vw, 55px) + 15px); }
.note-business .note-personalize > .note-personalize-caption {
    width: var(--business-column-width);
    margin: 4px auto 0;
    font: inherit;
    text-align: center;
}
.note-business .note-personalize img { background: transparent; }

.note-business .note-personalize article { --personalize-title-size: clamp(14px, 1.24vw, 24px); }
.note-business .note-personalize article h3 { font-size: var(--personalize-title-size); }
.note-business .note-personalize .note-personalize-minimum {
    display: block;
    margin-block-start: 3px;
    font: 300 calc(var(--personalize-title-size) - 4px)/1.35 var(--sans);
    text-transform: none;
}

/* Tighten the group without scaling or clipping any nontransparent artwork. */
.note-business .note-personalize > .note-shell { margin-block-start: 10px; }
.note-business .note-personalize img {
    height: auto;
    aspect-ratio: 600 / 440;
    object-fit: cover;
    object-position: center;
    margin-block-end: 8px;
}

.note-business .note-business-form { padding-block-start: calc(clamp(30px, 4.2vw, 82px) + 5px); }
.note-business .note-business-contacts {
    display: grid;
    justify-items: start;
    gap: .25em;
}
.note-business .note-business-contacts a {
    display: inline-flex;
    align-items: center;
    gap: .45em;
}
.note-business .note-business-contacts svg { flex: none; width: 1em; height: 1em; }

/* Keep the native select interaction but use the same square field styling. */
.note-business #business-enquiry :is(input:not([type=checkbox], [type=radio], [type=hidden]), select, textarea) {
    border-radius: 0;
}
.note-business #business-enquiry :is(input:not([type=checkbox], [type=radio], [type=hidden]), select) {
    height: 39px;
    align-self: end;
}
.note-business #business-enquiry select {
    -webkit-appearance: none;
    appearance: none;
    line-height: inherit;
    padding-inline-end: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27%3E%3Cpath d=%27m3.5 6 4.5 4 4.5-4%27 stroke=%27%232b2928%27 stroke-width=%271.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
}

/* Match the public homepage CTA palette and type, not its dimensions. */
.note-business #main-content .note-button {
    background-color: #4d4d4e;
    border-color: #4d4d4e;
    color: #fff;
    font: 500 clamp(12px, 1.18vw, 22px)/1.15 var(--sans);
    letter-spacing: normal;
    text-transform: uppercase;
}

.note-business .note-business-faq { margin-block-start: 10px; }
