/* Black Bull hero: the same terminal layout used by the MoneyPilot case study. */
.bbh-hero {
    box-sizing: border-box;
    padding: clamp(22px, 3.1vw, 44px);
    border: 1px solid #2a2b31;
    background: #0c0d10;
    color: #f2eee7;
    font-family: var(--bb-font-code, "JetBrains Mono", ui-monospace, monospace);
}

.bbh-hero *, .bbh-hero *::before, .bbh-hero *::after { box-sizing: border-box; }
.bbh-hero .bbh-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: stretch; gap: 40px; }
.bbh-hero .bbh-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.bbh-hero .bbh-terminal { margin: 0 0 24px; color: #28e18e; font-size: 12px; line-height: 1.6; letter-spacing: .075em; overflow-wrap: anywhere; }
.bbh-hero .bbh-title { margin: 0; color: #f2eee7; font-family: var(--bb-font-display, "Barlow Condensed", sans-serif); font-weight: 800; font-size: clamp(64px, 6.5vw, 100px); line-height: .94; letter-spacing: -.025em; }
.bbh-hero .bbh-subtitle { margin: 30px 0 0; color: #b18aff; font-size: clamp(20px, 1.8vw, 27px); font-weight: 500; line-height: 1.45; }
.bbh-hero .bbh-summary { margin: 22px 0 0; color: #aaa7b1; font-size: 14px; line-height: 1.9; }
.bbh-hero .bbh-tech { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 0; padding: 0; list-style: none; }
.bbh-hero .bbh-tech li { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 9px 11px; border: 1px solid #2a2b31; background: #111216; color: #b9b4c3; font-size: 11px; }
.bbh-hero .bbh-tech img { display: block; width: 16px; height: 16px; object-fit: contain; }
.bbh-hero .bbh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.bbh-hero .bbh-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 50px; padding: 13px 18px; border: 1px solid #2da44e; border-radius: 0; background: #2da44e; color: #fff; font-family: var(--bb-font-display, "Barlow Condensed", sans-serif); font-size: 18px; font-weight: 800; line-height: 1.2; text-transform: uppercase; text-decoration: none; }
.bbh-hero .bbh-button:hover { background: #238636; border-color: #238636; }
.bbh-hero .bbh-status { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 12px; border: 1px solid #2a2b31; color: #b1adb9; font-family: var(--bb-font-display, "Barlow Condensed", sans-serif); font-size: 16px; font-weight: 700; text-transform: uppercase; }
.bbh-hero .bbh-status-dot { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #35c782; box-shadow: 0 0 12px #35c78244; }
.bbh-hero .bbh-preview { display: flex; flex-direction: column; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #2a2b31; background: #050608; }
.bbh-hero .bbh-window-bar { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 14px 16px; border-bottom: 1px solid #2a2b31; background: #0c0d10; }
.bbh-hero .bbh-window-bar > span { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; }
.bbh-hero .bbh-window-bar > span:nth-child(1) { background: #ff6258; }
.bbh-hero .bbh-window-bar > span:nth-child(2) { background: #f6c84c; }
.bbh-hero .bbh-window-bar > span:nth-child(3) { background: #35c66b; }
.bbh-hero .bbh-window-bar p { overflow: hidden; margin: 0 0 0 8px; color: #99949f; font-size: 11px; line-height: 1.4; letter-spacing: .035em; white-space: nowrap; text-overflow: ellipsis; }
.bbh-hero .bbh-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #050608; }
.bbh-hero .bbh-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 0; padding: 15px 16px; border-top: 1px solid #2a2b31; background: #050608; color: #a09ba7; font-size: 10px; line-height: 1.7; letter-spacing: .025em; }
.bbh-hero .bbh-duration { flex-shrink: 0; color: #c4bdcf; white-space: nowrap; }
.bbh-hero .bbh-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; }
.bbh-hero .bbh-metric { min-width: 0; min-height: 134px; padding: 21px; border: 1px solid #2a2b31; background: #111216; }
.bbh-hero .bbh-metric dt { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; color: #b18aff; font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .075em; }
.bbh-hero .bbh-metric dt img { width: 18px; height: 18px; object-fit: contain; }
.bbh-hero .bbh-metric dd { margin: 0; color: #f2eee7; font-size: 12px; font-weight: 500; line-height: 1.8; overflow-wrap: anywhere; }
.bbh-hero :is(a, video):focus-visible { outline: 2px solid #b18aff; outline-offset: 4px; }

@media (max-width: 1100px) {
    .bbh-hero .bbh-grid { gap: 28px; }
    .bbh-hero .bbh-subtitle { font-size: 21px; }
    .bbh-hero .bbh-summary { font-size: 12px; }
    .bbh-hero .bbh-metric { padding: 17px; }
}

@media (max-width: 900px) {
    .bbh-hero .bbh-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .bbh-hero .bbh-title { font-size: clamp(64px, 11vw, 92px); }
    .bbh-hero .bbh-subtitle { max-width: 34ch; }
    .bbh-hero .bbh-summary { max-width: 72ch; font-size: 14px; }
    .bbh-hero .bbh-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
    .bbh-hero { padding: 22px 18px; }
    .bbh-hero .bbh-terminal { font-size: 10px; margin-bottom: 20px; }
    .bbh-hero .bbh-title { font-size: clamp(52px, 14vw, 76px); }
    .bbh-hero .bbh-subtitle { font-size: 20px; margin-top: 23px; }
    .bbh-hero .bbh-summary { font-size: 12px; }
    .bbh-hero .bbh-tech { gap: 8px; margin-top: 22px; }
    .bbh-hero .bbh-tech li { font-size: 10px; padding: 8px 10px; }
    .bbh-hero .bbh-actions { align-items: stretch; }
    .bbh-hero .bbh-button, .bbh-hero .bbh-status { width: 100%; justify-content: center; }
    .bbh-hero .bbh-window-bar { padding-inline: 12px; gap: 6px; }
    .bbh-hero .bbh-window-bar p { margin-left: 4px; font-size: 9px; }
    .bbh-hero .bbh-caption { padding: 12px; font-size: 9px; }
    .bbh-hero .bbh-metrics { gap: 10px; margin-top: 20px; }
    .bbh-hero .bbh-metric { min-height: 132px; padding: 14px; }
    .bbh-hero .bbh-metric dt { flex-wrap: wrap; font-size: 9px; }
    .bbh-hero .bbh-metric dd { font-size: 10px; }
}

@media (max-width: 360px) {
    .bbh-hero .bbh-metrics { grid-template-columns: minmax(0, 1fr); }
    .bbh-hero .bbh-metric { min-height: 106px; }
}
