/* Advisor Positioning heroes: /advisor-positioning and /advisor-positioning/example-report.
   Loaded after bd-page.css. Same kit colours: ink #111111, red #eb1c22, red on dark #ff5a5f,
   paper #f5f3ef, muted #5b5752, lines #e0dcd5. Root class: .bd-pg, hero class: .aph. */

.bd-pg .aph { padding-bottom: 88px; }
.bd-pg .aph-grid { display: grid; grid-template-columns: minmax(0, 1fr) 580px; gap: 56px; align-items: center; }
.bd-pg .aph-grid--report { grid-template-columns: minmax(0, 1fr) 600px; }
.bd-pg .aph-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; min-width: 0; }
.bd-pg .aph-copy .bd-pg-kicker { margin-bottom: 0; }
.bd-pg .aph-kicker a { color: #c4161b; text-decoration: none; }
.bd-pg .aph-kicker a:hover, .bd-pg .aph-kicker a:focus { color: #111111; }

.bd-pg .aph-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; background: #ffffff; border: 1px solid #e0dcd5; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.3; color: #111111; }
.bd-pg .aph-pill-ai { width: 26px; height: 26px; border-radius: 50%; background: #eb1c22; color: #ffffff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.bd-pg .aph-h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.bd-pg .aph-h1 span { position: relative; display: inline-block; }
.bd-pg .aph-h1 span::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.14em; border-radius: 999px; background: #eb1c22; opacity: 0.18; }
.bd-pg .aph-lead { font-size: 18px; line-height: 1.6; color: #3d3a36; max-width: 520px; }

.bd-pg .aph-actions { gap: 14px 22px; }
.bd-pg .aph-cta { box-shadow: 0 10px 24px rgba(235, 28, 34, 0.28); }
.bd-pg .aph-cta-price { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-size: 13px; font-weight: 600; }
.bd-pg .aph-link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 2px solid #111111; font-size: 15px; font-weight: 600; color: #111111; text-decoration: none; }
.bd-pg .aph-link:hover, .bd-pg .aph-link:focus { color: #c4161b; border-color: #c4161b; text-decoration: none; }
.bd-pg .aph-link svg { width: 16px; height: 16px; flex-shrink: 0; }

.bd-pg .aph-stats { align-self: stretch; display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 4px; padding-top: 20px; border-top: 1px solid #e0dcd5; }
.bd-pg .aph-stat strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: #111111; }
.bd-pg .aph-stat:first-child strong { color: #eb1c22; }
.bd-pg .aph-stat span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: #5b5752; }

/* ── Visual: layered cards (desktop) ── */
.bd-pg .aph-visual { position: relative; width: 580px; height: 640px; }
.bd-pg .aph-grid--report .aph-visual { width: 600px; height: 520px; }
.bd-pg .aph-card { position: absolute; border-radius: 20px; }
.bd-pg .aph-tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.3; text-transform: uppercase; color: #c4161b; }

/* Where you fit best (dark) */
.bd-pg .aph-fit { left: 0; top: 0; width: 400px; padding: 28px; background: #111111; color: #ffffff; box-shadow: 0 30px 60px rgba(17, 17, 17, 0.22); transform: rotate(-2deg); z-index: 1; }
.bd-pg .aph-fit .aph-tag { color: #ff5a5f; }
.bd-pg .aph-fit-quote { margin: 14px 0 18px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: #ffffff; }
.bd-pg .aph-facts { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px 14px; font-size: 13px; line-height: 1.5; color: #e0dcd5; }
.bd-pg .aph-facts dt { padding-top: 2px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #ff5a5f; }
.bd-pg .aph-facts dd { margin: 0; }

/* Open searches (red) */
.bd-pg .aph-open { right: 0; top: 350px; width: 340px; padding: 26px 28px; background: #eb1c22; color: #ffffff; box-shadow: 0 30px 60px rgba(235, 28, 34, 0.3); transform: rotate(2deg); z-index: 2; }
.bd-pg .aph-open .aph-tag { color: #ffffff; }
.bd-pg .aph-open ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.bd-pg .aph-open li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); font-size: 13px; font-weight: 500; line-height: 1.4; }
.bd-pg .aph-apply { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; background: #ffffff; color: #eb1c22; font-size: 11px; font-weight: 700; }

/* AI interviewer with waveform (white) */
.bd-pg .aph-voice { left: 0; top: 372px; width: 270px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; background: #ffffff; box-shadow: 0 16px 36px rgba(17, 17, 17, 0.14); transform: rotate(-1.5deg); z-index: 3; }
.bd-pg .aph-voice-head { display: flex; align-items: center; gap: 12px; }
.bd-pg .aph-mic { width: 36px; height: 36px; border-radius: 50%; background: #eb1c22; color: #ffffff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bd-pg .aph-mic svg { width: 16px; height: 16px; }
.bd-pg .aph-voice-name { display: block; font-size: 13px; font-weight: 700; color: #111111; }
.bd-pg .aph-voice-q { display: block; font-size: 12px; line-height: 1.45; color: #5b5752; }
.bd-pg .aph-wave { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.bd-pg .aph-wave span { width: 4px; border-radius: 2px; background: #eb1c22; transform-origin: bottom; animation: aph-wave 1.2s ease-in-out infinite; }
.bd-pg .aph-wave span.is-off { background: #e0dcd5; animation: none; }
.bd-pg .aph-wave span:nth-child(2n) { animation-delay: -0.3s; }
.bd-pg .aph-wave span:nth-child(3n) { animation-delay: -0.6s; }
.bd-pg .aph-wave span:nth-child(5n) { animation-delay: -0.9s; }
@keyframes aph-wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.45); } }
.bd-pg .aph-voice-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: #5b5752; }

/* Chips */
.bd-pg .aph-chip { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: #ffffff; box-shadow: 0 16px 36px rgba(17, 17, 17, 0.14); z-index: 3; }
.bd-pg .aph-shortlist { right: 0; top: 28px; transform: rotate(3deg); }
.bd-pg .aph-bars { display: flex; gap: 3px; }
.bd-pg .aph-bars span { width: 8px; height: 22px; border-radius: 3px; background: #e0dcd5; }
.bd-pg .aph-bars span.is-pick { background: #eb1c22; }
.bd-pg .aph-chip-text { font-size: 12px; line-height: 1.35; color: #5b5752; }
.bd-pg .aph-chip-text strong { display: block; font-weight: 700; color: #111111; }
.bd-pg .aph-fast { left: 24px; top: 556px; padding: 12px 18px; border-radius: 999px; background: #111111; color: #ffffff; font-size: 13px; font-weight: 600; transform: rotate(2deg); }
.bd-pg .aph-fast svg { width: 16px; height: 16px; color: #ff5a5f; }

/* ── Example report: email envelope ── */
.bd-pg .aph-sheet { left: 40px; top: 0; right: 0; height: 400px; background: #e0dcd5; transform: rotate(2deg); }
.bd-pg .aph-mail { left: 0; top: 24px; right: 40px; overflow: hidden; background: #ffffff; box-shadow: 0 30px 60px rgba(17, 17, 17, 0.16); z-index: 1; }
.bd-pg .aph-mail-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid #e0dcd5; background: #faf9f6; }
.bd-pg .aph-mail-from { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bd-pg .aph-mail-avatar { width: 36px; height: 36px; border-radius: 50%; background: #eb1c22; color: #ffffff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bd-pg .aph-mail-name { display: block; font-size: 13px; font-weight: 700; color: #111111; }
.bd-pg .aph-mail-sub { display: block; font-size: 12px; color: #5b5752; }
.bd-pg .aph-mail-when { flex-shrink: 0; font-size: 12px; color: #5b5752; }
.bd-pg .aph-mail-body { padding: 20px 24px 4px; }
.bd-pg .aph-mail-title { margin-bottom: 6px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: #111111; }
.bd-pg .aph-mail-text { font-size: 13px; line-height: 1.55; color: #3d3a36; }
.bd-pg .aph-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px 24px 24px; }
.bd-pg .aph-rail a, .bd-pg .aph-rail-more { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; background: #f5f3ef; color: #111111; text-decoration: none; transition: background .15s, color .15s; }
.bd-pg .aph-rail a:hover, .bd-pg .aph-rail a:focus, .bd-pg .aph-rail a.is-first { background: #111111; color: #ffffff; }
.bd-pg .aph-rail-num { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: #c4161b; }
.bd-pg .aph-rail a:hover .aph-rail-num, .bd-pg .aph-rail a:focus .aph-rail-num, .bd-pg .aph-rail a.is-first .aph-rail-num { color: #ff5a5f; }
.bd-pg .aph-rail-title { font-size: 12px; font-weight: 600; line-height: 1.3; }
.bd-pg .aph-rail-more { justify-content: center; background: transparent; border: 1.5px dashed #c9c3b9; font-size: 11px; line-height: 1.35; color: #5b5752; }
.bd-pg .aph-why { right: 0; top: 396px; width: 250px; padding: 16px 18px; background: #eb1c22; color: #ffffff; box-shadow: 0 16px 36px rgba(235, 28, 34, 0.3); transform: rotate(-2deg); z-index: 2; }
.bd-pg .aph-why .aph-tag { margin-bottom: 6px; color: #ffffff; }
.bd-pg .aph-why p { font-size: 13px; line-height: 1.45; }
.bd-pg .aph-niche { left: 20px; top: 430px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: #111111; color: #ffffff; box-shadow: 0 16px 36px rgba(17, 17, 17, 0.2); transform: rotate(1.5deg); z-index: 2; }
.bd-pg .aph-niche strong { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.bd-pg .aph-niche span { font-size: 12px; line-height: 1.35; color: #cfcfcf; }

.bd-pg .er-doc[id] { scroll-margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
    .bd-pg .aph-wave span { animation: none; }
}

/* ── Small desktop: same layout, visual scaled down ── */
@media (min-width: 1024px) and (max-width: 1199px) {
    .bd-pg .aph-grid { grid-template-columns: minmax(0, 1fr) 464px; gap: 40px; }
    .bd-pg .aph-grid--report { grid-template-columns: minmax(0, 1fr) 480px; }
    .bd-pg .aph-visual { transform: scale(0.8); transform-origin: top left; margin: 0 -116px -128px 0; }
    .bd-pg .aph-grid--report .aph-visual { margin: 0 -120px -104px 0; }
}

/* ── Tablet and phone: cards stack in the page flow ── */
@media (max-width: 1023px) {
    .bd-pg .aph { padding-bottom: 56px; }
    .bd-pg .aph-grid, .bd-pg .aph-grid--report { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .bd-pg .aph-visual, .bd-pg .aph-grid--report .aph-visual { width: auto; height: auto; display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
    .bd-pg .aph-card { position: static; width: auto; transform: none; }
    .bd-pg .aph-fit { order: 1; }
    .bd-pg .aph-voice { order: 2; }
    .bd-pg .aph-open { order: 3; }
    .bd-pg .aph-shortlist, .bd-pg .aph-fast, .bd-pg .aph-sheet, .bd-pg .aph-niche { display: none; }
    .bd-pg .aph-why { align-self: flex-start; max-width: 360px; }
}
@media (max-width: 767px) {
    .bd-pg .aph { padding-bottom: 40px; }
    .bd-pg .aph-copy { gap: 20px; }
    .bd-pg .aph-lead { font-size: 16px; }
    .bd-pg .aph-actions { width: 100%; }
    .bd-pg .aph-cta { flex: 1 1 100%; }
    .bd-pg .aph-stats { gap: 16px 28px; }
    .bd-pg .aph-stat strong { font-size: 26px; }
    .bd-pg .aph-fit { padding: 22px; }
    .bd-pg .aph-fit-quote { font-size: 18px; }
    .bd-pg .aph-open { padding: 22px; }
    .bd-pg .aph-mail-head { flex-wrap: wrap; padding: 14px 18px; }
    .bd-pg .aph-mail-body { padding: 18px 18px 4px; }
    .bd-pg .aph-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 18px 18px; }
}
