/* ==========================================================================
   HRBP Page — Maya
   11x.ai design language — single tonal surface, sans body, quiet typography.
   No alternating dark/light sections. No mono body font. No eyebrow tags
   on every card. Chat bubble overlay on the hero portrait.
   ========================================================================== */

.hrbp-page {
    --hrbp-cream:    #f1dfdb;     /* primary warm surface */
    --hrbp-cream-2:  #ebd6d0;     /* slightly deeper, for hero card bg */
    --hrbp-cream-3: #fff;         /* card surface on light sections */
    --hrbp-navy:    #121225;
    --hrbp-accent:  #ff4848;
    --hrbp-line:    rgba(18, 18, 37, 0.10);
    --hrbp-line-2:  rgba(18, 18, 37, 0.18);
    --hrbp-text:    rgba(18, 18, 37, 0.72);
    --hrbp-text-2:  rgba(18, 18, 37, 0.56);

    /* Sans for body, serif kept only for marquee headlines.
       Source Sans Pro is already loaded by the theme.
       Roboto Mono carries the Gloat brand voice on labels, tags, CTAs. */
    --hrbp-sans:    'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hrbp-serif:   var(--font-display, 'Prata', serif);
    --hrbp-mono:    'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    --hrbp-coral:   #ff4800;        /* brand orange-red, stronger CTAs/accents */

    --hrbp-container: 1240px;
    /* Generous breathing room on wide screens — 11x runs ~120px each side */
    --hrbp-pad-x:     clamp(24px, 6vw, 120px);

    color: var(--hrbp-navy);
    overflow-x: clip;
    background: var(--hrbp-cream);
}

/* All inner sections inherit the single cream base — no dramatic
   alternation. Subtle separators only. */

/* ==========================================================================
   Atoms
   ========================================================================== */

/* Brand-aligned eyebrow tag: small coral square + uppercase Roboto Mono label,
   per Gloat brand pattern "▪ TAG NAME". */
.hrbp-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--hrbp-mono);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hrbp-navy);
    padding: 0;
    background: transparent;
}
.hrbp-tag::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--hrbp-coral);
    border-radius: 1px;
}

.hrbp-btn {
    --btn-pad-x: 22px;
    --btn-pad-y: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    border-radius: 999px;
    font-family: var(--hrbp-mono);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.22,.7,.2,1), background .2s, color .2s, border-color .2s, box-shadow .2s;
    border: 1px solid transparent;
    cursor: pointer;
}
.hrbp-btn--lg { --btn-pad-x: 26px; --btn-pad-y: 15px; font-size: 14px; }

/* Gloat brand primary: solid coral red with white text on light surfaces. */
.hrbp-btn--primary {
    background: var(--hrbp-accent);
    color: #fff;
    border-color: var(--hrbp-accent);
}
.hrbp-btn--primary:hover {
    transform: translateY(-1px);
    background: var(--hrbp-coral);
    border-color: var(--hrbp-coral);
    box-shadow: 0 8px 22px rgba(255, 72, 0, 0.22);
}
.hrbp-btn--ghost {
    background: transparent;
    color: var(--hrbp-navy);
    border-color: var(--hrbp-line-2);
}
.hrbp-btn--ghost:hover { border-color: var(--hrbp-navy); }
.hrbp-btn--dark {
    background: var(--hrbp-navy);
    color: var(--hrbp-cream);
    border-color: var(--hrbp-navy);
}
.hrbp-btn--dark:hover { transform: translateY(-1px); background: #1c1c34; }

/* Section headers — quiet, one-liner */
.hrbp-section-head {
    max-width: var(--hrbp-container);
    margin: 0 auto clamp(36px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}
.hrbp-section-head--center { align-items: center; text-align: center; }
.hrbp-section-h {
    font-family: var(--hrbp-serif);
    font-size: clamp(40px, 4.4vw, 64px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.018em;
    color: var(--hrbp-navy);
    margin: 0;
    max-width: 900px;
    text-wrap: balance;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hrbp-hero {
    /* Subtle vertical brand gradient: peach at top → cream at bottom. */
    background: linear-gradient(180deg, #f5b9a3 0%, var(--hrbp-cream) 100%);
    padding: clamp(56px, 7vw, 110px) var(--hrbp-pad-x) clamp(64px, 8vw, 120px);
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hrbp-hero__inner {
    max-width: var(--hrbp-container);
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 80px);
    align-items: center;
}
.hrbp-hero__text {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 540px;
}
.hrbp-hero__title {
    font-family: var(--hrbp-serif);
    font-size: clamp(44px, 5vw, 76px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.022em;
    margin: 0;
    color: var(--hrbp-navy);
    /* Keep "Hi, I'm Maya." on a single line at all desktop widths;
       the mobile media query below relaxes this. */
    white-space: nowrap;
}
/* Thin underline divider — 11x signature element under hero title */
.hrbp-hero__rule {
    width: clamp(120px, 14vw, 200px);
    height: 1px;
    background: rgba(18, 18, 37, 0.32);
    margin: 8px 0;
    border: 0;
}
/* Role line — same scale as 11x's "The world's best SDR." */
.hrbp-hero__role {
    font-family: var(--hrbp-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--hrbp-navy);
    margin: 0;
}
.hrbp-hero__sub {
    font-family: var(--hrbp-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--hrbp-text);
    margin: 0;
    font-weight: 400;
    max-width: 460px;
}
.hrbp-hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* Portrait — 3:4 portrait orientation, ~80% of its column width */
.hrbp-hero__portrait {
    margin: 0;
    position: relative;
    display: flex;
    justify-content: center;
}
.hrbp-portrait-frame {
    position: relative;
    width: 80%;
    max-width: 480px;
    aspect-ratio: 3 / 4;
    isolation: isolate;
    /* Subtle floating drop shadow around the portrait. Applied to the frame
       (not the video element) so it isn't chopped by the inner overflow:hidden. */
    border-radius: 16px;
    box-shadow:
        0 24px 48px -12px rgba(18, 18, 37, 0.18),
        0 6px 16px -4px rgba(18, 18, 37, 0.10);
}
/* Inner clip wrapper — only the image is rounded/clipped, so the bubble
   can overlay the bottom edge with proper glass blur effect. */
.hrbp-portrait-clip {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--hrbp-cream-2);
}
.hrbp-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}
.hrbp-portrait-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    z-index: 1;
}

/* Status pills inside the frame — dark glass like 11x */
.hrbp-portrait-pills {
    position: absolute;
    top: 22px;
    left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}
.hrbp-portrait-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(18, 18, 37, 0.45);
    color: var(--hrbp-cream);
    font-family: var(--hrbp-mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(241, 223, 219, 0.18);
}
.hrbp-portrait-pill__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hrbp-accent);
    box-shadow: 0 0 6px rgba(255, 72, 72, 0.6);
}
.hrbp-portrait-pill--active .hrbp-portrait-pill__dot {
    background: #6df0c2;
    box-shadow: 0 0 6px rgba(109, 240, 194, 0.6);
}

/* Slack-style notification feed pinned to the bottom of the portrait —
   rotates through 3 different HRBP use cases so the page shows breadth. */
.hrbp-portrait-feed {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    min-height: 76px;
}
.hrbp-portrait-bubble {
    position: absolute;
    inset: 0;
    /* Light cream-tinted glass — sits on the portrait without going dark. */
    background: rgba(255, 252, 250, 0.86);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(18, 18, 37, 0.08);
    box-shadow: 0 4px 16px rgba(18, 18, 37, 0.08);
    opacity: 0;
    transform: translateY(8px);
    /* 15s loop, 5s per slot. Each bubble visible ~4s. */
    animation: hrbp-notif-rotate 15s cubic-bezier(.22,.7,.2,1) infinite;
}
.hrbp-portrait-bubble--n0 { animation-delay: 0s; }
.hrbp-portrait-bubble--n1 { animation-delay: 5s; }
.hrbp-portrait-bubble--n2 { animation-delay: 10s; }

@keyframes hrbp-notif-rotate {
    0%   { opacity: 0; transform: translateY(8px); }
    3%   { opacity: 1; transform: translateY(0); }
    30%  { opacity: 1; transform: translateY(0); }
    33%  { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 0; transform: translateY(-8px); }
}

.hrbp-portrait-bubble__icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #4a154b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ecb22e;
}
.hrbp-portrait-bubble__icon svg { width: 18px; height: 18px; }
.hrbp-portrait-bubble__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.hrbp-portrait-bubble__from {
    font-family: var(--hrbp-sans);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--hrbp-navy);
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.hrbp-portrait-bubble__channel {
    font-weight: 400;
    color: rgba(18, 18, 37, 0.55);
    font-size: 11.5px;
}
.hrbp-portrait-bubble__msg {
    font-family: var(--hrbp-sans);
    font-size: 13px;
    color: rgba(18, 18, 37, 0.78);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hrbp-portrait-bubble__tag {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(18, 18, 37, 0.06);
    border: 1px solid rgba(18, 18, 37, 0.10);
    color: var(--hrbp-navy);
    font-family: var(--hrbp-sans);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hrbp-portrait-bubble {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .hrbp-portrait-bubble--n1,
    .hrbp-portrait-bubble--n2 { display: none; }
}

/* Customer logo strip below hero — real PNG/SVG logos, monochrome via filter */
.hrbp-logos {
    background: var(--hrbp-cream);
    padding: 8px var(--hrbp-pad-x) 64px;
}
.hrbp-logos__row {
    max-width: var(--hrbp-container);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
}
.hrbp-logos__item {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    /* Force all logos to render as brand navy with reduced opacity */
    filter: brightness(0) saturate(100%) invert(8%) sepia(12%) saturate(2200%) hue-rotate(220deg) brightness(95%) contrast(102%);
    opacity: 0.6;
    transition: opacity .2s;
}
.hrbp-logos__item:hover { opacity: 0.9; }

/* ==========================================================================
   USE CASES — light cards, no tags, no eyebrows
   ========================================================================== */
.hrbp-uc {
    background: #fff;
    padding: clamp(72px, 8vw, 110px) var(--hrbp-pad-x);
}
.hrbp-uc__grid {
    max-width: var(--hrbp-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.hrbp-uc__card {
    background: var(--hrbp-cream);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s cubic-bezier(.22,.7,.2,1);
}
.hrbp-uc__card:hover { transform: translateY(-2px); }
.hrbp-uc__shot {
    aspect-ratio: 4 / 3;
    background: var(--hrbp-cream);
    overflow: hidden;
    position: relative;
}
.hrbp-uc__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hrbp-uc__copy {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hrbp-uc__h {
    font-family: var(--hrbp-sans);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.012em;
    color: var(--hrbp-navy);
    margin: 0;
}
.hrbp-uc__d {
    font-family: var(--hrbp-sans);
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--hrbp-text);
    margin: 0;
}

/* ==========================================================================
   HOW IT WORKS — alternating rows, single cream surface
   ========================================================================== */
.hrbp-how {
    background: var(--hrbp-cream);
    padding: clamp(72px, 8vw, 110px) var(--hrbp-pad-x);
    counter-reset: hrbp-step;
}
.hrbp-how__row {
    max-width: var(--hrbp-container);
    margin: 0 auto;
    padding: clamp(40px, 5vw, 72px) 0;
    counter-increment: hrbp-step;
}
.hrbp-how__row + .hrbp-how__row { border-top: 1px solid var(--hrbp-line); }
/* Brand step number "01" / "02" / "03" in coral mono, set above each row's copy. */
.hrbp-how__copy::before {
    content: counter(hrbp-step, decimal-leading-zero);
    display: block;
    font-family: var(--hrbp-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--hrbp-coral);
    margin-bottom: 6px;
}
.hrbp-how__row-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}
.hrbp-how__row:nth-of-type(even) .hrbp-how__row-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
.hrbp-how__row:nth-of-type(even) .hrbp-how__copy { order: 2; }
.hrbp-how__row:nth-of-type(even) .hrbp-how__shot { order: 1; }

.hrbp-how__copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    max-width: 420px;
}
.hrbp-how__h {
    font-family: var(--hrbp-serif);
    font-size: clamp(34px, 3.6vw, 52px);
    line-height: 1.04;
    font-weight: 400;
    letter-spacing: -0.018em;
    margin: 0;
    color: var(--hrbp-navy);
    text-wrap: balance;
}
.hrbp-how__d {
    font-family: var(--hrbp-sans);
    font-size: 17.5px;
    line-height: 1.55;
    margin: 0;
    color: var(--hrbp-text);
}
.hrbp-how__shot {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #fff;
    border: 1px solid var(--hrbp-line);
}
.hrbp-how__shot img,
.hrbp-how__shot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   BEFORE / AFTER — visual cards on white
   ========================================================================== */
.hrbp-ba {
    background: #fff;
    padding: clamp(72px, 8vw, 110px) var(--hrbp-pad-x);
}
.hrbp-ba__grid {
    max-width: var(--hrbp-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.hrbp-ba__col {
    background: var(--hrbp-cream);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hrbp-ba__shot {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--hrbp-cream-2);
}
.hrbp-ba__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- "With Maya" cell — full portrait + animated "Done." bubble ------- */
.hrbp-ba__shot--maya {
    aspect-ratio: 4 / 3;
    position: relative;
    isolation: isolate;
}
.hrbp-ba__maya-img,
.hrbp-ba__maya-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
    display: block;
}
.hrbp-ba__maya-video { z-index: 1; }
.hrbp-ba__bubble {
    position: absolute;
    bottom: clamp(20px, 4%, 32px);
    right: clamp(20px, 4%, 32px);
    z-index: 3;
    background: rgba(18, 18, 37, 0.62);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(241, 223, 219, 0.18);
    color: var(--hrbp-cream);
    padding: 14px 26px;
    border-radius: 24px 24px 8px 24px;
    font-family: var(--hrbp-serif);
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 400;
    letter-spacing: -0.012em;
    line-height: 1;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    animation: hrbp-ba-bubble 4.5s cubic-bezier(.22,.7,.2,1) infinite;
}
.hrbp-ba__bubble-text { display: inline-block; }
@keyframes hrbp-ba-bubble {
    0%, 25%   { opacity: 0; transform: translateY(8px) scale(0.96); }
    35%       { opacity: 1; transform: translateY(0) scale(1); }
    85%       { opacity: 1; transform: translateY(0) scale(1); }
    100%      { opacity: 0; transform: translateY(-4px) scale(0.98); }
}
@media (prefers-reduced-motion: reduce) {
    .hrbp-ba__bubble {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
.hrbp-ba__copy {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hrbp-ba__label {
    font-family: var(--hrbp-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hrbp-text-2);
}
.hrbp-ba__col--after .hrbp-ba__label { color: var(--hrbp-accent); }
.hrbp-ba__t {
    font-family: var(--hrbp-sans);
    font-size: 24px;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -0.012em;
    color: var(--hrbp-navy);
    margin: 0;
}

/* ==========================================================================
   STATS — single cream surface, smaller
   ========================================================================== */
.hrbp-stats {
    background: var(--hrbp-cream);
    padding: clamp(64px, 7vw, 96px) var(--hrbp-pad-x);
}
.hrbp-stats__grid {
    max-width: var(--hrbp-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--hrbp-line);
    border-bottom: 1px solid var(--hrbp-line);
}
.hrbp-stats__cell {
    padding: 28px 24px;
    border-right: 1px solid var(--hrbp-line);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hrbp-stats__cell:last-child { border-right: none; }
.hrbp-stats__v {
    font-family: var(--hrbp-serif);
    font-size: clamp(32px, 3.2vw, 48px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.018em;
    color: var(--hrbp-navy);
}
.hrbp-stats__l {
    font-family: var(--hrbp-mono);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hrbp-text);
}

/* ==========================================================================
   CAPABILITIES — light grid
   ========================================================================== */
.hrbp-caps {
    background: #fff;
    padding: clamp(72px, 8vw, 110px) var(--hrbp-pad-x);
}
.hrbp-caps__grid {
    max-width: var(--hrbp-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.hrbp-caps__card {
    background: var(--hrbp-cream);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}
.hrbp-caps__illo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--hrbp-cream-2);
}
.hrbp-caps__illo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hrbp-caps__t {
    font-family: var(--hrbp-sans);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.012em;
    margin: 0;
    color: var(--hrbp-navy);
}
.hrbp-caps__d {
    font-family: var(--hrbp-sans);
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--hrbp-text);
    margin: 0;
}

/* ==========================================================================
   INTEGRATIONS — text logos on cream
   ========================================================================== */
.hrbp-int {
    background: var(--hrbp-cream);
    padding: clamp(64px, 7vw, 96px) var(--hrbp-pad-x);
}
.hrbp-int__cluster {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
/* Integration tags — Roboto Mono pills on white, brand-aligned. */
.hrbp-int__logo {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid var(--hrbp-line);
    border-radius: 999px;
    font-family: var(--hrbp-mono);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--hrbp-navy);
    white-space: nowrap;
    transition: border-color .2s, transform .2s;
}
.hrbp-int__logo:hover {
    border-color: var(--hrbp-coral);
    transform: translateY(-1px);
}

/* ==========================================================================
   CTA — mirrors the agentic_cta_section block design:
   dark navy field, subtle grid overlay, centered radial glow, Prata title,
   Roboto Mono label + subtitle, two CTAs (rounded pills retained).
   ========================================================================== */
.hrbp-cta {
    position: relative;
    background: var(--hrbp-navy);
    color: var(--hrbp-cream);
    padding: clamp(96px, 11vw, 160px) var(--hrbp-pad-x);
    overflow: hidden;
}
/* Brand grid texture (cream lines at 8% opacity). */
.hrbp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(241, 223, 219, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(241, 223, 219, 0.08) 1px, transparent 1px);
    background-size: 122.6px 120.36px;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}
/* Center radial glow ellipse. */
.hrbp-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(977px, 90vw);
    height: 582px;
    max-height: 90%;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(241, 223, 219, 0.08) 0%,
        rgba(241, 223, 219, 0.04) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}
.hrbp-cta__inner {
    position: relative;
    z-index: 3;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hrbp-cta__label {
    font-family: var(--hrbp-mono);
    font-weight: 400;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: var(--hrbp-cream);
    margin: 0 0 20px;
}
.hrbp-cta__h {
    font-family: var(--hrbp-serif);
    font-size: clamp(44px, 6vw, 80px);
    line-height: 1.06;
    font-weight: 400;
    letter-spacing: -0.014em;
    margin: 0 auto 20px;
    color: var(--hrbp-cream);
    max-width: 1115px;
    text-wrap: balance;
}
.hrbp-cta__d {
    font-family: var(--hrbp-mono);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.5;
    color: rgba(241, 223, 219, 0.92);
    margin: 0 auto 44px;
    max-width: 665px;
}
.hrbp-cta__ctas {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}
/* Dark-theme button overrides — pills stay rounded (border-radius 999px). */
.hrbp-cta .hrbp-btn { min-width: 208px; }
.hrbp-cta .hrbp-btn--primary {
    background: var(--hrbp-accent);
    border-color: var(--hrbp-accent);
    color: #fff;
}
.hrbp-cta .hrbp-btn--primary:hover {
    background: var(--hrbp-coral);
    border-color: var(--hrbp-coral);
    box-shadow: 0 8px 22px rgba(255, 72, 0, 0.3);
}
.hrbp-cta .hrbp-btn--ghost {
    background: transparent;
    color: var(--hrbp-cream);
    border-color: rgba(241, 223, 219, 0.40);
}
.hrbp-cta .hrbp-btn--ghost:hover {
    border-color: var(--hrbp-cream);
    background: rgba(241, 223, 219, 0.06);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hrbp-hero__inner,
    .hrbp-how__row-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    .hrbp-hero__inner { gap: 36px; }
    /* Title above portrait on mobile (default DOM order — text first). */
    .hrbp-portrait-frame { width: 80%; max-width: 420px; margin: 0 auto; }

    .hrbp-uc__grid,
    .hrbp-caps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .hrbp-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hrbp-stats__cell:nth-child(2) { border-right: none; }
    .hrbp-stats__cell:nth-child(3),
    .hrbp-stats__cell:nth-child(4) { border-top: 1px solid var(--hrbp-line); }

    .hrbp-how__row:nth-of-type(even) .hrbp-how__row-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .hrbp-how__row:nth-of-type(even) .hrbp-how__copy { order: 0; }
    .hrbp-how__row:nth-of-type(even) .hrbp-how__shot { order: 0; }

    .hrbp-ba__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
    /* Add breathing room between the fixed WP nav and the portrait.
       Keep the desktop 3 / 4 aspect ratio so the video isn't cropped. */
    .hrbp-hero { padding-top: 96px; padding-bottom: 56px; min-height: 0; }

    .hrbp-uc__grid,
    .hrbp-caps__grid { grid-template-columns: minmax(0, 1fr); }
    .hrbp-stats__grid { grid-template-columns: minmax(0, 1fr); }
    .hrbp-stats__cell { border-right: none; border-top: 1px solid var(--hrbp-line); }
    .hrbp-stats__cell:first-child { border-top: none; }
    .hrbp-portrait-feed { left: 10px; right: 10px; bottom: 10px; min-height: 88px; }
    .hrbp-portrait-bubble__msg { font-size: 12.5px; }
    /* Drop the right-side category tag on phone so the name + channel + message
       column gets the full bubble width and stops wrapping into a tall stack. */
    .hrbp-portrait-bubble__tag { display: none; }
    .hrbp-hero__title { white-space: normal; font-size: 44px; }
    .hrbp-logos__row { justify-content: center; gap: 24px; }
    .hrbp-logos__item { height: 32px; max-width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
    .hrbp-btn { transition: none; }
}
