/* hallmark v2.0.0 · theme: custom · idea: "the shop is a hanji paper window in a Korean spring – the light moves from morning to evening and the skin routine moves with it" · vibe: "spring morning light through paper" · paper oklch(97.2% .010 150) celadon-white (from the cover's paper), ink oklch(23% .03 350) plum, accent oklch(54% .19 2) azalea – the 진달래 of a Korean spring · faces: Newsreader 300 (display, opsz 72) + Onest 400/600 (body), outlier Gowun Batang 700 (the seal 봄 and the wordmark only) · posture: restrained, committed blush field for the routine only · hero: the window at sunrise, film loop, head on the shaded wall · axes: light/roman-serif/chromatic-pink
   critique: one idea carried through – the lattice (창살) is the grid of the shelves, the light switch re-lights the page; no eyebrows, no tracked caps, no cards in cards, no invented numbers or quotes; photographs are generated for BOMI (salons/bomi/demo/credits.json).
   Tokens: ../theme.css. Only transform / opacity animate; every motion has a reduced-motion end state. */

/* ---------- page ---------- */
html, body { overflow-x: clip; }
body.bm, .bm { background: var(--b-paper); color: var(--b-ink); font-family: var(--b-body); font-size: var(--b-text-body); line-height: 1.6; }
body.bm { isolation: isolate; position: relative; }
/* the light of the hour: the evening is a warm wash behind everything (opacity only) */
body.bm::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--b-light-pm), oklch(86% 0.07 50 / 0.10) 60%, var(--b-light-pm));
  opacity: 0; transition: opacity var(--b-light-dur) var(--b-ease-io);
}
html[data-light="pm"] body.bm::before { opacity: 1; }
.bm ::selection { background: var(--b-blush); color: var(--b-ink); }
.bm :focus-visible { outline: 2px solid var(--b-focus); outline-offset: 3px; }
.bm-wrap { width: 100%; max-width: var(--b-max); margin-inline: auto; padding-inline: var(--b-gutter); }
.bm .sr, .bm .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bm-h2 { font-family: var(--b-display); font-weight: 300; font-variation-settings: "opsz" 72; font-size: var(--b-text-h2); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; max-width: 22ch; overflow-wrap: break-word; min-width: 0; }
.bm-fill { color: var(--b-ink-3); outline: 1px dashed var(--b-rule-strong); outline-offset: 4px; padding: 2px 4px; display: inline-block; }

/* ---------- controls ---------- */
.bm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--b-xs);
  min-height: 48px; padding: 0 var(--b-lg); border: 0; border-radius: var(--b-radius);
  background: var(--b-accent); color: var(--b-on-accent); font: 600 1rem/1 var(--b-body); text-decoration: none;
  transition: transform var(--b-micro) var(--b-ease-out), opacity var(--b-short) var(--b-ease-out);
}
.bm-btn:hover { opacity: .9; }
.bm-btn:active { transform: translateY(1px); }
.bm-btn[disabled] { opacity: .55; cursor: not-allowed; }
.bm-btn.is-done { background: var(--b-celadon-ink); }
.bm-link { color: var(--b-accent-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.bm-link:hover { text-decoration-thickness: 2px; }
.bm-link--light { color: var(--on-photo); }
.bm-linkbtn { background: none; border: 0; padding: 0; text-align: left; color: inherit; text-decoration: none; }
.bm-linkbtn:hover { text-decoration: underline; }
.bm-select { display: inline-flex; align-items: center; gap: var(--b-xs); font-size: var(--b-text-small); }
.bm-select select, .bm-field input {
  min-height: 44px; padding: 0 var(--b-sm); border: 1px solid var(--b-rule-strong); border-radius: var(--b-radius);
  background: var(--b-paper); color: var(--b-ink); font-size: 1rem;
}
.bm-field { display: grid; gap: var(--b-2xs); font-size: var(--b-text-small); }

/* ---------- seal + wordmark ---------- */
.bm-mark { display: inline-flex; align-items: center; gap: var(--b-xs); text-decoration: none; color: inherit; }
.bm-seal {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--b-radius);
  background: var(--b-accent); color: var(--b-on-accent); font: 700 1.25rem/1 var(--b-mark);
}
.bm-word { font: 700 1.25rem/1 var(--b-mark); letter-spacing: 0.02em; }
.bm-mark--lg .bm-seal { width: 48px; height: 48px; font-size: 1.75rem; }
.bm-mark--lg .bm-word { font-size: 1.75rem; }

/* ---------- header ---------- */
.bm-preview { position: fixed; inset: auto 0 0; z-index: 45; margin: 0; padding: var(--b-xs) var(--b-gutter) calc(var(--b-xs) + env(safe-area-inset-bottom)); background: var(--b-ink); color: var(--b-paper); font-size: var(--b-text-small); text-align: center; }
.bm-hd { color: var(--b-ink); }
.bm-hd::before { background: var(--b-paper); box-shadow: 0 1px 0 var(--b-rule); backdrop-filter: none; -webkit-backdrop-filter: none; }
.bm-hd.hd--over:not(.is-solid), .bm-hd--over:not(.is-solid) { color: var(--on-photo); }
.bm-hd--over:not(.is-solid)::before { opacity: 0; }
.bm-hd__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--b-lg); height: 72px; max-width: var(--b-max); margin: 0 auto; padding-inline: var(--b-gutter); position: relative; }
.bm-nav { display: none; gap: var(--b-lg); }
.bm-nav__link { position: relative; text-decoration: none; font-size: 0.9375rem; padding-block: var(--b-xs); }
.bm-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--b-short) var(--b-ease-out); }
.bm-nav__link:hover::after, .bm-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.bm-hd__tools { display: flex; align-items: center; gap: var(--b-xs); justify-self: end; }
.bm-lang { display: none; gap: var(--b-2xs); font-size: var(--b-text-small); }
.bm-lang a { text-decoration: none; padding: var(--b-xs); min-width: 36px; text-align: center; opacity: .62; }
.bm-lang a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.bm-cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: inherit; }
.bm-cart__n { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--b-accent); color: var(--b-on-accent); font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.bm-burger { display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; background: none; border: 0; color: inherit; }
.bm-burger i { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform var(--b-short) var(--b-ease-out); }
.menu-open .bm-burger i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
.menu-open .bm-burger i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
.menu-open .bm-hd { color: var(--b-ink); }
@media (min-width: 960px) {
  .bm-nav { display: flex; }
  .bm-lang { display: flex; }
  .bm-burger { display: none; }
}
/* the phone menu: the same paper, the words set large */
.bm-menu { background: var(--b-paper); color: var(--b-ink); padding-top: 72px; }
.bm-menu__nav { display: grid; gap: var(--b-sm); padding-top: var(--b-lg); }
.bm-menu__big { font: 300 2.5rem/1.1 var(--b-display); font-variation-settings: "opsz" 72; text-decoration: none; letter-spacing: -0.02em; }
.bm-menu__small { font-size: 1.125rem; text-decoration: none; margin-top: var(--b-md); }
.bm-lang--large { display: flex; gap: var(--b-xs); margin-top: auto; }
.bm-lang--large a { opacity: 1; border: 1px solid var(--b-rule-strong); padding: var(--b-xs) var(--b-md); }

/* ---------- 1. the window at sunrise ---------- */
.bm-hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--on-photo); overflow: hidden; }
.bm-hero__media { position: absolute; inset: 0; }
.bm-hero__media img, .bm-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.bm-hero__video { opacity: 0; transition: opacity 900ms var(--b-ease-out); }
.bm-hero__video.is-on { opacity: 1; }
/* the shaded wall on the left carries the words; the lit paper stays clear */
.bm-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--b-scrim) 0%, oklch(18% 0.02 350 / 0.26) 38%, var(--b-scrim-clear) 62%), linear-gradient(0deg, oklch(18% 0.02 350 / 0.35) 0%, var(--b-scrim-clear) 40%); }
.bm-hero__copy { position: relative; padding-top: 120px; padding-bottom: clamp(48px, 10vh, 112px); }
.bm-hero__title { font-family: var(--b-display); font-weight: 300; font-variation-settings: "opsz" 72; font-size: var(--b-text-display); line-height: 0.98; letter-spacing: -0.03em; max-width: 11ch; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.bm-hero__text { margin-top: var(--b-md); max-width: 34ch; font-size: var(--b-text-lead); line-height: 1.5; opacity: .94; text-wrap: pretty; }
.bm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--b-lg); margin-top: var(--b-xl); }
.bm-hero__soon { font-size: var(--b-text-small); opacity: .9; }
@media (max-width: 700px) {
  .bm-hero__media img, .bm-hero__video { object-position: 50% 30%; }
  .bm-hero__shade { background: linear-gradient(0deg, oklch(18% 0.02 350 / 0.72) 0%, oklch(18% 0.02 350 / 0.38) 46%, var(--b-scrim-clear) 72%); }
}

/* ---------- 2. morning and evening ---------- */
.bm-routine { padding-block: var(--b-3xl); position: relative; }
.bm-routine::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-blush); opacity: .55; }
.bm-routine__head { display: grid; gap: var(--b-md); align-items: end; }
.bm-routine__lead { max-width: 46ch; color: var(--b-ink-2); }
.bm-routine__controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--b-lg); margin-top: var(--b-xs); }
.bm-switch { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--b-ink); border-radius: var(--b-radius); overflow: hidden; }
.bm-switch__opt { min-height: 44px; padding: 0 var(--b-lg); border: 0; background: transparent; color: var(--b-ink); font-weight: 600; transition: opacity var(--b-short); }
.bm-switch__opt[aria-pressed="true"] { background: var(--b-ink); color: var(--b-paper); }
@media (min-width: 900px) { .bm-routine__head { grid-template-columns: minmax(0, 1fr) auto; } .bm-routine__head .bm-h2, .bm-routine__lead { grid-column: 1; } .bm-routine__controls { grid-column: 2; grid-row: 1 / span 2; } }

/* the steps stand side by side like vessels on the sill; on a phone they are a list */
.bm-steps { counter-reset: step; display: grid; gap: 0; margin-top: var(--b-2xl); }
.bm-step { counter-increment: step; display: grid; gap: var(--b-md); align-content: start; padding: var(--b-lg) 0; border-top: 1px solid var(--b-rule-strong); }
.bm-step__text::before { content: counter(step); display: block; font: 300 2.5rem/1 var(--b-display); font-variation-settings: "opsz" 72; color: var(--b-accent-ink); margin-bottom: var(--b-xs); }
.bm-step__name { font: 600 1.0625rem/1.3 var(--b-body); }
.bm-step__text p { margin-top: var(--b-2xs); color: var(--b-ink-2); font-size: 0.9375rem; max-width: 34ch; }
.bm-step__cands { display: block; }
.bm-mini { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--b-sm); }
.bm-mini__link { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--b-sm); align-items: center; text-decoration: none; color: inherit; }
.bm-mini__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--b-paper-2); }
.bm-mini__img img, .bm-mini__img svg { width: 100%; height: 100%; object-fit: cover; }
.bm-mini__txt { display: grid; gap: 2px; min-width: 0; }
.bm-mini__brand { font-size: 0.8125rem; color: var(--b-ink-2); }
.bm-mini__name { font-weight: 600; line-height: 1.3; }
.bm-mini__link:hover .bm-mini__name { text-decoration: underline; text-underline-offset: 3px; }
.bm-mini__price { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 0.9375rem; }
@media (min-width: 1000px) {
  /* five equal vessels: every column the same padding (the outer ones hang into the gutter by that much) */
  .bm-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-inline: calc(var(--b-gutter) - var(--b-lg)); }
  .bm-step { border-top: 0; border-left: 1px solid var(--b-rule-strong); padding: 0 var(--b-lg); grid-template-rows: subgrid; grid-row: span 2; }
  .bm-step:first-child { border-left-color: transparent; }
  .bm-mini { grid-template-columns: 1fr; }
  .bm-mini__link { grid-template-columns: 1fr; }
  .bm-mini__img { aspect-ratio: 4 / 5; }
}
.bm-routine__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--b-md); margin-top: var(--b-2xl); padding-top: var(--b-lg); border-top: 1px solid var(--b-ink); }
.bm-routine__sum { font-size: 1.125rem; }
.bm-routine__sum strong { font: 300 2rem/1 var(--b-display); font-variation-settings: "opsz" 72; font-variant-numeric: tabular-nums; margin-left: var(--b-xs); }
.bm-steps[hidden] { display: none; }

/* ---------- 3. six panes of the window (the lattice is the grid: wood between the panes) ---------- */
.bm-panes { padding-block: var(--b-3xl) var(--b-2xl); }
.bm-panes__grid {
  --wood: oklch(80% 0.045 70);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px; margin-top: var(--b-xl);
  background: var(--wood);
}
.bm-pane { position: relative; display: grid; align-content: end; aspect-ratio: 4 / 5; overflow: hidden; color: var(--on-photo); text-decoration: none; background: var(--b-paper-3); }
.bm-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--b-ease-out); }
.bm-pane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, oklch(20% 0.02 350 / 0.62) 0%, var(--b-scrim-clear) 52%); }
.bm-pane__name, .bm-pane__text { position: relative; z-index: 1; padding-inline: var(--b-md); }
.bm-pane__name { font: 300 1.75rem/1.05 var(--b-display); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; }
.bm-pane__text { padding-bottom: var(--b-md); margin-top: var(--b-2xs); font-size: 0.875rem; opacity: .92; max-width: 30ch; display: none; }
a.bm-pane:hover img { transform: scale(1.03); }
@media (min-width: 640px) { .bm-pane__text { display: block; } .bm-pane__name { font-size: 2rem; } }
@media (min-width: 1000px) { .bm-panes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px; } }
@media (max-width: 639px) { .bm-pane__name { padding-bottom: var(--b-sm); font-size: 1.5rem; } }

/* ---------- 4. the makers ---------- */
.bm-brands { padding-block: var(--b-2xl); }
.bm-brands__list { display: flex; flex-wrap: wrap; gap: var(--b-xs) var(--b-xl); margin-top: var(--b-xl); }
.bm-brands__list a, .bm-brands__list span { font: 300 clamp(2rem, 4.6vw, 4rem)/1.1 var(--b-display); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; text-decoration: none; color: var(--b-ink); }
.bm-brands__list a:hover { color: var(--b-accent-ink); }

/* ---------- 5. how it reaches you ---------- */
.bm-facts { padding-block: var(--b-2xl); }
.bm-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--b-xl) var(--b-lg); border-top: 1px solid var(--b-ink); padding-top: var(--b-xl); }
.bm-facts dt { font-size: var(--b-text-small); color: var(--b-ink-2); }
.bm-facts dd { margin: var(--b-2xs) 0 0; font: 300 clamp(1.75rem, 3vw, 2.5rem)/1.1 var(--b-display); font-variation-settings: "opsz" 72; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .bm-facts dl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 6. the letter ---------- */
.bm-news { margin-top: var(--b-2xl); background: var(--b-celadon); }
.bm-news__inner { display: grid; gap: var(--b-xl); padding-block: var(--b-3xl); }
.bm-news__copy p { margin-top: var(--b-md); max-width: 44ch; color: var(--b-ink); }
.bm-news__form { display: grid; gap: var(--b-sm); align-content: start; max-width: 28rem; }
.bm-news__form .bm-field input { background: var(--b-paper); }
.bm-news__note { font-size: var(--b-text-small); color: var(--b-ink-2); }
.bm-news__note a { color: inherit; }
.bm-news__msg { min-height: 1lh; font-weight: 600; }
.bm-news__msg.is-error { color: var(--danger); }
@media (min-width: 900px) { .bm-news__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; } }

/* ---------- footer: the sill ---------- */
.bm-ft { background: var(--b-paper-2); color: var(--b-ink); border-top: 0; padding-top: 0; overflow: visible; }
.bm-ft :focus-visible { outline-color: var(--b-focus); }
.bm-ft a:hover { color: var(--b-accent-ink); }
.bm-ft__sill { height: 12px; background: oklch(80% 0.045 70); box-shadow: 0 6px 12px -8px oklch(30% 0.04 60 / 0.4); }
.bm-ft__grid { display: grid; gap: var(--b-xl); padding-block: var(--b-2xl) var(--b-xl); }
.bm-ft__line { margin-top: var(--b-md); max-width: 32ch; color: var(--b-ink-2); }
.bm-ft__col { display: grid; gap: var(--b-xs); align-content: start; }
.bm-ft__col a { text-decoration: none; }
.bm-ft__seller { font-size: var(--b-text-small); color: var(--b-ink-2); display: grid; gap: var(--b-2xs); align-content: start; }
.bm-ft__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--b-xs) var(--b-lg); padding-block: var(--b-lg); border-top: 1px solid var(--b-rule); font-size: 0.8125rem; color: var(--b-ink-3); }
@media (min-width: 900px) { .bm-ft__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- catalogue ---------- */
.bm-pagehead { padding-top: calc(72px + var(--b-2xl)); padding-bottom: var(--b-xl); }
.bm-pagehead h1 { font: 300 var(--b-text-display)/0.98 var(--b-display); font-variation-settings: "opsz" 72; letter-spacing: -0.03em; }
.bm-pagehead p { margin-top: var(--b-md); color: var(--b-ink-2); max-width: 46ch; }
.bm-filters { display: grid; gap: var(--b-md); padding-block: var(--b-md); border-block: 1px solid var(--b-rule-strong); }
.bm-chips { display: flex; gap: var(--b-xs); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.bm-chips::-webkit-scrollbar { display: none; }
.bm-chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--b-md); border: 1px solid var(--b-rule-strong); border-radius: var(--b-radius); text-decoration: none; font-size: 0.9375rem; white-space: nowrap; }
.bm-chip small { margin-left: var(--b-xs); color: var(--b-ink-3); font-variant-numeric: tabular-nums; }
.bm-chip[aria-current="true"] { background: var(--b-ink); color: var(--b-paper); border-color: var(--b-ink); }
.bm-chip[aria-current="true"] small { color: inherit; opacity: .75; }
.bm-filters__row { display: flex; flex-wrap: wrap; gap: var(--b-sm) var(--b-lg); align-items: end; }
.bm-filters__row .bm-select { flex-direction: column; align-items: stretch; gap: var(--b-2xs); }
.bm-filters__row .bm-select select { min-width: 11rem; }
.bm-found { padding-block: var(--b-md); font-size: var(--b-text-small); color: var(--b-ink-2); display: flex; flex-wrap: wrap; gap: var(--b-md); align-items: center; }
.bm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--b-xl) var(--b-md); padding-bottom: var(--b-3xl); }
@media (min-width: 900px) { .bm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--b-2xl) var(--b-lg); } }
@media (min-width: 1240px) { .bm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bm-card { display: grid; gap: var(--b-sm); align-content: start; position: relative; }
.bm-card__img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--b-paper-2); }
.bm-card__img img, .bm-card__img svg { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--b-ease-out); }
.bm-card:hover .bm-card__img img { transform: scale(1.03); }
/* the sill under every vessel */
.bm-card__img::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: oklch(80% 0.045 70 / 0.85); }
.bm-card__tags { position: absolute; top: var(--b-xs); left: var(--b-xs); display: flex; gap: var(--b-2xs); z-index: 1; }
.bm-tag { padding: 2px var(--b-xs); background: var(--b-paper); color: var(--b-ink); font-size: 0.75rem; font-weight: 600; border-radius: var(--b-radius); }
.bm-tag--sale { background: var(--b-accent); color: var(--b-on-accent); }
.bm-card__brand { font-size: 0.8125rem; color: var(--b-ink-2); }
.bm-card__name { font: 600 1rem/1.3 var(--b-body); }
.bm-card__name a { text-decoration: none; }
.bm-card__name a::after { content: ""; position: absolute; inset: 0; }
.bm-card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bm-card__price { font-variant-numeric: tabular-nums; display: flex; gap: var(--b-xs); align-items: baseline; }
.bm-card__price s { color: var(--b-ink-3); font-size: 0.875rem; }
.bm-card.is-out .bm-card__img img { opacity: .55; }
.bm-empty { padding-block: var(--b-2xl); color: var(--b-ink-2); }

/* ---------- product ---------- */
.bm-pdp { display: grid; gap: var(--b-xl); padding-top: calc(72px + var(--b-xl)); padding-bottom: var(--b-3xl); }
.bm-pdp__gallery { display: grid; gap: var(--b-xs); align-content: start; }
.bm-pdp__main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--b-paper-2); }
.bm-pdp__main img, .bm-pdp__main svg { width: 100%; height: 100%; object-fit: cover; }
.bm-pdp__main::after { content: ""; position: absolute; inset: auto 0 0; height: 8px; background: oklch(80% 0.045 70 / 0.9); }
.bm-pdp__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--b-xs); }
.bm-pdp__thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.bm-crumbs { display: flex; flex-wrap: wrap; gap: var(--b-xs); font-size: var(--b-text-small); color: var(--b-ink-2); }
.bm-crumbs a { text-decoration: none; }
.bm-crumbs a:hover { text-decoration: underline; }
.bm-pdp__brand { margin-top: var(--b-lg); font-size: 0.9375rem; color: var(--b-ink-2); }
.bm-pdp__name { font: 300 clamp(2.25rem, 4.4vw, 3.75rem)/1.02 var(--b-display); font-variation-settings: "opsz" 72; letter-spacing: -0.025em; margin-top: var(--b-2xs); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.bm-pdp__tagline { margin-top: var(--b-sm); font-size: var(--b-text-lead); color: var(--b-ink-2); max-width: 40ch; }
.bm-pdp__price { margin-top: var(--b-lg); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--b-sm); }
.bm-pdp__price .price { font: 300 2.25rem/1 var(--b-display); font-variation-settings: "opsz" 72; font-variant-numeric: tabular-nums; }
.bm-pdp__price s { color: var(--b-ink-3); }
.bm-pdp__save { font-size: var(--b-text-small); color: var(--b-accent-ink); font-weight: 600; }
.bm-pdp .sizes { border: 0; padding: 0; margin: var(--b-lg) 0 0; display: flex; flex-wrap: wrap; gap: var(--b-xs); }
.bm-pdp .sizes legend { width: 100%; font-size: var(--b-text-small); color: var(--b-ink-2); margin-bottom: var(--b-xs); }
.bm-pdp .sizes__opt { position: relative; display: grid; gap: 2px; min-width: 7rem; padding: var(--b-sm) var(--b-md); border: 1px solid var(--b-rule-strong); border-radius: var(--b-radius); cursor: pointer; }
.bm-pdp .sizes__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bm-pdp .sizes__opt span { font-weight: 600; }
.bm-pdp .sizes__opt small { color: var(--b-ink-2); font-variant-numeric: tabular-nums; }
.bm-pdp .sizes__opt:has(input:checked) { border-color: var(--b-ink); box-shadow: inset 0 0 0 1px var(--b-ink); }
.bm-pdp .sizes__opt:has(input:focus-visible) { outline: 2px solid var(--b-focus); outline-offset: 2px; }
.bm-pdp .sizes__opt.is-out { opacity: .5; cursor: not-allowed; }
.bm-pdp .buy { display: flex; flex-wrap: wrap; gap: var(--b-sm); align-items: stretch; margin-top: var(--b-lg); }
.bm-pdp .buy .qty { display: inline-grid; grid-template-columns: 44px 52px 44px; border: 1px solid var(--b-rule-strong); border-radius: var(--b-radius); }
.bm-pdp .buy .qty button { background: none; border: 0; display: grid; place-items: center; }
.bm-pdp .buy .qty input { text-align: center; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.bm-pdp .buy .bm-btn { flex: 1 1 12rem; }
.bm-soon { margin-top: var(--b-lg); padding: var(--b-md); background: var(--b-blush); }
.bm-pdp__stock { margin-top: var(--b-sm); font-size: var(--b-text-small); color: var(--b-ink-2); }
.bm-pdp__fit { margin-top: var(--b-xl); display: grid; gap: var(--b-sm); }
.bm-pdp__fit div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--b-md); padding-top: var(--b-sm); border-top: 1px solid var(--b-rule); }
.bm-pdp__fit dt { color: var(--b-ink-2); font-size: var(--b-text-small); }
.bm-pdp__fit dd { margin: 0; }
.bm-pdp__desc { margin-top: var(--b-xl); max-width: 60ch; text-wrap: pretty; }
.bm-acc { border-top: 1px solid var(--b-rule-strong); }
.bm-acc:last-of-type { border-bottom: 1px solid var(--b-rule-strong); }
.bm-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; font-weight: 600; }
.bm-acc summary::-webkit-details-marker { display: none; }
.bm-acc summary::after { content: "+"; font: 300 1.5rem/1 var(--b-display); transition: transform var(--b-short) var(--b-ease-out); }
.bm-acc[open] summary::after { transform: rotate(45deg); }
.bm-acc__body { padding-bottom: var(--b-lg); color: var(--b-ink-2); max-width: 65ch; }
.bm-inci { font-size: 0.9375rem; line-height: 1.7; }
.bm-pdp__accs { margin-top: var(--b-xl); }
.bm-related { padding-bottom: var(--b-3xl); }
.bm-related .bm-h2 { margin-bottom: var(--b-xl); }
@media (min-width: 900px) {
  .bm-pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--b-2xl); }
  .bm-pdp__gallery { position: sticky; top: 96px; }
}

/* ---------- shared pages restyled: cart, thanks, text pages ---------- */
.bm .pagehead, .bm .page { padding-top: calc(72px + var(--b-xl)); }
.bm .h1 { font-family: var(--b-display); font-weight: 300; font-variation-settings: "opsz" 72; letter-spacing: -0.03em; }
.bm .btn--gold, .bm .btn--ink, .bm .btn--primary { background: var(--b-accent); color: var(--b-on-accent); border-radius: var(--b-radius); }
.bm .paybox { margin: var(--b-xl) auto; max-width: 34rem; padding: var(--b-lg); background: var(--b-paper-2); text-align: left; }
.bm .paybox h2 { font: 300 1.75rem/1.1 var(--b-display); font-variation-settings: "opsz" 72; }
.bm .paybox dl { display: grid; gap: var(--b-xs); margin-top: var(--b-md); }
.bm .paybox dl div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--b-md); }
.bm .paybox dt { color: var(--b-ink-2); font-size: var(--b-text-small); }
.bm .paybox dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bm .paybox p { margin-top: var(--b-md); font-size: var(--b-text-small); color: var(--b-ink-2); }
@media (max-width: 520px) { .bm .paybox dl div { grid-template-columns: 1fr; gap: 0; } }

@media (prefers-reduced-motion: reduce) {
  .bm *, .bm *::before, .bm *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .bm-hero__video { display: none; }
}
@media (min-width: 900px) { .bm-related .bm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .bm-related .bm-grid li:nth-child(n+3) { display: none; } }

/* ---------- contact (an online shop: e-mail + the message form) ---------- */
.bm-contact { display: grid; gap: var(--b-2xl); padding-bottom: var(--b-3xl); }
.bm-contact__info { display: grid; gap: var(--b-lg); align-content: start; }
.bm-contact__info p { display: grid; gap: var(--b-2xs); }
.bm-contact__info span { font-size: var(--b-text-small); color: var(--b-ink-2); }
.bm-contact__info a { font: 300 clamp(1.5rem, 2.6vw, 2.25rem)/1.15 var(--b-display); font-variation-settings: "opsz" 72; text-decoration: none; overflow-wrap: anywhere; }
.bm-contact__info a:hover { color: var(--b-accent-ink); }
.bm-contact__note { color: var(--b-ink-2); max-width: 36ch; }
.bm-contact__form { display: grid; gap: var(--b-sm); max-width: 36rem; }
.bm-contact__fields { display: grid; gap: var(--b-sm); }
.bm-field textarea { min-height: 9rem; padding: var(--b-sm); border: 1px solid var(--b-rule-strong); border-radius: var(--b-radius); background: var(--b-paper); color: var(--b-ink); font: inherit; }
.bm-check { display: flex; gap: var(--b-xs); align-items: flex-start; font-size: var(--b-text-small); }
.bm-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--b-accent); }
.bm .field__error { min-height: 0; color: var(--danger); font-size: var(--b-text-small); }
.bm .field__error:empty { display: none; }
@media (min-width: 900px) { .bm-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }

/* ---------- the logo: a window whose lattice is 봄 ---------- */
.bm-logo { display: block; flex: none; overflow: visible; }
.bm-logo__pane { fill: var(--b-accent); }
.bm-word { font: 300 1.625rem/1 var(--b-display); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; text-transform: lowercase; }
.bm-mark--lg .bm-word { font-size: 2.5rem; }
.bm-mark { gap: 10px; }

/* ---------- the opening: the lattice grows, the pane lights, the name appears (transform / opacity only) ---------- */
.bm-splash { display: none; }
html.bm-intro { overflow: hidden; }
html.bm-intro .bm-splash {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  background: var(--b-paper); color: var(--b-ink);
  transition: opacity 400ms var(--b-ease-in);
}
html.bm-intro-out .bm-splash { opacity: 0; pointer-events: none; }
.bm-splash__in { display: grid; justify-items: center; gap: 22px; }
.bm-splash__word { font: 300 3rem/1 var(--b-display); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; text-transform: lowercase; opacity: 0; transform: translateY(8px); animation: bm-rise 500ms var(--b-ease-out) 1100ms forwards; }
.bm-logo--intro .bm-logo__frame { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.94); animation: bm-frame 420ms var(--b-ease-out) 60ms forwards; }
.bm-logo--intro .bm-logo__v { transform-box: fill-box; transform-origin: top; transform: scaleY(0); animation: bm-grow 340ms var(--b-ease-out) calc(320ms + var(--i) * 70ms) forwards; }
.bm-logo--intro .bm-logo__h, .bm-logo--intro .bm-logo__box { transform-box: fill-box; transform-origin: left; transform: scaleX(0); animation: bm-grow 340ms var(--b-ease-out) calc(320ms + var(--i) * 70ms) forwards; }
.bm-logo--intro .bm-logo__pane { opacity: 0; animation: bm-light 520ms var(--b-ease-out) 900ms forwards; }
@keyframes bm-frame { to { opacity: 1; transform: none; } }
@keyframes bm-grow { to { transform: none; } }
@keyframes bm-light { to { opacity: 1; } }
@keyframes bm-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html.bm-intro .bm-splash { display: none; } }
@media (max-width: 700px) { .bm-splash .bm-logo { width: 128px; height: 128px; } .bm-splash__word { font-size: 2.5rem; } }
