/*
Theme Name: BLESKI
Theme URI: https://bleski.example
Author: Bleski
Author URI: https://instagram.com/bleski
Description: Dark editorial theme for a music producer selling beats and sample packs. Built for WooCommerce with digital-product licensing, audio previews and a sticky player.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bleski
Tags: dark, e-commerce, music, one-column, custom-colors, custom-menu, featured-images, translation-ready
WC requires at least: 7.0
WC tested up to: 9.9
*/

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  --bl-bg: #08080a;
  --bl-panel: #0d0e11;
  --bl-panel-2: #15171b;
  --bl-ink: #edeef0;
  --bl-dim: #b8b9bf;
  --bl-mute: #85858c;
  --bl-faint: #6c6d74;
  --bl-accent: #9fb4e8;
  --bl-accent-ink: #08080a;
  --bl-line: rgba(255, 255, 255, 0.14);
  --bl-hair: rgba(255, 255, 255, 0.1);
  --bl-hair-soft: rgba(255, 255, 255, 0.07);

  --bl-display: "Archivo Black", Archivo, Helvetica, Arial, sans-serif;
  --bl-body: Archivo, Helvetica, Arial, sans-serif;
  --bl-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --bl-pad-x: clamp(16px, 3vw, 40px);
  --bl-pad-y: clamp(70px, 12vh, 150px);
  --bl-ease: cubic-bezier(0.16, 0.84, 0.24, 1);
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */

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

html {
  background: var(--bl-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bl-bg);
  color: var(--bl-ink);
  font-family: var(--bl-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--bl-ink);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover,
a:focus-visible { color: var(--bl-accent); }

:focus-visible {
  outline: 2px solid var(--bl-accent);
  outline-offset: 3px;
}

::selection {
  background: var(--bl-accent);
  color: var(--bl-accent-ink);
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bl-bg); }
::-webkit-scrollbar-thumb { background: #2a2c33; }
::-webkit-scrollbar-thumb:hover { background: #3a3d46; }

h1, h2, h3, h4 {
  font-family: var(--bl-display);
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.bl-skip {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--bl-ink);
  color: var(--bl-bg);
  font-family: var(--bl-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.bl-skip:focus { left: 12px; top: 12px; color: var(--bl-bg); }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

/* ==========================================================================
   3. ATMOSPHERE — grain, hairlines, scroll-tinted backdrop
   ========================================================================== */

.bl-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bl-bg);
  transition: background-color 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.bl-grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
}

.bl-hairlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 25% 100%;
}

/* Boot curtain */
@keyframes bl-boot {
  0%, 62% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.bl-boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bl-bg);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(18px, 3vw, 44px);
  animation: bl-boot 1900ms cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.bl-boot__mark {
  font-family: var(--bl-display);
  font-size: clamp(38px, 9vw, 130px);
  letter-spacing: -0.05em;
  line-height: 0.8;
}

.bl-boot__num {
  font-family: var(--bl-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bl-mute);
}

@keyframes bl-cue {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* ==========================================================================
   4. HEADER / NAV
   ========================================================================== */

.bl-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 16px;
  padding: clamp(14px, 2vw, 26px) var(--bl-pad-x);
  mix-blend-mode: difference;
}

.bl-header__brand {
  font-family: var(--bl-display);
  font-size: 15px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.bl-header__brand img { max-height: 26px; width: auto; }

.bl-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 38px);
  justify-content: flex-end;
  align-items: center;
  grid-column: -2 / -1;
}

.bl-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 38px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.bl-nav a,
.bl-cart-link {
  font-family: var(--bl-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bl-cart-link__count {
  display: inline-block;
  min-width: 17px;
  padding: 0 4px;
  margin-left: 6px;
  text-align: center;
  background: var(--bl-ink);
  color: var(--bl-bg);
  font-size: 10px;
  line-height: 17px;
}

.bl-nav__toggle {
  display: none;
  appearance: none;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  padding: 7px 12px;
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  cursor: pointer;
}

@media (max-width: 720px) {
  .bl-header { mix-blend-mode: normal; background: rgba(8, 8, 10, 0.86); backdrop-filter: blur(9px); grid-template-columns: 1fr auto; align-items: center; }
  .bl-nav__toggle { display: block; }
  .bl-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 14px;
  }
  .bl-nav.is-open { display: flex; }
  .bl-nav ul { flex-direction: column; gap: 14px; }
}

/* ==========================================================================
   5. LAYOUT PRIMITIVES
   ========================================================================== */

.bl-section {
  position: relative;
  z-index: 2;
  padding: var(--bl-pad-y) var(--bl-pad-x);
  border-top: 1px solid var(--bl-hair);
}

/* Keep anchor jumps clear of the fixed header. */
.bl-section[id],
.bl-hero[id],
.bl-footer[id] { scroll-margin-top: clamp(64px, 9vh, 96px); }

.bl-section--flush { border-top: 0; }

.bl-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  border-top: 1px solid var(--bl-line);
  padding-top: 18px;
  margin-bottom: clamp(40px, 8vh, 90px);
}

.bl-head--open { border-top: 0; padding-top: 0; }

.bl-head h2,
.bl-h2 {
  font-size: clamp(30px, 4.6vw, 76px);
}

.bl-meta {
  font-family: var(--bl-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--bl-mute);
  line-height: 1.9;
  text-transform: uppercase;
}

.bl-lede {
  max-width: 42ch;
  grid-column: -2 / -1;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.6;
  color: var(--bl-dim);
}

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.95s var(--bl-ease), transform 0.95s var(--bl-ease);
  will-change: opacity, transform;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Buttons */
.bl-btn,
.bl-section .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid var(--bl-ink);
  border-radius: 0 !important;
  background: transparent;
  color: var(--bl-ink);
  font-family: var(--bl-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.bl-btn:hover,
.bl-section .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:hover {
  background: var(--bl-ink);
  color: var(--bl-bg);
  border-color: var(--bl-ink);
}

.bl-btn--accent,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.wc-block-components-button:not(.is-link) {
  background: var(--bl-accent);
  border-color: var(--bl-accent);
  color: var(--bl-accent-ink);
}

.bl-btn--accent:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--bl-ink);
  border-color: var(--bl-ink);
  color: var(--bl-bg);
}

/* ==========================================================================
   6. HERO
   ========================================================================== */

.bl-hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(86px, 12vh, 150px) var(--bl-pad-x) clamp(46px, 7vh, 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.bl-hero__meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.bl-hero__meta .bl-meta,
.bl-hero__meta p {
  color: #f2f3f5;
  text-shadow: 0 1px 3px rgba(3, 4, 6, 0.9), 0 0 12px rgba(3, 4, 6, 0.75);
}

.bl-hero__blurb {
  max-width: 42ch;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.55;
}

.bl-hero__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(190px, 36vh, 560px);
  z-index: 0;
  pointer-events: none;
}

.bl-platter {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bl-hero__bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  align-items: end;
  border-top: 1px solid var(--bl-hair);
  padding-top: 14px;
  font-family: var(--bl-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #eceef0;
  text-shadow: 0 1px 3px rgba(3, 4, 6, 0.9);
  text-transform: uppercase;
}

.bl-hero__scroll {
  justify-self: end;
  grid-column: -2 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bl-hero__scroll span {
  display: inline-block;
  animation: bl-cue 1.8s ease-in-out infinite;
}

/* ==========================================================================
   7. WORK GRID
   ========================================================================== */

.bl-work {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 46px) clamp(16px, 2vw, 30px);
  align-items: start;
}

.bl-work__item { min-width: 0; }
.bl-work__item--wide { grid-column: span 2; }
.bl-work__item--offset { margin-top: clamp(0px, 12vh, 150px); }
.bl-work__item--offset-sm { margin-top: clamp(0px, 6vh, 70px); }

.bl-cover {
  position: relative;
  overflow: hidden;
  background: var(--bl-panel);
  border: 1px solid var(--bl-hair);
}

.bl-cover canvas,
.bl-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.bl-work__item--wide .bl-cover canvas,
.bl-work__item--wide .bl-cover img {
  max-height: 58vh;
  object-fit: cover;
}

.bl-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  background: var(--bl-ink);
  color: var(--bl-bg);
  padding: 4px 7px;
  text-transform: uppercase;
}

.bl-work__line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--bl-line);
  margin-top: 14px;
  padding-top: 12px;
}

.bl-work__line h3 { font-size: clamp(18px, 2.4vw, 38px); letter-spacing: -0.03em; }
.bl-work__credit { font-family: var(--bl-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--bl-mute); text-transform: uppercase; }
.bl-work__note { margin: 10px 0 0; max-width: 46ch; font-size: 14px; line-height: 1.6; color: var(--bl-dim); }

/* ==========================================================================
   8. BEAT / PRODUCT GRID  (WooCommerce loop)
   ========================================================================== */

.woocommerce ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(20px, 2.6vw, 40px) clamp(14px, 1.8vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; }

.woocommerce ul.products li.product,
ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product a img { margin: 0; box-shadow: none; }

.bl-card__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--bl-hair);
  background: var(--bl-panel);
  aspect-ratio: 1 / 1;
}

.bl-card__media img,
.bl-card__media canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--bl-ease), opacity 0.4s ease;
}

.bl-card:hover .bl-card__media img,
.bl-card:hover .bl-card__media canvas { transform: scale(1.04); }

.bl-card__play {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(8, 8, 10, 0.62);
  backdrop-filter: blur(6px);
  color: var(--bl-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  padding: 0;
}

.bl-card__play:hover,
.bl-card__play.is-playing {
  background: var(--bl-accent);
  border-color: var(--bl-accent);
  color: var(--bl-accent-ink);
}

.bl-card__play:hover { transform: scale(1.07); }

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.bl-card__title {
  font-family: var(--bl-mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 !important;
  margin: 12px 0 0 !important;
  line-height: 1.5;
  color: var(--bl-ink);
}

.bl-card__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--bl-line);
  margin-top: 10px;
  padding-top: 10px;
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--bl-mute);
  text-transform: uppercase;
}

.woocommerce ul.products li.product .price,
.bl-card__price {
  font-family: var(--bl-mono) !important;
  font-size: 12px !important;
  color: var(--bl-ink) !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product .price del,
.bl-card__price del { color: var(--bl-faint) !important; opacity: 1; }

.woocommerce ul.products li.product .price ins,
.bl-card__price ins { color: var(--bl-accent) !important; text-decoration: none; }

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.bl-card .button,
.bl-card .added_to_cart {
  margin-top: 12px !important;
  align-self: flex-start;
  font-size: 10px;
  padding: 10px 16px;
}

/* Card buttons need the base button look even outside a .woocommerce wrapper. */
.bl-card .button,
.bl-card .added_to_cart {
  display: inline-block;
  border: 1px solid var(--bl-ink);
  background: transparent;
  color: var(--bl-ink);
  font-family: var(--bl-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: background 0.3s ease, color 0.3s ease;
}

.bl-card .button:hover,
.bl-card .added_to_cart:hover {
  background: var(--bl-ink);
  color: var(--bl-bg);
}

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
.bl-card .onsale {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  margin: 0;
  min-height: 0;
  min-width: 0;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 0;
  background: var(--bl-accent);
  color: var(--bl-accent-ink);
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Waveform strip */
.bl-wave {
  height: 10px;
  margin-top: 10px;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.26) 0 1px, transparent 1px 4px);
  opacity: 0.6;
}

/* ==========================================================================
   8b. BEAT ARCHIVE — folders + window
   ========================================================================== */

.bl-folders {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: clamp(18px, 2.4vw, 40px) clamp(14px, 1.8vw, 26px);
  align-items: start;
}

.bl-folder {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  min-width: 0;
  font: inherit;
}

.bl-folder__shape {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bl-folder:hover .bl-folder__shape,
.bl-folder:focus-visible .bl-folder__shape { transform: translateY(-6px); }

.bl-folder__tab {
  width: 40%;
  height: 12px;
  margin-left: 7%;
  border-radius: 7px 9px 0 0;
  background: linear-gradient(180deg, #34373f, #23262c);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
}

.bl-folder__body {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  border-radius: 4px 12px 12px 12px;
  background: linear-gradient(165deg, #262930 0%, #16181d 60%, #101216 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 40px -28px rgba(0, 0, 0, 0.9);
  transition: border-color 0.3s ease;
}

.bl-folder:hover .bl-folder__body { border-color: rgba(159, 180, 232, 0.4); }

.bl-folder__stats {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  justify-content: space-between;
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #9a9ba2;
  text-transform: uppercase;
}

.bl-folder__label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  border-top: 1px solid var(--bl-line);
  margin-top: 12px;
  padding-top: 10px;
  font-family: var(--bl-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bl-folder__sub { color: var(--bl-mute); }

/* Backdrop */

.bl-archive {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 3vw, 40px);
  padding-bottom: clamp(80px, 12vh, 120px);
  background: rgba(5, 5, 7, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.42s ease;
}

.bl-archive.is-open { opacity: 1; }
.bl-archive[hidden] { display: none; }

/* Window */

.bl-window {
  width: min(920px, 100%);
  max-height: 84svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(19, 20, 24, 0.96);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.95);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.2);
  transition: transform 0.66s cubic-bezier(0.16, 0.86, 0.22, 1), opacity 0.34s ease;
  will-change: transform, opacity;
}

.bl-window[hidden] { display: none; }
.bl-window.is-open { opacity: 1; }
.bl-window.is-dragging { transition: none; }

.bl-window__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #22242a, #191b20);
  cursor: grab;
  touch-action: none;
  flex: 0 0 auto;
}

.bl-window__bar:active { cursor: grabbing; }

.bl-window__lights { display: flex; gap: 7px; flex: 0 0 auto; }

.bl-window__light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.bl-window__light--red { background: #ff5f57; cursor: pointer; }
.bl-window__light--amber { background: #febc2e; }
.bl-window__light--green { background: #28c840; }

.bl-window__title {
  font-family: var(--bl-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #c9cad0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-window__path {
  margin-left: auto;
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #7e7f86;
  white-space: nowrap;
}

.bl-window__x {
  appearance: none;
  background: none;
  border: 0;
  color: #7e7f86;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 2px;
  line-height: 1;
  flex: 0 0 auto;
}

.bl-window__x:hover { color: var(--bl-ink); }

.bl-window__head,
.bl-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 56px 62px 54px minmax(96px, auto);
  gap: 10px;
  align-items: center;
}

/* Licence columns replace the single buy cell. */
.bl-window__head.bl-window--licences,
.bl-row.bl-window--licences {
  grid-template-columns: 40px minmax(0, 1fr) 52px 58px 50px 104px 104px;
}

.bl-window__tier {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-row__tier { display: flex; justify-content: center; }

.bl-row__licence {
  appearance: none;
  display: block;
  text-align: center;
  width: 100%;
  padding: 9px 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--bl-ink);
  font-family: var(--bl-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

.bl-row__licence:hover {
  background: var(--bl-accent);
  border-color: var(--bl-accent);
  color: var(--bl-accent-ink);
}

.bl-row__licence:active { transform: translateY(1px); }

.bl-row__licence.is-added {
  background: var(--bl-ink);
  border-color: var(--bl-ink);
  color: var(--bl-bg);
}

.bl-row__licence.is-busy { opacity: 0.5; pointer-events: none; }

.bl-row__licence del { display: none; }
.bl-row__licence ins { text-decoration: none; }

.bl-row__tier-empty {
  font-family: var(--bl-mono);
  font-size: 11px;
  color: #55565c;
}

.bl-window__head {
  padding: 9px 16px;
  border-bottom: 1px solid var(--bl-hair);
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #7e7f86;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.bl-window__list {
  overflow-y: auto;
  flex: 1 1 auto;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.4s ease 0.1s, transform 0.55s cubic-bezier(0.16, 0.84, 0.24, 1) 0.08s;
}

.bl-window.is-open .bl-window__list { opacity: 1; transform: none; }

.bl-row {
  padding: 12px 16px;
  border-bottom: 1px solid var(--bl-hair-soft);
  transition: background 0.2s ease;
}

.bl-row:hover { background: rgba(255, 255, 255, 0.05); }

.bl-row__play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--bl-ink);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.bl-row__play:hover,
.bl-row__play.is-playing {
  background: var(--bl-accent);
  border-color: var(--bl-accent);
  color: var(--bl-accent-ink);
}

.bl-row__play--empty { color: #55565c; cursor: default; }
.bl-row__play--empty:hover { background: transparent; border-color: rgba(255, 255, 255, 0.22); color: #55565c; }

.bl-row__name {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bl-row__name a,
.bl-row__title {
  font-family: var(--bl-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-row__name .bl-wave { margin-top: 0; height: 10px; }

.bl-row__meta {
  display: none;
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #a6a7ad;
  text-transform: uppercase;
}

.bl-row__cell {
  font-family: var(--bl-mono);
  font-size: 11px;
  color: #a6a7ad;
}

.bl-row__buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.bl-row__price {
  font-family: var(--bl-mono);
  font-size: 11px;
  color: var(--bl-ink);
}

.bl-row__price del { color: var(--bl-faint); }
.bl-row__price ins { color: var(--bl-accent); text-decoration: none; }

.bl-row__cart {
  font-family: var(--bl-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 6px 10px;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.bl-row__cart:hover {
  background: var(--bl-accent);
  border-color: var(--bl-accent);
  color: var(--bl-accent-ink);
}

.bl-row__cart.loading { opacity: 0.5; }
.bl-row__cart.added::after { content: " ✓"; }

.bl-window__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  padding: 11px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bl-panel-2);
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--bl-mute);
  text-transform: uppercase;
  flex: 0 0 auto;
}

@media (max-width: 780px) {
  .bl-window__head,
  .bl-window__head.bl-window--licences { display: none; }

  .bl-row,
  .bl-row.bl-window--licences {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    padding: 14px 12px;
  }

  .bl-row__cell { display: none; }
  .bl-row__meta { display: block; }
  .bl-window__path { display: none; }
  .bl-window__bar { cursor: default; }

  /* Licence buttons stack under the name and label themselves. */
  .bl-row.bl-window--licences { grid-template-columns: 34px minmax(0, 1fr); }
  .bl-row.bl-window--licences .bl-row__tier { grid-column: 2; justify-content: stretch; }
  .bl-row.bl-window--licences .bl-row__licence::before { content: attr(data-tier) " · "; color: var(--bl-mute); }
  .bl-row.bl-window--licences .bl-row__tier-empty { display: none; }
}

/* ==========================================================================
   9. PACKS
   ========================================================================== */

.bl-packs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(24px, 4vw, 60px) clamp(16px, 2vw, 30px);
  align-items: start;
}

.bl-pack {
  grid-column: span 2;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c0d10;
}

.bl-pack .bl-cover canvas,
.bl-pack .bl-cover img {
  max-height: 52vh;
  object-fit: cover;
}

.bl-pack__body {
  padding: clamp(16px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bl-pack__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: baseline;
}

.bl-pack__head h3 { font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -0.03em; }
.bl-pack__price { font-family: var(--bl-mono); font-size: 16px; }
.bl-pack__specs { font-family: var(--bl-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--bl-mute); line-height: 2; text-transform: uppercase; }

.bl-slot {
  grid-column: span 1;
  margin-top: clamp(0px, 10vh, 120px);
  min-width: 0;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  padding: clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  justify-content: flex-end;
}

.bl-slot__label { font-family: var(--bl-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--bl-mute); }
.bl-slot__title { font-family: var(--bl-display); font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -0.03em; text-transform: uppercase; color: var(--bl-faint); line-height: 1; }

/* ==========================================================================
   10. ABOUT
   ========================================================================== */

.bl-about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 70px);
}

.bl-about__col { display: flex; flex-direction: column; gap: 26px; }

.bl-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 46px;
  border-top: 1px solid var(--bl-line);
  padding-top: 18px;
}

.bl-stat { display: flex; flex-direction: column; gap: 8px; }
.bl-stat__num { font-family: var(--bl-display); font-size: clamp(34px, 4vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.bl-stat__label { font-family: var(--bl-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--bl-mute); text-transform: uppercase; }

.bl-philosophy {
  max-width: 34ch;
  font-size: clamp(19px, 2vw, 30px);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.bl-about__detail { max-width: 46ch; font-size: 14px; line-height: 1.65; color: var(--bl-dim); }

.bl-quotes {
  margin-top: clamp(46px, 9vh, 110px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 30px);
}

.bl-quote {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bl-quote--offset { margin-top: clamp(0px, 5vh, 54px); }
.bl-quote p { font-size: clamp(15px, 1.3vw, 19px); line-height: 1.45; letter-spacing: -0.01em; margin: 0; }
.bl-quote cite { font-family: var(--bl-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--bl-mute); font-style: normal; text-transform: uppercase; }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */

.bl-footer {
  position: relative;
  z-index: 2;
  padding: var(--bl-pad-y) var(--bl-pad-x) clamp(24px, 4vh, 44px);
  border-top: 1px solid var(--bl-hair);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 8vh, 90px);
}

.bl-footer__cta {
  font-family: var(--bl-display);
  font-size: clamp(38px, 11vw, 200px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.bl-footer__bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  border-top: 1px solid var(--bl-line);
  padding-top: 16px;
  font-family: var(--bl-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--bl-mute);
  text-transform: uppercase;
}

.bl-footer__bar a { color: var(--bl-mute); }
.bl-footer__bar a:hover { color: var(--bl-accent); }
.bl-footer__copy { grid-column: -2 / -1; justify-self: end; }

/* ==========================================================================
   12. STICKY AUDIO PLAYER
   ========================================================================== */

.bl-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px var(--bl-pad-x);
  background: rgba(13, 14, 17, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--bl-line);
  transform: translateY(101%);
  transition: transform 0.5s var(--bl-ease);
}

.bl-player.is-active { transform: none; }

.bl-player__btn {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--bl-ink);
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.bl-player__btn:hover { background: var(--bl-accent); border-color: var(--bl-accent); color: var(--bl-accent-ink); }

.bl-player__body { min-width: 0; display: flex; flex-direction: column; gap: 7px; }

.bl-player__title {
  font-family: var(--bl-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-player__track {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.13);
  cursor: pointer;
}

.bl-player__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--bl-accent);
  pointer-events: none;
}

.bl-player__time,
.bl-player__close {
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--bl-mute);
}

.bl-player__close {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.bl-player__close:hover { color: var(--bl-ink); }

@media (max-width: 560px) {
  .bl-player__time { display: none; }
}

body.bl-has-player { padding-bottom: 72px; }
body.bl-archive-open { overflow: hidden; }

/* ==========================================================================
   12b. CART DRAWER
   ========================================================================== */

.bl-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.bl-drawer[hidden] { display: none; }

.bl-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.5);
  opacity: 0;
  transition: opacity 0.35s ease;
  cursor: pointer;
}

.bl-drawer.is-open .bl-drawer__scrim { opacity: 1; }

.bl-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bl-sf, #ffffff);
  color: var(--bl-sf-ink, #0b0b0d);
  font-family: var(--bl-body);
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.55);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.22, 0.84, 0.28, 1);
  overflow: hidden;
}

.bl-drawer.is-open .bl-drawer__panel { transform: none; }

.bl-drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.bl-drawer.is-busy .bl-drawer__inner { opacity: 0.55; pointer-events: none; }
.bl-drawer__inner { transition: opacity 0.2s ease; }

/* Head */

.bl-drawer__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 34px) 18px;
  border-bottom: 1px solid var(--bl-sf-line, rgba(0, 0, 0, 0.85));
  margin: 0 clamp(20px, 3vw, 34px);
  padding-left: 0;
  padding-right: 0;
}

.bl-drawer__title {
  font-family: var(--bl-body);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  color: inherit;
}

.bl-drawer__count {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--bl-sf-mute, #6a6b70);
}

.bl-drawer__x {
  appearance: none;
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: inherit;
  line-height: 0;
  flex: 0 0 auto;
  transition: opacity 0.2s ease;
}

.bl-drawer__x:hover { opacity: 0.6; }

/* Empty */

.bl-drawer__empty {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px clamp(20px, 3vw, 34px);
  text-align: center;
}

.bl-drawer__empty p {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 24px);
  color: inherit;
}

.bl-drawer__browse {
  font-size: 13px;
  color: var(--bl-sf-mute, #6a6b70);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bl-drawer__browse:hover { color: var(--bl-sf-ink, #0b0b0d); }

/* Items */

.bl-drawer__list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px clamp(20px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.bl-drawer__item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.bl-drawer__thumb {
  position: relative;
  width: 76px;
}

.bl-drawer__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bl-sf-soft, #f2f2f4);
}

.bl-drawer__badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bl-sf, #fff);
  color: var(--bl-sf-ink, #0b0b0d);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bl-drawer__meta { min-width: 0; display: flex; flex-direction: column; gap: 7px; }

.bl-drawer__name {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}

.bl-drawer__name a { color: inherit; }
.bl-drawer__name a:hover { text-decoration: underline; text-underline-offset: 3px; color: inherit; }

.bl-drawer__variation,
.bl-drawer__variation p {
  margin: 0;
  font-size: 12px;
  color: var(--bl-sf-mute, #6a6b70);
}

.bl-drawer__unit { font-size: 14px; color: inherit; }
.bl-drawer__unit del { color: var(--bl-sf-mute, #6a6b70); }
.bl-drawer__unit ins { text-decoration: none; }

.bl-drawer__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.bl-drawer__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bl-sf-line, rgba(0, 0, 0, 0.18));
  border-radius: 3px;
  overflow: hidden;
}

.bl-drawer__step {
  appearance: none;
  background: none;
  border: 0;
  width: 32px;
  height: 34px;
  cursor: pointer;
  color: inherit;
  font-size: 15px;
  line-height: 1;
  transition: background 0.2s ease;
}

.bl-drawer__step:hover:not(:disabled) { background: var(--bl-sf-soft, #f2f2f4); }
.bl-drawer__step:disabled { opacity: 0.3; cursor: default; }

.bl-drawer__qty-input {
  width: 40px;
  height: 34px;
  border: 0;
  background: none;
  text-align: center;
  font-family: inherit;
  font-size: 14px;
  color: inherit;
  -moz-appearance: textfield;
  appearance: textfield;
}

.bl-drawer__qty-input::-webkit-outer-spin-button,
.bl-drawer__qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bl-drawer__line { font-size: 15px; font-weight: 500; white-space: nowrap; }

.bl-drawer__remove {
  appearance: none;
  background: none;
  border: 0;
  padding: 2px;
  cursor: pointer;
  color: var(--bl-sf-mute, #6a6b70);
  line-height: 0;
  transition: color 0.2s ease;
}

.bl-drawer__remove:hover { color: #d33a2c; }

/* Foot */

.bl-drawer__foot {
  flex: 0 0 auto;
  padding: 20px clamp(20px, 3vw, 34px) clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--bl-sf-line, rgba(0, 0, 0, 0.14));
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bl-drawer__promo-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--bl-sf-link, #2563eb);
  transition: opacity 0.2s ease;
}

.bl-drawer__promo-toggle:hover { opacity: 0.7; }

.bl-drawer__promo-form { display: flex; gap: 8px; margin-top: 12px; }
.bl-drawer__promo-form[hidden] { display: none; }

.bl-drawer__promo-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--bl-sf-line, rgba(0, 0, 0, 0.18));
  border-radius: 3px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  background: var(--bl-sf, #fff);
  color: inherit;
}

.bl-drawer__promo-apply {
  appearance: none;
  border: 1px solid var(--bl-sf-ink, #0b0b0d);
  background: none;
  color: inherit;
  border-radius: 3px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.bl-drawer__promo-apply:hover {
  background: var(--bl-sf-ink, #0b0b0d);
  color: var(--bl-sf, #fff);
}

.bl-drawer__coupons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.bl-drawer__coupon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 3px;
  background: var(--bl-sf-soft, #f2f2f4);
  font-size: 12px;
}

.bl-drawer__coupon button {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--bl-sf-mute, #6a6b70);
  font-size: 15px;
  line-height: 1;
  padding: 0;
}

.bl-drawer__error {
  margin: 0;
  font-size: 13px;
  color: #d33a2c;
}

.bl-drawer__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
  font-size: clamp(17px, 1.6vw, 21px);
}

.bl-drawer__total strong { font-weight: 600; }

.bl-drawer__checkout,
.bl-drawer__view {
  display: block;
  text-align: center;
  padding: 15px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.bl-drawer__checkout {
  background: var(--bl-sf-btn, #26272b);
  color: var(--bl-sf-btn-ink, #ffffff);
  border: 1px solid var(--bl-sf-btn, #26272b);
}

.bl-drawer__checkout:hover {
  background: var(--bl-sf-ink, #0b0b0d);
  border-color: var(--bl-sf-ink, #0b0b0d);
  color: var(--bl-sf-btn-ink, #fff);
}

.bl-drawer__view {
  background: transparent;
  color: inherit;
  border: 1px solid var(--bl-sf-ink, #0b0b0d);
}

.bl-drawer__view:hover {
  background: var(--bl-sf-soft, #f2f2f4);
  color: inherit;
}

.bl-drawer__secure {
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--bl-sf-mute, #6a6b70);
}

/* Dark variant */

body.bl-commerce-dark .bl-drawer__panel {
  --bl-sf: #101216;
  --bl-sf-ink: #edeef0;
  --bl-sf-mute: #8b8c93;
  --bl-sf-soft: #191c22;
  --bl-sf-line: rgba(255, 255, 255, 0.16);
  --bl-sf-link: var(--bl-accent);
  --bl-sf-btn: var(--bl-accent);
  --bl-sf-btn-ink: #08080a;
}

@media (max-width: 560px) {
  .bl-drawer__item { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .bl-drawer__thumb { width: 60px; }
}

/* ==========================================================================
   12c. CHECKOUT BAR + LIGHT COMMERCE SURFACE
   ========================================================================== */

.bl-checkout-bar {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--bl-pad-x);
  border-bottom: 1px solid var(--bl-line);
}

.bl-checkout-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--bl-display);
  font-size: 15px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.bl-checkout-bar__brand img { max-height: 26px; width: auto; }

.bl-checkout-bar__label {
  font-family: var(--bl-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.bl-checkout-bar__back {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Light surface for cart + checkout pages. Redefining the tokens flips every
   rule that already uses them, including the WooCommerce block styles below. */

body.bl-commerce-light.woocommerce-cart,
body.bl-commerce-light.woocommerce-checkout,
body.bl-commerce-light.woocommerce-account {
  --bl-bg: #ffffff;
  --bl-panel: #fafafb;
  --bl-panel-2: #f2f2f4;
  --bl-ink: #0b0b0d;
  --bl-dim: #4c4d52;
  --bl-mute: #6a6b70;
  --bl-faint: #9a9ba0;
  --bl-line: rgba(0, 0, 0, 0.14);
  --bl-hair: rgba(0, 0, 0, 0.1);
  --bl-hair-soft: rgba(0, 0, 0, 0.07);
  --bl-accent-ink: #ffffff;

  background: #ffffff;
  color: #0b0b0d;
}

body.bl-commerce-light.woocommerce-cart .bl-grain,
body.bl-commerce-light.woocommerce-checkout .bl-grain,
body.bl-commerce-light.woocommerce-account .bl-grain,
body.bl-commerce-light.woocommerce-cart .bl-hairlines,
body.bl-commerce-light.woocommerce-checkout .bl-hairlines,
body.bl-commerce-light.woocommerce-account .bl-hairlines,
body.bl-commerce-light.woocommerce-cart .bl-bg,
body.bl-commerce-light.woocommerce-checkout .bl-bg,
body.bl-commerce-light.woocommerce-account .bl-bg { display: none; }

body.bl-commerce-light.woocommerce-checkout .bl-player,
body.bl-commerce-light.woocommerce-cart .bl-player { display: none; }

body.bl-commerce-light.woocommerce-cart,
body.bl-commerce-light.woocommerce-checkout { padding-bottom: 0; }

body.bl-commerce-light.woocommerce-checkout .bl-footer,
body.bl-commerce-light.woocommerce-cart .bl-footer { display: none; }

body.bl-commerce-light .bl-checkout-bar__brand,
body.bl-commerce-light .bl-checkout-bar__back { color: #0b0b0d; }
body.bl-commerce-light .bl-checkout-bar__back:hover { color: #4c4d52; }

/* Checkout page: form left, summary right */

.woocommerce-checkout .bl-page.bl-shop { padding-top: clamp(30px, 5vh, 56px); }

.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.woocommerce-checkout form.checkout .col2-set,
.woocommerce-checkout form.checkout #customer_details {
  grid-column: 1;
  display: block;
}

.woocommerce-checkout form.checkout #order_review_heading,
.woocommerce-checkout form.checkout #order_review {
  grid-column: 2;
  grid-row: 1;
}

.woocommerce-checkout form.checkout #order_review {
  background: var(--bl-panel);
  border: 1px solid var(--bl-line);
  padding: clamp(18px, 2.4vw, 30px);
  position: sticky;
  top: 24px;
}

.woocommerce-checkout form.checkout #order_review_heading { display: none; }

@media (max-width: 860px) {
  .woocommerce-checkout form.checkout.woocommerce-checkout { grid-template-columns: minmax(0, 1fr); }

  .woocommerce-checkout form.checkout .col2-set,
  .woocommerce-checkout form.checkout #customer_details,
  .woocommerce-checkout form.checkout #order_review { grid-column: 1; }

  .woocommerce-checkout form.checkout #order_review { position: static; grid-row: auto; }
}

/* Block checkout already splits in two — just widen and centre it. */

.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart { max-width: 1180px; margin: 0 auto; }

/* ==========================================================================
   13. WOOCOMMERCE — shop shell, single product, cart, checkout
   ========================================================================== */

.bl-shop { padding-top: clamp(120px, 18vh, 190px); }

.woocommerce-breadcrumb {
  font-family: var(--bl-mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bl-mute) !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}

.woocommerce-breadcrumb a { color: var(--bl-mute); }

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select {
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bl-mute);
}

.woocommerce .woocommerce-ordering select,
.woocommerce select,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce textarea,
.wc-block-components-text-input input {
  background: var(--bl-panel) !important;
  border: 1px solid var(--bl-line) !important;
  border-radius: 0 !important;
  color: var(--bl-ink) !important;
  padding: 12px 14px !important;
  font-family: var(--bl-mono);
  font-size: 12px;
}

.woocommerce .quantity .qty {
  background: var(--bl-panel);
  border: 1px solid var(--bl-line);
  color: var(--bl-ink);
  padding: 11px 8px;
  width: 76px;
  font-family: var(--bl-mono);
}

/* Single product */
.woocommerce div.product {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells,
.woocommerce div.product .bl-product-full {
  grid-column: 1 / -1;
}

.woocommerce div.product .product_title {
  font-family: var(--bl-display);
  font-size: clamp(28px, 4vw, 62px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--bl-mono);
  font-size: 20px;
  color: var(--bl-ink);
  margin-bottom: 20px;
}

.woocommerce div.product p.price del { color: var(--bl-faint); }
.woocommerce div.product p.price ins { color: var(--bl-accent); text-decoration: none; }

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--bl-dim);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.woocommerce div.product form.cart { margin-bottom: 28px; }
.woocommerce div.product form.cart .variations { margin-bottom: 18px; }

.woocommerce div.product form.cart .variations label {
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bl-mute);
  font-weight: 400;
}

.woocommerce div.product form.cart .variations td { padding: 8px 0; }
.woocommerce div.product form.cart .reset_variations { font-family: var(--bl-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--bl-mute); }

/* Spec table on product */
.bl-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 1px;
  background: var(--bl-line);
  border: 1px solid var(--bl-line);
  margin: 0 0 24px;
}

.bl-specs div {
  background: var(--bl-panel);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bl-specs dt,
.bl-specs .bl-specs__k {
  font-family: var(--bl-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bl-mute);
}

.bl-specs dd,
.bl-specs .bl-specs__v {
  margin: 0;
  font-family: var(--bl-mono);
  font-size: 13px;
  color: var(--bl-ink);
}

/* Product preview block */
.bl-preview {
  border: 1px solid var(--bl-line);
  background: var(--bl-panel);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.bl-preview__label {
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bl-mute);
}

/* Licence table */
.bl-licence {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 0;
  font-family: var(--bl-mono);
  font-size: 11px;
}

.bl-licence th,
.bl-licence td {
  border: 1px solid var(--bl-line);
  padding: 10px 12px;
  text-align: left;
  letter-spacing: 0.06em;
}

.bl-licence th { color: var(--bl-mute); text-transform: uppercase; font-size: 10px; letter-spacing: 0.14em; font-weight: 400; }

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--bl-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { content: none !important; border: 0 !important; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { content: none !important; border: 0 !important; box-shadow: none !important; }

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 20px 12px 0;
  margin-right: 24px;
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bl-mute) !important;
  font-weight: 400 !important;
  border-bottom: 1px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--bl-ink) !important; }

.woocommerce div.product .woocommerce-tabs .panel { color: var(--bl-dim); font-size: 14px; line-height: 1.7; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 18px; margin-bottom: 14px; }

/* Related */
.woocommerce .related > h2,
.woocommerce .upsells > h2,
.woocommerce .cross-sells > h2 {
  font-size: clamp(20px, 2.4vw, 34px);
  margin: 0 0 26px;
  padding-top: 40px;
  border-top: 1px solid var(--bl-hair);
}

/* Cart + checkout tables */
.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  border-color: var(--bl-line) !important;
  border-radius: 0 !important;
  color: var(--bl-ink);
}

.woocommerce table.shop_table { border-collapse: collapse !important; font-family: var(--bl-mono); font-size: 12px; }
.woocommerce table.shop_table th { font-family: var(--bl-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bl-mute); font-weight: 400; }
.woocommerce table.shop_table td { padding: 16px 12px; }
.woocommerce-cart table.cart img { width: 62px; }

.woocommerce .cart-collaterals h2,
.woocommerce-checkout h3 {
  font-size: clamp(17px, 2vw, 26px);
  margin: 0 0 18px;
}

.woocommerce-checkout .col2-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { width: auto !important; float: none !important; }

.woocommerce form .form-row label { font-family: var(--bl-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bl-mute); }
.woocommerce form .form-row { padding: 0 0 16px; }

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background: var(--bl-panel) !important;
  border: 1px solid var(--bl-line);
  border-radius: 0 !important;
}

.woocommerce-checkout #payment div.payment_box {
  background: var(--bl-panel-2) !important;
  color: var(--bl-dim);
  border-radius: 0 !important;
  font-size: 13px;
}

.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--bl-panel-2) !important; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--bl-line) !important; }
.woocommerce-checkout #payment ul.payment_methods li { font-family: var(--bl-mono); font-size: 12px; }

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  background: var(--bl-panel) !important;
  border-top: 2px solid var(--bl-accent) !important;
  color: var(--bl-ink) !important;
  border-radius: 0 !important;
  font-family: var(--bl-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 16px 16px 16px 46px !important;
}

.woocommerce-error { border-top-color: #ff5f57 !important; }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--bl-accent) !important; }
.woocommerce-error::before { color: #ff5f57 !important; }

/* Downloads (My account) */
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--bl-hair); }
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 0;
  font-family: var(--bl-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bl-mute);
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover { color: var(--bl-ink); }

.woocommerce-account .woocommerce-MyAccount-navigation { width: 24% !important; }
.woocommerce-account .woocommerce-MyAccount-content { width: 70% !important; }

@media (max-width: 720px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content { width: 100% !important; float: none !important; }
}

/* --------------------------------------------------------------------------
   Block-based cart & checkout (WooCommerce 8+ default)
   -------------------------------------------------------------------------- */

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.wc-block-components-form,
.wc-block-components-main { color: var(--bl-ink); }

/* Headings */
.wc-block-components-title,
.wp-block-woocommerce-cart h1,
.wp-block-woocommerce-cart h2,
.wp-block-woocommerce-checkout h1,
.wp-block-woocommerce-checkout h2,
.wc-block-components-checkout-step__title,
.wc-block-components-order-summary__button-text {
  font-family: var(--bl-display) !important;
  text-transform: uppercase;
  letter-spacing: -0.03em !important;
  color: var(--bl-ink) !important;
  font-weight: 400 !important;
}

.wc-block-components-checkout-step__description,
.wc-block-components-checkout-step__heading-content {
  color: var(--bl-dim) !important;
  font-size: 13px;
}

/* Mono meta */
.wc-block-components-product-name,
.wc-block-components-product-metadata,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-totals-item__description,
.wc-block-components-product-price,
.wc-block-components-order-summary-item__quantity {
  font-family: var(--bl-mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.03em;
}

.wc-block-components-product-name { text-transform: uppercase; color: var(--bl-ink) !important; }
.wc-block-components-product-metadata { color: var(--bl-mute) !important; }

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 18px !important;
  color: var(--bl-ink) !important;
}

/* Borders and panels */
.wc-block-components-panel,
.wc-block-cart-items,
.wc-block-cart-items__row,
.wc-block-components-totals-wrapper,
.wc-block-components-sidebar,
.wc-block-components-order-summary,
.wc-block-components-checkout-step,
.wc-block-components-radio-control-accordion-option,
.wc-block-components-shipping-rates-control,
.wc-block-components-address-card {
  border-color: var(--bl-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.wc-block-components-sidebar-layout .wc-block-components-sidebar {
  background: var(--bl-panel) !important;
  padding: clamp(16px, 2vw, 26px) !important;
  border: 1px solid var(--bl-line) !important;
}

/* Form fields */
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-select__select,
.wc-block-components-combobox-control input,
.wc-block-components-form input[type="text"],
.wc-block-components-form input[type="email"],
.wc-block-components-form input[type="tel"] {
  background: var(--bl-panel) !important;
  border: 1px solid var(--bl-line) !important;
  border-radius: 0 !important;
  color: var(--bl-ink) !important;
  font-family: var(--bl-mono) !important;
  font-size: 12px !important;
  box-shadow: none !important;
}

.wc-block-components-text-input label,
.wc-block-components-checkbox__label,
.wc-block-components-radio-control__label,
.wc-block-components-select__label {
  color: var(--bl-mute) !important;
  font-family: var(--bl-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.06em;
}

.wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:focus + label { color: var(--bl-accent) !important; }

.wc-block-components-text-input input:focus,
.wc-block-components-select__select:focus {
  outline: 2px solid var(--bl-accent) !important;
  outline-offset: 1px;
}

/* Buttons */
.wc-block-components-button:not(.is-link) {
  background: var(--bl-accent) !important;
  border: 1px solid var(--bl-accent) !important;
  border-radius: 0 !important;
  color: var(--bl-accent-ink) !important;
  font-family: var(--bl-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  font-weight: 400 !important;
  padding: 14px 24px !important;
}

.wc-block-components-button:not(.is-link):hover {
  background: var(--bl-ink) !important;
  border-color: var(--bl-ink) !important;
  color: var(--bl-bg) !important;
}

.wc-block-components-button.is-link,
.wc-block-cart__submit-container a,
.wc-block-components-checkout-return-to-cart-button {
  color: var(--bl-mute) !important;
  font-family: var(--bl-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em;
}

/* Quantity + remove */
.wc-block-components-quantity-selector {
  border: 1px solid var(--bl-line) !important;
  border-radius: 0 !important;
  background: var(--bl-panel);
}

.wc-block-components-quantity-selector__input,
.wc-block-components-quantity-selector__button {
  color: var(--bl-ink) !important;
  background: transparent !important;
  font-family: var(--bl-mono) !important;
}

.wc-block-cart-item__remove-link {
  color: var(--bl-mute) !important;
  font-family: var(--bl-mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wc-block-cart-item__remove-link:hover { color: #ff5f57 !important; }

/* Notices inside blocks */
.wc-block-components-notice-banner {
  background: var(--bl-panel) !important;
  border-radius: 0 !important;
  border-top: 2px solid var(--bl-accent) !important;
  color: var(--bl-ink) !important;
  font-family: var(--bl-mono);
  font-size: 12px;
}

.wc-block-components-notice-banner.is-error { border-top-color: #ff5f57 !important; }

/* Product thumbs in the cart */
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
  border: 1px solid var(--bl-line);
  border-radius: 0;
}

/* Radio / payment method rows */
.wc-block-components-radio-control__option {
  font-family: var(--bl-mono);
  font-size: 12px;
}

.wc-block-components-radio-control__option-checked-when-focused,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  background: rgba(159, 180, 232, 0.08) !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li { border-color: var(--bl-line) !important; }

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  font-family: var(--bl-mono);
  font-size: 11px;
  color: var(--bl-mute) !important;
  padding: 10px 14px;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--bl-accent) !important;
  color: var(--bl-accent-ink) !important;
}

/* ==========================================================================
   14. GENERIC PAGES / POSTS
   ========================================================================== */

.bl-page {
  padding: clamp(120px, 18vh, 190px) var(--bl-pad-x) var(--bl-pad-y);
  max-width: 1400px;
  margin: 0 auto;
}

.bl-page--narrow { max-width: 760px; }

.bl-entry { color: var(--bl-dim); font-size: 15px; line-height: 1.75; }
.bl-entry h1, .bl-entry h2, .bl-entry h3 { color: var(--bl-ink); margin: 1.6em 0 0.6em; }
.bl-entry h1:first-child, .bl-entry h2:first-child { margin-top: 0; }
.bl-entry h2 { font-size: clamp(22px, 3vw, 40px); }
.bl-entry h3 { font-size: clamp(17px, 2vw, 24px); }
.bl-entry a { color: var(--bl-accent); text-decoration: underline; text-underline-offset: 3px; }
.bl-entry ul, .bl-entry ol { padding-left: 1.2em; }
.bl-entry li { margin-bottom: 0.4em; }
.bl-entry blockquote { border-left: 2px solid var(--bl-accent); margin: 1.6em 0; padding-left: 20px; color: var(--bl-ink); }
.bl-entry code { font-family: var(--bl-mono); font-size: 0.9em; background: var(--bl-panel); padding: 2px 6px; }
.bl-entry img { margin: 1.4em 0; }

.bl-title {
  font-size: clamp(30px, 5vw, 80px);
  margin-bottom: clamp(24px, 4vh, 48px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--bl-line);
}

.bl-404 { text-align: left; }
.bl-404__code { font-family: var(--bl-display); font-size: clamp(70px, 20vw, 260px); line-height: 0.82; letter-spacing: -0.05em; }

/* ==========================================================================
   15. MOTION PREFERENCES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .bl-boot { display: none; }
}

/* ==========================================================================
   16. ADMIN BAR OFFSET
   ========================================================================== */

.admin-bar .bl-header { top: 32px; }

@media screen and (max-width: 782px) {
  .admin-bar .bl-header { top: 46px; }
}
