/* Isolated Hero preview. The current landing and its shared assets stay unchanged. */
@font-face { font-family: 'BMS Thumbnail'; src: url('../fonts/roboto-variable.ttf') format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'BMS Thumbnail Condensed'; src: url('../fonts/roboto-condensed-variable.ttf') format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
.landing-preview .lv2-hero { background-image: none; }
.landing-preview .bms-preview-hero { padding: 0; }
.landing-preview .bms-preview-stage { width: 100%; min-width: 0; flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 48px 0 22px; }
.landing-preview .bms-preview-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.bms-preview-copy { min-width: 0; }
.bms-preview-eyebrow-row { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.bms-preview-eyebrow-row .bms-preview-eyebrow { margin: 0; }
.bms-preview-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #8f1325; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.bms-preview-eyebrow span { color: #8c746c; }
.landing-preview .bms-preview-heading { margin: 0; max-width: 580px; font: 500 clamp(39px, 4vw, 58px)/.98 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; text-wrap: balance; }
.bms-preview-heading em { display: block; margin-top: 10px; color: #8f1325; font-style: normal; }
.bms-preview-heading > span { display: block; font-size: .64em; line-height: 1.3; letter-spacing: -.025em; }
.bms-preview-lede { max-width: 460px; margin: 22px 0 26px; color: #625951; font-size: 16px; line-height: 1.65; }
.landing-preview .bms-preview-cta { min-height: 52px; padding: 0 23px; font-size: 14px; }
.bms-preview-note { margin: 10px 0 0; color: #625951; font-size: 12px; }
.landing-preview .bms-preview-listen { display: flex; width: max-content; min-height: 48px; margin: 5px 0 0 -5px; padding: 0 5px; gap: 7px; border: 0; border-radius: 4px; background: transparent; box-shadow: none; color: #625951; font: 500 13px/1.4 Inter, system-ui, sans-serif; text-shadow: none; transform: none; filter: none; }
.landing-preview .bms-preview-listen:hover, .landing-preview .bms-preview-listen[aria-pressed="true"] { color: #8f1325; background: transparent; box-shadow: none; }
.bms-preview-listen > i { font-size: 17px; }
.bms-preview-listen > span { color: #625951; }
.bms-preview-gallery { --bms-preview-bar: #3a4d55; --bms-preview-footer: #27221e; --bms-preview-light: #fffdf8; min-width: 0; border: 1px solid #cfd1d4; border-radius: 14px; overflow: hidden; background: var(--bms-preview-light); box-shadow: 0 18px 38px #30282314; }
.bms-preview-windowbar { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 4px 12px 4px 16px; border-bottom: 1px solid #2f4047; background: var(--bms-preview-bar); }
.bms-preview-window-dots { display: flex; flex: 0 0 auto; gap: 6px; }
.bms-preview-window-dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #ff7d78; }
.bms-preview-window-dots i:nth-child(2) { background: #f4c451; }
.bms-preview-window-dots i:nth-child(3) { background: #69d993; }
.bms-preview-tabs { display: flex; align-items: center; justify-content: flex-end; flex: 1; min-width: 0; gap: 8px; }
.bms-preview-tabs [role="tab"] { position: relative; isolation: isolate; flex: 0 1 auto; min-width: 44px; min-height: 48px; padding: 6px 12px; border: 0; border-radius: 6px; background: transparent; color: #ebedee; font: 700 12px/1.35 Inter, system-ui, sans-serif; white-space: nowrap; cursor: pointer; }
.bms-preview-tabs [role="tab"]::before { content: ""; position: absolute; z-index: -1; inset: 6px 0; border: 1px solid #ffffff40; border-radius: 6px; background: #ffffff0a; }
.bms-preview-tabs [role="tab"][aria-selected="true"] { color: #8f1325; }
.bms-preview-tabs [role="tab"][aria-selected="true"]::before { border-color: var(--bms-preview-light); background: var(--bms-preview-light); box-shadow: 0 2px 4px #0002; }
.bms-preview-tabs [role="tab"]:hover::before { border-color: #ffffffb3; }
.bms-preview-label-short { display: none; }
.bms-preview-panel[hidden] { display: none; }
.bms-preview-panel { margin: 0; padding: 0; }
.bms-preview-poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0; padding: 0; background: #f4f0e8; overflow: hidden; touch-action: pan-y; user-select: none; container-type: inline-size; }
.bms-preview-poster-copy { position: absolute; inset: auto 0 0; margin: 0; padding: 12% 4% 4%; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.25) 48%, rgba(0,0,0,.4)); font: 900 clamp(22px,8.6cqw,66px)/1.1 'BMS Thumbnail',Arial,sans-serif; letter-spacing: -.025em; -webkit-text-stroke: clamp(3px,1.1cqw,8px) #242424; paint-order: stroke fill; text-shadow: 0 2px 1px #24242499; pointer-events: none; }
.bms-preview-copy-line { display: block; }
.bms-preview-poster-copy .bms-preview-copy-highlight { color: #ffdb5c; }
.bms-preview-poster-copy strong { display: block; margin-top: .15em; color: #fff; font-family: 'BMS Thumbnail Condensed','Arial Narrow',sans-serif; font-size: clamp(18px,6.7cqw,52px); font-weight: 900; letter-spacing: -.015em; }
#preview-panel-show-me-how .bms-preview-poster-copy { font-size: clamp(20px,7.5cqw,58px); }
#preview-panel-show-me-how .bms-preview-poster-copy strong { font-size: clamp(17px,5.8cqw,45px); }
.bms-preview-poster > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-height: none; min-height: 0; margin: 0; padding: 0; border: 0; object-fit: cover; object-position: center; pointer-events: none; }
.bms-preview-playbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; padding: 12px 20px 4px; border-top: 1px solid #ffffff26; background: var(--bms-preview-footer); color: var(--bms-preview-light); }
.bms-preview-play { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 9px 20px 9px 13px; border: 1px solid #ffffffb3; border-radius: 999px; background: #8f1325; color: #fff; box-shadow: 0 4px 16px #211d1a26; white-space: nowrap; cursor: pointer; }
.bms-preview-play > i { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffff7a; border-radius: 50%; font-size: 18px; }
.bms-preview-play > span { font: 750 13px/1.3 Inter, system-ui, sans-serif; }
.bms-preview-play small { margin-left: 7px; color: #fff; font-size: 12px; font-weight: 400; }
.bms-preview-play:hover { background: #701020; }
.bms-preview-caption { min-width: 0; margin: 0; color: var(--bms-preview-light); font-size: 15px; font-weight: 700; line-height: 1.45; }
.bms-preview-play { flex: 0 0 auto; }
.bms-preview-navigation { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px 4px; background: var(--bms-preview-footer); color: var(--bms-preview-light); }
.bms-preview-navigation button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #ebedee; font-size: 24px; cursor: pointer; }
.bms-preview-navigation button:hover { background: #ffffff14; }
.bms-preview-position { min-width: 36px; text-align: center; color: #d5cec3; font: 600 11px/1 Inter, system-ui, sans-serif; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.bms-preview-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.bms-preview-panel.is-entering .bms-preview-poster > img { animation: bms-preview-arrive .18s ease-out; }
@keyframes bms-preview-arrive { from { opacity: .45; } to { opacity: 1; } }
.landing-preview .bms-preview-heritage { padding-top: 32px; color: #625951; font-size: 11px; }
.landing-preview .bms-preview-dialog { width: min(1120px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border-radius: 12px; overflow: auto; }
.landing-preview .bms-preview-dialog > div { gap: 12px; min-height: 64px; padding: 8px 12px 8px 20px; }
.landing-preview .bms-preview-dialog h2 { font: 500 23px/1.2 Georgia, 'Times New Roman', serif; }
.landing-preview .bms-preview-dialog p { margin: 0; font-size: 12px; }
.landing-preview .bms-preview-dialog button { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 6px; cursor: pointer; }
.landing-preview .bms-preview-dialog > .bms-preview-video-shell { position: relative; display: block; min-height: 0; padding: 0; }
.landing-preview .bms-preview-dialog video { display: block; width: 100%; height: auto; max-height: min(82dvh, calc(100dvh - 140px)); background: #111; object-fit: contain; }
.landing-preview .bms-preview-video-toggle { display: none; }
.landing-preview .bms-preview-dialog[data-preview-orientation="portrait"] { width: min(520px, calc(100vw - 24px)); }
.landing-preview .bms-preview-caption-picker { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 5px 12px; overflow-x: auto; border-top: 1px solid #ffffff1f; background: #302b27; color: #d9d3cc; scrollbar-width: thin; }
.landing-preview .bms-preview-caption-picker[hidden] { display: none; }
.landing-preview .bms-preview-caption-picker > span { flex: 0 0 auto; margin-right: 2px; font: 800 11px/1 Inter,system-ui,sans-serif; letter-spacing: .08em; }
.landing-preview .bms-preview-caption-picker button { flex: 0 0 auto; width: auto; height: 32px; min-height: 32px; margin: 0; padding: 0 11px; border: 1px solid #ffffff38; border-radius: 999px; background: transparent; color: #fff; font: 650 12px/1 Inter,system-ui,sans-serif; }
.landing-preview .bms-preview-caption-picker button:hover { background: #ffffff12; }
.landing-preview .bms-preview-caption-picker button[aria-pressed="true"] { border-color: #fff; background: #8f1325; box-shadow: inset 0 0 0 1px #ffffff2e; }
.landing-preview .bms-preview-dialog.has-preview-captions video { max-height: min(82dvh, calc(100dvh - 184px)); }
.landing-preview .bms-preview-chapters { display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px; border-top: 1px solid #ffffff26; }
.landing-preview .bms-preview-chapters[hidden] { display: none; }
.landing-preview .bms-preview-chapters button { flex: 0 0 auto; width: auto; min-height: 48px; height: auto; margin: 0; padding: 8px 12px; border: 1px solid #ffffff40; background: #302b27; color: #fff; font: 600 12px/1.35 Inter,system-ui,sans-serif; white-space: nowrap; }
.landing-preview .bms-preview-chapters button[aria-current="true"] { border-color: #f3c878; background: #514334; }
.landing-preview .bms-preview-dialog.has-preview-chapters video { max-height: min(82dvh, calc(100dvh - 210px)); }
@media (max-width: 1000px) {
    .landing-preview .bms-preview-chapters::after { content: ""; flex: 0 0 calc(100% - 48px); }
}
.bms-preview-tabs button:focus-visible, .bms-preview-play:focus-visible, .landing-preview .bms-preview-listen:focus-visible, .landing-preview .bms-preview-cta:focus-visible, .bms-preview-dialog button:focus-visible, .bms-preview-dialog video:focus-visible { outline: 3px solid #8f1325; outline-offset: 3px; }
.bms-preview-play:focus-visible, .bms-preview-dialog button:focus-visible, .bms-preview-dialog video:focus-visible { outline-color: #f3c878; outline-offset: -5px; }
.bms-preview-tabs button:focus-visible, .bms-preview-navigation button:focus-visible { outline: 2px solid #f3c878; outline-offset: -3px; }
@media (max-width: 1000px) {
    .landing-preview .bms-preview-stage { padding: 36px 0 20px; }
    .landing-preview .bms-preview-grid { grid-template-columns: 1fr; gap: 24px; width: min(100% - 40px, 680px); }
    .landing-preview .bms-preview-heading { max-width: 630px; }
    .bms-preview-lede { max-width: 600px; margin: 18px 0 20px; }
    .bms-preview-gallery { width: 100%; }
    .bms-preview-poster { aspect-ratio: 16 / 9; }
    .landing-preview .bms-preview-heritage { width: min(100% - 40px, 680px); padding-top: 22px; }
}
@media (min-width: 1001px) and (max-height: 800px) {
    .landing-preview .bms-preview-stage { padding: 26px 0 18px; }
    .bms-preview-lede { margin: 18px 0; }
    .landing-preview .bms-preview-heritage { padding-top: 20px; }
}
@media (orientation: portrait) and (min-width: 901px) and (max-width: 1100px) {
    .landing-preview .bms-preview-heading { font-size: 45px; }
}
@media (max-width: 560px) {
    .landing-preview .bms-preview-hero { min-height: 0 !important; }
    .landing-preview .bms-preview-stage { padding: 24px 0 18px; }
    .landing-preview .bms-preview-grid { width: calc(100% - 32px); gap: 17px; }
    .bms-preview-eyebrow-row { gap: 10px; margin-bottom: 14px; }
    .bms-preview-eyebrow { margin-bottom: 14px; font-size: 10px; gap: 10px; }
    .landing-preview .bms-preview-heading { max-width: 450px; font-size: 42px; }
    .bms-preview-heading em { margin-top: 7px; }
    .bms-preview-lede { margin: 16px 0 18px; font-size: 14px; line-height: 1.55; }
    .landing-preview .bms-preview-cta { width: 100%; min-height: 52px; font-size: 14px; }
    .bms-preview-note { text-align: center; margin-top: 8px; font-size: 11px; }
    .landing-preview .bms-preview-listen { margin: 1px auto -5px; font-size: 12px; }
    .bms-preview-gallery { border-radius: 12px; }
    .bms-preview-windowbar { gap: 8px; padding: 4px 8px; }
    .bms-preview-window-dots { gap: 4px; }
    .bms-preview-window-dots i { width: 6px; height: 6px; }
    .bms-preview-tabs { gap: 6px; }
    .bms-preview-tabs [role="tab"] { padding: 6px; font-size: 11px; }
    .bms-preview-label-full { display: none; }
    .bms-preview-label-short { display: inline; }
    .bms-preview-poster { aspect-ratio: 16 / 9; }
    .bms-preview-play { min-height: 48px; padding: 7px 10px 7px 8px; gap: 6px; }
    .bms-preview-play > span { font-size: 11px; }
    .bms-preview-play > i { width: 26px; height: 26px; font-size: 16px; }
    .bms-preview-play small { display: block; margin: 2px 0 0; font-size: 10px; }
    .bms-preview-playbar { height: 80px; padding: 12px 12px 4px; gap: 12px; }
    .bms-preview-caption { font-size: 13px; }
    .landing-preview .bms-preview-heritage { width: calc(100% - 32px); padding-top: 18px; font-size: 10px; }
    .landing-preview .bms-preview-dialog > div { display: flex; align-items: center; min-height: 56px; padding: 6px 8px 6px 12px; gap: 8px; }
    .landing-preview .bms-preview-dialog h2 { font-size: 20px; }
    .landing-preview .bms-preview-dialog p { grid-column: auto; margin: 0; font-size: 11px; white-space: nowrap; }
    .landing-preview .bms-preview-dialog button { grid-column: auto; grid-row: auto; margin-left: auto; }
    .landing-preview .bms-preview-dialog > .bms-preview-video-shell { display: block; min-height: 0; padding: 0; }
    .landing-preview .bms-preview-dialog #bmsMediaSurfaceToggle { position: absolute; z-index: 3; display: block; inset: 0 0 56px; width: auto; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
    .landing-preview .bms-preview-video-toggle > span { position: absolute; left: 50%; top: 50%; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid #ffffff8a; border-radius: 50%; background: #211d1acc; box-shadow: 0 5px 18px #0008; font-size: 25px; opacity: 0; transform: translate(-50%,-50%) scale(.9); transition: opacity .12s ease, transform .12s ease; pointer-events: none; }
    .landing-preview .bms-preview-video-toggle.show-feedback > span { opacity: 1; transform: translate(-50%,-50%) scale(1); }
    .landing-preview .bms-preview-video-toggle .ri-play-fill { display: none; transform: translateX(2px); }
    .landing-preview .bms-preview-video-toggle.is-paused .ri-play-fill { display: block; }
    .landing-preview .bms-preview-video-toggle.is-paused .ri-pause-fill { display: none; }
    .landing-preview .bms-preview-caption-picker { gap: 5px; padding: 5px 8px; }
    .landing-preview .bms-preview-caption-picker button { margin-left: 0; padding: 0 9px; font-size: 11px; }
}
@media (orientation: landscape) and (max-width: 740px) and (max-height: 400px) {
    .landing-preview .bms-preview-heading { font-size: 28px; line-height: .96; }
}
@media (orientation: landscape) and (min-width: 741px) and (max-width: 900px) and (max-height: 400px) {
    .landing-preview .bms-preview-heading { font-size: 29px; line-height: .96; }
}
@media (prefers-reduced-motion: reduce) {
    .bms-preview-gallery *, .bms-preview-copy * { animation: none !important; transition: none !important; }
}

/* The preserved original Hero now explains the Skill Map in the second section. */
.landing-preview #priority.bms-preview-skill-map { min-height: 0 !important; }
.landing-preview #priority .lv2-hero-stage { width: 100%; min-width: 0; padding: 64px 0 64px; }
.landing-preview #priority .lv2-hero-grid { min-height: 0; grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr); gap: 56px; }
.landing-preview #priority .lv2-hero-copy { width: 100%; }
.landing-preview #priority .lv2-hero-copy::before { display: none; }
.landing-preview #priority .lv2-hero-title { font-size: clamp(38px,3.87vw,58px); }
.landing-preview #priority .lv2-command { width: 100%; min-width: 0; height: auto; aspect-ratio: auto; }
.landing-preview #priority .lv2-command-map { flex: none; width: 100%; height: auto; aspect-ratio: 681 / 385; }
.landing-preview #priority .lv2-command-map img { width: 100%; height: auto; object-fit: contain; }
.landing-preview #priority .lv2-command-loop { grid-template-columns: repeat(4,48px minmax(0,1fr)) 48px; }
.landing-preview #priority .lv2-command-loop > button { min-width: 48px; min-height: 64px; }
.landing-preview #priority .lv2-voice-seg { width: 32px; height: 32px; min-width: 32px; min-height: 32px; flex-basis: 32px; }
.landing-preview #priority .lv2-hero-actions .lv2-button { min-height: 48px; padding-inline: 20px; font-size: 13px; }
.landing-preview #priority .lv2-command-loop > button:focus-visible { outline: 2px solid #f3c878; outline-offset: 2px; }
.landing-preview .bms-preview-priority-note { width: 100%; margin-top: 18px; padding: 13px 15px; border-left: 3px solid #9f102c; background: #9f102c0a; }
.bms-preview-priority-note p { margin: 0; color: #625951; font-size: 13px; line-height: 1.55; }
.bms-preview-priority-note strong { color: #211d1a; font-weight: 650; }
.landing-preview #priority .bms-preview-priority-note + .lv2-hero-actions { margin-top: 18px; }
@media (min-width: 1001px) {
    .landing-preview #priority .lv2-command { order: 1; }
    .landing-preview #priority .lv2-hero-copy { order: 2; }
}
@media (max-width: 1000px) {
    .landing-preview #priority .lv2-hero-grid { width: min(100% - 40px,680px); grid-template-columns: 1fr; gap: 32px; }
    .landing-preview #priority .lv2-hero-stage { padding: 48px 0 48px; }
    .landing-preview #priority .lv2-hero-title { font-size: 49px; }
    .landing-preview #priority .lv2-hero-copy { justify-self: stretch; }
}
@media (max-width: 560px) {
    .landing-preview #priority .lv2-hero-stage { padding: 36px 0 40px; }
    .landing-preview #priority .lv2-hero-grid { width: calc(100% - 32px); gap: 28px; }
    .landing-preview #priority .lv2-hero-title { font-size: clamp(26px,7.92vw,36px); }
    .landing-preview #priority .lv2-command-loop { padding-inline: 8px; grid-template-columns: 48px minmax(0,1fr) 48px minmax(0,1fr) 48px minmax(0,1fr) 48px minmax(0,1fr) 48px; }
    .landing-preview #priority .lv2-command-loop > i { margin-inline: 1px; }
    .bms-preview-priority-note p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-preview #priority * { transition: none !important; animation-duration: 0s !important; }
}

/* Match the existing Lecture Library titlebar: title left, carousel right. */
.bms-preview-window-title { flex: 1; min-width: 0; color: #ebedee; font: 800 11px/1.35 Inter,system-ui,sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.bms-preview-windowbar { gap: 12px; min-height: 48px; padding-block: 2px; }
.bms-preview-windowbar .bms-preview-navigation { flex: 0 0 auto; gap: 0; min-height: 44px; padding: 0; background: transparent; }
.bms-preview-windowbar .bms-preview-navigation > button { position: relative; width: 44px; height: 44px; font-size: 19px; }
.bms-preview-windowbar .bms-preview-navigation > button::before { content: ""; position: absolute; inset: 9px; border: 1px solid #ffffff66; border-radius: 50%; pointer-events: none; }
.bms-preview-windowbar .bms-preview-navigation > button:hover { background: transparent; color: #f3c878; }
.bms-preview-windowbar .bms-preview-tabs { flex: 0 0 auto; gap: 0; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"] { flex: 0 0 24px; width: 24px; min-width: 24px; height: 44px; min-height: 44px; padding: 0; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"]::before { inset: auto; top: 19px; left: 9px; width: 6px; height: 6px; border: 0; border-radius: 999px; background: #a5b1b6; box-shadow: none; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"][aria-selected="true"]::before { left: 4px; width: 16px; background: #d9822b; }
.bms-preview-playbar { padding-bottom: 12px; }
@media (max-width: 560px) {
    .bms-preview-windowbar { gap: 8px; }
    .bms-preview-window-title { font-size: 9px; letter-spacing: .025em; }
}

/* Single image surface: reuse the gold-to-maroon 3D control from section two. */
.bms-preview-poster { --poster-play-size: clamp(35.2px, 7.52cqw, 51.2px); }
.bms-preview-poster .bms-preview-play { position: absolute; z-index: 2; left: 50%; top: 50%; right: auto; bottom: auto; transform: translate(-50%,-50%); width: max(44px,var(--poster-play-size)); height: max(44px,var(--poster-play-size)); min-height: 0; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; transition: transform .15s ease; }
/* The visible circle is 80% of its former diameter; retain a 44px mobile hit area. */
.bms-preview-poster .bms-preview-play::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: var(--poster-play-size); height: var(--poster-play-size); border: 0; border-radius: 50%; background: linear-gradient(160deg,#f6dfb0 0%,#d19a3a 38%,#8f1325 100%); box-shadow: 0 2px 5px rgba(33,29,26,.28), 0 0 15px 6px rgba(0,0,0,.32), 0 7px 18px rgba(0,0,0,.44), inset 0 1px 1px rgba(255,255,255,.62), inset 0 -2px 3px rgba(80,12,20,.32); transition: box-shadow .15s ease, filter .15s ease; pointer-events: none; }
.bms-preview-poster .bms-preview-play > i { position: relative; width: auto; height: auto; border: 0; border-radius: 0; color: #fff; font-size: clamp(18.4px, 3.6cqw, 24px); transform: translateX(1.6px); text-shadow: 0 1px 0 rgba(80,12,20,.35); pointer-events: none; }
.bms-preview-poster .bms-preview-play > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bms-preview-poster .bms-preview-play:hover { background: transparent; transform: translate(-50%,-50%) scale(1.05); }
.bms-preview-poster .bms-preview-play:hover::before { filter: brightness(1.06); }
.bms-preview-poster .bms-preview-play:active { transform: translate(-50%,-50%) scale(.97); }
.bms-preview-poster .bms-preview-play:active::before { box-shadow: 0 0 10px 4px rgba(0,0,0,.28), 0 3px 9px rgba(0,0,0,.38), inset 0 2px 4px rgba(80,12,20,.38); }
.bms-preview-poster-copy { padding-right: 4%; }

/* Natural document flow, with breathing room independent of viewport height. */
.landing-preview #home.bms-preview-hero { --bms-action-gap: 26px; display: block !important; min-height: 0 !important; padding: 0 !important; background: var(--paper); }
.landing-preview #priority.bms-preview-skill-map,
.landing-preview #pricing.lv2-pricing { background: var(--paper-2); }
.landing-preview #faq.lv2-faq-section { background: var(--paper); }
.landing-preview #home .bms-preview-stage { flex: none; display: block; min-height: 0; padding: 56px 0; }
.landing-preview #home > .lv2-proof { position: static; margin: 0; flex: none; }
.bms-preview-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.landing-preview .bms-preview-actions .bms-preview-cta { width: auto; min-height: 46px; padding-inline: 20px; font-size: 13px; box-shadow: 0 4px 10px #8f13251a; }
.bms-preview-actions .bms-preview-note { margin: 0; min-width: 0; text-align: left; font-size: 13px; line-height: 1.5; }
.landing-preview .bms-preview-listen { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; min-height: 44px; padding: 0 16px 0 14px; border: 1.5px solid #a8a29a; border-radius: 999px; background: rgba(33,29,26,.32); color: #fff; box-shadow: 0 8px 20px #0004; backdrop-filter: blur(6px); font-size: 13px; font-weight: 700; line-height: 1; }
.landing-preview .bms-preview-listen > span { color: inherit; }
.landing-preview .bms-preview-listen:hover, .landing-preview .bms-preview-listen[aria-pressed="true"] { color: #fff; background: rgba(33,29,26,.45); box-shadow: 0 8px 20px #0004; }
.bms-preview-eq { display: flex; align-items: end; gap: 2px; width: 18px; height: 14px; }
.bms-preview-eq i { display: block; width: 2px; height: 36%; border-radius: 1px; background: var(--wine); transform-origin: bottom; transform: scaleY(.45); animation: bms-preview-equalize 1s ease-in-out infinite; }
.bms-preview-eq i:nth-child(2) { height: 78%; background: color-mix(in srgb,var(--wine) 45%,var(--gold)); animation-delay: .16s; }
.bms-preview-eq i:nth-child(3) { height: 100%; background: var(--gold); animation-delay: .32s; }
.bms-preview-eq i:nth-child(4) { height: 62%; background: color-mix(in srgb,var(--gold) 45%,var(--green)); animation-delay: .48s; }
.bms-preview-eq i:nth-child(5) { height: 46%; background: var(--green); animation-delay: .64s; }
.bms-preview-listen[data-voice-eq="playing"] .bms-preview-eq i { animation-iteration-count: infinite; }
.bms-preview-listen[data-voice-eq="paused"] .bms-preview-eq i { animation: none; }
@keyframes bms-preview-equalize { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
.landing-preview #home .bms-preview-lede { margin-bottom: var(--bms-action-gap); }
.landing-preview #home .bms-preview-heritage { width: auto; margin: var(--bms-action-gap) 0 0; padding: 0; font-size: 13px; line-height: 1.5; }
@media (max-width:1000px) {
    .landing-preview #home.bms-preview-hero { --bms-action-gap: 20px; }
    .landing-preview #home .bms-preview-stage { padding: 40px 0; }
}
@media (max-width:560px) {
    .landing-preview #home.bms-preview-hero { --bms-action-gap: 18px; padding-bottom: 0 !important; }
    .landing-preview #home .bms-preview-stage { padding: 32px 0; }
    .bms-preview-actions { gap: 10px; flex-wrap: nowrap; }
    .landing-preview .bms-preview-actions .bms-preview-cta { flex-shrink: 0; min-height: 44px; padding-inline: 12px; font-size: 11px; }
    .bms-preview-actions .bms-preview-note { font-size: 12px; }
    .landing-preview #home .bms-preview-heritage { font-size: 12px; }
    .landing-preview #home .bms-preview-grid { gap: 28px; }
}
@media (prefers-reduced-motion:reduce) { .bms-preview-eq i { animation: none !important; } }

/* Keep the active narration controls in the same 3D top-right pill as the invite. */
.landing-preview .lv2-voice-player:not(.is-invite) {
    top: 92px;
    right: var(--lv2-voice-invite-right,20px);
    bottom: auto;
    left: auto;
    width: 132px;
    height: 38px;
    padding: 5px 6px;
    border: 1px solid rgba(112,59,28,.5);
    border-radius: 999px;
    background: linear-gradient(160deg,#f6dfb0 0%,#d19a3a 38%,#8f1325 100%);
    color: #fff;
    box-shadow: 0 2px 5px rgba(33,29,26,.14),0 0 15px 6px rgba(0,0,0,.16),0 7px 18px rgba(0,0,0,.22),inset 0 1px 1px rgba(255,255,255,.62),inset 0 -2px 3px rgba(80,12,20,.34);
    backdrop-filter: none;
}
.landing-preview .lv2-voice-player:not(.is-invite) .lv2-voice-player-bar { gap: 1px; height: 26px; }
.landing-preview .lv2-voice-player:not(.is-invite) .lv2-voice-player-bar #lv2VoiceTitle {
    flex: 0 1 50px;
    width: 50px;
    min-width: 0;
    max-width: 50px;
    padding: 0 2px;
    overflow: hidden;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 10px;
    text-shadow: 0 1px 1px rgba(80,12,20,.55);
}
.landing-preview .lv2-voice-player:not(.is-invite) button {
    width: 14px;
    min-width: 14px;
    min-height: 24px;
    padding: 0;
    border-radius: 999px;
    text-shadow: 0 1px 1px rgba(80,12,20,.55);
}
.landing-preview .lv2-voice-player:not(.is-invite) button:hover { background: rgba(255,255,255,.16); }
.landing-preview .lv2-voice-player:not(.is-invite) #lv2VoicePlay {
    width: 20px;
    height: 26px;
    min-width: 20px;
    min-height: 26px;
    background: transparent;
    box-shadow: none;
}
.landing-preview .lv2-voice-player:not(.is-invite) #lv2VoicePlay:hover { background: rgba(255,255,255,.16); }
.landing-preview .lv2-voice-player:not(.is-invite) #lv2VoicePlay svg { width: 14px; height: 14px; }
.landing-preview .lv2-voice-player:not(.is-invite) #lv2VoicePrev:disabled,
.landing-preview .lv2-voice-player:not(.is-invite) #lv2VoiceNext:disabled { opacity: .38; cursor: default; }
.landing-preview.lv2-voice-open { padding-bottom: 0; }
@media (max-width:480px) {
    .landing-preview .lv2-voice-player:not(.is-invite) {
        top: 64px;
        right: var(--lv2-voice-invite-right,12px);
        left: auto;
        bottom: auto;
        width: 132px;
        height: 38px;
        padding: 5px 6px;
        border-radius: 999px;
    }
}

/* All preview carousels use one controller and the same 38px Mac titlebar. */
.bms-preview-gallery { position: relative; }
.bms-preview-windowbar { height: 38px; min-height: 38px; padding-block: 0; }
.bms-preview-windowbar .bms-preview-navigation { height: 36px; min-height: 36px; gap: 7px; }
.bms-preview-windowbar .bms-preview-navigation > button { width: 24px; height: 24px; border: 1px solid #ffffff45; border-radius: 50%; background: #ffffff12; font-size: 17px; }
.bms-preview-windowbar .bms-preview-navigation > button::before { content: none; }
.bms-preview-windowbar .bms-preview-navigation > button:hover { background: #ffffff26; color: #fff; }
.bms-preview-windowbar .bms-preview-tabs { gap: 5px; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"] { flex: 0 0 6px; width: 6px; min-width: 6px; height: 36px; min-height: 36px; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"]::before { top: 15px; left: 0; background: #ffffff55; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"][aria-selected="true"] { flex-basis: 16px; width: 16px; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"][aria-selected="true"]::before { left: 0; }
.landing-preview .lv2-level-result { --lv2-window-path: "Level Test"; }
.landing-preview [data-preview-product-carousel]::before { padding-right: var(--carousel-controls-width,200px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-track { display: block; transform: none; transition: none; touch-action: pan-y; user-select: none; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-slide[hidden] { display: none !important; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-slide.active { animation: bms-preview-arrive .18s ease-out; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-slide img { pointer-events: none; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls { display: flex; top: 1px; right: 12px; height: 36px; gap: 7px; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls > button { width: 24px; height: 24px; margin: 0; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls > div { gap: 5px; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls [role="tab"] { position: relative; width: 6px; height: 36px; border: 0; background: transparent; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls [role="tab"]::before { content: ""; position: absolute; top: 15px; left: 0; width: 6px; height: 6px; background: #ffffff55; border-radius: 9px; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls [role="tab"].active { width: 16px; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls [role="tab"].active::before { width: 16px; background: #d9822b; }
.landing-preview [data-unified-carousel] button:focus-visible { outline: 2px solid #f3c878; outline-offset: -2px; }
@media (prefers-reduced-motion:reduce) { .landing-preview [data-unified-carousel] * { animation: none !important; transition: none !important; } }
