/* Blue Honey v3: /blue-honey only (inc/blue-honey.php; markup in inc/blue-honey-markup.php).
   Direction: blue-honey/DIRECTION-v2.md; motion: blue-honey/MOTION-v3.md; alignment: blue-honey/ALIGN-FIXES-v3.md.
   The store's dark ground and its two families: Fraunces 500
   italic for the wordmark, the h2s and the chip labels, Barlow for everything else. Ochre only on the
   buttons (and the store's own bar), cobalt only inside the bottle images. Square corners: the chips
   are the page's only curves. No shadows, glow, blur or blend modes.
   Two modes:
   - default (no JS, or reduced motion): each scene is a still in normal flow, in scene order;
   - html.bh-motion (assets/js/blue-honey.js): the scenes grow tall, a sticky stage draws one bottle
     over the wordmark and under the scenes' text, and the scroll position alone moves it. The scenes'
     stills stay in the page as the bottle's invisible anchors, so their alt text stays with screen readers.
   Text is never hidden. A chip fades only while its row would pass over the glass, which happens
   below the screen's middle; Find scrolls a match to the middle, so it always lands on visible text.
   The page sets every value it relies on, so the static preview (blue-honey/preview) renders as live. */

/* ── tokens ───────────────────────────────────────────────── */
.bh-html { --bh-bar: 80px; }   /* the phone bar: B's price and a two-line date need 80px, and both states keep one height */
body.bh-page {
	--bh-ground: #14100D;   /* page and cards */
	--bh-ink: #EDE5D8;      /* 15.1:1 on ground: headings, body, price, chip labels, focus ring; ground on it in the panel */
	--bh-soft: #A2957F;     /* 6.43:1 on ground: the wordmark, small print, placeholder, input edge */
	--bh-ochre: #C98B2E;    /* buttons and the Bear Witness chip's line; ground on it 6.50:1 */
	--bh-line: #332A21;     /* decorative rules only (the store's accent-5) */
	--bh-serif: var(--wp--preset--font-family--headline, Fraunces, Georgia, "Times New Roman", serif);
	--bh-sans: var(--wp--preset--font-family--body, Barlow, -apple-system, system-ui, sans-serif);
	--bh-chapter: var(--wp--preset--font-size--display, clamp(30px, 2vw + 20px, 46px));
	--bh-section: var(--wp--preset--font-size--x-large, clamp(26px, 2.6vw, 38px));
	--bh-subhead: var(--wp--preset--font-size--large, clamp(19px, 1.6vw, 24px));
	--bh-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
	--bh-small: 14px;
	--bh-label: 12px;
	--bh-g: clamp(30px, 5vw, 50px);       /* the store gutter (style.css:32) */
	--bh-gap: 24px;                       /* column gap */
	--bh-hs: 0px;                         /* the sticky store header's height; blue-honey.js measures it */
	--bh-H: calc(100svh - var(--bh-hs));  /* the stage: the screen under the sticky header */
	margin: 0;
	background: var(--bh-ground);
	color: var(--bh-ink);
	font-family: var(--bh-sans);
	font-size: var(--bh-body);
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
@media (min-width: 783px) {
	/* the store header sticks from 783px (style.css:124); until the script measures it, and under
	   reduced motion: its height without a bar (A) and with the shipping bar (B), measured (PREC-11) */
	body.bh-page { --bh-hs: 75.63px; }
	body.bh-page.bh-b { --bh-hs: 110.81px; }
}
@media (min-width: 1200px) {
	body.bh-page { --bh-hs: 79px; }
	body.bh-page.bh-b { --bh-hs: 114.19px; }
}
@media (prefers-reduced-motion: no-preference) {
	.bh-html { scroll-behavior: smooth; }
}

/* ── the store's header and footer on this page ───────────── */
/* never the 10% line here; in state A no bar; in state B the shipping line shows on phones too
   (inc/blue-honey.php removes the same parts from the markup; these hold if the header part changes) */
.bh-page .hp-anbar-join { display: none; }
body.bh-page:not(.bh-b) .hp-anbar { display: none; }
@media (max-width: 620px) { .bh-page .hp-anbar-ship { display: inline; } }
.bh-page .wp-site-blocks > .bh, .bh-page .wp-site-blocks > .bh + footer { margin-block-start: 0; }   /* no store gap round the page: the last scene meets the footer */
/* the store footer always paints over the film's layers (the stage and backdrops are positioned, z 0-1) */
.bh-page footer.wp-block-template-part { position: relative; z-index: 3; background: var(--bh-ground); }

/* ── base ─────────────────────────────────────────────────── */
.bh { overflow-x: clip; }   /* the hand and the grown bottle run past the edges; the page never scrolls sideways */
.bh *, .bh *::before, .bh *::after { box-sizing: border-box; }
.bh :where(h1, h2, h3, p, figure, ul, dl, dd) { margin: 0; }
.bh :where(ul) { padding: 0; list-style: none; }
.bh :where(h1, h2, h3) { font-synthesis: none; }
.bh :where(h2, h3, p, figcaption, dd) { text-wrap: pretty; }
.bh img, .bh svg, .bh canvas { display: block; max-width: none; }
.bh a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.bh a:hover { text-decoration: none; }
/* one focus ring, the store's: 2px cream outside the control (15.1:1 on ground) */
.bh :focus-visible { outline: 2px solid var(--bh-ink); outline-offset: 3px; }

.bh-story { container-type: inline-size; }
.bh-s {
	--bh-cw: min(1240px, 100cqw - 2 * var(--bh-g));           /* content width (the store's wide size) */
	--bh-col: calc((var(--bh-cw) - 11 * var(--bh-gap)) / 12);  /* one of 12 columns */
	--bh-x0: calc(50% - var(--bh-cw) / 2);                     /* the content's left edge */
}
.bh-card { background: var(--bh-ground); }   /* at phone widths text rides over the stage on these */
@media (min-width: 1024px) { .bh-hero__text.bh-card { background: none; } }   /* wide: the copy sits on the backdrop's dark side, no box */

/* ── type roles ───────────────────────────────────────────── */
.bh .bh-h2, .bh .bh-h3 {
	font-family: var(--bh-serif); font-style: italic; font-weight: 500; letter-spacing: -.015em;
	text-transform: none; color: inherit;
}
.bh .bh-h2 { font-size: var(--bh-chapter); line-height: 1.06; }
.bh .bh-h3 { font-size: var(--bh-section); line-height: 1.1; }
.bh-sub { font-size: var(--bh-subhead); line-height: 1.4; }
.bh-price { font-size: 16px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; color: var(--bh-ink); white-space: nowrap; }
.bh-price--lg { font-size: var(--bh-subhead); }
.bh-status, .bh-terms, .bh-consent, .bh-note, .bh-msg, .bh-label { font-size: var(--bh-small); font-weight: 500; line-height: 1.5; }
.bh-status, .bh-consent, .bh-note { color: var(--bh-soft); }
.bh-terms, .bh-msg { color: var(--bh-ink); }

/* ── the button ───────────────────────────────────────────── */
.bh .bh-btn {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	min-height: var(--hp-control-lg, 48px);
	min-width: 14em;                                   /* fits "Tell me first", so the hero button keeps one width in both states */
	padding: 0 24px; margin: 0;
	background: var(--bh-ochre); color: var(--bh-ground);
	border: 0; border-radius: 0; cursor: pointer;
	font-family: var(--bh-sans); font-size: var(--bh-label); font-weight: 700; font-style: normal;
	letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	transition: transform var(--hp-dur-press, 120ms) var(--hp-ease-out, ease-out);
}
.bh .bh-btn:hover { text-decoration: underline; text-underline-offset: .3em; }
.bh .bh-btn:active { transform: scale(.98); }
.bh .bh-btn[aria-busy="true"] { cursor: progress; }
.bh .bh-btn--wide { display: flex; width: 100%; }

/* ── 1. hero: the wordmark behind the cap ─────────────────── */
.bh-s1 {
	--bh-pt: 16px;                                                       /* above the wordmark (centred on the stage from 1024px) */
	--bh-fs: min(var(--bh-cw) / 5.2525, var(--bh-H) * .3);               /* "Blue Honey" is 5.2525em wide in Fraunces 500 italic */
	--bh-base: calc(var(--bh-pt) + var(--bh-fs) * .8615);                /* its baseline at line-height 1 */
	--bh-btop: calc(var(--bh-base) - var(--bh-fs) * .2);                 /* the cap's top: .2em of a .7em capital, under a third */
	--bh-fh: min(478px, (var(--bh-H) - var(--bh-btop) - 24px) / .946);   /* the frame: 720w, so 360 CSS px wide at most */
	--bh-fw: calc(var(--bh-fh) * .7534);
	--bh-ftop: calc(var(--bh-btop) - var(--bh-fh) * .0539);              /* the bottle starts 63/1168 down its frame */
}
.bh-hero { position: relative; width: var(--bh-cw); height: calc(var(--bh-ftop) + var(--bh-fh)); margin-inline: auto; }
/* the wordmark (z 0), a dark rim (z 1), the still (z 2): the bottle stands in front of the letters,
   and the rim, the bottle's outline plus 10px (bh2-knock-440.png, the cutout's alpha), keeps a gap
   round it. Once the stage draws the bottle (html.bh-live), its own rim takes over. */
.bh-hero__still, .bh-hero::before { position: absolute; top: var(--bh-ftop); left: calc(50% - var(--bh-fw) / 2); width: var(--bh-fw); height: var(--bh-fh); }
.bh-hero__still { z-index: 2; }
.bh-hero::before, .bh-bottle__rim {
	content: ""; z-index: 1; background: var(--bh-ground);
	-webkit-mask: url(../media/blue-honey/bh2-knock-440.png) 0 0 / 100% 100% no-repeat;
	mask: url(../media/blue-honey/bh2-knock-440.png) 0 0 / 100% 100% no-repeat;
}
.bh-live .bh-hero::before { display: none; }
/* only where the letters can be: the cap and shoulders. Lower down the rim would draw a dark outline on the backdrop */
.bh-hero::before, .bh-bottle__rim { clip-path: inset(0 0 55% 0); }
.bh .bh-wm {
	position: absolute; top: var(--bh-pt); left: 0; z-index: 0; width: 100%; margin: 0; padding-bottom: .3em;
	font-family: var(--bh-serif); font-style: italic; font-weight: 500; font-size: var(--bh-fs); line-height: 1;
	letter-spacing: 0; text-transform: none; white-space: normal; text-align: center; overflow-wrap: anywhere;   /* wraps only when text spacing widens it (A11Y-3); at default it fits one line, by its size */ color: var(--bh-soft);   /* centred: on a short screen the cap still lands on the H */
}
/* Fraunces' italic ink starts right of its box: pull it back so the ink is centred (PREC-5) */
@media (min-width: 600px) { .bh .bh-wm { text-indent: -.034em; } }
.bh-hero__text { display: grid; justify-items: start; gap: 12px; }
.bh-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 4px; }
@media (max-width: 1023px) {
	.bh-s1 { --bh-fh: min(398px, var(--bh-cw) * .8 / .7534, (var(--bh-H) - var(--bh-btop) - 24px) / .946); }   /* short screens (landscape): the glass fits the stage (MASON-1) */
	.bh-hero__text { width: var(--bh-cw); margin: 24px auto 0; padding-bottom: 24px; }
}
@media (max-width: 599px) {
	/* two lines, centred: "Honey" is 2.97em wide */
	.bh-s1 { --bh-fs: calc(var(--bh-cw) / 3); --bh-base: calc(var(--bh-pt) + var(--bh-fs) * 1.7415); --bh-btop: calc(var(--bh-base) - var(--bh-fs) * .12); }   /* .12em of a .47em x-height */
	.bh .bh-wm { line-height: .92; white-space: normal; text-align: center; }
}
@media (min-width: 1024px) {
	/* the wordmark and the bottle centred on the stage; the copy in columns 1-3 ends on the bottle's base */
	.bh-s1 { --bh-pt: max(16px, (var(--bh-H) - var(--bh-fs) * .6615 - 452px) / 2); }
	.bh-s1 .bh-pane { position: relative; height: var(--bh-H); }
	.bh-s1 .bh-hero { position: absolute; top: 0; left: var(--bh-x0); }
	/* columns 1-3, but never closer to the glass (0.0972 of the frame in from its edge) than one gap (PREC-10) */
	.bh-hero__text { position: absolute; left: var(--bh-x0); bottom: calc(var(--bh-H) - var(--bh-ftop) - var(--bh-fh) * .928); width: min(max(300px, 3 * var(--bh-col) + 2 * var(--bh-gap)), 50% - var(--bh-fw) * .4028 - var(--bh-x0) - var(--bh-gap)); }
}

/* ── 2. ring: the front frame grown, five chips ───────────── */
.bh-s2 {
	--bh-disc: 64px;
	--bh-fw2: min(624px, 122cqw);                                         /* 1248w: 624 CSS px at most */
	--bh-fh2: calc(var(--bh-fw2) / .7534);
}
.bh-ring { position: relative; height: calc(var(--bh-fh2) * .8); overflow: hidden; }   /* the bottom fifth cropped */
.bh-ring__still { position: absolute; top: 0; left: calc(50% - var(--bh-fw2) / 2); width: var(--bh-fw2); height: var(--bh-fh2); }
.bh-chips { width: var(--bh-cw); margin: 24px auto 0; display: grid; gap: 16px; padding: 24px; border: 1px solid var(--bh-line); }
.bh-chip { display: grid; grid-template-columns: var(--bh-disc) minmax(0, 1fr); align-items: center; gap: 16px; }
/* every disc the same size with the same 1px edge in Ink soft (the input edge's role), so five
   circles read as one set even where a crop's own ground meets the page */
.bh-chip__disc { display: grid; place-items: center; width: var(--bh-disc); height: var(--bh-disc); border: 1px solid var(--bh-soft); border-radius: 50%; overflow: hidden; }
.bh-chip__disc img { width: 100%; height: 100%; }
/* line-height 1.3 and 2px padding: Fraunces' glyph box is 1.233em, so the label's own box (and its
   ground card) holds its text whole */
.bh-chip__label { padding-block: 2px; font-family: var(--bh-serif); font-style: italic; font-weight: 500; font-size: 18px; line-height: 1.3; color: var(--bh-ink); }
@media (min-width: 1024px) {
	.bh-s2 {
		--bh-disc: 96px;
		--bh-fw2: min(624px, 60cqw);
		/* the cap's top sits below the screen's middle and the bottom edge crops the bottle */
		--bh-by: calc(58svh - var(--bh-hs));
		--bh-top2: calc(var(--bh-by) - var(--bh-fh2) * .0539);
		/* the arch: one circle round the middle of the cap; the discs' centres sit on it at 0, 40 and
		   80 degrees either side of the top, so the outer two flank the cap and none touches the glass */
		--bh-cy: calc(var(--bh-by) + var(--bh-fh2) * .137);
		--bh-r: min(330px, var(--bh-cy) - 64px);
	}
	.bh-s2 .bh-pane { position: relative; height: var(--bh-H); }
	.bh-ring { position: absolute; inset: 0; height: auto; }
	.bh-ring__still { top: var(--bh-top2); }
	.bh-chips { position: absolute; inset: 0; width: auto; margin: 0; padding: 0; border: 0; background: none; }
	/* left and top place each disc's centre; 300px keeps chip 4's label on one line (PREC-3) */
	.bh-chip { position: absolute; display: grid; grid-template-columns: none; justify-items: center; gap: 8px; width: 300px; margin: calc(var(--bh-disc) / -2) 0 0 -150px; text-align: center; }
	.bh-chip__label { padding-inline: 8px; background: var(--bh-ground); }
	.bh-chip--1 { left: calc(50% - var(--bh-r) * .9848); top: calc(var(--bh-cy) - var(--bh-r) * .1736); }
	.bh-chip--2 { left: calc(50% - var(--bh-r) * .6428); top: calc(var(--bh-cy) - var(--bh-r) * .766); }
	.bh-chip--3 { left: 50%; top: calc(var(--bh-cy) - var(--bh-r)); }
	.bh-chip--4 { left: calc(50% + var(--bh-r) * .6428); top: calc(var(--bh-cy) - var(--bh-r) * .766); }
	.bh-chip--5 { left: calc(50% + var(--bh-r) * .9848); top: calc(var(--bh-cy) - var(--bh-r) * .1736); }
}

/* ── 3. presented: the bottle on the hand, the cream panel ── */
.bh-s3 {
	--bh-hw: min(467px, 110cqw);                 /* the 935px hand, never wider than half its pixels */
	--bh-hh: calc(var(--bh-hw) * .34011);
}
.bh-presented { padding-top: calc(var(--bh-hw) * .33 + 24px); }   /* room for the bottle above the palm */
.bh-hold { position: relative; width: var(--bh-hw); height: var(--bh-hh); margin-left: calc(var(--bh-hw) * -.2); }   /* the cuff runs off the left edge */
.bh-hold > img { position: absolute; }
.bh-hold__hand, .bh-hold__shadow { inset: 0; width: 100%; height: 100%; }
/* the bottle in front: 0.30 of the hand's width, its base centre at 0.50 / 0.33 of the hand box */
.bh-hold__cut { left: calc(var(--bh-hw) * .31414); top: calc(var(--bh-hw) * -.34816); width: calc(var(--bh-hw) * .37341); height: auto; }
.bh-presented .bh-note { width: var(--bh-cw); margin: 16px auto 0; padding-block: 4px; }
.bh-panel { width: var(--bh-cw); margin: 24px auto 0; padding: 24px; background: var(--bh-ink); color: var(--bh-ground); }
.bh .bh-panel .bh-h2 { color: var(--bh-ground); text-wrap: balance; }   /* "Your scent / walks in first": two even lines */
.bh-rows { display: grid; gap: 24px; margin-top: 24px; }
.bh-row dt { font-size: 16px; font-weight: 600; line-height: 1.4; }
.bh-row dd { margin: 4px 0 0; font-size: 16px; line-height: 1.55; }
@media (min-width: 1024px) {
	.bh-s3 {
		--bh-hw: min(467px, 7 * var(--bh-col) + 6 * var(--bh-gap));
		--bh-hx: calc(var(--bh-x0) + (7 * var(--bh-col) + 6 * var(--bh-gap) - var(--bh-hw)) / 2);   /* centred in columns 1-7 */
		--bh-hy: calc((var(--bh-H) - var(--bh-hw) * .66155) / 2 + var(--bh-hw) * .32143);    /* bottle and hand centred on the panel (MASON-4: the note is gone) */
	}
	.bh-s3 .bh-pane { position: relative; height: var(--bh-H); }
	.bh-presented { padding: 0; }
	.bh-hold { position: absolute; left: var(--bh-hx); top: var(--bh-hy); margin: 0; }
	.bh-panel { position: absolute; top: 50%; left: calc(var(--bh-x0) + 7 * var(--bh-col) + 7 * var(--bh-gap)); width: calc(5 * var(--bh-col) + 4 * var(--bh-gap)); margin: 0; padding: 32px; transform: translateY(-50%); }
	/* the hand is 467px at most (half its 935 pixels), so it sits mid-columns; the sleeve's cut end
	   fades into the ground over its first 12%, and the arm comes out of the dark instead of stopping on a line */
	.bh-hold__hand, .bh-hand__img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%); mask-image: linear-gradient(90deg, transparent, #000 12%); }
}

/* ── 4. close: the master still and the order block ───────── */
.bh-close { width: var(--bh-cw); margin-inline: auto; padding-block: 24px 8px; }
.bh-close__still { width: min(300px, 80%, (var(--bh-H) - 48px) / 1.093 * .7534); height: auto; margin: 0 auto; }   /* MASON-1 */
.bh-close__text { margin-top: 32px; }
@media (min-width: 1024px) {
	/* the pack shot is the bottle AND its pedestal (bh4-bg-close): the pedestal reaches .093 of the frame's
	   height below the frame, so the group is 1.093 frames tall and sits centred on the stage, whole */
	.bh-s4 {
		--bh-sw: min(440px, 6 * var(--bh-col) + 5 * var(--bh-gap), (var(--bh-H) - 48px) / 1.093 * .7534);   /* 880w: 440 CSS px at most */
		--bh-sb: calc((var(--bh-H) - var(--bh-sw) / .7534 * 1.044) / 2 + var(--bh-sw) / .7534 * .097);    /* the frame's bottom margin: the group's ink, cap to pedestal, centred (MASON-5) */
	}
	.bh-close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: var(--bh-H);   /* MASON-3 */ column-gap: var(--bh-gap); padding: 0; }
	/* both columns end on the glass's base, 92.98% down the still's frame (PREC-1): the still sits
	   centred on the stage, the text's last line on the base */
	/* placed from the scene's top: state A's order block is taller than the stage, and its row grows */
	.bh-close__still { grid-column: 1 / span 6; align-self: start; justify-self: center; width: var(--bh-sw); margin: calc(var(--bh-H) - var(--bh-sb) - var(--bh-sw) / .7534) 0 0; }
	.bh-close__text { grid-column: 7 / -1; align-self: end; margin: 0; padding-block: 32px calc(var(--bh-sb) + var(--bh-sw) / .7534 * .0702); }
}

/* the order block (v1's): one height in both states (v1 rule 4), A's rows set it */
.bh-order { max-width: 30rem; margin-top: 32px; }   /* no reserved height: the design note it made room for is gone (owner, 2026-11-29) */
.bh-fact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-top: 12px; }
.bh-order__lead { margin-top: 16px; }
.bh-swap { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
.bh-swap > * { grid-area: 1 / 1; }
.bh-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--bh-ink); }
.bh-join__row { display: flex; }
.bh .bh-join__row .bh-btn { min-width: 0; }   /* this one never changes label; the field keeps ~196px at 390 */
.bh-input {
	flex: 1 1 auto; min-width: 0; min-height: var(--hp-control-lg, 48px); margin: 0; padding: 0 14px;
	background: transparent; color: var(--bh-ink); border: 1px solid var(--bh-soft); border-right: 0; border-radius: 0;
	font-family: var(--bh-sans); font-size: 16px; font-weight: 400; line-height: 1.2;
}
.bh-input::placeholder { color: var(--bh-soft); opacity: 1; }
/* errors, the house rule (style.css:707-717): the message with an icon, the field's border doubles */
.bh-input[aria-invalid="true"] { border-color: var(--bh-ink); box-shadow: inset 0 0 0 1px var(--bh-ink); }
.bh-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bh-msg { min-height: 1.5em; margin-top: 8px; }
.bh-msg.is-error::before {
	content: "!" / ""; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 8px;
	border: 1.5px solid currentColor; font-size: 11px; font-weight: 700; line-height: 1; vertical-align: -2px;
}
.bh-terms + .bh-consent, .bh-msg + .bh-terms { margin-top: 4px; }
.bh-consent a { color: var(--bh-ink); }
.bh-buy .bh-note { margin-top: 8px; }
.bh-buy { display: grid; gap: 8px; margin-top: 24px; }
.bh-buy .bh-btn--wide { margin-bottom: 4px; }
@media (min-width: 1024px) {
	/* the note is the block's last line, on the glass's base (PREC-1); state B has fewer rows than A,
	   so its block takes its own height and no hole opens above its note */
	.bh-order { display: flex; flex-direction: column; }
}
/* phones under 380px: the field would drop under ~150px, so field and button stack */
@media (max-width: 379px) {
	.bh-join__row { flex-direction: column; }
	.bh-input { border-right: 1px solid var(--bh-soft); }
	.bh .bh-join__row .bh-btn { width: 100%; }
}
/* the thank-you takes the form's place at the form's height */
.bh-thanks {
	align-self: start; opacity: 0; visibility: hidden;
	font-family: var(--bh-serif); font-style: italic; font-weight: 500;
	font-size: var(--bh-section); line-height: 1.15; letter-spacing: -.015em;
	transition: opacity var(--hp-dur-small, 200ms) var(--hp-ease-out, ease-out), visibility 0s linear var(--hp-dur-small, 200ms);
}
.bh-join { transition: opacity var(--hp-dur-small, 200ms) var(--hp-ease-out, ease-out), visibility 0s; }
.bh-swap.is-done .bh-join { opacity: 0; visibility: hidden; transition: opacity var(--hp-dur-small, 200ms) var(--hp-ease-out, ease-out), visibility 0s linear var(--hp-dur-small, 200ms); }
.bh-swap.is-done .bh-thanks { opacity: 1; visibility: visible; transition: opacity var(--hp-dur-small, 200ms) var(--hp-ease-out, ease-out), visibility 0s; }

/* ── phone bar, below 783px (v1) ──────────────────────────── */
.bh-bar { display: none; }
@media (max-width: 782px) {
	/* --bh-bar-h is the bar's measured height (blue-honey.js); it already includes the safe-area padding */
	.bh-html { scroll-padding-top: 8px; }   /* no sticky header here: a focused control keeps its ring on screen (A11Y-5) */
	.bh-html { scroll-padding-bottom: calc(var(--bh-bar-h, calc(var(--bh-bar) + env(safe-area-inset-bottom, 0px))) + 6px); }
	body.bh-page { padding-bottom: calc(var(--bh-bar-h, calc(var(--bh-bar) + env(safe-area-inset-bottom, 0px))) + 6px); }
	.bh-bar {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--hp-z-sticky, 60);
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background: var(--bh-ground); border-top: 1px solid var(--bh-line);
		transform: translateY(100%); visibility: hidden;
		transition: transform var(--hp-dur-medium, 250ms) var(--hp-ease-in, ease-in), visibility 0s linear var(--hp-dur-medium, 250ms);
	}
	.bh-bar[hidden] { display: none; }
	.bh-bar.is-on { transform: none; visibility: visible; transition: transform var(--hp-dur-medium, 250ms) var(--hp-ease-out, ease-out), visibility 0s; }
	.bh-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--bh-bar); padding: 8px var(--bh-g); }
	.bh-bar .bh-pair__price { display: flex; flex-direction: column; min-width: 0; }
	.bh .bh-bar .bh-btn { min-width: 0; }   /* "Pre-order" is shorter than "Tell me first": the price keeps the room */
	/* past the order block the page's bottle is gone, so the bar carries a small one to the very end;
	   only where the price still keeps its room (state A from 375px, state B from 440px) */
	.bh .bh-bar__bottle { display: none; width: auto; height: 56px; flex: none; margin-left: -4px; }   /* the glass, not the frame, on the gutter (MASON-8) */   /* .bh img sets block: beat it */
	.bh-bar__in { justify-content: flex-start; }
	.bh .bh-bar .bh-btn { margin-left: auto; }
}
@media (min-width: 375px) and (max-width: 782px) {
	body.bh-page:not(.bh-b) .bh-bar.has-bottle .bh-bar__bottle { display: block; }
}
@media (min-width: 440px) and (max-width: 782px) {
	body.bh-b .bh-bar.has-bottle .bh-bar__bottle { display: block; }
}
@media (max-width: 359px) {
	.bh .bh-bar .bh-btn { padding-inline: 12px; }   /* the bar keeps the page gutter (PREC-6) */
	.bh-bar .bh-price { white-space: normal; }   /* state B's "$185 + $4.20 shipping" is wider than a 320px bar leaves it: wrap, never clip */
}

/* ── motion (html.bh-motion, set by blue-honey.js; never under reduced motion) ── */
.bh-rail { display: none; }
.bh-motion .bh-track { position: relative; }
/* the rail runs one stage past the track, so the stage lets go exactly when scene 4 reaches the stage's
   top. Stacking (MOTION-v3, Layers): the rail (z 1) paints over the hero's wordmark and pane (z 0) and
   under every scene's text (z 2) */
.bh-motion .bh-rail { display: block; position: absolute; top: 0; right: 0; bottom: calc(-1 * var(--bh-H)); left: 0; z-index: 1; pointer-events: none; }
.bh-motion .bh-stage { position: sticky; top: var(--bh-hs); height: var(--bh-H); overflow: clip; }
.bh-motion .bh-s { position: relative; z-index: 2; }
.bh-motion .bh-s1 { z-index: auto; }
/* scroll lengths (MOTION-v3, Shots): turntable 200svh, push to the cap 150, pull back to the hand 150, pack shot 100 */
.bh-motion .bh-s1 { min-height: calc(200svh + var(--bh-H)); }
.bh-motion .bh-s2, .bh-motion .bh-s3 { min-height: 150svh; }   /* min: text that needs more room stretches its scene */
.bh-motion .bh-land { height: var(--bh-hs); }
.bh-live .bh-anchor { opacity: 0; }   /* the stage draws the bottle; the still keeps its box and its alt text */
/* at rest at the top the hero's own <img> shows, the canvas waits (blue-honey.js: bh-rest) */
.bh-live.bh-rest .bh-hero__still { opacity: 1; }
.bh-rest .bh-bottle__canvas { visibility: hidden; }
@media (min-width: 1024px) {
	.bh-motion .bh-pane { position: sticky; top: var(--bh-hs); }
	.bh-motion .bh-s1 .bh-pane { z-index: 0; }
	.bh-motion .bh-chip, .bh-motion .bh-chip__disc, .bh-motion .bh-presented .bh-note, .bh-motion .bh-panel, .bh-motion .bh-wm { will-change: opacity; }   /* the script fades them; composited, so no repaint */
	/* the story panel arrives 64px later, so its heading clears the bottle shrinking to the hand (UI-3) */
	.bh-motion .bh-s3 { padding-top: 64px; }
}
@media (max-width: 1023px) {
	/* the hero's card passes under the turning bottle, faded out by the script before it reaches the glass;
	   while something in it has keyboard focus it comes over the bottle, opaque and clickable (UI-2) */
	.bh-motion .bh-hero__text { position: relative; z-index: 0; will-change: opacity; }
	.bh-motion .bh-hero__text.is-solid { z-index: 2; }   /* short screens: the card never fades, so it rides over the glass (A11Y-1) */
	.bh-motion .bh-hero__text:focus-within { z-index: 2; opacity: 1 !important; pointer-events: auto !important; }
	.bh-motion .bh-ring { display: none; }
	/* out of sight but still read: the hand's description */
	.bh-motion .bh-hold { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); }
	.bh-motion .bh-presented { padding-top: 0; }
	/* each card arrives a quarter into its scene, as in v2: a card needs about a scene's scroll to cross
	   the screen, so arriving later would carry it over the next shot's move (padding, not margin: a
	   margin would collapse through the section and move the scenes after it) */
	.bh-motion .bh-s2 .bh-pane, .bh-motion .bh-s3 .bh-pane { padding-top: 37.5svh; }
	.bh-motion .bh-s2 .bh-chips { margin-top: 0; }
	/* the cards stop at the bottle's zone (top 46% of the stage): above the line blue-honey.js sets, gone,
	   then a 24px soft edge (CRIT-1) */
	.bh-motion .bh-s2 .bh-pane, .bh-motion .bh-s3 .bh-pane {
		-webkit-mask-image: linear-gradient(transparent var(--bh-cut, 0px), #000 calc(var(--bh-cut, 0px) + 24px));
		mask-image: linear-gradient(transparent var(--bh-cut, 0px), #000 calc(var(--bh-cut, 0px) + 24px));
	}
}
/* the backdrops sit under the hero's pane (z 0, later in the page) and under the bottle's rail (z 1) */
.bh-motion .bh-rail--bg { z-index: 0; }
.bh-bg {
	position: absolute; left: 0; top: 0; width: 1344px; height: 752px; transform-origin: 0 0; opacity: 0; will-change: transform, opacity;
	/* the plate's edges melt into the ground, so no frame ever shows */
	-webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(transparent, #000 15%, #000 85%, transparent);
	-webkit-mask-composite: source-in;
	mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(transparent, #000 15%, #000 85%, transparent);
	mask-composite: intersect;
}
@media (max-width: 1023px) {
	/* phones: the hero's rock melts away above the hero card, so the card's top edge never cuts it (MASON-2) */
	.bh-bg[data-bh-bg="hero"] {
		-webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(transparent, #000 15%, #000 59%, transparent 67%);
		-webkit-mask-composite: source-in;
		mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(transparent, #000 15%, #000 59%, transparent 67%);
		mask-composite: intersect;
	}
	/* phones: the order heading comes right under the pedestal, so the table melts away sooner */
	.bh-bg[data-bh-bg="close"] {
		-webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(transparent, #000 15%, #000 70%, transparent 90%);
		-webkit-mask-composite: source-in;
		mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(transparent, #000 15%, #000 70%, transparent 90%);
		mask-composite: intersect;
	}
}
.bh-bottle { position: absolute; left: 0; top: 0; width: 624px; height: 828.218px; transform-origin: 0 0; }   /* 880:1168, the still's frame */
.bh-bottle__rim, .bh-bottle__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bh-bottle__canvas { z-index: 2; }
/* the rim shows only once the canvas draws (before that the hero's still and its own rim show) and
   never from scene 3, where it would darken the hand */
.bh-bottle__rim { visibility: hidden; }
.bh-live .bh-bottle__rim { visibility: visible; }
.bh-bottle.is-past .bh-bottle__rim { visibility: hidden; }
.bh-hand__shadow { opacity: 0; }
.bh-hand { position: absolute; left: 0; top: 0; transform-origin: 0 0; }   /* blue-honey.js scales it from its top-left with the camera */
.bh-hand > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bh-motion .bh-bottle, .bh-motion .bh-hand { will-change: transform; }   /* they move on every scroll */
.bh-motion .bh-hand__shadow { will-change: opacity; }

/* ── reduced motion: every state is reached at once ───────── */
@media (prefers-reduced-motion: reduce) {
	.bh .bh-btn, .bh-bar, .bh-bar.is-on, .bh-join, .bh-thanks, .bh-swap.is-done .bh-join, .bh-swap.is-done .bh-thanks { transition: none; }
	.bh .bh-btn:active { transform: none; }
}
