/*
 * Blue Moon — main stylesheet.
 *
 * Layout and components converted from the inline styles of v3. Every
 * colour, gradient, type size and curve comes from tokens.css; this file
 * holds no raw hex. v3 chose layout in JS from innerWidth (wide ≥ 1080,
 * compact < 1080, mobile < 768); here those are the two media queries at
 * the end of each component.
 *
 * Motion is progressive: without JS, or with prefers-reduced-motion, every
 * element is visible and the scroll sequence is a static frame. main.js adds
 * html.bm-motion and the per-element classes that animate.
 */

/* =========================================================
   Base
   ========================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--bm-canvas);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bm-canvas);
	color: var(--bm-ice);
	font-family: var(--bm-font-sans);
	font-size: var(--bm-fs-body);
	font-weight: var(--bm-fw-regular);
	line-height: var(--bm-lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	min-height: 100vh;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
}

a {
	color: var(--bm-ice);
	text-decoration: none;
}

a:hover {
	color: var(--bm-accent);
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
	letter-spacing: inherit;
	text-transform: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure,
ol,
ul {
	margin: 0;
}

::selection {
	background: var(--bm-selection-bg);
	color: var(--bm-ice);
}

/* Focus — DESIGN.md P12: 2px ice outline, 3px offset, never removed (EP-17). */
:focus-visible {
	outline: var(--bm-focus-width) solid var(--bm-focus-color);
	outline-offset: var(--bm-focus-offset);
}

.bm-main:focus {
	outline: none; /* Programmatic skip-link target only; it is not interactive. */
}

.bm-skip {
	position: fixed;
	top: var(--bm-sp-2);
	left: var(--bm-sp-2);
	z-index: calc(var(--bm-z-age) + 1);
	padding: var(--bm-sp-2) var(--bm-sp-3);
	background: var(--bm-ice);
	color: var(--bm-canvas);
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	transform: translateY(-200%);
}

.bm-skip:focus {
	transform: none;
	color: var(--bm-canvas);
}

.bm-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Unconfirmed venue facts (OD-B10) — v3 phRow: italic, mist. */
.bm-placeholder {
	font-style: italic;
	color: var(--bm-mist);
}

/* =========================================================
   Layout
   ========================================================= */

.bm-wrap {
	max-width: var(--bm-max);
	margin-inline: auto;
	padding-inline: var(--bm-gutter);
}

.bm-section {
	padding-block: var(--bm-section-pad);
}

/* =========================================================
   Type
   ========================================================= */

.bm-h-display,
.bm-h1,
.bm-h-opener,
.bm-h2,
.bm-hero__title {
	font-family: var(--bm-font-sans);
	font-weight: var(--bm-fw-semibold);
	text-transform: uppercase;
	letter-spacing: var(--bm-track-caps);
	color: var(--bm-ice);
}

.bm-h-display {
	font-size: var(--bm-fs-display);
	line-height: var(--bm-lh-display);
}

.bm-h1 {
	font-size: var(--bm-fs-h1);
	line-height: var(--bm-lh-display);
}

.bm-h-opener {
	font-size: var(--bm-fs-h1);
	line-height: var(--bm-lh-heading);
	text-wrap: balance;
}

.bm-h2 {
	font-size: var(--bm-fs-h2);
	line-height: 1;
}

.bm-accent {
	color: var(--bm-accent);
	font-style: normal;
	text-shadow: var(--bm-glow-text);
}

.bm-body {
	font-size: var(--bm-fs-body);
	line-height: var(--bm-lh-body);
	color: var(--bm-mist);
	text-wrap: pretty;
}

.bm-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-eyebrow);
	text-transform: uppercase;
	color: var(--bm-accent);
	line-height: 1.4;
}

.bm-eyebrow--page {
	font-weight: var(--bm-fw-medium);
}

.bm-eyebrow__rule {
	width: 32px;
	height: 1px;
	flex: none;
	background: var(--bm-accent);
	opacity: .7;
}

.bm-script {
	font-family: var(--bm-font-script);
	font-size: var(--bm-fs-script);
	font-weight: var(--bm-fw-regular);
	line-height: 1;
	color: var(--bm-ice);
	text-shadow: var(--bm-glow-script);
}

/* =========================================================
   Buttons
   ========================================================= */

.bm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--bm-sp-2);
	min-height: var(--bm-btn-h-sm);
	padding: 0 22px;
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	line-height: 1.2;
	text-align: center;
	border: 1px solid transparent;
	border-radius: var(--bm-radius);
	transition: background var(--bm-dur) var(--bm-ease), color var(--bm-dur) var(--bm-ease), border-color var(--bm-dur) var(--bm-ease), box-shadow var(--bm-dur) var(--bm-ease);
}

.bm-btn:active {
	transform: translateY(1px);
}

.bm-btn[disabled],
.bm-btn[aria-disabled="true"] {
	opacity: var(--bm-disabled-opacity);
	pointer-events: none;
}

.bm-btn--lg {
	height: var(--bm-btn-h);
	padding: 0 30px;
}

.bm-btn--primary {
	background: var(--bm-accent);
	color: var(--bm-canvas);
}

.bm-btn--primary:hover {
	background: var(--bm-ice);
	color: var(--bm-canvas);
	box-shadow: var(--bm-glow-btn);
}

.bm-btn--outline {
	border-color: var(--bm-line-btn);
	color: var(--bm-ice);
}

.bm-btn--outline:hover {
	border-color: var(--bm-accent);
	color: var(--bm-accent);
}

.bm-btn--text {
	padding: 0 var(--bm-sp-2);
	color: var(--bm-mist);
}

.bm-btn--text:hover {
	color: var(--bm-accent);
}

.bm-btn--nav {
	height: 42px;
	min-height: 42px;
	font-weight: var(--bm-fw-medium);
	border-color: var(--bm-line-nav-btn);
	color: var(--bm-accent);
}

.bm-btn--nav:hover {
	background: var(--bm-accent);
	color: var(--bm-canvas);
}

/* Consent choices: Accept / Decline / Settings with equal prominence (P09). */
.bm-btn--choice {
	border-color: var(--bm-line-btn);
	color: var(--bm-ice);
	font-weight: var(--bm-fw-semibold);
}

.bm-btn--choice:hover {
	border-color: var(--bm-accent);
	color: var(--bm-accent);
}

.bm-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--bm-sp-2);
}

.bm-icon-btn {
	width: 52px;
	height: 52px;
	flex: none;
	display: grid;
	place-items: center;
	border: 1px solid var(--bm-line-btn-soft);
	color: var(--bm-ice);
}

.bm-icon-btn:hover {
	border-color: var(--bm-accent);
	color: var(--bm-accent);
}

/* =========================================================
   Grain (v3 overlay)
   ========================================================= */

.bm-grain {
	position: fixed;
	inset: 0;
	z-index: var(--bm-z-grain);
	pointer-events: none;
	opacity: var(--bm-grain-opacity);
	mix-blend-mode: overlay;
	background-image: var(--bm-grain);
}

/* =========================================================
   Header
   ========================================================= */

.bm-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: var(--bm-z-header);
	background: var(--bm-header-bg-top);
	border-bottom: 1px solid var(--bm-line-transparent);
	transition: background .5s ease, border-color .5s ease;
}

.bm-header.is-scrolled {
	background: var(--bm-header-bg);
	border-bottom-color: var(--bm-line);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.bm-header__inner {
	max-width: var(--bm-max);
	margin: 0 auto;
	height: var(--bm-header-h);
	padding: 0 var(--bm-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--bm-sp-4);
	transition: height .5s ease;
}

.bm-header.is-scrolled .bm-header__inner {
	height: var(--bm-header-h-compact);
}

.bm-header__logo {
	display: flex;
	align-items: center;
	flex: none;
}

.bm-header__logo-img {
	width: clamp(180px, 15vw, 220px);
	height: auto;
}

.bm-nav {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.6vw, 40px);
}

.bm-nav__link {
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-medium);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-ice);
	padding: 8px 0 6px;
	background-image: linear-gradient(var(--bm-accent), var(--bm-accent));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0% 1px;
	transition: background-size var(--bm-dur) var(--bm-ease), color var(--bm-dur-fast);
}

.bm-nav__link:hover {
	background-size: 100% 1px;
	color: var(--bm-ice);
}

.bm-nav__link[aria-current="page"] {
	color: var(--bm-accent);
	background-size: 100% 1px;
}

.bm-header__actions {
	display: flex;
	align-items: center;
	gap: 22px;
	flex: none;
}

.bm-lang {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
}

.bm-lang__link {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 0;
	color: var(--bm-mist);
}

.bm-lang__link.is-current {
	color: var(--bm-accent);
}

.bm-lang__sep {
	color: var(--bm-mist);
	opacity: .5;
}

.bm-menu-toggle {
	display: none;
	align-items: center;
	gap: var(--bm-sp-2);
	height: var(--bm-btn-h-sm);
	padding: 0 4px;
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
}

.bm-menu-toggle__icon {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.bm-menu-toggle__icon span {
	display: block;
	width: 22px;
	height: 1px;
	background: var(--bm-ice);
}

.bm-menu-toggle__icon span + span {
	width: 14px;
	margin-left: 8px;
	background: var(--bm-accent);
}

/* =========================================================
   Mobile menu (dialog)
   ========================================================= */

.bm-menu {
	position: fixed;
	inset: 0;
	z-index: var(--bm-z-menu);
	background: var(--bm-canvas);
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--bm-dur) var(--bm-ease), visibility var(--bm-dur);
}

/* Visible at once on open (only opacity fades), so focus can move into the
   dialog on its first frame; on close, visibility still waits for the fade. */
.bm-menu.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity var(--bm-dur) var(--bm-ease), visibility 0s;
}

.bm-menu__bar {
	height: var(--bm-header-h-compact);
	padding: 0 var(--bm-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--bm-line);
}

.bm-menu__logo {
	width: 180px;
	height: auto;
}

.bm-menu__close {
	height: var(--bm-btn-h-sm);
	padding: 0 4px;
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-accent);
}

.bm-menu__nav {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: var(--bm-sp-4) clamp(20px, 6vw, 56px);
	transform: translateY(16px);
	transition: transform var(--bm-dur-mid) var(--bm-ease);
}

.bm-menu.is-open .bm-menu__nav {
	transform: none;
}

.bm-menu__link {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 10px 0;
	border-bottom: 1px solid var(--bm-line-faint);
}

.bm-menu__num {
	width: 22px;
	flex: none;
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
	color: var(--bm-accent);
}

.bm-menu__label {
	font-weight: var(--bm-fw-semibold);
	text-transform: uppercase;
	letter-spacing: var(--bm-track-caps);
	font-size: var(--bm-fs-h1);
	line-height: 1.1;
	color: var(--bm-ice);
}

.bm-menu__link[aria-current="page"] .bm-menu__label {
	color: var(--bm-accent);
}

.bm-menu__foot {
	padding: 20px clamp(20px, 6vw, 56px) calc(24px + env(safe-area-inset-bottom));
	display: flex;
	flex-direction: column;
	gap: var(--bm-sp-3);
}

.bm-lang--menu {
	gap: 14px;
}

.bm-lang--menu .bm-lang__link {
	min-height: var(--bm-btn-h-sm);
}

.bm-menu__actions {
	display: flex;
	gap: 10px;
}

.bm-menu__dir {
	flex: 1;
	height: 54px;
}

.bm-icon-btn--menu {
	width: 54px;
	height: 54px;
}

/* =========================================================
   Hero
   ========================================================= */

.bm-hero {
	position: relative;
	min-height: max(640px, 100svh);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
}

.bm-hero__media {
	position: absolute;
	inset: 0;
	background: var(--bm-grad-hero);
}

.bm-hero__img,
.bm-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 50%;
}

.bm-hero__scrim {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: var(--bm-grad-hero-scrim);
}

.bm-hero__content,
.bm-hero__facts {
	position: relative;
	width: 100%;
	max-width: var(--bm-max);
	margin: 0 auto;
	padding-inline: var(--bm-gutter);
}

.bm-hero__content {
	padding-top: 140px;
}

.bm-hero__title {
	font-size: var(--bm-fs-display);
	line-height: var(--bm-lh-display);
	margin: 26px 0 28px;
}

.bm-hero__line {
	display: block;
}

.bm-hero__p {
	margin: 0 0 var(--bm-sp-5);
	font-size: var(--bm-fs-body);
	line-height: var(--bm-lh-body);
	color: var(--bm-mist);
	max-width: 46ch;
	text-wrap: pretty;
}

.bm-hero__facts {
	padding-top: clamp(40px, 6vh, 72px);
	padding-bottom: 28px;
}

/* =========================================================
   Facts grid
   ========================================================= */

.bm-facts--hero {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 18px 40px;
	border-top: 1px solid var(--bm-line);
	padding-top: 22px;
}

.bm-facts--hero .bm-facts__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bm-facts--hero .bm-facts__k {
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-accent);
}

.bm-facts--hero .bm-facts__v {
	font-size: var(--bm-fs-small);
	line-height: 1.5;
	color: var(--bm-ice);
}

.bm-facts--table,
.bm-facts--info {
	display: grid;
	grid-template-columns: minmax(110px, .8fr) minmax(0, 2fr);
}

.bm-facts--info {
	grid-template-columns: minmax(110px, .7fr) minmax(0, 2fr);
}

.bm-facts--table .bm-facts__k,
.bm-facts--info .bm-facts__k {
	padding: 18px 16px 18px 0;
	border-bottom: 1px solid var(--bm-line-row);
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-mist);
	line-height: 1.5;
}

.bm-facts--table .bm-facts__v {
	padding: 16px 0;
	border-bottom: 1px solid var(--bm-line-row);
	font-size: var(--bm-fs-body);
	line-height: 1.6;
	color: var(--bm-ice);
}

.bm-facts--info .bm-facts__k {
	padding-block: 20px;
	border-bottom-color: var(--bm-line);
	font-weight: var(--bm-fw-regular);
}

.bm-facts--info .bm-facts__v {
	padding: 16px 0;
	border-bottom: 1px solid var(--bm-line);
	font-weight: var(--bm-fw-medium);
	font-size: var(--bm-fs-h3);
	line-height: 1.35;
	color: var(--bm-ice);
}

/* =========================================================
   Home — The Room
   ========================================================= */

.bm-room {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(48px, 7vw, 120px);
}

.bm-room__text {
	flex: 1.1 1 420px;
	min-width: 0;
}

.bm-room__title {
	margin: 28px 0;
}

.bm-room__p {
	line-height: var(--bm-lh-loose);
	max-width: 44ch;
}

.bm-stats {
	margin-top: clamp(40px, 5vw, 64px);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	border-top: 1px solid var(--bm-line-row);
	padding-top: 28px;
}

.bm-stats__item {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bm-stats__k {
	order: 2;
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-mist);
	line-height: 1.5;
}

/* Narrow phones: three columns leave ~93px each, too little for "RESERVATIONS"
   at label tracking; tighten and let the browser hyphenate rather than clip. */
@media (max-width: 479px) {
	.bm-stats {
		gap: 14px;
	}

	.bm-stats__k {
		letter-spacing: 0.12em;
		hyphens: auto;
		overflow-wrap: break-word;
	}
}

.bm-stats__v {
	order: 1;
	font-size: var(--bm-fs-h2);
	font-weight: var(--bm-fw-semibold);
	line-height: 1;
	color: var(--bm-ice);
	text-shadow: var(--bm-glow-stat);
}

.bm-room__media {
	flex: 1 1 340px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2vw, 24px);
}

.bm-room__portrait,
.bm-room__landscape {
	position: relative;
	overflow: hidden;
}

.bm-room__portrait {
	aspect-ratio: 4 / 5;
}

.bm-room__landscape {
	width: 62%;
	margin-left: auto;
	aspect-ratio: 3 / 2;
}

.bm-room__parallax {
	position: absolute;
	left: 0;
	right: 0;
	top: -8%;
	height: 116%;
	will-change: transform;
}

.bm-cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Placeholder backgrounds behind images (v3 BG list). */
.bm-bg--1 { background: var(--bm-grad-tile-1); }
.bm-bg--2 { background: var(--bm-grad-tile-2); }
.bm-bg--3 { background: var(--bm-grad-tile-3); }
.bm-bg--4 { background: var(--bm-grad-tile-4); }

/* v3 crop decisions. */
.bm-pos--50-50 { object-position: 50% 50%; }
.bm-pos--50-30 { object-position: 50% 30%; }
.bm-pos--50-55 { object-position: 50% 55%; }
.bm-pos--74-50 { object-position: 74% 50%; }
.bm-pos--42-50 { object-position: 42% 50%; }
.bm-pos--70-50 { object-position: 70% 50%; }
.bm-pos--55-50 { object-position: 55% 50%; }
.bm-pos--40-50 { object-position: 40% 50%; }
.bm-pos--80-50 { object-position: 80% 50%; }

.bm-ratio--3-2 { aspect-ratio: 3 / 2; }
.bm-ratio--4-5 { aspect-ratio: 4 / 5; }
.bm-ratio--1-1 { aspect-ratio: 1 / 1; }
.bm-ratio--16-9 { aspect-ratio: 16 / 9; }

/* =========================================================
   Home — On Stage (scroll sequence)
   Static by default; .is-live (added by main.js when motion is allowed)
   pins the section and lets --p drive every frame.
   ========================================================= */

.bm-seq {
	--p: 1;
	--seq-ratio: 3 / 2;
	position: relative;
	background: var(--bm-canvas);
}

.bm-seq.is-live {
	--p: 0;
	height: 400vh;
}

.bm-seq__pin {
	position: relative;
	top: 0;
	height: 100svh;
	min-height: 560px;
	overflow: hidden;
}

.bm-seq.is-live .bm-seq__pin {
	position: sticky;
}

.bm-seq__light {
	position: absolute;
	inset: 0;
	opacity: clamp(0, calc(var(--p) * 4), 1);
	background: var(--bm-grad-seq-light);
}

.bm-seq__frame {
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(940px, 88vw);
	aspect-ratio: var(--seq-ratio);
	max-height: 74svh;
	overflow: hidden;
	clip-path: inset(0 calc((1 - clamp(0, calc((var(--p) - .05) * 2.4), 1)) * 50%));
	transform: translate(-50%, -50%) scale(calc(1.1 - clamp(0, var(--p), 1) * .1));
	filter: blur(calc(clamp(0, calc((var(--p) - .7) * 5), 1) * 26px)) brightness(calc(.5 + clamp(0, calc(var(--p) * 1.6), 1) * .5));
	background: var(--bm-grad-seq-frame);
}

.bm-seq.is-live .bm-seq__frame {
	will-change: clip-path, transform, filter;
}

.bm-seq__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bm-seq__img--1 {
	object-position: 50% 55%;
	opacity: clamp(0, calc((.33 - var(--p)) * 12), 1);
}

.bm-seq__img--2 {
	object-position: 60% 50%;
	opacity: clamp(0, min(calc((var(--p) - .27) * 12), calc((.59 - var(--p)) * 12)), 1);
}

.bm-seq__img--3 {
	object-position: 60% 50%;
	opacity: clamp(0, calc((var(--p) - .53) * 12), 1);
}

.bm-seq__flash {
	position: absolute;
	inset: 0;
	background: var(--bm-flash);
	opacity: clamp(0, calc((var(--p) - .72) * 5), 1);
}

.bm-seq__fade {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: var(--bm-grad-seq-fade);
}

.bm-seq__top {
	position: absolute;
	top: clamp(80px, 12vh, 120px);
	left: 0;
	right: 0;
	max-width: var(--bm-max);
	margin: 0 auto;
	padding-inline: var(--bm-gutter);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--bm-sp-4);
}

.bm-seq__progress {
	width: clamp(80px, 14vw, 200px);
	height: 1px;
	background: var(--bm-line);
	overflow: hidden;
}

.bm-seq__progress-bar {
	height: 1px;
	background: var(--bm-accent);
	transform-origin: 0 50%;
	transform: scaleX(var(--p));
}

.bm-seq__beat {
	--a: 0;
	--b: 0;
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(48px, 10vh, 96px);
	max-width: var(--bm-max);
	margin: 0 auto;
	padding-inline: var(--bm-gutter);
	opacity: clamp(0, min(calc((var(--p) - var(--a)) * 12), calc((var(--b) - var(--p)) * 12)), 1);
	transform: translateY(calc((1 - clamp(0, calc((var(--p) - var(--a)) * 12), 1)) * 18px));
}

.bm-seq.is-live .bm-seq__beat {
	display: block;
}

.bm-seq__beat--1 { --a: .04; --b: .28; }
.bm-seq__beat--2 { --a: .3;  --b: .52; }
.bm-seq__beat--3 { --a: .54; --b: .74; }

.bm-seq__beat-n {
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-eyebrow);
	color: var(--bm-accent);
	margin-bottom: 14px;
}

.bm-seq__beat-text {
	font-weight: var(--bm-fw-semibold);
	text-transform: uppercase;
	letter-spacing: var(--bm-track-caps);
	color: var(--bm-ice);
	font-size: var(--bm-fs-h2);
	line-height: 1.15;
	max-width: 22ch;
}

.bm-seq__end {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 26px;
	text-align: center;
	padding: 96px var(--bm-sp-4);
	opacity: clamp(0, calc((var(--p) - .8) * 7), 1);
}

.bm-seq__title {
	margin: 0;
}

.bm-seq__p {
	font-size: var(--bm-fs-body);
	line-height: 1.7;
	color: var(--bm-ice);
	max-width: 36ch;
}

.bm-seq__end .bm-actions {
	justify-content: center;
}

/* v3 --endvis: the button is not reachable until the closing frame shows. */
.bm-seq.is-live:not(.is-end) .bm-seq__end .bm-actions {
	visibility: hidden;
}

.bm-seq__line {
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-mist);
}

/* Static frame: the three lines as a list (v3 seqRm). Live: screen readers only. */
.bm-seq__list {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	max-width: var(--bm-max);
	margin: 0 auto;
	padding-inline: var(--bm-gutter);
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-mist);
}

.bm-seq.is-live .bm-seq__list {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* =========================================================
   Home — Inside, and the gallery grid
   ========================================================= */

.bm-inside__head,
.bm-page__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--bm-sp-5);
	margin-bottom: clamp(40px, 5vw, 72px);
}

.bm-inside__title {
	margin: 28px 0 18px;
}

.bm-inside__p {
	line-height: 1.7;
	max-width: 42ch;
}

.bm-grid {
	columns: 3 280px;
	column-gap: clamp(12px, 1.6vw, 24px);
}

.bm-grid--gallery {
	columns: 3 300px;
}

.bm-tile {
	break-inside: avoid;
	margin: 0 0 clamp(20px, 2.4vw, 32px);
}

.bm-grid--gallery .bm-tile {
	margin-bottom: clamp(20px, 2.4vw, 36px);
}

.bm-tile__frame {
	position: relative;
	overflow: hidden;
}

.bm-tile__zoom {
	position: absolute;
	inset: 0;
	transition: transform var(--bm-dur-zoom) var(--bm-ease);
}

.bm-tile:hover .bm-tile__zoom {
	transform: scale(1.03);
}

.bm-tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Photos added in the editor that are not v3 files keep their own ratio. */
.bm-ratio--natural .bm-tile__zoom {
	position: relative;
}

.bm-ratio--natural .bm-tile__img {
	position: relative;
	height: auto;
}

.bm-tile__btn {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--bm-sp-3);
	padding: 14px 0 4px;
	min-height: 40px;
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-mist);
	text-align: left;
	transition: color var(--bm-dur-fast);
}

.bm-tile__btn:hover {
	color: var(--bm-accent);
}

.bm-tile__meta {
	display: flex;
	gap: 14px;
}

.bm-tile__n {
	color: var(--bm-accent);
}

/* =========================================================
   Home — Plan your visit
   ========================================================= */

.bm-plan {
	background: var(--bm-panel);
}

/* DESIGN.md P12 watch: accent small text on the panel is 4.35:1 — on this
   panel the accent labels switch to ice (deviation recorded in README). */
.bm-plan .bm-eyebrow,
.bm-plan .bm-steps__n {
	color: var(--bm-ice);
}

.bm-plan__title {
	margin: 28px 0 clamp(48px, 6vw, 88px);
	max-width: 18ch;
}

.bm-steps {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: clamp(28px, 4vw, 56px);
}

.bm-steps__item {
	border-top: 1px solid var(--bm-line-step);
	padding-top: 26px;
}

.bm-steps__n {
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-label);
}

.bm-steps__k {
	margin: 16px 0 12px;
	font-size: var(--bm-fs-body);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-caps);
	text-transform: uppercase;
	color: var(--bm-ice);
}

.bm-steps__p {
	font-size: var(--bm-fs-body);
	line-height: var(--bm-lh-body);
	color: var(--bm-mist);
	text-wrap: pretty;
}

.bm-plan__facts {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(40px, 6vw, 120px);
	margin-top: clamp(72px, 9vw, 130px);
}

.bm-plan__intro {
	flex: 1 1 260px;
}

.bm-plan__facts-h {
	font-size: var(--bm-fs-small);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-ice);
}

.bm-plan__note {
	margin-top: 18px;
	font-size: var(--bm-fs-small);
	line-height: var(--bm-lh-loose);
	color: var(--bm-mist);
	max-width: 34ch;
}

.bm-plan__list {
	flex: 2 1 460px;
	min-width: 0;
}

/* =========================================================
   Home — Directions, and the map
   ========================================================= */

.bm-dir {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: clamp(48px, 6vw, 96px);
}

.bm-dir__text {
	flex: 1 1 400px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 44px;
}

.bm-dir__title {
	margin-top: 6px;
}

.bm-dir__p {
	margin-top: var(--bm-sp-4);
	line-height: 1.7;
	max-width: 38ch;
}

.bm-dir__facts {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.bm-map {
	position: relative;
	flex: 1.2 1 440px;
	min-height: clamp(360px, 56vh, 600px);
	overflow: hidden;
	background: var(--bm-panel);
	border: 1px solid var(--bm-line-row);
}

.bm-map--visit {
	flex: 1.3 1 440px;
	border-color: var(--bm-line);
}

.bm-map__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bm-map__scrim {
	position: absolute;
	inset: 0;
	background: var(--bm-grad-map-scrim);
}

.bm-map__body {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	text-align: center;
	padding: var(--bm-sp-5);
}

.bm-map__city {
	font-weight: var(--bm-fw-semibold);
	text-transform: uppercase;
	letter-spacing: var(--bm-track-caps);
	color: var(--bm-ice);
	font-size: var(--bm-fs-h2);
	line-height: 1.1;
}

.bm-map__coords {
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-eyebrow);
	color: var(--bm-accent);
}

.bm-map__addr {
	font-size: var(--bm-fs-small);
	color: var(--bm-ice);
}

.bm-map__note {
	margin-top: 10px;
	font-size: var(--bm-fs-small);
	line-height: 1.7;
	color: var(--bm-mist);
	max-width: 30ch;
}

.bm-map__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: var(--bm-map-filter-home);
}

.bm-map--visit .bm-map__frame {
	filter: var(--bm-map-filter-visit);
}

/* =========================================================
   Gallery and Visit pages
   ========================================================= */

.bm-page {
	padding-top: var(--bm-page-top);
}

.bm-gallery {
	padding-bottom: clamp(96px, 12vw, 160px);
}

.bm-gallery .bm-page__head {
	margin-bottom: clamp(48px, 6vw, 88px);
}

.bm-page__title {
	margin-top: 28px;
	line-height: 1.06;
}

.bm-gallery__cta {
	display: flex;
	justify-content: center;
	margin-top: clamp(56px, 7vw, 100px);
}

.bm-visit-head {
	padding-bottom: clamp(64px, 8vw, 112px);
}

.bm-visit-head__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--bm-sp-5);
	margin-top: 28px;
}

.bm-visit-head__row .bm-page__title {
	margin-top: 0;
}

.bm-visit-head__p {
	max-width: 36ch;
}

.bm-visit-info {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: clamp(40px, 5vw, 80px);
}

.bm-visit-info__facts {
	flex: 1 1 360px;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.bm-split {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(40px, 6vw, 120px);
	padding-top: clamp(96px, 12vw, 170px);
}

.bm-split--faq {
	padding-bottom: clamp(96px, 12vw, 170px);
}

.bm-split__title {
	flex: 1 1 280px;
}

.bm-split__body {
	flex: 2 1 480px;
	min-width: 0;
}

/* FAQ */
.bm-faq {
	border-top: 1px solid var(--bm-line);
}

.bm-faq__item {
	border-bottom: 1px solid var(--bm-line);
}

.bm-faq__q {
	font: inherit;
}

.bm-faq__btn {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--bm-sp-4);
	padding: var(--bm-sp-4) 0;
	text-align: left;
	font-weight: var(--bm-fw-medium);
	font-size: var(--bm-fs-h3);
	line-height: var(--bm-lh-snug);
	transition: color var(--bm-dur-fast);
}

.bm-faq__btn:hover {
	color: var(--bm-accent);
}

.bm-faq__icon {
	position: relative;
	width: 14px;
	height: 14px;
	flex: none;
}

.bm-faq__icon span {
	position: absolute;
	background: var(--bm-accent);
}

.bm-faq__icon span:first-child {
	left: 0;
	top: 7px;
	width: 14px;
	height: 1px;
}

.bm-faq__icon span + span {
	left: 7px;
	top: 0;
	width: 1px;
	height: 14px;
	transition: transform var(--bm-dur) var(--bm-ease);
}

.bm-faq__item.is-open .bm-faq__icon span + span {
	transform: scaleY(0);
}

.bm-faq__panel {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows .5s var(--bm-ease);
}

.bm-faq__inner {
	overflow: hidden;
}

html.bm-js .bm-faq__item:not(.is-open) .bm-faq__panel {
	grid-template-rows: 0fr;
}

html.bm-js .bm-faq__item:not(.is-open) .bm-faq__inner {
	visibility: hidden;
	transition: visibility 0s .5s;
}

.bm-faq__a {
	padding: 0 0 26px;
	font-size: var(--bm-fs-body);
	line-height: var(--bm-lh-loose);
	color: var(--bm-mist);
	max-width: 60ch;
}

/* =========================================================
   Legal (Privacy)
   ========================================================= */

.bm-legal {
	max-width: var(--bm-max-legal);
	margin: 0 auto;
	padding: var(--bm-page-top) var(--bm-gutter) clamp(96px, 12vw, 160px);
}

.bm-legal__title {
	font-weight: var(--bm-fw-semibold);
	text-transform: uppercase;
	letter-spacing: var(--bm-track-caps);
	font-size: var(--bm-fs-h2);
	line-height: 1;
	margin: 0 0 var(--bm-sp-6);
}

.bm-legal__content h2,
.bm-legal__content h3 {
	margin: 0 0 var(--bm-sp-2);
	padding-top: 28px;
	border-top: 1px solid var(--bm-line);
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-medium);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-accent);
	line-height: 1.5;
}

.bm-legal__content p,
.bm-legal__content li {
	font-size: var(--bm-fs-body);
	line-height: var(--bm-lh-loose);
	color: var(--bm-mist);
}

.bm-legal__content p,
.bm-legal__content ul,
.bm-legal__content ol {
	margin: 0 0 28px;
}

.bm-legal__content a {
	color: var(--bm-ice);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bm-legal__content a:hover {
	color: var(--bm-accent);
}

.bm-legal__content .bm-placeholder {
	display: inline-block;
}

.bm-legal__content p.bm-placeholder {
	display: block;
	padding: var(--bm-sp-3);
	border: 1px dashed var(--bm-line-btn);
}

.bm-legal__reset {
	margin-top: var(--bm-sp-4);
	height: 48px;
	font-weight: var(--bm-fw-regular);
}

/* Careers (D-27) — the legal layout plus a page eyebrow and a WhatsApp CTA */
.bm-careers .bm-eyebrow {
	margin-bottom: var(--bm-sp-3);
}

.bm-careers__title {
	line-height: 1.1;
}

.bm-careers__cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bm-sp-2);
	margin-top: var(--bm-sp-4);
}

.bm-careers__note {
	margin: 0;
	font-size: var(--bm-fs-body);
	color: var(--bm-mist);
}

/* =========================================================
   404
   ========================================================= */

.bm-nf {
	padding-top: var(--bm-page-top);
	padding-bottom: var(--bm-section-pad);
}

.bm-nf__title {
	margin: 26px 0 40px;
	max-width: 16ch;
}

/* =========================================================
   Footer
   ========================================================= */

.bm-footer {
	border-top: 1px solid var(--bm-line);
	background: var(--bm-canvas);
}

.bm-footer__inner {
	max-width: var(--bm-max);
	margin: 0 auto;
	padding: clamp(64px, 8vw, 112px) var(--bm-gutter) var(--bm-sp-5);
}

.bm-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 48px;
}

.bm-footer__brand {
	flex: 1 1 280px;
	max-width: 400px;
}

.bm-footer__badge {
	width: 150px;
	height: auto;
}

.bm-footer__tagline {
	margin-top: var(--bm-sp-4);
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-mist);
	line-height: 1.9;
}

.bm-footer__nav {
	flex: 0 1 200px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bm-footer__nav a {
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	padding: 8px 0;
	color: var(--bm-mist);
}

.bm-footer__nav a:hover,
.bm-footer__nav a[aria-current="page"] {
	color: var(--bm-ice);
}

.bm-footer__contact {
	flex: 0 1 280px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: var(--bm-fs-small);
	line-height: 1.7;
	color: var(--bm-mist);
}

.bm-footer__address {
	color: var(--bm-ice);
}

.bm-footer__contact a {
	color: var(--bm-mist);
}

.bm-footer__contact a:hover {
	color: var(--bm-accent);
}

.bm-footer__contact a.bm-footer__directions {
	margin-top: 8px;
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-accent);
}

.bm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: var(--bm-sp-3);
	margin-top: clamp(56px, 7vw, 96px);
	padding-top: var(--bm-sp-4);
	border-top: 1px solid var(--bm-line-faint);
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-mist);
}

.bm-footer__legal {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bm-footer__concept {
	letter-spacing: var(--bm-track-caps);
	text-transform: none;
}

.bm-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bm-sp-4);
	align-items: center;
}

.bm-footer__links a,
.bm-footer__cookies {
	color: var(--bm-mist);
	padding: 8px 0;
}

.bm-footer__links a:hover,
.bm-footer__cookies:hover {
	color: var(--bm-ice);
}

.bm-lang--footer {
	gap: var(--bm-sp-4);
}

/* =========================================================
   Mobile sticky actions
   ========================================================= */

.bm-sticky {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var(--bm-z-sticky);
	gap: 8px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	background: var(--bm-sticky-bg);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-top: 1px solid var(--bm-line);
}

.bm-sticky__dir {
	flex: 1;
	height: 52px;
}

/* =========================================================
   Cookie banner and settings panel
   ========================================================= */

.bm-consent {
	display: none;
	position: fixed;
	left: clamp(12px, 3vw, 32px);
	bottom: var(--bm-sp-4);
	z-index: var(--bm-z-consent);
	max-width: 440px;
	width: calc(100% - 24px);
	background: var(--bm-panel);
	border: 1px solid var(--bm-line-panel);
	padding: 22px var(--bm-sp-4);
	flex-direction: column;
	gap: var(--bm-sp-3);
}

/* Shown once the age notice is passed and while no choice is stored. */
html.bm-js.bm-age-ok:not(.bm-consent-set) .bm-consent {
	display: flex;
}

.bm-consent__text {
	font-size: var(--bm-fs-small);
	line-height: 1.65;
	color: var(--bm-mist);
}

.bm-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.bm-consent__more {
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-mist);
	padding: 12px 6px;
}

.bm-panel {
	display: none;
	position: fixed;
	inset: 0;
	z-index: var(--bm-z-panel);
	background: var(--bm-grad-overlay);
	align-items: center;
	justify-content: center;
	padding: var(--bm-sp-4);
	overflow-y: auto;
}

.bm-panel.is-open {
	display: flex;
}

.bm-panel__box {
	width: 100%;
	max-width: 520px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bm-panel__title {
	font-weight: var(--bm-fw-semibold);
	text-transform: uppercase;
	letter-spacing: var(--bm-track-caps);
	font-size: var(--bm-fs-h2);
	line-height: 1;
	margin-bottom: 8px;
}

.bm-cs-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--bm-sp-4);
	border-top: 1px solid var(--bm-line);
	padding-top: 18px;
}

.bm-cs-row__h {
	margin: 0 0 8px;
	font-size: var(--bm-fs-label);
	font-weight: var(--bm-fw-semibold);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-ice);
}

.bm-cs-row__p {
	font-size: var(--bm-fs-small);
	line-height: 1.7;
	color: var(--bm-mist);
}

.bm-cs-row__state {
	flex: none;
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-ice);
	white-space: nowrap;
}

.bm-switch {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	position: relative;
	width: 48px;
	height: 26px;
	margin: 0;
	border: 1px solid var(--bm-line-btn);
	background: transparent;
	cursor: pointer;
	transition: background var(--bm-dur-fast), border-color var(--bm-dur-fast);
}

.bm-switch::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 16px;
	height: 16px;
	background: var(--bm-mist);
	transition: transform var(--bm-dur-fast) var(--bm-ease), background var(--bm-dur-fast);
}

.bm-switch:checked {
	background: var(--bm-accent);
	border-color: var(--bm-accent);
}

.bm-switch:checked::before {
	transform: translateX(22px);
	background: var(--bm-canvas);
}

.bm-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.bm-panel__close {
	align-self: flex-start;
	min-height: var(--bm-btn-h-sm);
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
	color: var(--bm-mist);
}

.bm-panel__close:hover {
	color: var(--bm-accent);
}

/* =========================================================
   Gallery viewer
   ========================================================= */

.bm-lb {
	display: none;
	position: fixed;
	inset: 0;
	z-index: var(--bm-z-lightbox);
	background: var(--bm-lightbox-bg);
	flex-direction: column;
}

.bm-lb.is-open {
	display: flex;
}

.bm-lb__bar,
.bm-lb__nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 clamp(16px, 3vw, 40px);
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-label);
	text-transform: uppercase;
}

.bm-lb__bar {
	height: 72px;
}

.bm-lb__nav {
	height: 80px;
	padding-bottom: env(safe-area-inset-bottom);
}

.bm-lb__count {
	color: var(--bm-mist);
}

.bm-lb__num {
	color: var(--bm-accent);
}

.bm-lb__close,
.bm-lb__step {
	height: 48px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0 4px;
	color: var(--bm-ice);
}

.bm-lb__close:hover,
.bm-lb__step:hover {
	color: var(--bm-accent);
}

.bm-lb__stage {
	position: relative;
	flex: 1;
}

.bm-lb__slide {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(.985);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--bm-dur-mid) ease, transform .8s var(--bm-ease);
}

.bm-lb__slide.is-on {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(1);
}

.bm-lb__slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* =========================================================
   Age notice
   ========================================================= */

.bm-age {
	display: none;
	position: fixed;
	inset: 0;
	z-index: var(--bm-z-age);
	background: var(--bm-grad-overlay);
	align-items: center;
	justify-content: center;
	padding: var(--bm-sp-4);
	overflow-y: auto;
}

html.bm-js:not(.bm-age-ok) .bm-age {
	display: flex;
}

.bm-age__box {
	max-width: 520px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--bm-sp-4);
}

.bm-age__badge {
	width: min(200px, 50vw);
	height: auto;
	margin-bottom: 8px;
}

.bm-age__kicker {
	font-size: var(--bm-fs-label);
	letter-spacing: var(--bm-track-eyebrow);
	text-transform: uppercase;
	color: var(--bm-accent);
}

.bm-age__title {
	font-weight: var(--bm-fw-semibold);
	text-transform: uppercase;
	letter-spacing: var(--bm-track-caps);
	font-size: var(--bm-fs-h2);
	line-height: 1;
}

.bm-age__text {
	font-size: var(--bm-fs-body);
	line-height: var(--bm-lh-body);
	color: var(--bm-mist);
}

.bm-age__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--bm-sp-2);
	margin-top: 8px;
}

.bm-age__actions .bm-btn--lg {
	height: 54px;
}

.bm-lang--age {
	gap: var(--bm-sp-3);
}

.bm-lang--age .bm-lang__link {
	min-height: var(--bm-btn-h-sm);
}

/* Lock page scroll behind any open modal (v3 body overflow hidden). */
html.bm-modal-open,
html.bm-js:not(.bm-age-ok) {
	overflow: hidden;
}

/* =========================================================
   Scroll reveals (main.js; v3 setupReveal)
   ========================================================= */

html.bm-motion .bm-rv {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity var(--bm-dur-reveal) var(--bm-ease) var(--bm-delay, 0ms), transform var(--bm-dur-reveal) var(--bm-ease) var(--bm-delay, 0ms);
}

html.bm-motion .bm-rv[data-reveal="img"] {
	transform: scale(1.04);
	transition: opacity var(--bm-dur-reveal-img) var(--bm-ease) var(--bm-delay, 0ms), transform var(--bm-dur-reveal-img-scale) var(--bm-ease) var(--bm-delay, 0ms);
}

/* The hero image is the LCP element: it settles by scale only, never from
   opacity 0 (deviation recorded in README). */
html.bm-motion .bm-rv[data-reveal="hero"] {
	opacity: 1;
	transform: scale(1.04);
	transition: transform var(--bm-dur-reveal-img-scale) var(--bm-ease);
}

html.bm-motion .bm-rv.is-in {
	opacity: 1;
	transform: none;
}

/* =========================================================
   Compact (< 1080px) — v3 `compact`
   ========================================================= */

@media (max-width: 1079.98px) {
	.bm-nav,
	.bm-header__actions {
		display: none;
	}

	.bm-menu-toggle {
		display: flex;
	}

	.bm-header__inner {
		height: var(--bm-header-h-compact);
	}
}

/* Wide: the mobile menu never shows (v3 renders it only when compact). */
@media (min-width: 1080px) {
	.bm-menu {
		display: none;
	}
}

/* =========================================================
   Mobile (< 768px) — v3 `mobile`
   ========================================================= */

@media (max-width: 767.98px) {
	body {
		padding-bottom: var(--bm-sticky-pad);
	}

	.bm-sticky {
		display: flex;
	}

	html.bm-modal-open .bm-sticky,
	html.bm-js:not(.bm-age-ok) .bm-sticky {
		display: none;
	}

	.bm-consent {
		bottom: calc(88px + env(safe-area-inset-bottom));
	}

	.bm-hero__img,
	.bm-hero__video {
		object-position: 76% 50%;
	}

	.bm-seq {
		--seq-ratio: 4 / 5;
	}

	.bm-seq.is-live {
		height: 320vh;
	}

	.bm-seq__img--2 {
		object-position: 82% 50%;
	}

	.bm-seq__img--3 {
		object-position: 78% 50%;
	}
}

/* =========================================================
   Reduced motion — static frames, no parallax (NFR-07).
   main.js also never adds .is-live, .bm-rv or parallax in this mode.
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}

	.bm-room__parallax {
		transform: none !important;
	}
}
