.site-header { border-bottom: 0; }
.bb-header { min-height: 5.6rem; }
.bb-nav a, .bb-header-actions a { font-weight: 500; }
.site-footer { background: #fff9f6; }

.bb-home { overflow: clip; background: var(--bb-color-canvas); }
.bb-home-section { position: relative; padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.bb-home-heading h2, .bb-home-story h2, .bb-home-closing h2 { font-size: clamp(2.3rem, 2rem + 1.6vw, 3.7rem); line-height: 1.08; }
.bb-home-heading--row { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.bb-home-heading--row h2 { margin-bottom: 0; }
.bb-home-heading--row .bb-text-link { min-height: var(--bb-target-min); display: inline-flex; align-items: center; }

.bb-home-hero { position: relative; isolation: isolate; background: linear-gradient(115deg, #fff9f5, var(--bb-color-canvas) 67%); }
.bb-home-hero::after, .bb-home-families::before, .bb-home-story::after, .bb-home-closing::before { position: absolute; width: clamp(3rem, 7vw, 7rem); aspect-ratio: 1 / 2; background: url('../images/brand/botanical-stem.svg') center / contain no-repeat; content: ''; pointer-events: none; }
.bb-home-hero::after { right: 1%; top: 9%; transform: rotate(21deg); }
.bb-home-hero__layout { gap: clamp(2rem, 4vw, 5rem); min-height: min(42rem, calc(100vh - 6rem)); padding-block: clamp(3.5rem, 6vw, 6rem); }
.bb-home-hero__copy { z-index: 2; }
.bb-home-hero__eyebrow, .bb-home-story__eyebrow { letter-spacing: .17em; }
.bb-home-hero h1 { max-width: 12ch; font-size: clamp(3.15rem, 2.55rem + 2.9vw, 5.8rem); line-height: .99; letter-spacing: -.035em; }
.bb-home-hero h1 em { color: var(--bb-color-primary); font-weight: 400; }
.bb-home-actions .bb-button, .bb-home-story .bb-button, .bb-home-closing .bb-button { border-radius: 999px; }
.bb-home-hero__visual { isolation: isolate; padding: clamp(.4rem, 1.5vw, 1rem); background: transparent; box-shadow: none; transform: none; }
.bb-home-hero__visual::before { z-index: -1; inset: 8% -3% 12% -8%; width: auto; height: auto; border-radius: 48% 52% 44% 56% / 44% 38% 62% 56%; background: #f8dacf; transform: rotate(-7deg); }
.bb-home-hero__visual::after { position: absolute; z-index: -1; inset: 22% -8% 17% -5%; border-radius: 30% 70% 40% 60% / 62% 43% 57% 38%; background: #fce9dd; transform: rotate(9deg); content: ''; }
.bb-home-hero__image { width: 100%; height: auto; aspect-ratio: 830 / 840; border-radius: 0; }
.bb-home-hero figcaption { margin-top: .4rem; padding: 0; }

.bb-home-families { background: #fff0f1; }
.bb-home-families::before { right: 1%; bottom: 0; transform: rotate(-23deg); }
.bb-family-grid { gap: 2.5rem 1.25rem; }
.bb-family__media { display: grid; place-items: center; margin-bottom: 1rem; padding: clamp(.5rem, 1vw, 1rem); aspect-ratio: 1; border-radius: 43% 57% 53% 47% / 48% 42% 58% 52%; background: #f6dfd6; }
.bb-family:nth-child(2) .bb-family__media, .bb-family:nth-child(5) .bb-family__media { background: #f5d8db; }
.bb-family:nth-child(3) .bb-family__media { background: #dce8ed; }
.bb-family:nth-child(4) .bb-family__media { background: #e7e7d6; }
.bb-family__image { width: 100%; height: auto; object-fit: contain; border-radius: 38% 62% 55% 45% / 48% 42% 58% 52%; }
.bb-family__copy { padding-inline: .25rem; }
.bb-family__copy h3 { margin-bottom: .25rem; font-size: clamp(1.3rem, 1.1rem + .4vw, 1.65rem); }
.bb-family__copy span { font-size: var(--bb-text-sm); }

.bb-home-qualities { border: 0; background: var(--bb-color-canvas); }
.bb-home-qualities__layout { gap: 2rem; }
.bb-quality-list strong { font-family: var(--bb-font-display); font-size: var(--bb-text-xl); font-weight: 600; }
.bb-quality-list li { grid-template-columns: 1fr; gap: .25rem; padding-block: 1.25rem; }
.bb-home-featured { background: #fff4f4; }
.bb-featured-product { padding: .65rem .65rem 1.5rem; border-radius: .75rem; background: white; }
.bb-featured-product__image { margin-bottom: 1rem; border-radius: .5rem; }
.bb-featured-product__image img { object-fit: contain; }

.bb-home-story { isolation: isolate; background: #fbe9e4; }
.bb-home-story::after { right: 2%; bottom: -2rem; transform: rotate(14deg); }
.bb-home-story__visual { position: relative; z-index: 0; padding: 1rem; background: transparent; box-shadow: none; }
.bb-home-story__visual::before { position: absolute; z-index: -1; inset: 7% 0; border-radius: 60% 40% 47% 53% / 43% 61% 39% 57%; background: #f4cec3; transform: rotate(-8deg); content: ''; }
.bb-home-story__image { aspect-ratio: 830 / 840; border-radius: 0; }
.bb-home-story__copy h2 { max-width: 15ch; }
.bb-home-guide { background: var(--bb-color-canvas); }
.bb-home-guide .bb-home-heading { text-align: center; }
.bb-guide-steps > li > span { font-family: var(--bb-font-display); font-size: 2.5rem; line-height: 1; }

.bb-home-closing { position: relative; isolation: isolate; margin: 0 auto clamp(2rem, 4vw, 4rem); border: 0; border-radius: 48% 52% 0 0 / 12% 14% 0 0; background: #f9e5e5; }
.bb-home-closing::before { right: 8%; top: -2rem; transform: rotate(24deg); }
.bb-home-closing h2 { max-width: 18ch; color: var(--bb-color-primary); }

@media (min-width: 48rem) {
  .bb-home-hero__layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .bb-family-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
  .bb-family { grid-column: auto !important; }
  .bb-home-qualities__layout { grid-template-columns: .8fr 1.2fr; }
  .bb-home-story__layout { grid-template-columns: 1.1fr .9fr; }
  .bb-guide-steps li { grid-template-columns: 1fr; gap: .75rem; border-top: 0; }
  .bb-guide-steps li + li { border-left: 1px solid var(--bb-color-border); padding-left: clamp(1rem, 3vw, 3rem); }
}
@media (max-width: 47.999rem) {
  .bb-home-hero::after, .bb-home-families::before, .bb-home-story::after, .bb-home-closing::before { display: none; }
  .bb-home-hero__visual { width: min(100%, 31rem); margin-inline: auto; }
  .bb-home-hero__layout { padding-bottom: 4rem; }
}
@media (max-width: 29.999rem) { .bb-family__media { max-width: 22rem; } }
