:root {
  --wm-cut:  #f5f5f2;
  --wm-band: rgba(26, 0, 0, 0.42);
  --color-canvas-mist:   #f5f5f2;
  --color-pure-white:    #ffffff;
  --color-ink-black:     #1a0000;
  --color-faint-border:  #efe6ce;
  --color-muted-gray:    #6b6155;
  --color-cool-stone:    #c9bebb;
  --color-warm-fog:      #b9afa6;
  --color-shop-violet:   #58287f;
  --color-violet-wash:   #c4a9de;
  --color-slate-ink:     #3b2e2c;
  --color-ash-veil:      #6b6155;

  --text-caption: 11px;   --leading-caption: 1.33;
  --text-body-sm: 12px;   --leading-body-sm: 1.33;
  --text-body:    14px;   --leading-body:    1.33;
  --text-body-lg: 16px;   --leading-body-lg: 1.33;
  --text-subheading: 16px;
  --text-heading: 20px;   --tracking-heading: -0.05em;
  --text-wordmark: clamp(38px, 7.1vw, 82px);
  --tracking-body-lg: -0.031em;
  --tracking-body:    -0.014em;
  --tracking-caption: -0.017em;

  --s4: 4px;   --s6: 6px;   --s8: 8px;   --s10: 10px;  --s11: 11px;
  --s12: 12px; --s16: 16px; --s20: 20px; --s24: 24px;  --s32: 32px;
  --s38: 38px; --s40: 40px; --s48: 48px; --s64: 64px;

  --page-max: 1200px;
  --section-gap: 64px;
  --element-gap: 12px;

  --radius-cards: 28px;
  --radius-chips: 9999px;
  --radius-pills: 20px;
  --radius-inputs: 9999px;
  --radius-inner: 20px;
  --radius-tile: 12px;

  --shadow-sm:    rgba(26, 0, 0, 0.07) 0px 2px 8px 0px;
  --shadow-sm-2:  rgba(26, 0, 0, 0.1) 0px 4px 6px -1px, rgba(26, 0, 0, 0.08) 0px 2px 4px -2px;
  --shadow-lg:    rgba(26, 0, 0, 0.16) 0px 4px 24px 0px;
  --shadow-lg-2:  rgba(88, 40, 127, 0.32) 0px 4px 24px 0px;

  --surface-canvas: #f5f5f2;
  --surface-card:   #ffffff;
  --surface-plate:  #f5edce;
  --hairline:       rgba(26, 0, 0, 0.12);
  --ink:            #1a0000;
  --ink-2:          #3b2e2c;
  --muted:          #6b6155;
  --muted-canvas:   #6b6155;
  --action:         #58287f;
  --accent-2:             #89c4e1;
  --action-ink:     #ffffff;
  --violet-text:    #58287f;

  --font-display: "Bricolage Grotesque", "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur: 220ms;
}

[data-theme="night"] {
  --wm-cut:  #1a0000;
  --wm-band: rgba(245, 237, 206, 0.24);
  --surface-canvas: #1a0000;
  --surface-card:   #2a1e2a;
  --surface-plate:  #2e2233;
  --hairline:       rgba(245, 237, 206, 0.16);
  --ink:            #f5edce;
  --ink-2:          #efe6d4;
  --muted:          #bdaf9e;
  --muted-canvas:   #bdaf9e;
  --violet-text:    #c9a9e4;
  --shadow-sm:      rgba(0, 0, 0, 0.5) 0px 2px 8px 0px;
  --shadow-sm-2:    rgba(0, 0, 0, 0.55) 0px 4px 6px -1px, rgba(0, 0, 0, 0.4) 0px 2px 4px -2px;
  --shadow-lg:      rgba(0, 0, 0, 0.62) 0px 4px 24px 0px;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--surface-canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: 1.5;
  letter-spacing: var(--tracking-body-lg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

::selection { background: var(--color-violet-wash); color: var(--color-slate-ink); }

:focus-visible {
  outline: 2px solid var(--violet-text);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] { scroll-margin-top: 88px; }

.b-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.b-h2 {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  line-height: 1.15;
  letter-spacing: var(--tracking-heading);
  font-weight: 600;
}
.b-lede { font-size: var(--text-body-lg); line-height: 1.45; color: var(--ink-2); max-width: 46ch; }
.b-body { font-size: var(--text-body-lg); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.b-body + .b-body { margin-top: var(--s12); }
.b-eyebrow {
  font-size: var(--text-body-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-canvas);
  margin-bottom: var(--s8);
}
.b-eyebrow--light { color: rgba(255, 255, 255, 0.7); }
.b-count { font-size: var(--text-body-sm); color: var(--muted-canvas); }
.b-link { color: var(--violet-text); text-decoration: underline; text-underline-offset: 3px; }
.b-list { margin-top: var(--s16); display: grid; gap: var(--s8); }
.b-list li {
  font-size: var(--text-body);
  color: var(--ink-2);
  padding-left: var(--s20);
  position: relative;
}
.b-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 7px; height: 7px;
  border: 1.5px solid var(--color-warm-fog);
  border-radius: 50%;
}

.b-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--action); color: var(--action-ink);
  padding: 10px 16px; border-radius: var(--radius-chips);
  font-size: var(--text-body);
}
.b-skip:focus { left: 12px; top: 12px; }

.b-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 64px;
  background: var(--surface-card);
  border-right: 1px solid var(--hairline);
  box-shadow: 8px 0 18px -16px rgba(26, 0, 0, 0.38);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  padding: var(--s16) 0 var(--s20);
  z-index: 60;
}
.b-rail__item {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--radius-inner);
  color: var(--ink);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  position: relative;
}
.b-rail__item svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.b-rail__item:hover { background: var(--surface-canvas); transform: translateY(-1px); }
.b-rail__item::after {
  content: attr(data-label);
  position: absolute; left: 56px; top: 50%;
  transform: translateY(-50%) translateX(-4px);
  background: var(--color-ink-black); color: #ffffff;
  border-radius: var(--radius-chips);
  padding: 6px 12px;
  font-size: var(--text-body-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 5;
}
.b-rail__item:hover::after, .b-rail__item:focus-visible::after { opacity: 1; transform: translateY(-50%); }
.b-rail__item.is-on { background: var(--surface-canvas); }
.b-rail__cart { margin-top: var(--s8); }
.b-rail__count {
  position: absolute; top: 6px; right: 6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--action); color: var(--action-ink);
  border-radius: var(--radius-chips);
  font-size: 10px; letter-spacing: 0;
}
.b-rail__foot { margin-top: auto; display: grid; gap: var(--s8); justify-items: center; }
.b-rail__face {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  font-size: var(--text-body-sm); color: var(--muted);
}

.b-cubemark {
  --cube: 34px;
  --f-face: #d9b686;
  --f-side: #c39b64;
  --f-top:  #eed9b0;
  display: inline-block;
  width: var(--cube);
  height: var(--cube);
  perspective: calc(var(--cube) * 6.5);
}
.b-cubemark__cube {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: b-cubespin 26s linear infinite;
}
.b-cubemark__face {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background-color: var(--f-face);
  box-shadow: inset 0 0 0 1px rgba(90, 70, 40, 0.22);
}
.b-cubemark__f1 { transform: translateZ(calc(var(--cube) / 2)); }
.b-cubemark__f2 { transform: rotateY(180deg) translateZ(calc(var(--cube) / 2)); background-color: var(--f-side); }
.b-cubemark__f3 { transform: rotateY(90deg) translateZ(calc(var(--cube) / 2)); background-color: var(--f-side); }
.b-cubemark__f4 { transform: rotateY(-90deg) translateZ(calc(var(--cube) / 2)); background-color: var(--f-side); }
.b-cubemark__f5 { transform: rotateX(90deg) translateZ(calc(var(--cube) / 2)); background-color: var(--f-top); }
.b-cubemark__f6 { transform: rotateX(-90deg) translateZ(calc(var(--cube) / 2)); background-color: var(--f-side); }
.b-cubemark__tape {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 0;
  bottom: 0;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: inset 0 0 0 1px rgba(90, 70, 40, 0.12);
}
.b-cubemark__stamp {
  position: absolute;
  inset: 15% 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  padding: 0 3%;
  border: 1px solid rgba(90, 70, 40, 0.22);
  border-radius: 2px;
  background: rgba(250, 242, 226, 0.9);
  color: #6b5b45;
  font-size: calc(var(--cube) * 0.098);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase;
  word-spacing: -0.04em;
}
@keyframes b-cubespin {
  from { transform: rotateX(-16deg) rotateY(-34deg); }
  to { transform: rotateX(-16deg) rotateY(326deg); }
}
.b-rail__brand .b-cubemark { --cube: 34px; }

.b-cubemark--hero .b-cubemark__face { border-radius: 5px; }
.b-cubemark--hero .b-cubemark__stamp { inset: 16% 11%; border-radius: 3px; font-size: calc(var(--cube) * 0.1); letter-spacing: 0.03em; }
.b-cubemark--hero .b-cubemark__tape { left: 22%; right: 22%; }
.b-rail__brand:hover .b-cubemark { --cube: 34px; transform: scale(1.75); }
.b-rail__brand .b-cubemark { position: relative; z-index: 2; transition: transform 260ms var(--ease); }
.b-rail__brand:hover .b-cubemark__cube { animation-play-state: paused; }

.b-strip .b-burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 0;
  border-radius: var(--radius-pills);
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.b-strip .b-burger:active { transform: scale(0.9, 0.84); }
.b-strip .b-burger.is-squish { transform: scale(1.18, 0.8); }
.b-burger__bars { display: grid; gap: 4px; width: 20px; }
.b-burger__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 160ms var(--ease);
}
.b-burger.is-open .b-burger__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.b-burger.is-open .b-burger__bars span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.b-burger.is-open .b-burger__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.b-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 110;
  width: min(400px, 86vw);
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border-radius: 0 var(--radius-cards) var(--radius-cards) 0;
  box-shadow: var(--shadow-lg);
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform 360ms cubic-bezier(0.34, 1.42, 0.64, 1), visibility 0s linear 360ms;
}
.b-menu.is-open {
  transform: none;
  visibility: visible;
  transition: transform 360ms cubic-bezier(0.34, 1.42, 0.64, 1), visibility 0s linear 0s;
}
.b-menu__head {
  display: grid;
  gap: var(--s8);
  justify-items: center;
  text-align: center;
  padding: var(--s24) var(--s20) var(--s20);
  border-bottom: 1px solid var(--hairline);
}
.b-menu__head .b-cubemark { --cube: 94px; position: relative; z-index: 0; margin-bottom: var(--s8); justify-self: center; }
.b-menu__brand, .b-menu__sub { position: relative; z-index: 1; }
.b-menu__brand { font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: var(--tracking-heading); }
.b-menu__brand { --wm-sub: #4a5568; }
.b-menu__brand .b-wordmark__svg { display: block; width: 100%; max-width: 282px; height: auto; margin: 0 auto; }
.b-menu__sub { font-size: var(--text-body-sm); color: var(--muted); }
.b-menu__links { display: grid; overflow-y: auto; }
.b-menu__links a {
  display: flex;
  align-items: center;
  gap: var(--s12);
  min-height: 52px;
  padding: var(--s12) var(--s20);
  border-bottom: 1px solid var(--hairline);
  font-size: var(--text-body-lg);
}
.b-menu__links a:hover { background: var(--surface-canvas); }
.b-menu__links svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.b-menu__links a.is-on { background: var(--surface-canvas); font-weight: 600; }
.b-menu__status {
  display: grid;
  gap: var(--s6);
  margin: var(--s16) var(--s20) 0;
  padding: var(--s16);
  background: var(--surface-canvas);
  border-radius: var(--radius-inner);
}
.b-menu__status-clock { font-size: var(--text-body); font-variant-numeric: tabular-nums; color: var(--violet-text); }
.b-menu__status-note { font-size: var(--text-caption); color: var(--muted); }
.b-menu__foot { margin-top: auto; padding: var(--s16) var(--s20) var(--s32); border-top: 1px solid var(--hairline); display: grid; gap: var(--s12); }
.b-menu__shift {
  display: inline-flex;
  align-items: center;
  gap: var(--s10);
  align-self: start;
  min-height: 44px;
  padding: 0 var(--s16);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-chips);
  font-size: var(--text-body);
}
.b-menu__shift svg, .b-shiftbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="day"] .b-ico--moon, [data-theme="night"] .b-ico--sun { display: none; }
.b-menu__addr { font-size: var(--text-caption); color: var(--muted); }

.b-shell { position: relative; z-index: 1; }

.b-bar {
  position: fixed; bottom: 0; left: 0; z-index: 70;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s8);
  min-height: 44px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-bottom: 0;
  border-radius: var(--radius-pills) var(--radius-pills) 0 0;
  padding: 12px 18px;
  font-size: var(--text-body-sm);
  box-shadow: var(--shadow-lg);
  transform: translateY(130%);
  transition: transform 260ms var(--ease);
}
.b-bar.is-shown { transform: none; }
.b-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.b-bar--right { left: auto; right: 0; }
.b-bar--clock {
  left: 0;
  right: 0;
  margin-inline: auto;
  width: fit-content;
  background: var(--action);
  color: var(--action-ink);
  border-color: var(--action);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.b-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s8) var(--s24);
  padding: 14px var(--s24);
  background: var(--color-ink-black);
  color: #ffffff;
  font-size: var(--text-body-sm);
  border-radius: 1px;
}
[data-theme="night"] .b-strip { background: #241410; }
.b-strip__line { letter-spacing: var(--tracking-body-sm); }
.b-strip .b-burger__bars span { background: var(--color-ink-black); }
.b-strip__clock {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--action); color: var(--action-ink);
  padding: 3px 12px;
  border-radius: var(--radius-chips);
}
.b-strip__where { margin-left: auto; color: rgba(255, 255, 255, 0.72); }

.b-hero {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--s48) var(--s24) var(--s40);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--s40);
  align-items: center;
}
.b-hero__stage {
  position: relative;
  order: 2;
  display: grid;
  place-items: center;
  min-height: 360px;
  --f-top: #edd7b1; --f-side: #d5af7b; --f-end: #b7915c; --f-tape: #fdf7e7;
}
.b-cubemark--hero {
  --cube: 200px;
  filter: drop-shadow(0 26px 26px rgba(26, 0, 0, 0.14));
}
.b-cubemark--hero .b-cubemark__face { border-radius: 6px; }
.b-cubemark--hero .b-cubemark__stamp { inset: 15% 10%; border-radius: 4px; font-size: calc(var(--cube) * 0.098); letter-spacing: 0.03em; }
.b-cubemark--hero .b-cubemark__tape { left: 24%; right: 24%; }
.b-hero__ground {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 62%;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(26, 0, 0, 0.14), rgba(43, 32, 20, 0) 70%);
  z-index: -1;
}

.b-hero__grade {
  position: absolute;
  right: 6%;
  top: 12%;
  padding: 5px 12px;
  border: 1px solid rgba(26, 0, 0, 0.22);
  border-radius: 4px;
  background: var(--surface-plate);
  color: var(--ink);
  font-size: var(--text-body-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  box-shadow: 0 1px 2px rgba(26, 0, 0, 0.13);
}
.b-dim { color: var(--muted-canvas); font-size: 12px; font-family: var(--font-body); letter-spacing: 0.02em; }

.b-chip {
  position: absolute;
  display: grid; gap: 2px;
  background: var(--surface-card);
  border-radius: var(--radius-tile);
  padding: 10px 14px;
  font-size: var(--text-body-sm);
  color: var(--ink-2);
  box-shadow: var(--shadow-sm-2);
  z-index: 3;
}
.b-chip b { font-weight: 600; }
.b-chip__sub { color: var(--muted); font-size: var(--text-caption); letter-spacing: var(--tracking-caption); }
.b-chip__dot {
  position: absolute; left: -5px; top: -5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-shop-violet);
  box-shadow: 0 0 0 4px rgba(88, 40, 127, 0.16);
}
.b-chip__dot--go { background: var(--action); box-shadow: 0 0 0 4px rgba(87, 82, 180, 0.18); }
.b-chip--a { left: -4px; top: 6%; }
.b-chip--b { right: -4px; bottom: 12%; }
.b-chip--float { animation: b-float 6s var(--ease) infinite alternate; }
.b-chip--b { animation-duration: 7.5s; animation-delay: -2s; }
.b-chip--float:hover { animation-play-state: paused; }

@keyframes b-float { from { transform: translateY(0) rotate(-0.6deg); } to { transform: translateY(-9px) rotate(0.6deg); } }

.b-wordmark { margin-bottom: var(--s20); }
.b-wordmark__svg { display: block; width: min(100%, 620px); height: auto; }
.b-wordmark__ink { fill: var(--ink); }
.b-wordmark__sub { fill: var(--wm-sub, var(--muted-canvas)); }
.b-wordmark__dot { fill: var(--accent-2); }
.b-wordmark__band { fill: var(--wm-band); }
.b-wordmark__cut { fill: var(--wm-cut); }
.b-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.b-wordmark__line { display: block; }
.b-wordmark__line--amp { color: var(--muted-canvas); }
.b-wordmark__dot { color: var(--color-shop-violet); }

.b-hero__lede { font-size: var(--text-body-lg); line-height: 1.5; color: var(--ink-2); max-width: 44ch; margin-bottom: var(--s24); }

.b-search {
  position: relative;
  display: flex; align-items: center;
  background: var(--surface-card);
  border: 1px solid rgba(5, 41, 77, 0.1);
  border-radius: var(--radius-inputs);
  padding: 4px 4px 4px var(--s20);
  box-shadow: var(--shadow-sm);
  max-width: 520px;
}
[data-theme="night"] .b-search { border-color: var(--hairline); }
.b-search__label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.b-search__input {
  flex: 1; min-width: 0;
  border: 0; background: none;
  font-size: var(--text-body-lg);
  letter-spacing: var(--tracking-body-lg);
  padding: 12px 0;
}
.b-search__input::placeholder { color: var(--muted); }
.b-search__input:focus { outline: none; }
.b-search:focus-within { box-shadow: var(--shadow-lg); }
.b-search__go {
  flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--action); color: var(--action-ink);
  box-shadow: var(--shadow-lg-2);
  transition: transform var(--dur) var(--ease);
}
.b-search__go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.b-search__go:hover { transform: scale(1.06); }
.b-search__go:active { transform: scale(0.96); }

.b-try {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s8);
  margin-top: var(--s12);
  max-width: 520px;
  font-size: var(--text-body-sm);
  color: var(--muted);
}
.b-try__label { margin-right: var(--s4); }
.b-try__chip {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-chips);
  padding: 4px 12px;
  color: var(--violet-text);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.b-try__chip:hover { border-color: var(--ink); transform: translateY(-1px); }

.b-reco {
  margin-top: var(--s16);
  max-width: 520px;
  background: var(--surface-card);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-sm-2);
  padding: var(--s20);
  animation: b-fade 240ms var(--ease);
}
.b-reco__top { display: flex; align-items: center; gap: var(--s16); }
.b-reco__shot {
  width: 92px; height: 78px; flex: none;
  border-radius: var(--radius-tile);
  background: var(--surface-plate);
  display: grid; place-items: center;
}
.b-reco__shot svg { width: 80%; height: auto; }
.b-reco__said { font-size: var(--text-body-sm); color: var(--muted); }
.b-reco__box { font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: var(--tracking-heading); }
.b-reco__box--freight { color: var(--action); }
.b-reco__spec { font-size: var(--text-body-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.b-reco__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: var(--s12);
  margin-top: var(--s16);
}
.b-reco__grid dt { font-size: var(--text-caption); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.b-reco__grid dd { margin: 2px 0 0; font-size: var(--text-body); font-variant-numeric: tabular-nums; }
.b-reco__tip {
  margin-top: var(--s16);
  padding-top: var(--s12);
  border-top: 1px solid var(--hairline);
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--ink-2);
}
.b-reco__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s16); margin-top: var(--s16); }
.b-reco__note { margin-top: var(--s12); font-size: var(--text-caption); color: var(--muted); }

.b-pills { display: flex; flex-wrap: wrap; gap: var(--s8); margin-top: var(--s16); }
.b-pill {
  display: inline-flex; align-items: center; gap: var(--s8);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-chips);
  padding: 6px 16px 6px 6px;
  font-size: var(--text-body-lg);
  letter-spacing: var(--tracking-body-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.b-pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm-2); }
.b-pill.is-on { border-color: var(--ink); }
.b-pill__dot { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.b-pill__dot--kraft { background: linear-gradient(140deg, #e9cfa8, #c79c63); }
.b-pill__dot--terra { background: linear-gradient(140deg, #e8af93, #b8573c); }
.b-pill__dot--sage  { background: linear-gradient(140deg, #d7dfcb, #8f9d80); }
.b-pill__dot--slate { background: linear-gradient(140deg, #6e635b, #372f2b); }
.b-pill__dot--ash   { background: linear-gradient(140deg, #d5cfc7, #8e8680); }

.b-facts {
  display: grid; gap: var(--s8);
  margin-top: var(--s24);
  border-top: 1px solid var(--hairline);
  padding-top: var(--s16);
}
.b-facts > div { display: flex; gap: var(--s12); align-items: baseline; }
.b-facts dt {
  font-size: var(--text-caption); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-canvas); min-width: 74px; flex: none;
}
.b-facts dd { margin: 0; font-size: var(--text-body); color: var(--ink-2); }

.b-ticker {
  display: flex; align-items: stretch;
  background: var(--surface-card);
  border-bottom: 1px solid var(--hairline);
  padding-right: var(--s24);
  overflow: hidden;
}
.b-ticker__tag-mini { display: none; }
.b-ticker__tag {
  flex: none;
  display: inline-flex; align-items: center; gap: var(--s8);
  padding: 0 var(--s20);
  border-right: 1px solid var(--hairline);
  font-size: var(--text-body-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.b-ticker__live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  animation: b-pulse 2.4s var(--ease) infinite;
}
@keyframes b-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(137, 196, 225, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(137, 196, 225, 0); }
}
.b-ticker__view {
  flex: 1; overflow: hidden;
  mask-image: linear-gradient(90deg, #000 0, #000 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 84%, transparent 100%);
}
.b-ticker__row {
  display: flex; gap: var(--s48);
  padding: 11px 0;
  width: max-content;
  animation: b-marquee 52s linear infinite;
}
.b-ticker__item { font-size: var(--text-body); color: var(--ink-2); white-space: nowrap; }
.b-ticker__item b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@keyframes b-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.b-band {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--section-gap) var(--s24);
}
.b-band + .b-band { padding-top: 0; }
.b-band__head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: var(--s12) var(--s24);
  margin-bottom: var(--s12);
}
.b-band__head .b-count { margin-left: auto; }
.b-band__sub { font-size: var(--text-body-lg); color: var(--ink-2); max-width: 50ch; margin-bottom: var(--s32); }
.b-empty { font-size: var(--text-body-lg); color: var(--ink-2); margin-bottom: var(--s24); }

.b-group + .b-group { margin-top: var(--s48); }
.b-group__head {
  display: flex; align-items: baseline; gap: var(--s12);
  font-family: var(--font-display);
  font-size: var(--text-heading);
  letter-spacing: var(--tracking-heading);
  font-weight: 600;
  margin-bottom: var(--s20);
}
.b-group__meta {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  letter-spacing: var(--tracking-body-sm);
  color: var(--muted-canvas);
  text-transform: none;
}

.b-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--element-gap);
}

.b-card {
  display: flex; flex-direction: column;
  background: var(--surface-card);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-sm-2);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.b-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.b-card[data-adding] { animation: b-pop 420ms var(--ease); }
@keyframes b-pop { 0% { transform: scale(1); } 45% { transform: scale(0.985); } 100% { transform: scale(1); } }

.b-card--feature { grid-column: span 2; }
.b-card--feature .b-shot { aspect-ratio: 16 / 10; }
.b-card--feature .b-shot svg { width: 74%; }
.b-card--feature .b-card__name { font-size: var(--text-heading); letter-spacing: var(--tracking-heading); }
.b-card--feature .b-card__note { font-size: var(--text-body); max-width: 48ch; }
.b-card__flag { display: none; }
.b-card--feature .b-card__flag {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-2);
  border: 1px solid rgba(26, 0, 0, 0.22);
  border-radius: 3px;
  padding: 3px 9px;
  font-size: var(--text-caption);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--s6);
}

.b-shot {
  position: relative;
  margin: var(--s8);
  border-radius: var(--radius-inner);
  background: var(--surface-plate);
  aspect-ratio: 5 / 4;
  display: grid; place-items: center;
  overflow: hidden;
}
.b-shot svg { width: 88%; height: auto; display: block; transition: transform 320ms var(--ease); }
.b-card:hover .b-shot svg { transform: scale(1.035) translateY(-2px); }
.b-shot__dim {
  position: absolute; left: var(--s12); bottom: var(--s24);
  background: var(--surface-plate);
  border: 1px solid rgba(26, 0, 0, 0.22);
  border-radius: 3px;
  padding: 3px 9px;
  font-size: var(--text-caption);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transform: rotate(-2.5deg);
  box-shadow: 0 1px 2px rgba(26, 0, 0, 0.13);
}
.b-shot::before {
  content: "\2191 THIS SIDE UP";
  position: absolute; right: 14px; top: var(--s10);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(0, 0, 0, 0.38);
}
.b-shot::after {
  content: "";
  position: absolute; left: var(--s12); right: var(--s12); bottom: 8px;
  height: 9px;
  background-image:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 11px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22));
  background-size: auto, 100% 1px;
  background-position: left bottom, left bottom;
  background-repeat: repeat-x, no-repeat;
  mask-image: linear-gradient(90deg, transparent 0, #000 9px, #000 calc(100% - 9px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9px, #000 calc(100% - 9px), transparent 100%);
}

.tone-kraft { --f-top: #ebd3ac; --f-side: #d2ac77; --f-end: #b48d58; --f-tape: #fcf5e6; }
.tone-ivory { --f-top: #f4eadb; --f-side: #dfcdb0; --f-end: #c7b294; --f-tape: #fffdfa; }
.tone-terra { --f-top: #eab294; --f-side: #cd7a5e; --f-end: #ac5b44; --f-tape: #fdf1ea; }
.tone-sage  { --f-top: #d9e1cd; --f-side: #b2bea3; --f-end: #94a286; --f-tape: #f9fcf4; }
.tone-slate { --f-top: #6e635b; --f-side: #4c433d; --f-end: #372f2b; --f-tape: #c0ada0; }
.tone-ash   { --f-top: #cdc7c0; --f-side: #ada69e; --f-end: #8e8680; --f-tape: #f8f5f2; }

.b-card__body { display: flex; flex-direction: column; gap: var(--s6); padding: var(--s4) var(--s20) var(--s20); flex: 1; }
.b-card__name { font-size: var(--text-body); font-weight: 600; letter-spacing: -0.02em; }
.b-card__spec { font-size: var(--text-caption); letter-spacing: var(--tracking-caption); color: var(--muted); font-variant-numeric: tabular-nums; }
.b-card__note { font-size: var(--text-body-sm); line-height: 1.5; color: var(--ink-2); margin-top: var(--s4); }
.b-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s12); margin-top: auto; padding-top: var(--s16); }
.b-price { font-family: var(--font-display); font-size: var(--text-heading); letter-spacing: var(--tracking-heading); font-weight: 600; font-variant-numeric: tabular-nums; }
.b-add {
  border: 1px solid rgba(26, 0, 0, 0.3);
  border-radius: var(--radius-chips);
  padding: 8px 18px;
  font-size: var(--text-body-sm);
  letter-spacing: var(--tracking-body-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.b-add:hover { background: var(--action); border-color: var(--action); color: var(--action-ink); transform: translateY(-1px); }
.b-add:active { transform: scale(0.96); }

.b-math {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "copy tool" "copy result";
  gap: var(--s24) var(--s40);
  align-items: start;
}
.b-math__copy { grid-area: copy; }
.b-tool { grid-area: tool; }
.b-result { grid-area: result; }
.b-tool {
  background: var(--surface-card);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-sm-2);
  padding: var(--s24);
  display: grid; gap: var(--s16);
}
.b-tool__title { font-family: var(--font-display); font-size: var(--text-subheading); font-weight: 600; letter-spacing: -0.03em; }
.b-tool__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s12); }
.b-field { display: grid; gap: var(--s6); position: relative; }
.b-field label { font-size: var(--text-caption); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.b-field input, .b-field select {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-inputs);
  background: var(--surface-card);
  padding: 12px 40px 12px var(--s16);
  font-size: var(--text-body-lg);
  font-variant-numeric: tabular-nums;
  width: 100%;
}
.b-field select { padding-right: var(--s16); }
.b-field--wide { grid-column: 1 / -1; }
.b-field__unit { position: absolute; right: var(--s16); bottom: 14px; font-size: var(--text-body-sm); color: var(--muted); pointer-events: none; }
.b-field input:focus, .b-field select:focus { outline: none; border-color: var(--violet-text); box-shadow: 0 0 0 3px rgba(88, 40, 127, 0.16); }
.b-tool__hint { font-size: var(--text-caption); color: var(--muted); }

.b-const {
  margin-top: var(--s24);
  background: var(--surface-card);
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-sm);
  padding: var(--s20);
}
.b-const__title { font-size: var(--text-caption); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s12); }
.b-const dl { display: grid; gap: var(--s12); }
.b-const dl > div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--s12); align-items: baseline; }
.b-const dt { font-family: var(--font-display); font-size: var(--text-body-lg); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.b-const dd { margin: 0; font-size: var(--text-body); line-height: 1.5; color: var(--ink-2); }

.b-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s8);
  background: var(--action); color: var(--action-ink);
  border-radius: var(--radius-chips);
  padding: 14px 26px;
  font-size: var(--text-body-lg);
  letter-spacing: var(--tracking-body-lg);
  box-shadow: var(--shadow-lg-2);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.b-cta:hover { transform: translateY(-2px); box-shadow: rgba(88, 40, 127, 0.36) 0px 6px 28px 0px; }
.b-cta:active { transform: scale(0.98); }
.b-cta--full { width: 100%; }

.b-result {
  background: var(--surface-card);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-sm-2);
  padding: var(--s24);
}
.b-result__eyebrow { font-size: var(--text-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.b-result__top { display: flex; align-items: center; gap: var(--s16); margin: var(--s12) 0 var(--s16); }
.b-result__shot { width: 104px; height: auto; flex: none; }
.b-result__box { font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: var(--tracking-heading); }
.b-result__spec { font-size: var(--text-body-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.b-meter { height: 8px; border-radius: var(--radius-chips); background: var(--surface-canvas); overflow: hidden; }
[data-theme="night"] .b-meter { background: #2a1e2a; }
.b-meter__bar { display: block; height: 100%; width: 0; border-radius: var(--radius-chips); background: linear-gradient(90deg, #a9a5e0, var(--action)); transition: width 480ms var(--ease); }
.b-result__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s16); margin: var(--s20) 0; }
.b-result__grid dt { font-size: var(--text-caption); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.b-result__grid dd { margin: 2px 0 0; font-size: var(--text-body); font-variant-numeric: tabular-nums; }
.b-result__verdict {
  font-size: var(--text-body-lg); line-height: 1.5; color: var(--ink-2);
  border-top: 1px solid var(--hairline);
  padding-top: var(--s16);
}
.b-result.is-stale .b-meter__bar { opacity: 0.5; }

.b-lab__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy flutes" "table table";
  gap: var(--s32) var(--s40);
  align-items: start;
}
.b-lab__col:first-child { grid-area: copy; align-self: stretch; display: flex; flex-direction: column; }
.b-lab__col:first-child .b-callout { margin-top: auto; }
.b-lab__col:nth-child(2) { grid-area: flutes; }
.b-table { grid-area: table; }
.b-callout {
  margin-top: var(--s24);
  padding: var(--s20);
  background: var(--surface-card);
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-sm);
}
.b-callout__title { font-size: var(--text-body); font-weight: 600; margin-bottom: var(--s8); }
.b-flutes {
  background: var(--surface-card);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-sm-2);
  padding: var(--s20);
}
.b-flutes__cap { font-size: var(--text-caption); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s8); }
.b-flutes svg { width: 100%; height: auto; }
.b-flute path { fill: none; stroke: var(--color-ash-veil); stroke-width: 2; stroke-linecap: round; }
.b-flute .b-flute__liner { stroke: var(--color-warm-fog); stroke-width: 2; }
.b-flute text { fill: #6b6155; font-family: var(--font-body); font-size: 12px; letter-spacing: var(--tracking-caption); }

.b-table {
  margin-top: var(--s20);
  background: var(--surface-card);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-sm-2);
  overflow: hidden;
  font-size: var(--text-body);
}
.b-table__note { margin-top: var(--s12); font-size: var(--text-body-sm); color: var(--muted); max-width: 62ch; }
.b-table caption { text-align: left; font-size: var(--text-caption); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: var(--s16) var(--s20) 0; }
.b-table th, .b-table td { text-align: left; padding: var(--s12) var(--s20); border-bottom: 1px solid var(--hairline); }
.b-table thead th { font-size: var(--text-caption); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.b-table tbody th { font-weight: 600; }
.b-table tbody tr:last-child th, .b-table tbody tr:last-child td { border-bottom: 0; }

.b-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s16); }
.b-track__stop { position: relative; padding-top: var(--s48); }
.b-track__stop::before {
  content: ""; position: absolute; left: 0; top: 18px; right: 0;
  height: 1px; background: var(--hairline);
}
.b-track__ico {
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
}
.b-track__ico svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.b-track__stop--wall .b-track__ico {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-ink);
  box-shadow: 0 0 0 4px rgba(88, 40, 127, 0.16);
}
.b-track__stop:last-child::before { right: calc(100% - 18px); }
.b-track__time { display: block; font-size: var(--text-body); font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: var(--s4); }
.b-track__what { font-size: var(--text-body); line-height: 1.45; color: var(--ink-2); }
.b-track__what b { display: block; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 2px; }
.b-track__note { margin-top: var(--s24); font-size: var(--text-body); color: var(--muted-canvas); }

.b-zones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--element-gap); margin-top: var(--s40); }
.b-zone {
  background: var(--surface-card);
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-sm-2);
  padding: var(--s20);
}
.b-zone--freight { background: var(--color-ink-black); color: #ffffff; }
[data-theme="night"] .b-zone--freight { background: #241410; }
.b-zone__name { font-size: var(--text-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.b-zone--freight .b-zone__name { color: rgba(255, 255, 255, 0.66); }
.b-zone__price { font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: var(--tracking-heading); margin: var(--s6) 0 var(--s8); font-variant-numeric: tabular-nums; }
.b-zone__where { font-size: var(--text-body-sm); line-height: 1.5; color: var(--ink-2); }
.b-zone--freight .b-zone__where { color: rgba(255, 255, 255, 0.86); }
.b-zone__tag {
  display: inline-block;
  margin-top: var(--s12);
  padding: 4px 11px;
  border-radius: var(--radius-chips);
  background: var(--surface-canvas);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-caption);
  color: var(--ink-2);
}
.b-zone--freight .b-zone__tag { background: rgba(255, 255, 255, 0.14); color: #ffffff; }

.b-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--element-gap); }
.b-quote {
  background: var(--surface-card);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-sm-2);
  padding: var(--s24);
  display: flex; flex-direction: column; gap: var(--s16);
}
.b-quote p { font-size: var(--text-body-lg); line-height: 1.5; color: var(--ink); }
.b-quote footer { font-size: var(--text-caption); letter-spacing: var(--tracking-caption); color: var(--muted); margin-top: auto; }
.b-quote--wide { grid-column: span 2; }
.b-quote:nth-child(3) p { font-family: var(--font-display); font-size: 24px; line-height: 1.28; letter-spacing: -0.03em; font-weight: 500; }

.b-accordion { display: grid; gap: var(--s8); }
.b-acc {
  background: var(--surface-card);
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.b-acc__head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s16);
  text-align: left;
  padding: var(--s20) var(--s24);
  font-size: var(--text-body-lg);
  letter-spacing: var(--tracking-body-lg);
}
.b-acc__icon { position: relative; width: 12px; height: 12px; flex: none; }
.b-acc__icon::before, .b-acc__icon::after {
  content: ""; position: absolute; inset: 5px 0 auto 0;
  height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease);
}
.b-acc__icon::after { transform: rotate(90deg); }
.b-acc[data-open="true"] .b-acc__icon::after { transform: rotate(0deg); }
.b-acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease); }
.b-acc[data-open="true"] .b-acc__body { grid-template-rows: 1fr; }
.b-acc__inner {
  overflow: hidden;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink-2);
  padding: 0 var(--s24);
}
.b-acc[data-open="true"] .b-acc__inner { padding-bottom: var(--s20); }

.b-demo { background: #1a0000; color: #ffffff; padding: var(--s64) 0; }
.b-demo__inner { max-width: var(--page-max); margin: 0 auto; padding-inline: var(--s24); display: grid; gap: var(--s16); }
.b-demo__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--s16);
}
.b-demo__title .b-demo__ico {
  width: 42px; height: 42px; flex: none;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 12px rgba(160, 190, 255, 0.18));
}
.b-demo__body { font-size: var(--text-body-lg); line-height: 1.6; color: rgba(255, 255, 255, 0.86); max-width: 46ch; }
.b-demo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s24); margin-top: var(--s8); }
.b-demo__cta {
  display: inline-flex; align-items: center;
  background: var(--action); color: var(--action-ink);
  border-radius: var(--radius-chips);
  padding: 14px 26px;
  font-size: var(--text-body-lg);
  letter-spacing: var(--tracking-body-lg);
  box-shadow: var(--shadow-lg-2);
  transition: transform var(--dur) var(--ease);
}
.b-demo__cta:hover { transform: translateY(-2px); }
.b-demo__link { font-size: var(--text-body); color: rgba(255, 255, 255, 0.9); border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 2px; }

.b-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(26, 0, 0, 0.55);
  animation: b-fade 200ms var(--ease);
}
@keyframes b-fade { from { opacity: 0; } to { opacity: 1; } }

.b-cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(440px, 92vw);
  background: var(--surface-card);
  border-radius: var(--radius-cards) 0 0 var(--radius-cards);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(102%);
  transition: transform 320ms var(--ease-out);
  visibility: hidden;
}
.b-cart.is-open { transform: none; visibility: visible; }
.b-cart__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s16);
  padding: var(--s24);
  border-bottom: 1px solid var(--hairline);
}
.b-cart__title { font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: var(--tracking-heading); }
.b-cart__sub { font-size: var(--text-body-sm); color: var(--muted); margin-top: 2px; }
.b-cart__close {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-canvas);
  transition: transform var(--dur) var(--ease);
}
[data-theme="night"] .b-cart__close { background: #1a0000; }
.b-cart__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.b-cart__close:hover { transform: rotate(90deg); }
.b-cart__items { flex: 1; overflow-y: auto; padding: var(--s16) var(--s24); display: grid; gap: var(--s12); align-content: start; }
.b-cart__empty { padding: var(--s24); font-size: var(--text-body); line-height: 1.6; color: var(--muted); }
.b-citem {
  display: grid; grid-template-columns: 64px 1fr; gap: var(--s16);
  align-items: center;
  padding: var(--s12) 0;
  border-bottom: 1px solid var(--hairline);
}
.b-citem__shot { width: 64px; height: 56px; border-radius: var(--radius-tile); background: var(--surface-plate); display: grid; place-items: center; }
.b-citem__shot svg { width: 78%; height: auto; }
.b-citem__name { font-size: var(--text-body); font-weight: 600; letter-spacing: -0.02em; }
.b-citem__spec { font-size: var(--text-caption); color: var(--muted); }
.b-citem__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s12); margin-top: var(--s8); }
.b-qty { display: inline-flex; align-items: center; gap: var(--s8); border: 1px solid var(--hairline); border-radius: var(--radius-chips); padding: 2px 8px; }
.b-qty button { width: 24px; height: 24px; display: grid; place-items: center; font-size: var(--text-body-lg); line-height: 1; }
.b-qty span { font-size: var(--text-body-sm); min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.b-citem__price { font-size: var(--text-body); font-variant-numeric: tabular-nums; }
.b-citem__drop { font-size: var(--text-caption); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.b-cart__foot { padding: var(--s20) var(--s24) var(--s24); border-top: 1px solid var(--hairline); display: grid; gap: var(--s8); }
.b-cart__line { display: flex; align-items: baseline; justify-content: space-between; font-size: var(--text-body); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.b-cart__line--total { font-size: var(--text-body-lg); color: var(--ink); padding-top: var(--s8); border-top: 1px solid var(--hairline); }
.b-cart__line--total span:last-child { font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: var(--tracking-heading); }
.b-cart__note { font-size: var(--text-caption); color: var(--muted); }
.b-cart__cutoff { font-size: var(--text-body-sm); color: var(--violet-text); font-variant-numeric: tabular-nums; }

.b-toast {
  position: fixed; left: 50%; bottom: var(--s24); transform: translate(-50%, 12px);
  z-index: 120;
  background: var(--color-ink-black); color: #ffffff;
  border-radius: var(--radius-chips);
  padding: 12px 22px;
  font-size: var(--text-body);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  max-width: 84vw; text-align: center;
}
.b-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.b-reveal { opacity: 0; transform: translateY(14px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.b-reveal.is-in { opacity: 1; transform: none; }

@media (min-width: 1080px) {
  .b-rail { display: flex; }
  .footer { margin-left: 64px; }
  .b-strip .b-burger, .b-menu { display: none; }
  .b-shell { padding-left: 64px; }
  .b-bar { display: none; }
  .b-math__copy { position: sticky; top: 96px; }
}

@media (max-width: 1080px) {
  .b-card--feature { grid-column: auto; }
  .b-card--feature .b-shot { aspect-ratio: 5 / 4; }
  .b-card--feature .b-shot svg { width: 88%; }
  .b-hero { grid-template-columns: 1fr; gap: var(--s32); padding-top: var(--s32); }
  .b-hero__stage { order: 0; }
  .b-math {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "tool" "result";
    gap: var(--s24);
  }
  .b-lab__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "flutes" "table";
    gap: var(--s24);
  }
  .b-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s24); }
  .b-zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-quotes { grid-template-columns: 1fr; }
  .b-quote--wide { grid-column: auto; }
  .b-result__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :root {
    --section-gap: 44px;
    --text-caption: 13px;
    --text-body-sm: 14px;
    --text-wordmark: 32px;
  }

  .b-ticker__tag-full { display: none; }
  .b-ticker__tag-mini { display: inline; }
  .b-ticker__tag { padding: 0 var(--s12); }
  .b-ticker__item { font-size: 13px; }

  .b-strip { display: none; }
  .b-menu { width: 100%; border-radius: 0; }
  .b-bar--clock { padding: 12px 14px; }
  .b-strip__line { font-size: 13px; }
  .b-strip__where { display: none; }

  .b-hero { padding: var(--s24) var(--s16) var(--s32); gap: var(--s24); }
  .b-hero__lede { font-size: 15px; margin-bottom: var(--s16); }
  .b-cubemark--hero { --cube: 148px; }
  .b-hero__stage { min-height: 260px; }
  .b-hero__grade { font-size: var(--text-caption); padding: 4px 9px; right: 2%; top: 6%; }
      .b-chip { padding: 8px 12px; }
  .b-chip--b { display: none; }
  .b-chip--a { left: 0; top: 0; }
  .b-search__input { padding: 11px 0; font-size: 15px; }
  .b-search__go { width: 46px; height: 46px; }
  .b-try { gap: var(--s6); }
  .b-try__chip { padding: 12px 14px; }
  .b-pills { gap: var(--s6); }
  .b-pill { padding: 9px 16px 9px 9px; }
  .b-facts > div { display: grid; gap: 2px; }
  .b-facts dt { min-width: 0; }
  .b-facts dd { font-size: 14px; }

  .b-band { padding: var(--s32) var(--s16); }
  .b-band__sub { font-size: 15px; margin-bottom: var(--s24); }
  .b-group + .b-group { margin-top: var(--s32); }
  .b-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .b-card, .b-card:hover { flex-direction: row; align-items: stretch; border-radius: var(--radius-inner); transform: none; }
  .b-shot, .b-card--feature .b-shot {
    width: 104px; flex: none; align-self: center; aspect-ratio: 1 / 1; margin: var(--s8);
  }
  .b-shot svg { width: 84%; }
  .b-shot::before, .b-shot::after { display: none; }
  .b-shot__dim { left: 6px; bottom: 6px; padding: 2px 6px; font-size: var(--text-caption); transform: none; }
  .b-card__body { padding: var(--s12) var(--s12) var(--s12) 0; gap: 3px; }
  .b-card__name { font-size: 15px; }
  .b-card__note {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 13px; line-height: 1.45;
  }
  .b-card__foot { padding-top: var(--s8); }
  .b-price { font-size: 19px; }
  .b-add { padding: 12px 16px; }
  .b-card--feature .b-card__flag { margin-bottom: 2px; }

  .b-tool { padding: var(--s20) var(--s16); }
  .b-tool__row { grid-template-columns: 1fr; gap: var(--s12); }
  .b-field input, .b-field select { padding: 13px var(--s16); }
  .b-field__unit { display: block; right: var(--s16); bottom: 15px; }
  .b-result { padding: var(--s20) var(--s16); }
  .b-result__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-reco { padding: var(--s16); }
  .b-reco__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .b-flute text { font-size: 13px; }
  .b-table { font-size: 14px; }
  .b-table caption { display: block; width: 100%; padding: var(--s16) var(--s16) 0; }
  .b-table thead { display: none; }
  .b-table, .b-table tbody, .b-table tr, .b-table th, .b-table td { display: block; width: 100%; }
  .b-table tr { padding: var(--s12) var(--s16); border-bottom: 1px solid var(--hairline); }
  .b-table tbody tr:last-child { border-bottom: 0; }
  .b-table th, .b-table td { padding: 0; border: 0; }
  .b-table tbody th { margin-bottom: var(--s6); font-size: 15px; }
  .b-table td { display: block; font-size: 14px; margin-top: var(--s10); }
  .b-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: var(--text-caption);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .b-table__note { font-size: 13px; }

  body > .footer { margin-top: 0; }
  .b-band__head { flex-direction: column; align-items: flex-start; gap: var(--s6); }
  .b-band__head .b-count { margin-left: 0; text-align: left; }
  .b-track { grid-template-columns: 1fr; gap: 0; }
  .b-track__stop {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: var(--s12);
    align-content: start;
    padding: var(--s16) 0;
  }
  .b-track__stop::before {
    left: 17px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }
  .b-track__stop:first-child::before { top: 18px; }
  .b-track__stop:last-child::before { bottom: calc(100% - 18px); }
  .b-track__ico {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 1 / span 2;
    top: auto;
    left: auto;
  }
  .b-track__time { grid-column: 2; margin-bottom: 0; }
  .b-track__what { grid-column: 2; }
  .b-track__note { margin-top: var(--s20); }
  .b-zones { grid-template-columns: 1fr; }
  .b-zone { padding: var(--s16); }

  .b-quote { padding: var(--s20) var(--s16); }
  .b-quote:nth-child(3) p { font-size: 20px; }
  .b-acc__head { padding: var(--s16); font-size: 15px; }
  .b-acc__inner { padding: 0 var(--s16); }
  .b-acc[data-open="true"] .b-acc__inner { padding-bottom: var(--s16); }

  .b-cart__head, .b-cart__foot { padding: var(--s16); }
  .b-cart__items { padding: var(--s12) var(--s16); }
  .b-qty button { width: 36px; height: 36px; }
  .b-cart__close { width: 44px; height: 44px; }
  .b-citem { grid-template-columns: 56px 1fr; gap: var(--s12); }
  .b-citem__shot { width: 56px; height: 50px; }

  .b-demo { padding: var(--s40) 0; }
  .b-demo__inner { padding-inline: var(--s16); }
  .b-demo__title { font-size: 22px; gap: var(--s12); }
  .b-demo__title .b-demo__ico { width: 32px; height: 32px; }
  .b-demo__body { font-size: 15px; }

  .b-demo__link { padding: 10px 0; border-bottom-width: 1px; }
  .b-dim { font-size: 18px; }
  .b-stamp text { font-size: 19px; fill: #5a4a38; }
  .b-strip__line { display: none; }
  .b-ticker__item { color: var(--ink); }
  .b-card__spec, .b-reco__spec, .b-result__spec, .b-buy__spec { color: #6b6155; }
  .b-facts dt, .b-const__title, .b-eyebrow, .b-count, .b-band__sub { color: #6b6155; }
  .b-add { border-color: var(--ink); }
  .b-pill.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
  .b-try__chip[data-try="a cat"] { display: none; }
  .b-bar { padding: 14px 18px; }
  .b-skip { padding: 12px 18px; }
  .b-toast { bottom: var(--s16); }
}

@media (max-width: 360px) {
  .b-demo__title { font-size: 20px; }
  .b-demo__title .b-demo__ico { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .b-chip--float, .b-ticker__row, .b-ticker__live { animation: none !important; }
  .b-card, .b-card:hover, .b-shot svg, .b-cta, .b-add, .b-pill, .b-search__go { transform: none !important; }
  .b-meter__bar { transition: none; }
  .b-bar { transition: none; }
  .b-cubemark__cube { animation: none !important; transform: rotateX(-14deg) rotateY(-32deg); }
  .b-menu, .b-burger, .b-burger__bars span { transition: none; }
}

.b-confetti { position: absolute; top: 0; left: 0; width: 100%; z-index: 40; pointer-events: none; overflow: hidden; }
.b-confetti__pile { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: transform 140ms cubic-bezier(0.22, 0.61, 0.36, 1); will-change: transform; }
.b-confetti__bit {
  position: absolute;
  width: var(--w);
  height: var(--h);
  background: var(--c);
  border-radius: var(--r);
  box-shadow: 0 1px 3px rgba(26, 0, 0, 0.26);
  opacity: 0;
  animation: b-confetti-land var(--dur) var(--delay) both;
}
.b-confetti__bit.is-leaving { opacity: 0; transition: opacity 380ms linear; }
@keyframes b-confetti-land {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.08, 0.78, 0.24, 1);
  }
  4% { opacity: 1; }
  12% {
    transform: translate3d(var(--pop), var(--up), 0) rotate(calc(var(--rot) * 0.3));
    animation-timing-function: cubic-bezier(0.36, 0, 0.88, 0.5);
  }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .b-confetti { display: none; }
}

@media (max-width: 1079px) {
  body > .footer { padding-bottom: 96px; }
}

@media (max-width: 430px) {
  .b-bar { padding: 10px 12px; font-size: 12px; }
  .b-bar--clock { padding: 10px 10px; }
}

.b-demo .b-eyebrow.b-eyebrow--light { color: rgba(255, 255, 255, 0.78); }
