/* Homepage styles are scoped to keep the rest of the shop unchanged. */
.bb-home { background: var(--white); }
.bb-home .bb-wrap { width: min(100%, 1240px); margin-inline: auto; padding-inline: 22px; }
.bb-home section[id] { scroll-margin-top: calc(var(--navbar-height, 80px) + 20px); }
.bb-home h2 { font-size: clamp(32px, 7.7vw, 48px); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 18px; text-wrap: balance; }
.bb-home .eyebrow { font-size: 10px; line-height: 1.6; letter-spacing: .14em; margin-bottom: 14px; }
.bb-home p { text-wrap: pretty; }
.bb-home .button { min-height: 48px; border-radius: 5px; font-size: 13px; }
.bb-home .text-link { min-height: 44px; font-size: 13px; }
.bb-home svg { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 1.5; }
.bb-intro { display: grid; gap: 6px; padding-block: 44px; }
.bb-intro p:not(.eyebrow), .bb-philosophy-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.75; color: var(--text-muted); margin-bottom: 14px; }
.bb-values { display: flex; flex-wrap: wrap; gap: 12px 22px; padding-top: 8px; font-size: 11px; }
.bb-values span { display: flex; align-items: center; gap: 7px; }
.bb-philosophy { display: grid; gap: 24px; padding-bottom: 44px; }
.bb-philosophy-image { position: relative; min-width: 0; }
.bb-philosophy-image img { display: block; width: 100%; aspect-ratio: 1.5; height: auto; object-fit: cover; border-radius: 5px; }
.bb-philosophy-image > span { position: absolute; left: 12px; bottom: 12px; background: var(--surface-sage); padding: 10px 14px; font: italic 16px Georgia, serif; }
.bb-design-note { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.bb-design-note > svg { margin-top: 2px; }
.bb-design-note h3 { font-size: 13px; margin-bottom: 5px; font-weight: 600; }
.bb-design-note p { font-size: 12px; line-height: 1.5; color: var(--text-muted); margin: 0; }
.bb-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin-bottom: 20px; }
.bb-heading h2 { margin: 0; }
.bb-heading > p { max-width: 32ch; font-size: 13px; line-height: 1.65; margin: 0; color: var(--text-muted); }
.bb-media { padding-block: 32px; background: var(--surface-sage); }
.bb-film, .bb-video { position: relative; width: 100%; aspect-ratio: 1.15; border-radius: 6px; overflow: hidden; background: var(--ink); }
.bb-video { display: block; }
.bb-film > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bb-film > img.is-playing { animation: bb-film-pan 14s linear both; }
.bb-film-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #211b1680, #211b1610 35%, #211b16eb); }
.bb-film-label { position: absolute; top: 18px; left: 18px; color: #fff; font-size: 8px; letter-spacing: .15em; }
.bb-play { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); border: 1px solid var(--cream); width: 56px; height: 56px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; }
.bb-play svg { width: 22px; height: 22px; }
.bb-film-caption { position: absolute; bottom: 43px; left: 18px; right: 18px; color: #fff; }
.bb-film-caption h3 { font: 25px/1.1 Georgia, serif; margin-bottom: 8px; }
.bb-film-caption p { font-size: 12px; line-height: 1.5; margin: 0; max-width: 38ch; }
.bb-scene-controls { position: absolute; bottom: 0; left: 12px; display: flex; }
.bb-scene-controls button { min-width: 48px; height: 44px; padding: 0 6px; border: 0; background: none; }
.bb-scene-controls span { display: block; height: 3px; background: #ffffff65; }
.bb-scene-controls [aria-pressed=true] span { background: #fff; }
.bb-film button:focus-visible { outline-color: #fff; }
.bb-picks { padding-block: 44px; }
.bb-swipe { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--text-muted); margin-bottom: 16px; }
.bb-products { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; scrollbar-width: thin; scrollbar-color: var(--accent-text) var(--sand); }
.bb-product { min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; }
.bb-product-image { position: relative; display: block; overflow: hidden; border-radius: 5px; background: var(--sand); }
.bb-product-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.1; object-fit: cover; transition: transform .4s ease; }
.bb-product-image span { position: absolute; bottom: 12px; left: 12px; background: var(--white); padding: 6px 8px; font-size: 9px; letter-spacing: .06em; }
.bb-product-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 16px; }
.bb-product h3 { font: 21px/1.2 Georgia, serif; margin-bottom: 9px; }
.bb-product strong { font-size: 12px; white-space: nowrap; }
.bb-product > p { font-size: 12px; line-height: 1.6; color: var(--text-muted); margin-bottom: 14px; }
.bb-product > button { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 10px 2px; border: 0; border-block: 1px solid var(--border); background: transparent; font-size: 12px; font-weight: 600; margin-top: auto; }
.bb-product > button:disabled { opacity: .5; cursor: wait; }
.bb-collections { padding-bottom: 44px; }
.bb-collection-grid { display: grid; gap: 12px; }
.bb-collection { display: flex; align-items: center; gap: 14px; padding: 12px; background: var(--surface-peach); border-radius: 5px; }
.bb-collection-1 { background: var(--surface-sage); }
.bb-collection-2 { background: var(--surface-sand); }
.bb-collection img { flex: 0 0 auto; width: 64px; height: 76px; max-width: none; border-radius: 32px 32px 3px 3px; object-fit: cover; }
.bb-collection div { flex: 1; }
.bb-collection h3 { font: 20px/1.15 Georgia, serif; margin-bottom: 7px; }
.bb-collection p { font-size: 11px; line-height: 1.5; margin: 0; color: var(--text-muted); }
.bb-collection > svg { width: 16px; }
.bb-closing { padding-bottom: 44px; }
.bb-closing-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; background: var(--peach); padding: 28px 24px; border-radius: 6px; }
.bb-closing-mark { display: none; }
.bb-closing h2 { margin: 0; font-size: clamp(30px, 7vw, 42px); }
.bb-closing .button { width: 100%; justify-content: space-between; }
.bb-notification:not(:empty) { position: fixed; z-index: 50; bottom: 18px; left: 16px; right: 16px; max-width: 480px; margin: auto; padding: 16px; background: var(--ink); color: var(--white); box-shadow: var(--shadow-hover); border-radius: 6px; display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.5; }
.bb-notification a { text-decoration: underline; min-height: 44px; display: flex; align-items: center; flex-shrink: 0; }
@keyframes bb-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bb-film-pan { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (min-width: 540px) {
  .bb-home .bb-wrap { padding-inline: 36px; }
  .bb-products { grid-auto-columns: 44%; }
  .bb-film, .bb-video { aspect-ratio: 16 / 9; }
  .bb-film-caption { left: 28px; bottom: 48px; }
  .bb-film-caption h3 { font-size: 34px; }
  .bb-film-label { left: 28px; top: 24px; font-size: 10px; }
  .bb-scene-controls { left: 22px; }
}
@media (min-width: 900px) {
  .bb-home .bb-wrap { padding-inline: 40px; }
  .bb-intro { grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 68px; }
  .bb-intro h2 { margin: 0; }
  .bb-philosophy { grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-bottom: 68px; }
  .bb-philosophy-image img { aspect-ratio: 1.25; }
  .bb-philosophy-copy { max-width: 450px; }
  .bb-media { padding-block: 36px; border-radius: 8px; }
  .bb-film, .bb-video { aspect-ratio: 2.5; }
  .bb-play { top: 50%; width: 68px; height: 68px; }
  .bb-film-caption { bottom: 48px; }
  .bb-film-caption p { max-width: 46ch; }
  .bb-picks { padding-block: 68px; }
  .bb-products { grid-auto-flow: initial; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; overflow: visible; }
  .bb-product-image img { aspect-ratio: .95; }
  .bb-swipe span { display: none; }
  .bb-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bb-collection { padding: 20px 16px; }
  .bb-collections, .bb-closing { padding-bottom: 68px; }
  .bb-closing-inner { padding: 36px 40px; gap: 30px; }
  .bb-closing-mark { display: block; font-size: 68px; color: var(--accent-text); }
  .bb-closing .button { width: auto; margin-left: auto; }
}
@media (hover: hover) {
  .bb-product-image:hover img { transform: scale(1.04); }
  .bb-product > button:hover { background: var(--cream); }
  .bb-collection:hover { box-shadow: var(--shadow-hover); }
}
@media (prefers-reduced-motion: reduce) {
  .bb-home *, .bb-home *::before, .bb-home *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 539px) {
  .bb-film, .bb-video { aspect-ratio: 1; }
  .bb-play { top: 28%; width: 48px; height: 48px; }
  .bb-film-caption h3 { font-size: 22px; }
}

/* Layered brand surfaces: color supports the objects rather than filling the page. */
.bb-intro > div:first-child { padding-left: 16px; border-left: 3px solid var(--sage); }
.bb-values { gap: 8px; }
.bb-values span { padding: 8px 10px; border: 1px solid var(--border); border-radius: 30px; background: var(--white); }
.bb-values span:first-child { background: var(--surface-sage); }
.bb-philosophy-image { padding: 0 10px 10px 0; isolation: isolate; }
.bb-philosophy-image::before { content: ''; position: absolute; z-index: -1; inset: 18px 0 0 18px; background: var(--peach); border-radius: 8px; }
.bb-philosophy-image img { border-radius: 6px 50px 6px 6px; }
.bb-philosophy-image > span { bottom: 23px; background: var(--white); border-left: 3px solid var(--sage); box-shadow: var(--shadow-soft); }
.bb-design-note > svg { background: var(--surface-peach); box-sizing: content-box; padding: 8px; border-radius: 50%; }
.bb-design-note:nth-of-type(2) > svg { background: var(--surface-sage); }
.bb-media { background: transparent; padding-block: 16px 24px; }
.bb-media .bb-heading { padding-top: 24px; border-top: 1px solid var(--border); }
.bb-film, .bb-video { border: 5px solid var(--white); outline: 1px solid var(--border); border-radius: 12px; box-shadow: 8px 10px 0 var(--surface-sage), 0 20px 36px #55473d1c; }
.bb-film-label { padding: 6px 9px; background: var(--ink); border-radius: 20px; top: 12px; left: 12px; font-size: 7px; }
.bb-play { background: var(--white); border: 1px solid var(--cream); box-shadow: 0 0 0 7px #fffcf82e, 0 6px 20px #3f332b4d; transition: box-shadow .3s ease, background .3s ease; }
.bb-film > img { animation: bb-scene-reveal .65s ease both; }
.bb-film > img.is-playing { animation: bb-scene-reveal .65s ease both, bb-film-pan 14s linear both; }
.bb-film-caption { text-shadow: 0 2px 10px #3f332b; }
.bb-scene-controls span { transition: background .3s ease, transform .3s ease; border-radius: 2px; }
.bb-scene-controls [aria-pressed=true] span { transform: scaleY(1.5); }
.bb-products { scroll-behavior: smooth; scroll-padding-inline: 4px; padding-top: 8px; }
.bb-product { background: var(--white); border: 1px solid var(--border); border-radius: 9px; padding: 7px; box-shadow: 0 4px 10px #55473d08; transition: transform .3s ease, box-shadow .3s ease; }
.bb-product-title, .bb-product > p { padding-inline: 5px; }
.bb-product > button { padding-inline: 5px; border-bottom: 0; }
.bb-product-image span { border-radius: 20px; padding: 7px 9px; }
.bb-collection { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--border); background: linear-gradient(110deg, var(--surface-peach), var(--white) 75%); border-radius: 8px; transition: transform .3s ease, box-shadow .3s ease; }
.bb-collection::before { content: ''; position: absolute; z-index: -1; left: -28px; top: -25px; width: 110px; height: 150px; border-radius: 50%; background: var(--peach); transform: rotate(-20deg); }
.bb-collection-1 { background: linear-gradient(110deg, var(--surface-sage), var(--white) 75%); }
.bb-collection-1::before { background: var(--sage); }
.bb-collection-2 { background: linear-gradient(110deg, var(--surface-sand), var(--white) 75%); }
.bb-collection-2::before { background: var(--terra); }
.bb-collection img { box-shadow: 0 4px 10px #55473d1a; }
.bb-collection > svg { background: var(--white); border: 1px solid var(--border); box-sizing: content-box; padding: 7px; border-radius: 50%; }
.bb-closing-inner { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: linear-gradient(125deg, var(--ink), var(--text-strong)); border: 1px solid var(--ink); border-radius: 10px; box-shadow: 0 12px 24px #55473d1c; }
.bb-closing-inner::after { content: ''; position: absolute; z-index: -1; right: -65px; top: -65px; width: 210px; height: 210px; border: 1px solid var(--sage); border-radius: 50%; box-shadow: 0 0 0 20px #a7b59a12, 0 0 0 40px #a7b59a0a; }
.bb-closing .eyebrow { color: var(--sand); }
.bb-closing h2 em { color: var(--peach); }
.bb-closing .button { background: var(--cream); color: var(--text-strong); }
.bb-closing .button:focus-visible { outline-color: var(--white); }
.bb-closing-mark { color: var(--sage); }
/* Content stays visible without JavaScript or if the observer is unavailable. */
.bb-in-view { animation: bb-scroll-reveal .75s cubic-bezier(.2,.65,.3,1) both; }
.bb-product:nth-child(2), .bb-collection:nth-child(2) { animation-delay: 60ms; }
.bb-product:nth-child(3), .bb-collection:nth-child(3) { animation-delay: 120ms; }
.bb-product:nth-child(4) { animation-delay: 180ms; }
@keyframes bb-scroll-reveal { from { opacity: .35; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes bb-scene-reveal { from { opacity: .45; } to { opacity: 1; } }
@keyframes bb-drift { 50% { transform: translateY(-7px); } }
@media (min-width: 540px) {
  .bb-film-label { top: 20px; left: 22px; font-size: 9px; }
}
@media (min-width: 900px) {
  .bb-intro > div:first-child { align-self: start; padding-left: 22px; }
  .bb-media { padding-block: 12px 24px; }
  .bb-film, .bb-video { border-width: 7px; box-shadow: 12px 12px 0 var(--surface-sage), 0 24px 42px #55473d1c; }
  .bb-product h3 { font-size: 20px; }
  .bb-collection { padding: 20px 12px; gap: 10px; }
  .bb-collection img { width: 72px; height: 88px; }
}
@media (hover: hover) {
  .bb-product:hover, .bb-collection:hover { transform: translateY(-4px); box-shadow: 0 12px 25px #55473d17; }
  .bb-play:hover { background: var(--cream); box-shadow: 0 0 0 11px #fffcf82e, 0 6px 24px #3f332b4d; }
  .bb-closing .button:hover { background: var(--white); color: var(--text-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .bb-home .bb-products { scroll-behavior: auto; }
  .bb-home *, .bb-home *::before, .bb-home *::after { animation: none !important; transition: none !important; }
}

/* Phone layouts must shrink to their viewport, including intrinsic grid content. */
.bb-home { min-width: 0; max-width: 100%; }
.bb-intro, .bb-philosophy { grid-template-columns: minmax(0, 1fr); }
.bb-home .bb-wrap > *, .bb-heading > *, .bb-collection > div { min-width: 0; }
.bb-home .bb-wrap { max-width: 100%; }
@media (min-width: 900px) {
  .bb-intro, .bb-philosophy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 539px) {
  .bb-home .bb-wrap { padding-inline: 20px; }
  .bb-collection img { flex-shrink: 0; width: 56px; height: 68px; }
  .bb-collection { gap: 10px; }
  .bb-collection h3 { font-size: 19px; }
  /* Give captions their own row so text zoom cannot collide with playback. */
  .bb-film { aspect-ratio: auto; display: grid; grid-template-columns: minmax(0, 1fr); }
  .bb-film > img { grid-area: 1 / 1; aspect-ratio: 1.5; height: auto; }
  .bb-film-shade { grid-area: 1 / 1; position: relative; inset: auto; }
  .bb-film-label { max-width: calc(100% - 24px); }
  .bb-play { grid-area: 1 / 1; position: relative; left: auto; top: auto; transform: none; align-self: center; justify-self: center; margin-top: 16px; }
  .bb-film-caption { position: static; padding: 18px 16px 0; text-shadow: none; }
  .bb-film-caption h3 { font-size: 23px; }
  .bb-scene-controls { position: static; padding: 0 10px; }
  .bb-closing-inner { padding: 24px 20px; }
}

/* The headline and photographs share one editorial canvas at every size. */
.bb-hero { background: var(--cream); overflow: clip; padding-top: var(--navbar-height, 88px); }
.bb-home .bb-hero-editorial { padding-block: 16px 26px; }
.bb-hero-editorial > .eyebrow { font-size: 9px; letter-spacing: .16em; margin-bottom: 12px; }
.bb-hero-stage { position: relative; isolation: isolate; height: clamp(322px, 88vw, 380px); }
.bb-home .bb-hero h1 { position: absolute; z-index: 3; inset: 12px 0 auto; margin: 0; font-size: clamp(46px, 13vw, 62px); line-height: .94; letter-spacing: -.065em; pointer-events: none; }
.bb-hero h1 > span { display: block; }
.bb-hero h1 em { display: block; margin-top: clamp(57px, 17vw, 76px); font-size: clamp(37px, 10.5vw, 48px); white-space: nowrap; letter-spacing: -.065em; text-decoration: none; }
.bb-hero-primary { position: absolute; z-index: 1; top: 0; right: 0; width: 47%; height: auto; object-fit: contain; border-radius: 45% 45% 4px 4px; transform: rotate(5deg); box-shadow: 5px 7px 0 #a7b59a60; }
.bb-hero-detail { position: absolute; z-index: 2; bottom: 4px; left: 5px; width: 28%; margin: 0; transform: rotate(-7deg); }
.bb-hero-detail img { display: block; width: 100%; height: auto; object-fit: contain; border: 4px solid var(--white); box-shadow: 0 7px 18px #55473d1a; }
.bb-hero-detail figcaption { margin-top: 6px; white-space: nowrap; font: italic 9px/1.4 Georgia, serif; }
.bb-hero-description { position: absolute; right: 0; bottom: 12px; width: 58%; padding-left: 13px; border-left: 1px solid var(--terra); }
.bb-hero-description p { margin: 0; font-size: 12px; line-height: 1.65; color: var(--text-muted); }
.bb-hero-flower { position: absolute; top: -29px; right: 13px; color: var(--accent-text); font: 32px/1 Georgia, serif; }
.bb-hero-organic { position: absolute; z-index: 0; top: 50px; right: 3%; width: 65%; height: 46%; border-radius: 55% 45% 60% 40%; background: #a7b59a30; transform: rotate(-18deg); }
.bb-hero-dots { position: absolute; z-index: 0; left: 37%; top: 110px; color: var(--accent-text); font-size: 19px; opacity: .45; letter-spacing: 3px; transform: rotate(-12deg); }
.bb-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.bb-hero .bb-actions .button { min-width: 0; padding: 12px 14px; gap: 12px; border-radius: 4px; font-size: 12px; min-height: 48px; }
.bb-hero .bb-actions .text-link { font-size: 12px; min-height: 48px; gap: 6px; white-space: nowrap; }
.bb-hero .bb-actions .text-link svg { width: 14px; }
.bb-hero-note { display: flex; align-items: center; gap: 7px; margin: 15px 0 0; font-size: 10px; line-height: 1.6; color: var(--text-muted); }
.bb-hero .bb-actions a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
/* A compact mobile heading group stays within the clear space beside the photo. */
@media (width < 540px) {
  .bb-home .bb-hero h1 { right: auto; width: 49%; font-size: clamp(36px, 10vw, 44px); line-height: 1; letter-spacing: -.045em; }
  .bb-hero h1 em { margin-top: 9px; font-size: clamp(18px, 5vw, 24px); line-height: 1.2; letter-spacing: -.04em; }
  .bb-hero-dots { top: 162px; left: 36%; }
}
@media (min-width: 540px) {
  .bb-home .bb-hero-editorial { max-width: 720px; padding-block: 25px 36px; }
  .bb-hero-stage { height: 480px; }
  .bb-home .bb-hero h1 { font-size: 85px; }
  .bb-hero h1 em { font-size: clamp(46px, 8.7vw, 67px); margin-top: 70px; }
  .bb-hero-primary { width: 36%; }
  .bb-hero-detail { width: 23%; }
  .bb-hero-description { bottom: 26px; width: 58%; }
  .bb-hero-description p { font-size: 15px; }
  .bb-hero-detail figcaption { font-size: 12px; }
  .bb-actions { gap: 28px; }
  .bb-hero .bb-actions .button { padding-inline: 24px; font-size: 13px; }
}
@media (min-width: 900px) {
  .bb-home .bb-hero-editorial { max-width: 1240px; padding-block: 32px 44px; position: relative; }
  .bb-hero-editorial > .eyebrow { font-size: 10px; margin-bottom: 22px; }
  .bb-hero-stage { height: 460px; }
  .bb-home .bb-hero h1 { top: 12px; font-size: clamp(80px, 8.2vw, 108px); }
  .bb-hero h1 > span br { display: none; }
  .bb-hero h1 em { margin-top: 9px; margin-left: 50px; font-size: clamp(74px, 7.8vw, 100px); }
  .bb-hero-primary { width: 30%; right: 4%; top: -30px; }
  .bb-hero-detail { width: 15%; left: auto; right: 30%; bottom: 4px; }
  .bb-hero-description { width: 43%; left: 52px; right: auto; bottom: 94px; padding-left: 20px; }
  .bb-hero-description p { font-size: 15px; }
  .bb-hero-flower { right: 35px; top: 18px; font-size: 45px; }
  .bb-hero-organic { top: 30px; width: 47%; right: 0; height: 80%; }
  .bb-hero-dots { left: auto; right: 2%; top: 375px; font-size: 27px; }
  .bb-hero .bb-actions { position: relative; margin-top: -69px; margin-left: 52px; width: max-content; }
  .bb-hero-note { margin-left: 52px; margin-top: 20px; font-size: 11px; }
}
@media (prefers-reduced-motion: no-preference) {
  .bb-hero h1, .bb-hero-description, .bb-hero .bb-actions { animation: bb-enter .7s ease-out both; }
  .bb-hero-description { animation-delay: .1s; }
  .bb-hero-primary, .bb-hero-detail { animation: bb-photo-enter .85s ease-out both; }
  .bb-hero-detail { animation-delay: .12s; }
  .bb-hero .bb-actions svg { transition: transform .2s ease; }
}
@media (hover: hover) {
  .bb-hero .bb-actions a:hover svg { transform: translateX(3px); }
}
@keyframes bb-photo-enter { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

.bb-reel { position: relative; z-index: 1; align-self: center; width: min(100%, 400px); height: 780px; margin: 28px auto 0; border-radius: 12px; overflow: hidden; background: var(--ink); border: 5px solid var(--white); outline: 1px solid var(--border); box-shadow: 8px 10px 0 var(--surface-sage), 0 20px 36px #55473d1c; }
.bb-reel iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--ink); pointer-events: auto; }
@media (min-width: 900px) { .bb-reel { border-width: 7px; box-shadow: 12px 12px 0 var(--surface-sage), 0 24px 42px #55473d1c; } }

/* Content-sized sections keep laptop and desktop spacing compact. */
@media (min-width: 900px) {
  .bb-home { --home-header: calc(var(--navbar-height, 108px) + var(--announcement-height, 28px)); }
  .bb-home > section { box-sizing: border-box; height: auto; min-height: 0; max-height: none; overflow: visible; }
  .bb-home > section:not(.bb-hero) { padding-block: 36px; }
  .bb-home > .bb-hero { display: flex; flex-direction: column; justify-content: center; height: auto; min-height: 0; max-height: none; }
  .bb-home > :is(.bb-picks, .bb-collections, .bb-media, .bb-closing) { display: flex; flex-direction: column; justify-content: center; }
  .bb-home > :is(.bb-intro, .bb-philosophy) { align-content: center; gap: clamp(24px, 4vw, 48px); }
  .bb-home > .bb-hero .bb-hero-editorial { padding-block: clamp(8px, 1.5vh, 24px); }
  .bb-home > .bb-hero .bb-hero-stage { height: clamp(340px, calc(100dvh - 310px), 400px); }
  .bb-home > .bb-hero .bb-hero-dots { top: auto; bottom: 8px; }
  .bb-home h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 10px; }
  .bb-home > .bb-picks .bb-heading { margin-bottom: 12px; }
  .bb-home > .bb-picks .bb-products { gap: 16px; }
  .bb-home > .bb-picks .bb-product-image img { aspect-ratio: 1.22; max-height: 200px; }
  .bb-home > .bb-picks .bb-product-title { margin-top: 8px; }
  .bb-home > .bb-picks .bb-product h3 { font-size: 18px; margin-bottom: 2px; }
  .bb-home > .bb-picks .bb-product > p { margin-bottom: 4px; line-height: 1.45; }
  .bb-home > .bb-picks .bb-product > button { min-height: 36px; padding-block: 6px; }
  .bb-home > .bb-media .bb-heading { margin-bottom: 12px; }
  .bb-home > .bb-media :is(.bb-film, .bb-video) { width: min(100%, 860px); max-height: min(320px, 40vh); margin-inline: auto; }
  .bb-home > .bb-media .bb-reel { align-self: center; width: min(100%, 400px); max-width: 400px; height: 780px; margin-top: 8px; }
  .bb-home > .bb-philosophy .bb-philosophy-image img { width: 100%; height: min(320px, 40vh); max-height: min(320px, 40vh); aspect-ratio: auto; object-fit: cover; }
  .bb-home > .bb-collections .bb-collection { padding-block: 14px; }
  .bb-home > .bb-closing .bb-closing-inner { padding-block: 24px; }
}
/* Keep the phone and tablet player the same in-page reel as laptop, with the play control inside the frame. */
@media (max-width: 899px), ((hover: none) and (pointer: coarse)) {
  .bb-home > .bb-media .bb-reel {
    width: min(400px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    height: min(780px, calc(100dvh - 140px));
    margin-inline: auto;
    overflow: hidden;
  }
  .bb-home > .bb-media .bb-reel iframe {
    position: relative;
    top: auto;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    touch-action: manipulation;
  }
}
@media (min-width: 900px) and (max-height: 780px) {
  .bb-home > .bb-hero h1 { font-size: 64px; }
  .bb-home > .bb-hero h1 em { font-size: 56px; }
  .bb-home > .bb-picks .bb-product-image img { max-height: 160px; }
}

/* Keep featured products readable without stretching sparse rows or hiding cards. */
.bb-home .bb-products {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  overflow: visible;
}
.bb-home .bb-swipe { display: none; }
.bb-product-title { flex-wrap: wrap; }
.bb-product-title > a { min-width: 0; overflow-wrap: anywhere; }
.bb-product > p { overflow-wrap: anywhere; }
.bb-home > .bb-picks .bb-product-image img { aspect-ratio: 1; max-height: none; }
.bb-home > .bb-picks .bb-product > button { min-height: 44px; }
@media (max-width: 1199px) {
  .bb-home .bb-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 899px) {
  .bb-home .bb-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 539px) {
  .bb-home .bb-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media (min-width: 1400px) {
  .bb-home .bb-products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* Compact featured cards use the same proportions as the shop. */
.bb-home .bb-product { position: relative; padding: 0; overflow: hidden; }
.bb-home > .bb-picks .bb-product-image img { aspect-ratio: 4 / 3; width: 100%; height: auto; max-height: none; object-fit: cover; object-position: center; }
.bb-home .bb-product-title { padding: 0 12px; margin-top: 12px; }
.bb-home .bb-product h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 18px; line-height: 1.25; }
.bb-home .bb-product > p { padding: 0 12px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; line-height: 1.5; }
.bb-home > .bb-picks .bb-product > button { align-self: flex-end; justify-content: center; width: 44px; height: 44px; margin: auto 12px 12px; padding: 0; background: var(--action-bg); color: var(--white); border: 0; border-radius: 8px; }
@media (max-width: 539px) {
  .bb-home .bb-wrap { padding-inline: 16px; }
  .bb-home .bb-product h3 { font-size: 16px; }
}

@media (min-width: 900px) {
  .bb-home > .bb-hero .bb-hero-primary { top: 0; height: calc(100% - 30px); width: auto; max-width: 32%; object-fit: cover; }
  .bb-home .bb-intro { padding-block: 36px; }
  .bb-home .bb-philosophy { padding-bottom: 36px; }
  .bb-home .bb-philosophy-image img { max-height: 420px; object-fit: cover; }
}

.bb-home .bb-product-image:hover img { transform: none; }

.bb-home > .bb-picks .bb-product-image { aspect-ratio: 4 / 3; }
.bb-home > .bb-picks .bb-product-image img { width: 100%; height: 100%; aspect-ratio: auto; max-height: none; object-fit: cover; }
.bb-home .bb-products { align-items: stretch; }
.bb-home .bb-product-title { height: 64px; flex: none; overflow: hidden; }
.bb-home .bb-product-title > a { width: 100%; }
.bb-home .bb-product h3 { margin-bottom: 0; }
.bb-home .bb-product > p { height: 3em; flex: none; margin-block: 8px 12px; }
.bb-home > .bb-picks .bb-product > button { flex: none; }

.bb-explore-more { display: flex; justify-content: center; margin-top: 24px; }
.bb-explore-more .text-link { min-height: 44px; }

/* Keep the descriptive hero headline within the existing photo composition. */
.bb-home > .bb-hero h1 em { white-space: normal; font-size: clamp(24px, 6vw, 38px); line-height: 1.15; max-width: 15ch; }
@media (min-width: 900px) {
  .bb-home > .bb-hero h1 em { font-size: clamp(32px, 3.5vw, 44px); margin-left: 0; }
}
@media (max-width: 539px) {
  .bb-home > .bb-hero h1 { font-size: clamp(30px, 8vw, 42px); }
  .bb-home > .bb-hero h1 em { font-size: clamp(20px, 5vw, 26px); }
}