/* Books&Moods — shared UI components */

/* ---- Top bar ------------------------------------------------------------ */
.bm-topbar {
  position: sticky;
  top: 0;
  z-index: var(--bm-z-nav);
  background: var(--bm-chrome-bg);
  color: var(--bm-chrome-text);
  border-bottom: 1px solid var(--bm-border-chrome);
}

.bm-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.bm-brand {
  font-family: var(--bm-font-display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--bm-chrome-text);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

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

.bm-topbar__links {
  display: none;
  gap: var(--bm-space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.bm-topbar__links a {
  text-decoration: none;
  color: var(--bm-chrome-text-muted);
  font-size: 0.92rem;
  transition: color var(--bm-duration-fast) var(--bm-ease);
}

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

@media (min-width: 1100px) {
  .bm-topbar__links { display: flex; }
}

.bm-topbar__actions {
  display: flex;
  align-items: center;
  gap: var(--bm-space-2);
  flex: none;
}

@media (max-width: 1099px) {
  .bm-topbar__actions { display: none; }
}

/* ---- Buttons -------------------------------------------------------------*/
.bm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bm-space-2);
  padding: 12px 22px;
  border-radius: var(--bm-radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: transform var(--bm-duration-fast) var(--bm-ease), box-shadow var(--bm-duration-fast) var(--bm-ease), background var(--bm-duration-fast) var(--bm-ease);
  border: 1px solid transparent;
}

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

.bm-btn--gold {
  background: linear-gradient(180deg, var(--bm-gold-400), var(--bm-gold-600));
  color: var(--bm-navy-950);
  box-shadow: var(--bm-shadow-sm);
}
.bm-btn--gold:hover { box-shadow: var(--bm-shadow-md); }

.bm-btn--ghost-dark {
  background: transparent;
  color: var(--bm-chrome-text);
  border-color: var(--bm-border-chrome);
}
.bm-btn--ghost-dark:hover { background: rgba(244,233,216,0.06); }

.bm-btn--ghost-light {
  background: transparent;
  color: var(--bm-text);
  border-color: var(--bm-border);
}
.bm-btn--ghost-light:hover { background: rgba(20,17,13,0.04); }

.bm-btn--block { width: 100%; }
.bm-btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.bm-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---- Cards --------------------------------------------------------------*/
.bm-card {
  background: var(--bm-surface);
  border-radius: var(--bm-radius-lg);
  box-shadow: var(--bm-shadow-sm);
  overflow: hidden;
  border: 1px solid var(--bm-border);
}

.bm-card__media {
  aspect-ratio: 3 / 4;
  background: var(--bm-navy-800);
  overflow: hidden;
}
.bm-card__media--book { aspect-ratio: 2 / 3; }
.bm-card__media img { width: 100%; height: 100%; object-fit: cover; }

.bm-card__body { padding: var(--bm-space-5); }
.bm-card__title { font-family: var(--bm-font-display); font-size: 1.05rem; margin: 0 0 4px; }
.bm-card__meta { color: var(--bm-text-muted); font-size: 0.85rem; margin: 0 0 var(--bm-space-3); }

.bm-glass {
  background: var(--bm-glass-bg);
  border: 1px solid var(--bm-glass-border);
  backdrop-filter: blur(var(--bm-glass-blur));
  -webkit-backdrop-filter: blur(var(--bm-glass-blur));
  border-radius: var(--bm-radius-lg);
  color: var(--bm-ivory-100);
}

/* ---- Badges ---------------------------------------------------------- */
.bm-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--bm-radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.bm-badge--free { background: rgba(79,154,114,0.14); color: #2f6b4b; }
.bm-badge--stories { background: rgba(201,162,75,0.16); color: var(--bm-gold-600); }
.bm-badge--full { background: rgba(11,18,32,0.08); color: var(--bm-navy-800); }
.bm-badge--locked { background: rgba(201,86,75,0.12); color: var(--bm-error); }

/* ---- Forms ---------------------------------------------------------- */
.bm-field { margin-bottom: var(--bm-space-5); }
.bm-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--bm-space-2);
  color: var(--bm-text);
}
.bm-field input, .bm-field select, .bm-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--bm-radius-sm);
  border: 1px solid var(--bm-border);
  background: var(--bm-surface);
}
.bm-field input:focus, .bm-field select:focus, .bm-field textarea:focus {
  border-color: var(--bm-accent);
}
.bm-field__error {
  color: var(--bm-error);
  font-size: 0.8rem;
  margin-top: var(--bm-space-2);
}
.bm-field input[aria-invalid="true"] { border-color: var(--bm-error); }

.bm-auth-card {
  max-width: 420px;
  margin: var(--bm-space-12) auto;
  padding: var(--bm-space-8);
}

/* ---- Alerts / flash ---------------------------------------------------*/
.bm-alert {
  padding: var(--bm-space-4) var(--bm-space-5);
  border-radius: var(--bm-radius-md);
  margin-bottom: var(--bm-space-5);
  font-size: 0.92rem;
}
.bm-alert--success { background: rgba(79,154,114,0.12); color: #2f6b4b; }
.bm-alert--error { background: rgba(201,86,75,0.1); color: #963f36; }
.bm-alert--info { background: rgba(40,54,86,0.08); color: var(--bm-navy-700); }

/* ---- Premium lock callout ------------------------------------------- */
.bm-lock-callout {
  margin-top: var(--bm-space-8);
  padding: var(--bm-space-8);
  border-radius: var(--bm-radius-lg);
  background: var(--bm-navy-900);
  color: var(--bm-ivory-100);
  text-align: center;
}
.bm-lock-callout h3 { color: var(--bm-ivory-50); }
.bm-lock-callout p { color: var(--bm-chrome-text-muted); }
.bm-lock-callout__eyebrow {
  margin: 0 0 var(--bm-space-2);
  color: var(--bm-accent) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.bm-lock-callout .bm-btn-row { display: flex; gap: var(--bm-space-3); justify-content: center; flex-wrap: wrap; margin-top: var(--bm-space-5); }

/* ---- Hero ---------------------------------------------------------------*/
.bm-hero {
  background:
    radial-gradient(120% 140% at 15% 0%, rgba(201,162,75,0.14), transparent 55%),
    linear-gradient(180deg, var(--bm-navy-950), var(--bm-navy-900));
  color: var(--bm-ivory-100);
  padding: var(--bm-space-16) 0 var(--bm-space-12);
}
.bm-hero__inner { max-width: 640px; }
.bm-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--bm-accent);
  font-weight: 700;
  margin-bottom: var(--bm-space-4);
}
.bm-hero h1 {
  color: var(--bm-ivory-50);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  margin-bottom: var(--bm-space-4);
}
.bm-hero__lede { color: var(--bm-chrome-text-muted); font-size: 1.05rem; max-width: 34rem; }
.bm-btn-row { display: flex; gap: var(--bm-space-3); flex-wrap: wrap; margin-top: var(--bm-space-6); }

/* ---- Section scaffolding -------------------------------------------------*/
.bm-section--muted { background: var(--bm-surface-muted); }
.bm-section--dark { background: var(--bm-navy-950); color: var(--bm-ivory-100); }
.bm-section--dark h2 { color: var(--bm-ivory-50); }

.bm-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--bm-space-6);
}
.bm-section__head a { color: var(--bm-accent-strong); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.bm-section--dark .bm-section__head a { color: var(--bm-accent); }

.bm-empty { color: var(--bm-text-muted); padding: var(--bm-space-8) 0; }

.bm-content-card { text-decoration: none; color: inherit; display: block; transition: transform var(--bm-duration-base) var(--bm-ease), box-shadow var(--bm-duration-base) var(--bm-ease); }
.bm-content-card:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow-md); }

/* ---- Membership plan grid ------------------------------------------------*/
.bm-membership-teaser { text-align: center; }
.bm-plan-grid {
  display: grid;
  gap: var(--bm-space-6);
  margin-top: var(--bm-space-8);
  text-align: left;
}
@media (min-width: 800px) { .bm-plan-grid { grid-template-columns: repeat(3, 1fr); } }
.bm-plan-card {
  background: var(--bm-navy-900);
  border: 1px solid var(--bm-border-chrome);
  border-radius: var(--bm-radius-lg);
  padding: var(--bm-space-8);
  position: relative;
}
.bm-plan-card--featured { border-color: var(--bm-accent); box-shadow: 0 0 0 1px var(--bm-accent) inset; }
.bm-plan-card h3 { color: var(--bm-ivory-50); }
.bm-plan-card__price { font-family: var(--bm-font-display); font-size: 2rem; color: var(--bm-accent); margin-bottom: var(--bm-space-3); }
.bm-plan-card__price span { font-size: 1rem; color: var(--bm-chrome-text-muted); }
.bm-plan-card p:not(.bm-plan-card__price) { color: var(--bm-chrome-text-muted); margin-bottom: var(--bm-space-6); }

/* ---- Content / Mood detail hero ------------------------------------------*/
.bm-content-hero { background: var(--bm-navy-950); color: var(--bm-ivory-100); padding: var(--bm-space-12) 0; }
.bm-content-hero__inner { display: grid; gap: var(--bm-space-8); }
@media (min-width: 760px) { .bm-content-hero__inner { grid-template-columns: 280px 1fr; align-items: start; } }
.bm-content-hero__cover { border-radius: var(--bm-radius-lg); overflow: hidden; box-shadow: var(--bm-shadow-lg); background: var(--bm-navy-800); aspect-ratio: 2/3; max-width: 280px; }
.bm-content-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.bm-content-hero__body h1 { color: var(--bm-ivory-50); }
.bm-content-hero__tier { color: var(--bm-chrome-text-muted); font-size: 0.88rem; margin-top: var(--bm-space-4); }
.bm-recommended-mood { margin-top: var(--bm-space-8); }

.bm-sample-preview { max-width: var(--bm-reader-measure); }
.bm-sample-preview__hook { font-size: clamp(1.12rem, 1.6vw, 1.34rem); }
.bm-sample-preview__hook p:last-child { margin-bottom: var(--bm-space-4); }
.bm-sample-preview__note { margin: 0 0 var(--bm-space-5); color: var(--bm-text-muted); font-size: 0.9rem; }
.bm-reader-prose { font-family: var(--bm-font-reader); font-size: 1.08rem; line-height: 1.75; }
.bm-reader-prose p { margin: 0 0 1.2em; }

.bm-track-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--bm-space-3); }
.bm-track-list__item { display: flex; align-items: center; gap: var(--bm-space-4); padding: var(--bm-space-3) var(--bm-space-4); border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); }
.bm-track-list__title { flex: 1; }

/* ---- Library / purchases list --------------------------------------- */
.bm-library-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--bm-space-2); }
.bm-library-list__item {
  display: flex; align-items: center; justify-content: space-between; gap: var(--bm-space-4);
  padding: var(--bm-space-4); border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); background: var(--bm-surface);
}
.bm-library-list__item a { text-decoration: none; }
.bm-library-list__progress { color: var(--bm-text-muted); font-size: 0.85rem; flex: none; }

/* ---- Cookie consent banner --------------------------------------------*/
#bm-cookie-consent { position: fixed; left: var(--bm-space-4); right: var(--bm-space-4); bottom: calc(var(--bm-bottom-nav-height) + var(--bm-space-4)); z-index: var(--bm-z-toast); padding: var(--bm-space-5); }
@media (min-width: 1100px) { #bm-cookie-consent { left: auto; right: var(--bm-space-6); bottom: var(--bm-space-6); max-width: 420px; } }
.bm-cookie-consent__inner p { margin: 0 0 var(--bm-space-3); font-size: 0.85rem; }
.bm-cookie-consent__inner .bm-btn-row { margin-top: 0; justify-content: flex-start; }

/* ---- Footer ------------------------------------------------------------*/
.bm-footer {
  background: var(--bm-navy-950);
  color: var(--bm-chrome-text-muted);
  padding: var(--bm-space-12) 0 var(--bm-space-16);
  font-size: 0.85rem;
}
.bm-footer a { color: var(--bm-chrome-text-muted); text-decoration: none; }
.bm-footer a:hover { color: var(--bm-ivory-100); }
.bm-footer__links { display: flex; flex-wrap: wrap; gap: var(--bm-space-4) var(--bm-space-6); margin: var(--bm-space-6) 0; list-style: none; padding: 0; }


/* ---- v1.0.5 editorial / contact --------------------------------------- */
.bm-hero--compact { padding-bottom: var(--bm-space-8); }
.bm-eyebrow--ink { color: var(--bm-accent-strong); }

.bm-editorial-grid {
  display: grid;
  gap: var(--bm-space-6);
}
@media (min-width: 760px) { .bm-editorial-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .bm-editorial-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.bm-editorial-card {
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  padding: var(--bm-space-7);
  background: var(--bm-surface);
  box-shadow: var(--bm-shadow-sm);
}
.bm-editorial-card h3 { margin-bottom: var(--bm-space-3); }
.bm-editorial-card p:last-child { margin-bottom: 0; }
.bm-editorial-number {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(201,162,75,.16); color: var(--bm-accent-strong);
  font-weight: 700; margin-bottom: var(--bm-space-4);
}
.bm-editorial-copy { max-width: 760px; }
.bm-editorial-copy p { font-size: 1.03rem; }
.bm-pullquote {
  padding: var(--bm-space-8); border-left: 3px solid var(--bm-accent); background: var(--bm-surface-muted);
  font-family: var(--bm-font-display); font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.35;
}
.bm-cta-band {
  border-radius: var(--bm-radius-lg); padding: var(--bm-space-8);
  background: linear-gradient(135deg, rgba(201,162,75,.16), rgba(11,18,32,.04));
  border: 1px solid var(--bm-border);
}

.bm-contact-grid { display: grid; gap: var(--bm-space-10); align-items: start; }
@media (min-width: 900px) { .bm-contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); } }
.bm-contact-intro { max-width: 700px; color: var(--bm-text-muted); }
.bm-contact-form { margin-top: var(--bm-space-7); max-width: 760px; }
.bm-form-row { display: grid; gap: var(--bm-space-4); }
@media (min-width: 640px) { .bm-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bm-field textarea { resize: vertical; min-height: 180px; }
.bm-field__hint { color: var(--bm-text-muted); font-size: .78rem; margin-top: var(--bm-space-2); }
.bm-checkbox-field label { display: flex; align-items: flex-start; gap: var(--bm-space-3); font-weight: 400; }
.bm-checkbox-field input { width: auto; margin-top: 4px; flex: none; }
.bm-checkbox-field a { color: var(--bm-accent-strong); }
.bm-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.bm-contact-aside { display: grid; gap: var(--bm-space-4); }
.bm-info-card { border: 1px solid var(--bm-border); border-radius: var(--bm-radius-lg); padding: var(--bm-space-6); background: var(--bm-surface); }
.bm-info-card p:last-child { margin-bottom: 0; }
.bm-info-card--dark { background: var(--bm-navy-950); color: var(--bm-chrome-text-muted); border-color: var(--bm-border-chrome); }
.bm-info-card--dark h3 { color: var(--bm-ivory-50); }
.bm-info-card--dark .bm-btn { margin-top: var(--bm-space-2); }

.bm-breadcrumbs { margin-bottom: var(--bm-space-5); }
.bm-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; color: var(--bm-chrome-text-muted); font-size: .82rem; }
.bm-breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 8px; opacity: .55; }
.bm-breadcrumbs a { text-decoration: none; }
.bm-breadcrumbs a:hover { color: var(--bm-ivory-100); }

/* ---- v1.0.6.1 catalogue art / PWA polish -------------------------------- */
.bm-generated-cover {
  display:flex;
  width:100%;height:100%;
  flex-direction:column;
  justify-content:flex-end;
  gap:12px;
  padding:clamp(18px,3vw,32px);
  color:#fff7e8;
  background:
    radial-gradient(90% 80% at 80% 12%,rgba(255,210,119,.22),transparent 52%),
    linear-gradient(145deg,#151d31 0%,#0a101d 52%,#201711 100%);
  position:relative;
  overflow:hidden;
}
.bm-generated-cover::before {
  content:"";position:absolute;inset:0;
  background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.045) 20.4%,transparent 21%),radial-gradient(circle at 15% 22%,rgba(255,255,255,.12) 0 1px,transparent 1.5px);
  background-size:auto,18px 18px;
  opacity:.55;pointer-events:none;
}
.bm-generated-cover>*{position:relative;z-index:1}
.bm-generated-cover strong{font-family:var(--bm-font-display);font-size:clamp(1.45rem,3vw,2.35rem);line-height:1.02;max-width:12ch;text-wrap:balance}
.bm-generated-cover__eyebrow{font-size:.68rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#e2b957}
.bm-generated-cover__byline{font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,247,232,.72)}
.bm-generated-cover--mood{aspect-ratio:2/3;justify-content:center;text-align:center;align-items:center}
.bm-generated-cover--mood strong{max-width:13ch;font-size:clamp(1.45rem,3vw,2.25rem)}
.bm-generated-cover--v2{background:radial-gradient(90% 90% at 20% 20%,rgba(184,97,67,.32),transparent 54%),linear-gradient(145deg,#1c1521,#08111e 58%,#15100d)}
.bm-generated-cover--v3{background:radial-gradient(90% 90% at 70% 18%,rgba(76,125,146,.34),transparent 56%),linear-gradient(145deg,#07161b,#101827 52%,#171118)}
.bm-generated-cover--v4{background:radial-gradient(90% 90% at 24% 78%,rgba(143,111,67,.30),transparent 55%),linear-gradient(145deg,#17120f,#0a111d 58%,#161e1b)}
.bm-generated-cover--v5{background:radial-gradient(90% 90% at 78% 72%,rgba(118,79,132,.30),transparent 55%),linear-gradient(145deg,#12131f,#07141d 58%,#1b1119)}
.bm-generated-cover--v6{background:radial-gradient(90% 90% at 30% 15%,rgba(197,160,75,.26),transparent 55%),linear-gradient(145deg,#0e1823,#11111a 55%,#24170e)}

.bm-card__media--mood{aspect-ratio:2/3}
.bm-mood-card{display:flex;flex-direction:column}
.bm-mood-card__link{display:block;text-decoration:none;color:inherit;flex:1}
.bm-mood-card__actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 var(--bm-space-5) var(--bm-space-5)}
.bm-card__details{font-size:.82rem;font-weight:700;color:var(--bm-accent-strong);text-decoration:none}
.bm-content-hero__cover--mood{aspect-ratio:2/3}
.bm-track-list__duration{font-variant-numeric:tabular-nums;color:var(--bm-text-muted);font-size:.8rem}
.bm-audio-note{margin-top:var(--bm-space-5);color:var(--bm-text-muted);font-size:.85rem}
.bm-footer__meta-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.bm-footer__meta-row p{margin:0}

@media (max-width:520px){
  .bm-mood-card__actions{align-items:stretch;flex-direction:column}
  .bm-mood-card__actions .bm-btn{width:100%}
  .bm-card__details{text-align:center;padding:6px 0}
  .bm-track-list__item{flex-wrap:wrap}
  .bm-track-list__title{min-width:55%}
}

/* ---- v1.0.7 Discover editorial layout ---------------------------------- */
.bm-discover-hero{background:linear-gradient(135deg,#070d18 0%,#0b1424 58%,#17110b 100%);color:var(--bm-ivory-100);padding:clamp(54px,8vw,104px) 0;border-bottom:1px solid var(--bm-border-chrome)}
.bm-discover-hero h1{color:var(--bm-ivory-50);max-width:12ch;margin-bottom:var(--bm-space-5)}
.bm-discover-hero__grid{display:grid;gap:var(--bm-space-10);align-items:end}
.bm-discover-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);border-radius:var(--bm-radius-lg);overflow:hidden}
.bm-discover-stats>div{min-height:120px;padding:22px 18px;background:rgba(7,13,24,.82);display:flex;flex-direction:column;justify-content:flex-end}
.bm-discover-stats strong{font-family:var(--bm-font-display);font-size:clamp(1.8rem,4vw,3rem);line-height:1;color:var(--bm-accent)}
.bm-discover-stats span{margin-top:8px;color:var(--bm-chrome-text-muted);font-size:.78rem;line-height:1.35}
.bm-section__intro{max-width:720px;margin:.5rem 0 0;color:var(--bm-text-muted);font-size:.96rem}
.bm-section__head--dark h2{color:var(--bm-ivory-50)}
.bm-section__head--dark .bm-section__intro{color:var(--bm-chrome-text-muted)}
.bm-section__head--dark>a{color:var(--bm-accent)}
.bm-featured-work{display:grid;gap:clamp(24px,4vw,52px);align-items:center;background:var(--bm-surface);border:1px solid var(--bm-border);border-radius:calc(var(--bm-radius-lg) + 4px);padding:clamp(18px,3vw,34px);box-shadow:var(--bm-shadow-sm)}
.bm-featured-work__cover{display:block;width:min(100%,300px);aspect-ratio:2/3;overflow:hidden;border-radius:var(--bm-radius-lg);background:var(--bm-navy-900);box-shadow:var(--bm-shadow-md)}
.bm-featured-work__cover img{display:block;width:100%;height:100%;object-fit:cover}
.bm-featured-work__copy{max-width:760px}
.bm-featured-work__copy h3{font-size:clamp(2rem,4vw,3.7rem);margin:.65rem 0 .45rem;line-height:1.03}
.bm-featured-work__copy>p:not(.bm-featured-work__byline){font-size:clamp(1rem,1.5vw,1.16rem);max-width:68ch;color:var(--bm-text-muted)}
.bm-featured-work__byline{font-size:.86rem;color:var(--bm-accent-strong);font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.bm-compact-shelf{display:grid;gap:12px;margin-top:var(--bm-space-5)}
.bm-compact-work{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 18px;border:1px solid var(--bm-border);border-radius:var(--bm-radius-md);background:rgba(255,255,255,.55);text-decoration:none;color:inherit}
.bm-compact-work span{color:var(--bm-text-muted);font-size:.82rem;white-space:nowrap}
.bm-mood-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--bm-space-5)}
.bm-section--dark .bm-mood-card{background:#0f1828;border-color:var(--bm-border-chrome);box-shadow:none}
.bm-section--dark .bm-mood-card .bm-card__title{color:var(--bm-ivory-50)}
.bm-section--dark .bm-mood-card .bm-card__meta{color:var(--bm-chrome-text-muted)}
.bm-section--dark .bm-mood-card .bm-card__details{color:var(--bm-accent)}
.bm-section--dark .bm-mood-card .bm-btn--ghost-light{color:var(--bm-ivory-50);border-color:rgba(255,255,255,.18)}
.bm-grid--stories .bm-card__media--book{aspect-ratio:2/3}

@media (min-width:760px){
  .bm-discover-hero__grid{grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr)}
  .bm-featured-work{grid-template-columns:300px minmax(0,1fr)}
  .bm-compact-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bm-compact-work{display:block}
  .bm-compact-work span{display:block;margin-top:5px}
  .bm-mood-rail{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1180px){
  .bm-mood-rail{grid-template-columns:repeat(6,minmax(0,1fr))}
  .bm-mood-rail .bm-card__body{padding:16px}
  .bm-mood-rail .bm-mood-card__actions{padding:0 16px 16px;display:block}
  .bm-mood-rail .bm-mood-card__actions .bm-btn{width:100%}
  .bm-mood-rail .bm-card__details{display:block;text-align:center;margin-top:9px}
}
@media (max-width:620px){
  .bm-discover-stats{grid-template-columns:1fr}
  .bm-discover-stats>div{min-height:82px}
  .bm-featured-work__cover{margin-inline:auto}
  .bm-featured-work__copy{text-align:left}
  .bm-mood-rail{grid-template-columns:1fr 1fr}
}
