/* Home hero, alternative B: open, left-aligned, headline anchored bottom-left.
   References: haptic.studio hero (headline bottom-left, notification card top-right),
   BYQ Nextwell Hero 2 (small video + short line on top, large headline below). */

.hero--b {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    gap: 0;
    padding-bottom: clamp(40px, 5vw, 64px);
}

/* Top row: intro (small moving portrait and two short lines) on the left, card on the right */
.hb-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px 40px; margin-top: clamp(48px, 7vh, 88px); }
.hb-intro { display: flex; align-items: flex-start; gap: 18px; }
.hb-thumb { flex: none; width: 168px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--black); }
.hb-thumb video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hb-intro__text { display: flex; flex-direction: column; gap: 4px; max-width: 30ch; font-size: 15px; line-height: 1.4; letter-spacing: -0.01em; }
.hb-intro__text span { color: rgba(255, 255, 255, 0.72); }

/* Top-right card, in the manner of Haptic's notification cards */
.hb-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 340px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: background-color 0.3s;
}
.hb-card:hover { background: rgba(255, 255, 255, 0.2); }
.hb-card__icon { flex: none; width: 40px; height: 40px; border-radius: 9px; overflow: hidden; background: var(--black); }
.hb-card__icon img { display: block; width: 100%; height: 100%; }
.hb-card__text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; font-size: 15px; line-height: 1.3; letter-spacing: -0.01em; }
.hb-card__text b { font-weight: 500; }
.hb-card__text span { color: rgba(255, 255, 255, 0.72); }
.hb-card__chip { flex: none; padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.9); color: var(--black); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* Bottom-left: the one statement, then a quiet supporting line and two actions */
.hb-main { grid-row: 4; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(28px, 3vw, 40px); }
.hero--b .hero__title { max-width: 17ch; font-size: clamp(44px, 5vw, 72px); line-height: 1.04; letter-spacing: -0.06em; }
.hb-foot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 56px; }
.hb-lede { max-width: 40ch; font-size: var(--t-lede); line-height: 1.45; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.78); }
.hero--b .pill-btn:hover { background: var(--black); color: var(--white); }

@media (max-width: 767px) {
    .hero--b { padding-top: 22px; }
    .hb-thumb { width: 120px; }
    .hero--b .hero__title { font-size: 40px; }
    .hb-card { width: 100%; }
    .hb-foot { flex-direction: column; align-items: flex-start; }
}

/* No divider between this hero and the featured work */
.hero--b + #work .cards { border-top: 0; }
