/* Poster and film share one edge-to-edge frame. Only the foreground copy sets
   its minimum content height, so long translations and zoom are not clipped. */
.bm-home-film {
	position: relative;
	isolation: isolate;
	display: grid;
	width: 100%;
	min-height: clamp(350px, 32.5vw, 480px);
	color: #fff;
	background: #28231f;
}

.bm-home-film__media,
.bm-home-film__poster,
.bm-home-film__video,
.bm-home-film__media::after {
	position: absolute;
	inset: 0;
}
.bm-home-film__poster,
.bm-home-film__video {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 39%;
}
.bm-home-film__video { opacity: 0; pointer-events: none; }
.bm-home-film.is-playing .bm-home-film__video { opacity: 1; }
.bm-home-film [hidden] { display: none; }

/* Shade the text and transport control locally rather than dimming the jewelry. */
.bm-home-film__media::after {
	content: "";
	pointer-events: none;
	background: linear-gradient(90deg, rgb(20 16 13 / 40%), rgb(20 16 13 / 22%) 27%, transparent 59%);
}
.bm-home-film__copy {
	position: relative;
	z-index: 1;
	align-self: center;
	box-sizing: border-box;
	width: min(46%, 43rem);
	padding: 32px 0 32px clamp(28px, 5vw, 88px);
	overflow-wrap: anywhere;
	text-shadow: 0 1px 5px rgb(0 0 0 / 42%);
	pointer-events: none;
}
.bm-home-film .bm-home-film__kicker {
	margin: 0;
	color: inherit;
	font: 600 .6875rem/1.4 var(--bm-font-body, sans-serif);
	letter-spacing: .14em;
	text-transform: uppercase;
}
.bm-home-film .bm-home-film__title {
	max-width: 15ch;
	margin: 10px 0 0;
	color: inherit;
	font: 400 clamp(2.35rem, 3.6vw, 3.9rem)/1.04 Georgia, 'Times New Roman', serif;
	letter-spacing: -.035em;
	text-wrap: balance;
}
.bm-home-film .bm-home-film__sub {
	margin: 10px 0 0;
	color: inherit;
	font: 400 1rem/1.45 var(--bm-font-body, sans-serif);
}
.bm-home-film :is(.bm-home-film__cta, .bm-home-film__control) {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	max-width: 100%;
	padding: 8px 18px;
	border: 1px solid currentColor;
	border-radius: 2px;
	background: transparent;
	color: #fff;
	font: 600 .875rem/1.25 var(--bm-font-body, sans-serif);
	letter-spacing: .015em;
	text-shadow: 0 1px 4px rgb(0 0 0 / 70%);
	text-decoration: none;
	cursor: pointer;
	pointer-events: auto;
}
.bm-home-film .bm-home-film__cta { margin-top: 20px; }
.bm-home-film .bm-home-film__control {
	position: absolute;
	z-index: 2;
	right: clamp(16px, 2vw, 32px);
	bottom: 16px;
}
.bm-home-film :is(.bm-home-film__cta, .bm-home-film__control):is(:hover, :focus-visible) {
	background: transparent;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: .24em;
}
.bm-home-film :is(.bm-home-film__cta, .bm-home-film__control):focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px rgb(0 0 0 / 65%);
}
.bm-home-film .bm-home-film__control[aria-disabled="true"] { cursor: default; }

@media (min-width: 701px) and (max-height: 620px) {
	.bm-home-film { min-height: clamp(245px, 57vh, 350px); }
	.bm-home-film__copy { padding-block: 22px; }
}
@media (max-width: 700px) {
	.bm-home-film { min-height: clamp(290px, 78vw, 360px); }
	.bm-home-film__poster, .bm-home-film__video { object-position: 56% center; }
	.bm-home-film__media::after {
		background: linear-gradient(25deg, rgb(17 13 11 / 44%), rgb(17 13 11 / 21%) 29%, transparent 62%);
	}
	.bm-home-film__copy { align-self: end; width: 100%; padding: 68px 18px 18px; }
	.bm-home-film .bm-home-film__title { margin-top: 4px; font-size: clamp(1.65rem, 6.9vw, 2.35rem); }
	.bm-home-film .bm-home-film__sub { margin-top: 4px; font-size: .875rem; }
	.bm-home-film .bm-home-film__cta { margin-top: 9px; }
	.bm-home-film .bm-home-film__control { top: 12px; right: 12px; bottom: auto; }
}

/* Production carousel uses one continuous film behind both original text panels. */
.bm-home-film .bm-hero__slides { display: grid; z-index: 1; }
.bm-home-film .bm-hero__slide { position: relative; inset: auto; grid-area: 1 / 1; display: grid; pointer-events: none; }
.bm-home-film .bm-hero__slide.is-active { pointer-events: auto; }
.bm-home-film .bm-hero__content { position: relative; inset: auto; box-sizing: border-box; width: 100%; padding: 32px clamp(72px, 7vw, 108px) 52px; }
.bm-home-film .bm-hero__cta .bm-btn {
 background: linear-gradient(#fff, #fff) left center / 0% 100% no-repeat;
 color: #fff;
 border: 1px solid #fff;
 transition: background-size .35s var(--bm-ease), color .35s var(--bm-ease);
}
@media (hover: hover) {
 .bm-home-film .bm-hero__cta .bm-btn:hover { background-size: 100% 100%; color: var(--bm-charcoal); }
}
.bm-home-film .bm-hero__cta .bm-btn:focus-visible {
 background-size: 100% 100%;
 color: var(--bm-charcoal);
 outline: 2px solid #fff;
 outline-offset: 3px;
 box-shadow: 0 0 0 3px rgb(0 0 0 / 55%);
}
.bm-home-film .bm-hero__cta .bm-btn:active {
 background-image: linear-gradient(#e8ddd1, #e8ddd1);
 background-size: 100% 100%;
 color: var(--bm-charcoal);
}
.bm-home-film .bm-home-film__control { z-index: 6; }
.bm-home-film .bm-hero__nav { pointer-events: none; }
.bm-home-film .bm-hero__dot { pointer-events: auto; }
@media (max-width: 700px) {
    .bm-home-film .bm-hero__content { align-items: end; padding: 64px 18px 48px; }
    .bm-home-film .bm-display { font-size: clamp(1.65rem, 6.9vw, 2.35rem); margin-bottom: 6px; }
    .bm-home-film .bm-hero__sub { margin-bottom: 10px; }
    .bm-home-film .bm-hero__cta { gap: 8px; }
}

/* A front page without the film retains its ordinary header too. Keep the sticky
   bar and its existing scroll transform; cancel only its space in normal flow. */
.bm-front:has([data-bm-home-film]) {
 --bm-film-header-height: calc(var(--bm-header-h) + 50px + 1px); /* logo, nav, border */
}
@media (max-width: 1100px) {
 .bm-front:has([data-bm-home-film]) { --bm-film-header-height: 61px; } /* burger row + border */
}
.bm-front:has([data-bm-home-film]) > .bm-announce { display: none; }
.bm-front:has([data-bm-home-film]) > .bm-header {
 margin-block-end: calc(0px - var(--bm-film-header-height));
 --bm-film-surface: transparent;
 --bm-film-ink: #fff;
 --bm-film-wordmark: brightness(0) invert(1);
 background: var(--bm-film-surface);
 border-bottom-color: transparent;
}
/* These states outlive a hover (notably when focus moves into the drawer).
   A returning sticky header stays readable over the rest of the homepage. */
.bm-front > .bm-header:is(.is-stuck, :focus-within, :has([aria-expanded="true"])),
.bm-front.bm-no-scroll > .bm-header {
 --bm-film-surface: #fff;
 --bm-film-ink: var(--bm-ink);
 --bm-film-wordmark: none;
}
@media (hover: hover) {
 .bm-front > .bm-header:hover {
  --bm-film-surface: #fff;
  --bm-film-ink: var(--bm-ink);
  --bm-film-wordmark: none;
 }
}
.bm-front:has([data-bm-home-film]) > .bm-header :is(.bm-nav__link, .bm-util__btn, .bm-search-inline input, .bm-search-inline svg),
.bm-front:has([data-bm-home-film]) > .bm-header .bm-search-inline input::placeholder {
 color: var(--bm-film-ink);
}
.bm-front:has([data-bm-home-film]) > .bm-header .bm-search-inline {
 color: var(--bm-film-ink);
}
.bm-front:has([data-bm-home-film]) > .bm-header .bm-logo__word { filter: var(--bm-film-wordmark); }
.bm-front:has([data-bm-home-film]) > .bm-header .bm-burger span,
.bm-front:has([data-bm-home-film]) > .bm-header .bm-burger span::before,
.bm-front:has([data-bm-home-film]) > .bm-header .bm-burger span::after { background: var(--bm-film-ink); }

/* Keep the 150px header allowance; split the remaining space evenly around the slides. */
.bm-front [data-bm-home-film] {
 box-sizing: content-box;
 padding-block: 275px 125px;
 overflow-wrap: anywhere;
}
/* Shade the *film* behind the white glyphs; neither header row paints a plate. */
.bm-front [data-bm-home-film] .bm-home-film__media::before {
 content: "";
 position: absolute;
 z-index: 1;
 inset: 0 0 auto;
 height: calc(var(--bm-film-header-height) + 64px);
 background: linear-gradient(to bottom, rgb(16 13 10 / 30%) var(--bm-film-header-height), transparent);
 pointer-events: none;
}
@media (max-width: 700px) {
 .bm-front [data-bm-home-film] .bm-home-film__control {
  top: calc(var(--bm-film-header-height) + 12px);
  background: rgb(18 15 12 / 64%);
 }
}
/* Below-fold Signature keeps its poster in flow and its control outside the CTA. */
.bm-signature { position: relative; }
.bm-signature .bm-home-film__poster { position: static; height: auto; object-position: center; opacity: .94; }
.bm-signature video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.bm-signature.is-playing video { opacity: .94; }
.bm-signature.is-playing .bm-home-film__poster { visibility: hidden; }
.bm-signature [hidden] { display: none; }
.bm-signature .bm-home-film__control { position: absolute; right: 12px; bottom: 12px; z-index: 2; min-height: 44px; padding: 6px 14px; color: #fff; background: #302b27; border: 1px solid currentColor; cursor: pointer; }
.bm-signature .bm-home-film__control:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 700px) {
 .bm-signature .bm-band { display: grid; }
 .bm-signature .bm-home-film__poster, .bm-signature .bm-band__body { grid-area: 1 / 1; }
 .bm-signature .bm-home-film__poster { align-self: stretch; height: 100%; min-height: 205px; }
 .bm-signature .bm-band__body { position: relative; }
 .bm-signature .bm-home-film__control { position: static; display: block; margin: 4px 0 0 auto; }
 .bm-signature .bm-home-film__control[hidden] { display: none; }
}
/* Both transports keep a touch-sized target; the SVG is decorative. */
:is(.bm-home-film, .bm-signature) button.bm-home-film__control[data-icon] {
 display: inline-grid; place-items: center; box-sizing: border-box;
 width: 44px; height: 44px; padding: 0; border-radius: 50%;
 border: 1px solid currentColor; background: rgb(20 17 15 / 65%); color: #fff;
}
:is(.bm-home-film, .bm-signature) button.bm-home-film__control[data-icon][hidden] { display: none; }
.bm-home-film__control[data-icon] svg { width: 18px; height: 18px; fill: currentColor; pointer-events: none; }
/* Two visible rows per featured section; the remaining catalogue is linked above. */
.bm-home-product-section { scroll-margin-top: calc(var(--bm-film-header-height, 61px) + 12px); }
.bm-home-product-grid {
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 28px 18px;
}
.bm-home-product-grid > .bm-card { min-width: 0; }
@media (max-width: 860px) {
 .bm-home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
 .bm-home-product-grid > .bm-card:nth-child(n + 5) { display: none; }
}

/* The no-script search form adds a row: don't assume its intrinsic height or
   stick a transparent bar over subsequent content without the scroll script. */
@media (scripting: none) {
 .bm-front:has([data-bm-home-film]) > .bm-header {
  position: absolute;
  inset-inline: 0;
  top: auto;
  margin: 0;
 }
}
