/* ==========================================================================
   Musi Website — Brutalist Swiss Grid & Chromatic Architecture
   Cohesive self-hosted Inter + tabular numerals + Musi Cobalt & Ivory
   ========================================================================== */

:root {
  --ivory: #f5f4ec;
  --white: #ffffff;
  --panel: #131720;
  --panel-alt: #1a202c;
  --black: #090b10;

  --ink: #0f1419;
  --ink-secondary: #434c57;
  --ink-muted: #64707d;

  --cobalt: #2d4ec7;
  --cobalt-bright: #3b5bdb;
  --cobalt-deep: #1b3280;
  --cobalt-ice: #e4eafe;
  --amber: #f59e0b;
  --green: #16a34a;

  --hairline: rgba(15, 20, 25, 0.14);
  --hairline-soft: rgba(15, 20, 25, 0.08);
  --hairline-dark: rgba(245, 244, 236, 0.14);

  --bar-h: 64px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui: var(--font-sans);

  --ease-snap: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.45;
  overflow-x: clip;
}

section[id],
footer[id],
article[id] {
  scroll-margin-top: var(--bar-h);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea,
code,
kbd,
pre {
  font-family: inherit;
}

button {
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

code {
  font-weight: 700;
  font-size: 0.88em;
  color: var(--cobalt-deep);
  background: var(--cobalt-ice);
  border: 1px solid rgba(45, 78, 199, 0.28);
  padding: 2px 7px;
  font-variant-numeric: tabular-nums;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid rgba(15, 20, 25, 0.25);
  white-space: nowrap;
}

img {
  display: block;
  max-width: 100%;
}

/* Utilities matching chandebootcamp Swiss grid taxonomy */
.mono-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.dash-rule {
  height: 1px;
  width: 100%;
  background: repeating-linear-gradient(90deg, rgba(15, 20, 25, 0.22) 0 4px, transparent 4px 8px);
}

.dash-rule.is-dark {
  background: repeating-linear-gradient(90deg, rgba(245, 244, 236, 0.22) 0 4px, transparent 4px 8px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   0. Architectural 4-Cell Top Navigation Header Bar + Corner Grid Button
   ========================================================================== */

.cb-bar {
  position: sticky;
  top: 0;
  z-index: 95;
  height: var(--bar-h);
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.85fr 0.95fr var(--bar-h);
  background: var(--panel);
  border-bottom: 1px solid var(--ink);
}

.cb-bar__cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: background-color 0.28s var(--ease-snap), color 0.28s var(--ease-snap);
}

.cb-bar__brand {
  background: var(--ivory);
  color: var(--ink);
  border-right: 1px solid var(--hairline);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.brand-meta {
  text-align: right;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--ink-secondary);
  line-height: 1.2;
}

.cb-bar__progress {
  padding: 0;
  background: #10131a;
  display: flex;
  align-items: stretch;
  position: relative;
}

.cb-bar__track-fill {
  position: absolute;
  inset: 0;
  width: 18%;
  background: var(--cobalt-bright);
  transition: width 0.12s linear;
}

.cb-bar__track-label {
  position: relative;
  z-index: 2;
  padding: 0 18px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ivory);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  mix-blend-mode: screen;
}

.cb-bar__link {
  background: #191f2a;
  color: var(--ivory);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  text-transform: uppercase;
  transition: background-size 0.4s var(--ease-snap), color 0.25s ease;
  background-image: linear-gradient(var(--cobalt-bright), var(--cobalt-bright));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
}

.cb-bar__link--accent {
  background-color: #16275e;
}

.cb-bar__link:hover,
.cb-bar__link.is-active {
  background-size: 100% 100%;
  color: #ffffff;
}

.cb-bar__link.is-landing {
  background-color: #141c31;
  box-shadow: inset 0 -2px 0 var(--cobalt-bright);
}

.cb-bar__link.is-landing .cb-bar__num {
  color: #93aee8;
  opacity: 1;
}

.cb-bar__link.is-landing:hover .cb-bar__num {
  color: #ffffff;
}

.cb-bar__num {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.68;
  font-variant-numeric: tabular-nums;
}

.cb-bar__lbl {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cb-bar__menu-btn {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--cobalt-bright);
  color: #ffffff;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.cb-bar__menu-btn:hover {
  background: #ffffff;
  color: var(--black);
}

.menu-dots-grid {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  gap: 4px;
}

.menu-dots-grid i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 0.3s var(--ease-snap);
}

.cb-bar__menu-btn.is-open .menu-dots-grid i:nth-child(1) { transform: translate(4.5px, 4.5px); }
.cb-bar__menu-btn.is-open .menu-dots-grid i:nth-child(2) { transform: translate(-4.5px, 4.5px); }
.cb-bar__menu-btn.is-open .menu-dots-grid i:nth-child(3) { transform: translate(4.5px, -4.5px); }
.cb-bar__menu-btn.is-open .menu-dots-grid i:nth-child(4) { transform: translate(-4.5px, -4.5px); }

/* ==========================================================================
   Full-Screen Architectural Grid Navigation Drawer (.cb-drawer)
   ========================================================================== */

.cb-drawer {
  position: fixed;
  inset: var(--bar-h) 0 0 0;
  z-index: 94;
  background: var(--black);
  color: var(--ivory);
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  transition: clip-path 0.55s var(--ease-snap);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow-y: auto;
}

.cb-drawer.is-open {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.cb-drawer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--hairline-dark);
}

.cb-drawer__cell {
  border-right: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(var(--cobalt-bright), var(--cobalt-bright));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: background-size 0.42s var(--ease-snap), color 0.25s ease;
}

.cb-drawer__cell:hover {
  background-size: 100% 100%;
  color: #ffffff;
}

.cb-drawer__num {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}

.cb-drawer__title {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.cb-drawer__foot {
  padding: 20px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(245, 244, 236, 0.65);
}

/* ==========================================================================
   Sweep-Fill Pill CTAs + Animated 7-Dot Arrow
   ========================================================================== */

.cb-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cb-pill-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 24px 0 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--ink);
  background-color: var(--ivory);
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, text-shadow 0.22s ease, transform 0.2s var(--ease-spring);
  white-space: nowrap;
}

.cb-pill-btn > span {
  position: relative;
  z-index: 2;
}

.cb-pill-btn__tiles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  display: block;
}

.cb-pill-btn--cobalt {
  background-color: var(--cobalt-bright);
  border-color: var(--cobalt-bright);
  color: #ffffff;
}

.cb-pill-btn--ivory-dark {
  background-color: var(--ivory);
  border-color: var(--ivory);
  color: var(--black);
}

.cb-pill-btn:hover,
.cb-pill-btn:focus-visible,
.cb-pill-btn.is-pixel-active {
  background-color: #090d16;
  border-color: rgba(147, 174, 232, 0.55);
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

.cb-pill-btn:active {
  transform: scale(0.97);
}

.cb-pill-btn__dotbox {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(15, 20, 25, 0.08);
  transition: background 0.3s ease, transform 0.35s var(--ease-snap);
}

.cb-pill-btn--cobalt .cb-pill-btn__dotbox {
  background: rgba(255, 255, 255, 0.2);
}

.cb-pill-btn:hover .cb-pill-btn__dotbox,
.cb-pill-btn:focus-visible .cb-pill-btn__dotbox,
.cb-pill-btn.is-pixel-active .cb-pill-btn__dotbox {
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(2px) translateY(-1px);
}

/* ==========================================================================
   1. Split Swiss Hero + Pixel-Grid Interactive macOS Stage
   ========================================================================== */

.cb-hero {
  background: var(--ivory);
  border-bottom: 1px solid var(--ink);
}

.cb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  min-height: calc(100vh - var(--bar-h));
}

/* Left Half: Dark Architectural Stage + Matrix Grid + Interactive Player */
.cb-hero__stage-pane {
  position: relative;
  background: var(--panel);
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Reactive WebGL Mosaic Tile Field (.field) + Stage Matrix Backdrop */
.field {
  position: relative;
  overflow: hidden;
  background-color: #0b1120;
  background-image:
    radial-gradient(circle at 28% 45%, rgba(59, 91, 219, 0.56) 0%, rgba(45, 78, 199, 0.16) 52%, transparent 78%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
}

.field__gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.field-root.is-live .field {
  background: none;
}

.field.is-live {
  background: #090b10;
}

.cb-matrix-backdrop {
  position: absolute;
  inset: 28px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: none;
  z-index: 1;
}

.cb-hero__field {
  width: 100%;
  height: 100%;
}

.cb-stage-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.macos-stage {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 615px;
  transition: background 0.5s ease;
}

.macos-menubar {
  height: 28px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 15, 22, 0.68);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  user-select: none;
}

.menubar-left,
.menubar-right {
  display: flex;
  align-items: center;
  gap: 13px;
}

.menubar-apple-icon {
  opacity: 0.92;
  margin-right: 1px;
}

.menubar-app-name {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.menubar-dim {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.menubar-clock {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.menubar-sys-icon {
  color: rgba(255, 255, 255, 0.88);
}

.menubar-musi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 20px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: background 0.16s ease, opacity 0.16s ease;
}

.menubar-musi-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.menubar-musi-btn.is-panel-hidden {
  background: transparent;
  opacity: 0.65;
}

.mb-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.mb-bars i {
  display: block;
  width: 2.5px;
  height: 3px;
  border-radius: 1px;
  background: currentColor;
}

.mb-bars.is-playing i { animation: barPulse 1.05s ease-in-out infinite; transform-origin: bottom center; }
.mb-bars.is-playing i:nth-child(2) { animation-delay: 0.2s; }
.mb-bars.is-playing i:nth-child(3) { animation-delay: 0.4s; }

@keyframes barPulse {
  0%, 100% { transform: scaleY(0.32); }
  50% { transform: scaleY(1); }
}

.stage-canvas {
  position: relative;
  flex: 1;
  padding: 28px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-hidden-prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  color: var(--ivory);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-spring);
}

.macos-stage.is-panel-hidden .stage-hidden-prompt {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.macos-stage.is-panel-hidden .player-dock-group {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.95);
}

.player-dock-group {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
  transition: opacity 0.28s ease, transform 0.35s var(--ease-spring);
}

/* Integrated Stage Control Deck at Bottom of Dark Stage Column */
.cb-stage-deck {
  position: relative;
  z-index: 4;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cb-deck-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.track-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(245, 244, 236, 0.72);
  transition: all 0.2s var(--ease-spring);
}

.track-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.track-chip.is-active {
  background: var(--cobalt-bright);
  border-color: var(--cobalt-bright);
  color: #ffffff;
}

.track-chip img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.seg-btn {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(245, 244, 236, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.16s ease;
}

.seg-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.seg-btn.is-active {
  color: var(--black);
  background: var(--ivory);
  border-color: var(--ivory);
}

/* Light-surface tabs override for Section 3 */
.seg-btn.is-light-mode {
  color: var(--ink-secondary);
  border-color: var(--hairline);
  background: transparent;
}

.seg-btn.is-light-mode:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.seg-btn.is-light-mode.is-active {
  color: #ffffff;
  background: var(--cobalt-bright);
  border-color: var(--cobalt-bright);
}

/* Right Half of Hero: Expansive Ivory Editorial Canvas */
.cb-hero__editorial-pane {
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cb-hero__editorial-body {
  padding: 30px 38px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  flex: 1;
}

.cb-hero__tile-strip {
  width: 100%;
  height: 70px;
  border-top: 1px solid var(--ink);
  cursor: crosshair;
}

.cb-hero__top-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cb-hero__mark {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(45, 78, 199, 0.25);
}

.cb-hero__tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: var(--ink-secondary);
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.cb-hero__center {
  margin: auto 0;
}

.cb-display-xl {
  margin: 0;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.048em;
  text-transform: uppercase;
  color: var(--ink);
}

.cb-hero__title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cb-hero__ver {
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--cobalt);
  white-space: nowrap;
}

.cb-hero__sub {
  margin: 22px 0 0;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-secondary);
  max-width: 460px;
}

.cb-hero__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px dashed var(--hairline);
}

.cb-hero__specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Native macOS Liquid Glass Player + Docked Lyrics Window (Authentic fidelity)
   ========================================================================== */

.musi-player-card {
  position: relative;
  border-radius: 26px;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.3);
  transition: width 0.38s var(--ease-spring), height 0.38s var(--ease-spring), border-radius 0.35s var(--ease-spring), opacity 0.25s ease;
  flex-shrink: 0;
  user-select: none;
}

.musi-player-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 15;
}

.musi-player-card.layout-standard { width: 316px; height: 500px; border-radius: 26px; }
.musi-player-card.layout-standard.is-playlist-open { height: 645px; }
.musi-player-card.layout-mini { width: 430px; height: 120px; border-radius: 20px; }
.musi-player-card.layout-compact { width: 238px; height: 238px; border-radius: 18px; }

.player-art-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000000;
}

.layout-standard .player-art-bg {
  height: 500px;
  bottom: auto;
}

.player-art-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: opacity 0.35s ease, transform 0.5s var(--ease-spring);
}

.player-scrim-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 76px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.player-scrim-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 325px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.42) 34%, rgba(0, 0, 0, 0.88) 64%, #000000 100%);
  pointer-events: none;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.layout-standard .player-scrim-bottom {
  top: 175px;
  bottom: auto;
  height: 325px;
}

.layout-mini .player-scrim-top { display: none; }
.layout-mini .player-scrim-bottom {
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}
.layout-compact .player-scrim-top { display: none; }
.layout-compact .player-scrim-bottom {
  height: 100%;
  opacity: 0;
  background: rgba(0, 0, 0, 0.55);
}
.layout-compact:hover .player-scrim-bottom,
.layout-compact:focus-within .player-scrim-bottom,
.layout-compact.is-scrubbing .player-scrim-bottom,
.layout-compact.is-touch-open .player-scrim-bottom {
  opacity: 1;
}

.player-status-stack {
  position: absolute;
  top: 14px; left: 12px; right: 12px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  transition: top 0.28s var(--ease-spring), padding-right 0.28s var(--ease-spring);
}

.layout-standard:hover .player-status-stack,
.layout-standard:focus-within .player-status-stack,
.layout-standard.is-scrubbing .player-status-stack,
.layout-standard.is-touch-open .player-status-stack {
  top: 50px;
}

.layout-mini .player-status-stack {
  top: 8px;
}

.layout-mini:hover .player-status-stack,
.layout-mini:focus-within .player-status-stack,
.layout-mini.is-scrubbing .player-status-stack,
.layout-mini.is-touch-open .player-status-stack {
  top: 36px;
  padding-right: 118px;
}

.layout-compact .player-status-stack {
  top: 12px;
}

.layout-compact:hover .player-status-stack,
.layout-compact:focus-within .player-status-stack,
.layout-compact.is-scrubbing .player-status-stack,
.layout-compact.is-touch-open .player-status-stack {
  top: 42px;
}

.player-toast-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
  pointer-events: none;
}

.player-vol-hud,
.player-toast {
  position: relative;
  overflow: hidden;
  display: none;
  align-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.22),
    inset 0 -1.5px 4px rgba(255, 255, 255, 0.08),
    0 6px 14px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(-8px) scale(0.95);
  transition: opacity 0.24s ease, transform 0.28s var(--ease-spring);
}

.player-vol-hud {
  width: 196px;
  gap: 10px;
  padding: 9px 15px;
  background: rgba(28, 28, 36, 0.72);
  border: 0.75px solid rgba(255, 255, 255, 0.18);
}

.player-toast {
  max-width: 92%;
  gap: 7px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.14) 0%, rgba(22, 22, 30, 0.62) 100%);
  border: 0.85px solid rgba(255, 255, 255, 0.32);
}

.player-toast::before {
  content: "";
  position: absolute;
  inset: 1px 6px auto 6px;
  height: 46%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.03) 100%);
  pointer-events: none;
}

.player-vol-hud.is-mounted,
.player-toast.is-mounted {
  display: inline-flex;
}

.player-vol-hud.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.player-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #ffffff;
}

.toast-icon.is-green {
  color: #22c55e;
}

.toast-msg {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.92);
}

.vol-step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  flex-shrink: 0;
  transition: color 0.14s ease, transform 0.14s ease;
}

.vol-step-btn:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.vol-slider-hit {
  flex: 1;
  padding: 5px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.vol-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.vol-fill {
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  transition: width 0.12s ease;
}

.vol-slider-hit.is-dragging .vol-fill {
  transition: none;
}

.player-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 12;
  padding: 14px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.layout-mini .player-header { padding: 8px 14px 0; justify-content: flex-end; }
.layout-compact .player-header { padding: 12px 14px 0; justify-content: flex-end; }
.layout-mini .now-playing-dots, .layout-compact .now-playing-dots { display: none; }

.now-playing-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 12px;
  padding: 0 2px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.65));
}

.now-playing-dots i {
  display: block;
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
}
.now-playing-dots i:nth-child(1) { height: 7px; }
.now-playing-dots i:nth-child(2) { height: 11px; }
.now-playing-dots i:nth-child(3) { height: 5px; }
.now-playing-dots.is-playing i { animation: barPulse 0.95s ease-in-out infinite; }
.now-playing-dots.is-playing i:nth-child(2) { animation-delay: 0.18s; }
.now-playing-dots.is-playing i:nth-child(3) { animation-delay: 0.36s; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.22s ease, transform 0.22s var(--ease-spring);
}
.musi-player-card:hover .header-tools,
.musi-player-card:focus-within .header-tools,
.musi-player-card.is-scrubbing .header-tools,
.musi-player-card.is-touch-open .header-tools {
  opacity: 1;
  transform: scale(1);
}
.layout-mini .header-tools { gap: 8px; }
.layout-compact .header-tools { gap: 5px; }

.lg-circle {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 0.9px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.32),
    inset 0 -1.5px 3px rgba(255, 255, 255, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s var(--ease-spring), background 0.2s ease, border-color 0.2s ease;
}
.lg-circle::before {
  content: "";
  position: absolute;
  inset: 1px 2px auto 2px;
  height: 46%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
}
.lg-circle:hover {
  transform: scale(1.06);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.11) 100%);
  border-color: rgba(255, 255, 255, 0.56);
}
.lg-circle:active { transform: scale(0.92); }
.lg-circle.is-active {
  color: #ffffff;
  background: linear-gradient(150deg, rgba(59, 91, 219, 0.45) 0%, rgba(59, 91, 219, 0.24) 100%);
  border-color: rgba(147, 174, 232, 0.78);
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.36),
    0 3px 10px rgba(45, 78, 199, 0.38);
}

.lg-circle.is-main {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 100%);
  border-width: 1.25px;
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 3px 8px rgba(255, 255, 255, 0.4),
    inset 0 -2px 5px rgba(255, 255, 255, 0.14),
    0 5px 14px rgba(0, 0, 0, 0.38);
}

.utility-btn { width: 24px; height: 24px; }
.layout-mini .utility-btn { width: 22px; height: 22px; }
.utility-btn svg { width: 11px; height: 11px; }

.player-chrome {
  position: relative;
  z-index: 6;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.std-upper {
  height: 500px;
  padding: 0 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.layout-mini .std-upper, .layout-compact .std-upper,
.layout-mini .playlist-drawer, .layout-compact .playlist-drawer { display: none; }

.std-bottom { display: flex; flex-direction: column; gap: 14px; }

.std-playback-collapse {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: -12px;
  pointer-events: none;
  transition:
    grid-template-rows 0.28s var(--ease-spring),
    opacity 0.2s ease,
    margin-top 0.28s var(--ease-spring);
}

.std-playback-collapse__inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 2px 8px;
  margin: -4px -2px -8px;
}

.musi-player-card:hover .std-playback-collapse,
.musi-player-card:focus-within .std-playback-collapse,
.musi-player-card.is-scrubbing .std-playback-collapse,
.musi-player-card.is-touch-open .std-playback-collapse {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0;
  pointer-events: auto;
}

.track-meta { text-align: center; margin-bottom: 10px; }
.track-title {
  font-size: 19px; font-weight: 700; line-height: 1.18; letter-spacing: -0.02em;
  color: #ffffff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track-artist {
  margin-top: 3px; font-size: 13.5px; font-weight: 500;
  color: rgba(255, 255, 255, 0.78); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.scrubber-wrap { display: flex; flex-direction: column; gap: 6px; }
.scrubber-hit { position: relative; padding: 5px 0; cursor: pointer; }
.scrubber-track {
  position: relative; height: 9px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  transition: transform 0.16s ease;
}
.scrubber-hit:hover .scrubber-track { transform: scaleY(1.12); }
.scrubber-fill { height: 100%; border-radius: 999px; background: rgba(255, 255, 255, 0.95); }
.time-row {
  display: flex; justify-content: space-between; font-variant-numeric: tabular-nums;
  font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, 0.76);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.transport-row { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.hide-transport .transport-row, .hide-transport .mini-transport { display: none; }

.tc-sub { width: 28px; height: 28px; }
.tc-step { width: 39px; height: 39px; }
.tc-main { width: 52px; height: 52px; }

.playlist-btn {
  position: relative;
  overflow: hidden;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 999px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 0.9px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.24), inset 0 -1.5px 4px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.28);
  font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.95);
  transition: transform 0.2s var(--ease-spring), background 0.2s ease, border-color 0.2s ease;
}
.playlist-btn::before {
  content: "";
  position: absolute;
  inset: 1px 6px auto 6px;
  height: 45%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.03) 100%);
  pointer-events: none;
}
.playlist-btn:hover { background: linear-gradient(150deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.09) 100%); border-color: rgba(255, 255, 255, 0.5); }
.playlist-btn.is-locked { opacity: 0.68; }
.playlist-btn-left { display: inline-flex; align-items: center; gap: 9px; }
.playlist-chev { transition: transform 0.25s ease; opacity: 0.65; }
.is-playlist-open .playlist-chev { transform: rotate(180deg); }

.playlist-drawer {
  padding: 0 22px 16px; display: none; margin-top: -6px;
}
.is-playlist-open .playlist-drawer { display: block; }
.playlist-glass-card {
  border-radius: 18px;
  padding: 6px 0;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1.5px 6px rgba(255, 255, 255, 0.18), 0 8px 20px rgba(0, 0, 0, 0.45);
}
.playlist-glass-card[hidden] { display: none; }
.playlist-item {
  width: calc(100% - 10px); margin: 1px 5px; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 9px; border-radius: 11px; font-size: 12px; font-weight: 500;
  color: rgba(255, 255, 255, 0.9); transition: background 0.14s ease;
}
.playlist-item:hover { background: rgba(255, 255, 255, 0.13); color: #ffffff; }
.playlist-item-left { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.playlist-item-left svg { opacity: 0.65; flex-shrink: 0; }
.playlist-play-icon { opacity: 0.42; transition: opacity 0.14s ease; }
.playlist-item:hover .playlist-play-icon { opacity: 0.9; }
.playlist-divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 1px 12px 1px 38px; }
.playlist-locked-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 8px; padding: 18px 16px; min-height: 128px;
}
.playlist-lock-circle {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.09);
  display: grid; place-items: center; color: rgba(255, 255, 255, 0.6);
}
.playlist-lock-title { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, 0.92); }
.playlist-lock-sub { font-size: 10.5px; line-height: 1.38; color: rgba(255, 255, 255, 0.54); max-width: 220px; }

/* Mini Body (500x140 proportion: scrubber & transport hidden until hovered) */
.mini-body {
  display: none; height: 100%; padding: 18px 20px; align-items: center; gap: 0;
  transition: gap 0.24s var(--ease-spring);
}
.layout-mini .mini-body { display: flex; }
.layout-mini:hover .mini-body,
.layout-mini:focus-within .mini-body,
.layout-mini.is-scrubbing .mini-body,
.layout-mini.is-touch-open .mini-body {
  gap: 14px;
}
.layout-mini.hide-transport .mini-body { gap: 0; }
.mini-left { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.mini-left .track-meta { text-align: left; margin-bottom: 0; }
.mini-left .track-title { font-size: 15.5px; }
.mini-left .track-artist { font-size: 12px; }
.mini-left .scrubber-wrap {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.28s var(--ease-spring), opacity 0.2s ease, margin-top 0.24s var(--ease-spring);
}
.layout-mini:hover .mini-left .scrubber-wrap,
.layout-mini:focus-within .mini-left .scrubber-wrap,
.layout-mini.is-scrubbing .mini-left .scrubber-wrap,
.layout-mini.is-touch-open .mini-left .scrubber-wrap {
  max-height: 52px;
  opacity: 1;
  margin-top: 10px;
  pointer-events: auto;
}
.mini-transport {
  display: flex; align-items: center; gap: 7px; padding-top: 0;
  max-width: 0; opacity: 0; overflow: hidden; pointer-events: none;
  transform: scale(0.92);
  transition: max-width 0.28s var(--ease-spring), opacity 0.2s ease, transform 0.24s var(--ease-spring);
}
.layout-mini:hover .mini-transport,
.layout-mini:focus-within .mini-transport,
.layout-mini.is-scrubbing .mini-transport,
.layout-mini.is-touch-open .mini-transport {
  max-width: 170px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  transform: translateY(10px) scale(1);
}
.mini-transport .tc-sub { width: 22px; height: 22px; }
.mini-transport .tc-step { width: 28px; height: 28px; }
.mini-transport .tc-main { width: 37px; height: 37px; }

/* Compact Body (scrubber & transport hidden until hovered) */
.compact-body {
  display: none; height: 100%; padding: 14px 18px 16px; flex-direction: column; justify-content: space-between;
}
.layout-compact .compact-body { display: flex; }
.compact-controls { display: flex; flex-direction: column; gap: 10px; }
.compact-controls .scrubber-wrap {
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s var(--ease-spring);
}
.layout-compact:hover .compact-controls .scrubber-wrap,
.layout-compact:focus-within .compact-controls .scrubber-wrap,
.layout-compact.is-scrubbing .compact-controls .scrubber-wrap,
.layout-compact.is-touch-open .compact-controls .scrubber-wrap {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.compact-controls .transport-row {
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-spring);
}
.layout-compact:hover .compact-controls .transport-row,
.layout-compact:focus-within .compact-controls .transport-row,
.layout-compact.is-scrubbing .compact-controls .transport-row,
.layout-compact.is-touch-open .compact-controls .transport-row {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.compact-controls .tc-sub { width: 24px; height: 24px; }
.compact-controls .tc-step { width: 30px; height: 30px; }
.compact-controls .tc-main { width: 39px; height: 39px; }

/* Docked Lyrics Card (280pt proportion, aligned flush top, 5 hover utility tools) */
.musi-lyrics-card {
  position: relative;
  width: 246px;
  height: 500px;
  border-radius: 26px;
  background: rgba(16, 15, 22, 0.9);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: width 0.35s var(--ease-spring), height 0.38s var(--ease-spring), opacity 0.28s ease, margin 0.35s var(--ease-spring), border 0.25s ease;
}

.musi-lyrics-card.is-playlist-open { height: 645px; }
.musi-lyrics-card.for-mini { width: 238px; height: 334px; }
.musi-lyrics-card.for-compact { width: 246px; height: 238px; }
.musi-lyrics-card.is-hidden {
  width: 0; opacity: 0; margin-left: -7px; border-color: transparent; pointer-events: none;
}

.lyrics-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 12;
  display: flex; align-items: center; justify-content: flex-end; gap: 7px;
  padding: 12px 14px 10px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.22s ease, transform 0.22s var(--ease-spring);
  pointer-events: none;
}
.musi-lyrics-card:hover .lyrics-header,
.musi-lyrics-card:focus-within .lyrics-header {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.lyrics-scroll {
  position: relative;
  flex: 1; overflow-y: auto; padding: 136px 20px; display: flex; flex-direction: column; gap: 13px;
  scrollbar-width: none; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
}
.musi-lyrics-card.for-mini .lyrics-scroll { padding: 92px 18px; gap: 11px; }
.musi-lyrics-card.for-compact .lyrics-scroll { padding: 72px 18px; gap: 10px; }
.lyrics-scroll::-webkit-scrollbar { display: none; }

.lyric-line {
  width: 100%; text-align: left; font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -0.025em;
  color: #ffffff; opacity: 0.26; filter: blur(1.8px); transform: scale(0.84); transform-origin: left center;
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.38s var(--ease-spring); padding: 2px 0;
}
.musi-lyrics-card.for-compact .lyric-line { font-size: 16.5px; }
.lyric-line:hover { opacity: 0.68; filter: blur(0px); }
.lyric-line.is-active { opacity: 1; filter: blur(0px); transform: scale(1); }

/* ==========================================================================
   2. Swiss Statement Section with Inline Graphic Chips
   ========================================================================== */

.cb-statement {
  background: var(--ivory);
  padding: 84px 36px;
}

.cb-statement__inner {
  max-width: 1368px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}

.cb-statement__type {
  margin: 0;
  font-size: clamp(38px, 5.05vw, 72px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.048em;
  text-transform: uppercase;
  color: var(--ink);
}

.cb-statement__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.inline-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(36px, 4.4vw, 62px);
  border-radius: 999px;
  padding: 0 20px;
  border: 6px solid var(--cobalt-bright);
  background: var(--ivory);
  color: var(--ink);
  flex-shrink: 0;
}

.inline-chip--amber {
  border-color: var(--amber);
}

.chip-eq-bars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
}

.chip-eq-bars i {
  display: block;
  width: 4px;
  border-radius: 99px;
  background: var(--ink);
  animation: barPulse 1.1s ease-in-out infinite;
}
.chip-eq-bars i:nth-child(1) { height: 10px; }
.chip-eq-bars i:nth-child(2) { height: 22px; animation-delay: 0.15s; }
.chip-eq-bars i:nth-child(3) { height: 14px; animation-delay: 0.32s; }
.chip-eq-bars i:nth-child(4) { height: 20px; animation-delay: 0.48s; }
.chip-eq-bars i:nth-child(5) { height: 9px; animation-delay: 0.62s; }

.cb-statement__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}

.cb-statement__side-h {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

/* ==========================================================================
   Chromatic 9-Bar Stepped Bridge (.cb-scheme) + Running Strip (.cb-strip)
   ========================================================================== */

.cb-scheme {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cb-scheme > i {
  display: block;
  height: 18px;
}

.cb-scheme > i:nth-child(1) { background: #f5f4ec; }
.cb-scheme > i:nth-child(2) { background: #dfe5f7; }
.cb-scheme > i:nth-child(3) { background: #bccaf2; }
.cb-scheme > i:nth-child(4) { background: #7f9ae5; }
.cb-scheme > i:nth-child(5) { background: #3b5bdb; }
.cb-scheme > i:nth-child(6) { background: #22388a; }
.cb-scheme > i:nth-child(7) { background: #15224c; }
.cb-scheme > i:nth-child(8) { background: #101420; }
.cb-scheme > i:nth-child(9) { background: #090b10; }

.cb-scheme--rev {
  flex-direction: column-reverse;
}

.cb-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 68px;
  background: #090b10;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.cb-strip__matrix {
  position: relative;
  cursor: crosshair;
}

.cb-strip__marquee {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #141923;
  padding: 0 12px;
}

.pillrun__track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: pillScroll 12s linear infinite;
}

.pillrun__track i {
  display: block;
  width: 96px;
  height: 36px;
  border-radius: 999px;
  background: var(--ivory);
  flex-shrink: 0;
}

.pillrun__track i:nth-child(even) {
  background: var(--cobalt-bright);
}

@keyframes pillScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   3. Three Form Factors Dark Split Section (#layouts)
   ========================================================================== */

.cb-layouts {
  background: var(--black);
  color: var(--ivory);
  padding: 76px 36px;
}

.cb-layouts__head {
  max-width: 1368px;
  margin: 0 auto 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.cb-h2-dark {
  margin: 10px 0 0;
  font-size: clamp(36px, 4.8vw, 68px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--ivory);
}

.cb-layouts__grid {
  max-width: 1368px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hairline-dark);
  border-left: 1px solid var(--hairline-dark);
}

.cb-layout-panel {
  border-right: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}

.cb-layout-panel:nth-child(2) {
  background: var(--panel-alt);
}

.cb-layout-panel:hover .cb-layout-panel__title {
  color: #ffffff;
}

.cb-layout-panel__well {
  height: 332px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 920px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #0d1017;
  background-size: 32px 32px;
  border-bottom: 1px solid var(--hairline-dark);
  transition: background-position 0.12s linear;
}

.mini-card-frame {
  position: relative;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5), 0 6px 16px rgba(0, 0, 0, 0.3);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.42s var(--ease-spring), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  user-select: none;
}

.mini-card-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(180px circle at var(--gx, 50%) var(--gy, 40%), rgba(147, 174, 232, 0.28), rgba(59, 91, 219, 0.08) 45%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.28s ease;
}

.cb-layout-panel.is-tilting .mini-card-frame {
  transition: transform 0.07s linear, box-shadow 0.3s ease;
  box-shadow: 0 30px 58px rgba(0, 0, 0, 0.62), 0 10px 26px rgba(45, 78, 199, 0.24);
}

.cb-layout-panel:hover .mini-card-frame::before,
.cb-layout-panel.is-tilting .mini-card-frame::before {
  opacity: 1;
}

.mini-card-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 55%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 6;
}

.cb-layout-panel:hover .mini-card-frame {
  --sc: 1.035;
}

.mini-card-frame.is-std { width: 184px; height: 290px; border-radius: 17px; }
.mini-card-frame.is-mini { width: 296px; height: 84px; border-radius: 15px; }
.mini-card-frame.is-compact { width: 200px; height: 200px; border-radius: 17px; }

.mini-card-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.mini-card-top-scrim { position: absolute; top: 0; left: 0; right: 0; height: 44px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.54) 0%, transparent 100%); z-index: 2; }
.mini-card-btm-scrim { position: absolute; bottom: 0; left: 0; right: 0; height: 180px; background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.56) 36%, rgba(0, 0, 0, 0.92) 72%, #000000 100%); z-index: 2; }
.mini-card-btm-scrim.is-full { height: 100%; background: linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.82) 100%); }
.mini-card-btm-scrim.is-compact-scrim { height: 92px; background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.84) 100%); transition: height 0.25s ease, background 0.25s ease; }

.cb-layout-compact:hover .mini-card-btm-scrim.is-compact-scrim { height: 100%; background: rgba(0, 0, 0, 0.56); }
.compact-hover-badge { position: absolute; top: 10px; right: 10px; z-index: 5; display: flex; gap: 4px; opacity: 0; transform: translateY(-4px); transition: opacity 0.22s ease, transform 0.22s var(--ease-spring); }
.compact-hover-transport { display: flex; align-items: center; justify-content: center; gap: 7px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.25s var(--ease-spring), opacity 0.22s ease, margin-top 0.22s ease; }
.cb-layout-compact:hover .compact-hover-badge { opacity: 1; transform: translateY(0); }
.cb-layout-compact:hover .compact-hover-transport { max-height: 36px; opacity: 1; margin-top: 8px; }

.mini-dot-btn {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.36);
  display: grid; place-items: center; font-size: 9px; color: #fff;
}
.mini-dot-btn.is-play { width: 26px; height: 26px; background: rgba(255, 255, 255, 0.3); }

.mini-card-dots { position: absolute; top: 11px; left: 13px; display: inline-flex; align-items: center; gap: 2.5px; z-index: 4; }
.mini-card-dots i { display: block; width: 2.5px; border-radius: 99px; background: rgba(255, 255, 255, 0.94); }
.mini-card-content { position: relative; z-index: 4; padding: 0 14px 13px; }
.mini-card-content.is-mini-pad { padding: 11px 15px 10px; }
.mini-card-content.is-compact-pad { padding: 0 14px 12px; }
.mini-card-title { font-size: 11.5px; font-weight: 700; text-align: center; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card-artist { font-size: 9px; font-weight: 500; text-align: center; color: rgba(255, 255, 255, 0.8); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65); margin-bottom: 8px; }
.mini-card-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.mini-card-bar span { display: block; height: 100%; border-radius: 999px; background: #fff; }
.mini-card-times { display: flex; justify-content: space-between; margin-top: 3px; margin-bottom: 9px; font-size: 8px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.72); }
.mini-card-pill { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)); border: 1px solid rgba(255, 255, 255, 0.22); font-size: 9px; font-weight: 600; color: #fff; }

.cb-layout-panel__body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.cb-layout-panel__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.cb-layout-panel__title {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(245, 244, 236, 0.48);
  transition: color 0.3s ease;
}

.spec-pill {
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(147, 174, 232, 0.45);
  background: rgba(45, 78, 199, 0.2);
  color: #dce4ff;
  white-space: nowrap;
  flex-shrink: 0;
}

.spec-pill.is-light {
  border-color: rgba(45, 78, 199, 0.35);
  background: var(--cobalt-ice);
  color: var(--cobalt-deep);
}

.cb-layout-panel__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 244, 236, 0.65);
}

.cb-layout-panel__action {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cobalt-ice);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cb-layout-panel__action:hover {
  color: #ffffff;
}

/* ==========================================================================
   4. Synchronized Lyrics Gallery + Swiss Target Rings + Capability List (#lyrics)
   ========================================================================== */

.cb-lyrics {
  background: var(--ivory);
  padding: 84px 36px;
}

.cb-container {
  max-width: 1368px;
  margin: 0 auto;
}

.cb-lyrics__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.lyrics-gallery-panel {
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 18px;
}

.lyrics-gallery-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.lyrics-gallery-tabs .seg-btn {
  flex: 1;
  text-align: center;
}

.lyrics-gallery-stage {
  border: 1px solid var(--hairline);
  background:
    linear-gradient(90deg, rgba(15, 20, 25, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 20, 25, 0.045) 1px, transparent 1px),
    #f9f9f6;
  background-size: 32px 32px;
  padding: 20px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lyrics-pair-wrap { display: flex; align-items: flex-start; justify-content: center; gap: 8px; transform-origin: center center; }
.lyrics-pair-wrap.is-std-pair { transform: scale(0.72); }
.lyrics-pair-wrap.is-mini-pair { transform: scale(0.79); }
.lyrics-pair-wrap.is-compact-pair { transform: scale(0.94); }

.lyrics-pair-card {
  width: 224px; border-radius: 20px; background: rgba(16, 15, 22, 0.92);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22); padding: 20px 18px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14);
}
.lyrics-pair-card.h-std { height: 368px; }
.lyrics-pair-card.h-mini { height: 224px; }
.lyrics-pair-card.h-compact { height: 212px; }

.lyrics-pair-line {
  width: 100%; text-align: left; font-size: 14.5px; font-weight: 700; line-height: 1.25; color: #ffffff;
  opacity: 0.28; filter: blur(1.2px); transform: scale(0.9); transform-origin: left center;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s var(--ease-spring);
}
.lyrics-pair-line:hover { opacity: 0.72; filter: none; }
.lyrics-pair-line.is-active { opacity: 1; filter: none; transform: scale(1); }

.lyrics-gallery-caption {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--ink-secondary);
}

.cb-h2-light {
  margin: 12px 0 0;
  font-size: clamp(36px, 4.8vw, 68px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--ink);
}

.cb-lead {
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-secondary);
}

/* 3 Concentric Target Rings Row (from hs-about .circles) */
.cb-rings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 52px 0;
  align-items: center;
  justify-items: center;
}

.cb-ring {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px dashed rgba(15, 20, 25, 0.28);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease;
}

.cb-ring::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px solid var(--cobalt);
  opacity: 0.35;
}

.cb-ring::after {
  content: "";
  position: absolute;
  inset: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--hairline);
}

.cb-ring:hover {
  transform: scale(1.04);
  border-color: var(--cobalt-bright);
}

.cb-ring__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.cb-ring__num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--cobalt);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.cb-ring__title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Capability Roles Index Strip (from hs-about__roles) */
.cb-roles-band {
  padding-top: 52px;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  align-items: end;
  gap: 32px;
}

.cb-roles-band__manifesto {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.cb-roles-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cb-roles-list li {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.16s ease, transform 0.2s ease;
  cursor: default;
}

.cb-roles-list li:hover {
  color: var(--cobalt-bright);
  transform: translateX(6px);
}

.cb-roles-band__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  text-align: right;
}

/* ==========================================================================
   5. Interactive Dual-Polarity Preferences Window (#settings)
   ========================================================================== */

.cb-settings {
  background: var(--white);
  padding: 84px 36px;
  border-top: 1px solid var(--ink);
}

.settings-showcase {
  max-width: 1368px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 48px;
  align-items: center;
}

.prefs-stage {
  padding: 28px;
  border: 1px solid var(--ink);
  background: radial-gradient(circle at 50% 45%, rgba(59, 91, 219, 0.18), transparent 68%), #0e1320;
  display: flex;
  justify-content: center;
  transition: background 0.45s ease;
}

.prefs-stage.is-light-stage {
  background:
    linear-gradient(90deg, rgba(15, 20, 25, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 20, 25, 0.04) 1px, transparent 1px),
    var(--ivory);
  background-size: 32px 32px;
}

.prefs-window {
  position: relative; width: 100%; max-width: 500px; min-height: 548px; border-radius: 26px;
  display: flex; flex-direction: column; overflow: hidden;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.prefs-window.is-dark {
  background: linear-gradient(155deg, rgba(24, 29, 43, 0.96) 0%, rgba(13, 17, 26, 0.98) 100%);
  color: #ffffff; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}
.prefs-window.is-dark kbd {
  color: #e2e8f0; background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}
.prefs-window.is-light {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 247, 251, 0.98) 100%);
  color: #1d1d1f; box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
}

.prefs-header { padding: 20px 22px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.prefs-window.is-light .prefs-header { border-bottom-color: rgba(0, 0, 0, 0.08); }
.prefs-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.prefs-title-group { display: flex; align-items: center; gap: 10px; }

.prefs-badge-icon {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, #3b5bdb, #233e9c);
  display: grid; place-items: center; color: #ffffff;
}
.prefs-h-title { font-size: 18px; font-weight: 700; line-height: 1.15; }
.prefs-h-sub { font-size: 11px; opacity: 0.65; }
.prefs-header-actions { display: flex; align-items: center; gap: 7px; }

.prefs-theme-toggle {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s var(--ease-spring), background 0.2s ease;
}
.prefs-window.is-light .prefs-theme-toggle { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.1); color: #1d1d1f; }
.prefs-theme-toggle:hover { transform: scale(1.08); }

.prefs-reopen-card {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; min-height: 548px; text-align: center; color: var(--ink);
}
.prefs-stage.is-closed .prefs-window { display: none; }
.prefs-stage.is-closed .prefs-reopen-card { display: flex; }
.prefs-stage:not(.is-light-stage) .prefs-reopen-card { color: #ffffff; }

.prefs-tabs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px;
  padding: 4px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08);
}
.prefs-window.is-light .prefs-tabs { background: rgba(0, 0, 0, 0.045); border-color: rgba(0, 0, 0, 0.06); }
.prefs-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 6px 6px; border-radius: 8px; font-size: 11.5px; font-weight: 600;
  opacity: 0.72; transition: all 0.2s ease; text-align: center; white-space: nowrap;
}
.prefs-tab:hover { opacity: 1; }
.prefs-tab.is-active {
  opacity: 1; color: #ffffff; background: linear-gradient(135deg, #3b5bdb, #2d4ec7);
  box-shadow: 0 4px 12px rgba(45, 78, 199, 0.25);
}

.prefs-body { padding: 16px 20px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.prefs-pane { display: none; flex-direction: column; gap: 15px; }
.prefs-pane.is-active { display: flex; }

.prefs-sec-head { margin-bottom: 6px; padding-left: 4px; }
.prefs-sec-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.52; }
.prefs-sec-sub { font-size: 10.5px; opacity: 0.44; margin-top: 1px; }
.prefs-box { border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); padding: 11px; }
.prefs-window.is-light .prefs-box { background: rgba(255, 255, 255, 0.85); border-color: rgba(0, 0, 0, 0.07); }
.prefs-3grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.prefs-opt {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 6px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04); text-align: center; font-size: 12px; font-weight: 600; transition: all 0.2s ease;
}
.prefs-window.is-light .prefs-opt { border-color: rgba(0, 0, 0, 0.07); background: rgba(0, 0, 0, 0.025); }
.prefs-opt.is-selected { background: rgba(59, 130, 246, 0.22); border-color: rgba(147, 197, 253, 0.5); color: #ffffff; }
.prefs-window.is-light .prefs-opt.is-selected { background: var(--cobalt-ice); border-color: rgba(45, 78, 199, 0.35); color: var(--cobalt-deep); }
.prefs-opt[data-pref-source="Spotify"].is-selected { background: rgba(22, 163, 74, 0.18); border-color: rgba(34, 197, 94, 0.45); }
.prefs-window.is-light .prefs-opt[data-pref-source="Spotify"].is-selected { background: rgba(22, 163, 74, 0.11); border-color: rgba(22, 163, 74, 0.35); color: #15803d; }

.prefs-opt-check { position: absolute; top: 7px; right: 7px; opacity: 0.22; }
.prefs-opt.is-selected .prefs-opt-check { opacity: 1; color: currentColor; }

.prefs-opt-circle { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: currentColor; }
.prefs-window.is-light .prefs-opt-circle { background: rgba(0, 0, 0, 0.05); }
.prefs-opt.is-selected .prefs-opt-circle { background: rgba(59, 130, 246, 0.24); }
.prefs-window.is-light .prefs-opt.is-selected .prefs-opt-circle { background: rgba(45, 78, 199, 0.16); color: var(--cobalt); }
.prefs-opt[data-pref-source="Spotify"].is-selected .prefs-opt-circle { background: rgba(22, 163, 74, 0.24); color: #16a34a; }

.prefs-opt-square { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.prefs-window.is-light .prefs-opt-square { background: rgba(0, 0, 0, 0.045); border-color: rgba(0, 0, 0, 0.09); }
.prefs-opt.is-selected .prefs-opt-square { background: rgba(59, 130, 246, 0.24); border-color: rgba(147, 197, 253, 0.45); }
.prefs-window.is-light .prefs-opt.is-selected .prefs-opt-square { background: rgba(45, 78, 199, 0.14); border-color: rgba(45, 78, 199, 0.35); color: var(--cobalt); }
.prefs-opt small { display: block; font-size: 9.5px; font-weight: 500; opacity: 0.72; }

.prefs-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 2px; }
.prefs-row + .prefs-row { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.prefs-window.is-light .prefs-row + .prefs-row { border-top-color: rgba(0, 0, 0, 0.07); }
.prefs-row-left { display: flex; align-items: center; gap: 11px; min-width: 0; }
.prefs-row-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: rgba(59, 130, 246, 0.16); color: #60a5fa; }
.prefs-window.is-light .prefs-row-icon { background: rgba(45, 78, 199, 0.11); color: var(--cobalt); }
.prefs-row-icon.is-cobalt { background: rgba(59, 91, 219, 0.18); color: #818cf8; }
.prefs-window.is-light .prefs-row-icon.is-cobalt { background: rgba(45, 78, 199, 0.12); color: var(--cobalt); }
.prefs-row-icon.is-amber { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.prefs-window.is-light .prefs-row-icon.is-amber { background: rgba(217, 119, 6, 0.12); color: #d97706; }
.prefs-row-icon.is-teal { background: rgba(20, 184, 166, 0.18); color: #2dd4bf; }
.prefs-window.is-light .prefs-row-icon.is-teal { background: rgba(13, 148, 136, 0.12); color: #0d9488; }
.prefs-row-title { font-size: 12.5px; font-weight: 600; }
.prefs-row-sub { font-size: 10.5px; opacity: 0.65; }

.ios-switch { width: 38px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); padding: 2px; position: relative; transition: background 0.2s ease; flex-shrink: 0; }
.prefs-window.is-light .ios-switch { background: rgba(0, 0, 0, 0.15); }
.ios-switch.is-on, .prefs-window.is-light .ios-switch.is-on { background: var(--cobalt); }
.prefs-window.is-light .spec-pill { color: var(--cobalt-deep); background: var(--cobalt-ice); border-color: rgba(45, 78, 199, 0.3); }
.ios-switch::after { content: ""; display: block; width: 18px; height: 18px; border-radius: 50%; background: #ffffff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28); transition: transform 0.22s var(--ease-spring); }
.ios-switch.is-on::after { transform: translateX(16px); }
.prefs-slider-inline { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.prefs-range { width: 82px; accent-color: var(--cobalt); margin: 0; }
.prefs-hotkey-btn { padding: 5px 11px; border-radius: 8px; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: #ffffff; transition: all 0.18s ease; }
.prefs-window.is-light .prefs-hotkey-btn { background: var(--cobalt-ice); border-color: rgba(45, 78, 199, 0.3); color: var(--cobalt-deep); }
.prefs-hotkey-btn.is-recording { background: rgba(220, 38, 38, 0.16); border-color: rgba(220, 38, 38, 0.45); color: #ef4444; }

.prefs-footer { padding: 10px 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; opacity: 0.72; }
.prefs-window.is-light .prefs-footer { border-top-color: rgba(0, 0, 0, 0.08); }

/* Right-Side Agenda-Style Quick Tab Jump Rows */
.cb-agenda-tabs {
  margin-top: 28px;
  border-top: 1px solid var(--hairline);
}

.cb-agenda-tab-row {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  transition: color 0.2s ease, padding-left 0.25s var(--ease-spring);
}

.cb-agenda-tab-row:hover {
  color: var(--cobalt-bright);
  padding-left: 10px;
}

.cb-agenda-tab-row__name {
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.cb-agenda-tab-row__sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ==========================================================================
   6. Architectural Dotted-Grid Controls, Trackpad & Privacy (#controls)
   ========================================================================== */

.cb-controls {
  position: relative;
  background-color: var(--black);
  color: var(--ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M0 .5H96M.5 0V96' stroke='%23212633' stroke-dasharray='4 4'/%3E%3C/svg%3E");
  padding: 0 0 84px;
}

/* Top Dot-Matrix Ticker Header Strip (from hs-wall / hs-about__band) */
.cb-dot-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 120px;
  border-bottom: 1px solid var(--hairline-dark);
}

.cb-dotrun {
  height: 100%;
  min-height: 120px;
  background: var(--cobalt-bright);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 24px;
}

.cb-dotrun__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: dotScroll 10s linear infinite;
}

.cb-dotrun__track i {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
}

.cb-dotrun__track i:nth-child(even) {
  background: var(--ivory);
}

@keyframes dotScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cb-dot-band__title {
  padding: 24px 36px;
}

.cb-controls__grid {
  max-width: 1368px;
  margin: 64px auto 0;
  padding: 0 36px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--hairline-dark);
  border-left: 1px solid var(--hairline-dark);
}

.cb-grid-box {
  border-right: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
  background: rgba(19, 23, 32, 0.92);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

.cb-grid-box__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ivory);
}

.cb-grid-box__desc {
  margin: 0;
  font-size: 14px;
  color: rgba(245, 244, 236, 0.65);
  line-height: 1.5;
}

.shortcut-list { display: flex; flex-direction: column; gap: 8px; }
.shortcut-row {
  display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left;
  padding: 12px 14px; border: 1px solid var(--hairline-dark); background: rgba(255, 255, 255, 0.03);
  font-size: 13px; font-weight: 600; color: var(--ivory); text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease; cursor: pointer;
}
.shortcut-row:hover, .shortcut-row.is-lit { background: rgba(59, 91, 219, 0.22); border-color: var(--cobalt-bright); }
.key-group { display: inline-flex; gap: 4px; }

.trackpad-surface {
  border: 1px solid var(--hairline-dark);
  background: #0d1017;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  user-select: none;
  cursor: grab;
  touch-action: pan-y;
}
.trackpad-surface:active { cursor: grabbing; }

.trackpad-readout {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; background: rgba(59, 91, 219, 0.2); border: 1px solid rgba(59, 91, 219, 0.45);
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: #dce4ff;
}

.gesture-demo-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.025);
}

.cb-stat-val {
  font-size: clamp(38px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ivory);
}

.cb-stat-val span {
  color: var(--cobalt-bright);
}

.privacy-checklist-compact {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px;
  font-size: 13px; font-weight: 500; color: rgba(245, 244, 236, 0.78);
}
.privacy-checklist-compact li { display: flex; align-items: center; gap: 8px; }
.check-badge { color: var(--green); font-weight: 800; }

/* ==========================================================================
   7. Architectural Footer + Download CTAs (inspired by hs-foot)
   ========================================================================== */

.cb-foot {
  background: var(--black);
  color: var(--ivory);
  border-top: 1px solid var(--hairline-dark);
}

.cb-foot__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--hairline-dark);
}

.cb-foot__brand-pane {
  border-right: 1px solid var(--hairline-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cb-foot__brand-copy {
  padding: 44px 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  flex: 1;
}

.cb-foot__tile-band {
  width: 100%;
  height: 64px;
  border-top: 1px solid var(--hairline-dark);
  cursor: crosshair;
}

.cb-foot__huge-word {
  margin: 0;
  font-size: clamp(56px, 9vw, 132px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  color: var(--ivory);
}

.cb-foot__source-pane {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: #0d1017;
}

.code-block {
  position: relative;
  padding: 18px;
  background: var(--black);
  border: 1px solid var(--hairline-dark);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
  color: #dce4ff;
  overflow-x: auto;
}

.copy-btn {
  position: absolute; top: 10px; right: 10px; padding: 5px 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  background: var(--cobalt-bright); color: #ffffff;
}
.copy-btn:hover { background: var(--ivory); color: var(--black); }

/* Twin Full-Width Sweep-Fill Action Tiles */
.cb-foot__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--hairline-dark);
}

.cb-action-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 32px;
  background-color: var(--panel);
  color: var(--ivory);
  border-right: 1px solid var(--hairline-dark);
  background-image: linear-gradient(var(--cobalt-bright), var(--cobalt-bright));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: background-size 0.45s var(--ease-snap), color 0.25s ease;
}

.cb-action-tile--cobalt {
  background-color: #16275e;
}

.cb-action-tile:last-child { border-right: none; }
.cb-action-tile:hover { background-size: 100% 100%; color: #ffffff; }

.cb-action-tile__icon {
  width: 48px;
  height: 48px;
  background: var(--ivory);
  color: var(--black);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cb-action-tile__text {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.cb-foot__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 28px 36px 40px;
  gap: 24px;
  font-size: 12px;
  color: rgba(245, 244, 236, 0.58);
}

.cb-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.cb-foot__links a:hover { color: var(--cobalt-ice); text-decoration: underline; text-underline-offset: 4px; }

.cb-foot__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Privacy Subpage Framing */
.privacy-doc { max-width: 820px; margin: 0 auto; padding: 64px 24px 96px; }
.privacy-doc-card { padding: 40px; background: var(--white); border: 1px solid var(--ink); }
.privacy-doc h1 { margin: 14px 0 8px; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.04em; text-transform: uppercase; color: var(--ink); }
.privacy-doc h2 { margin: 30px 0 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; color: var(--ink); }
.privacy-doc h3 { margin: 18px 0 6px; font-size: 15px; font-weight: 700; color: var(--cobalt-deep); }
.privacy-doc a { color: var(--cobalt); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.privacy-doc p, .privacy-doc li { color: var(--ink-secondary); font-size: 15px; line-height: 1.65; }
.privacy-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.privacy-table th, .privacy-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.privacy-table th { color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ==========================================================================
   Responsive Breakpoints (1100px, 820px, 520px)
   ========================================================================== */

@media (max-width: 1100px) {
  .cb-hero__grid,
  .cb-lyrics__split,
  .settings-showcase,
  .cb-roles-band,
  .cb-dot-band,
  .cb-foot__top,
  .cb-foot__actions,
  .cb-foot__bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .cb-hero__stage-pane { border-right: none; border-bottom: 1px solid var(--ink); }
  .cb-foot__brand-pane, .cb-action-tile { border-right: none; border-bottom: 1px solid var(--hairline-dark); }
  .cb-layouts__grid { grid-template-columns: minmax(0, 1fr); }
  .cb-rings { grid-template-columns: minmax(0, 1fr); }
  .cb-roles-band__right, .cb-statement__aside { align-items: flex-start; text-align: left; }
  .cb-statement__inner { grid-template-columns: minmax(0, 1fr); }
  .span-7, .span-5, .span-4 { grid-column: span 12; }
}

@media (max-width: 820px) {
  :root { --bar-h: 58px; }
  .cb-bar { grid-template-columns: 1fr auto var(--bar-h); }
  .cb-bar__link { display: none; }
  .cb-bar__progress { width: 72px; }
  .cb-bar__track-label { padding: 0 8px; justify-content: center; }
  #nav-track-status { display: none; }

  .cb-drawer__grid { grid-template-columns: minmax(0, 1fr); }
  .player-dock-group { flex-direction: column; align-items: center; }
  .musi-lyrics-card, .musi-lyrics-card.for-mini, .musi-lyrics-card.for-compact { width: 316px; height: 210px; }
  .musi-lyrics-card.is-hidden { width: 316px; height: 0; margin-left: 0; margin-top: -7px; border: none; }
  .musi-player-card.layout-mini { width: 100%; max-width: 360px; }
}

@media (max-width: 520px) {
  .cb-hero__editorial-body, .cb-statement, .cb-layouts, .cb-lyrics, .cb-settings, .cb-controls__grid, .cb-foot__brand-copy, .cb-foot__source-pane, .cb-foot__bottom {
    padding-left: 18px;
    padding-right: 18px;
  }
  .cb-hero__tile-strip { height: 56px; }
  .cb-foot__tile-band { height: 52px; }

  .cb-grid-box { padding: 20px; }
  .brand-meta { display: none; }
  .musi-player-card.layout-standard, .musi-lyrics-card, .musi-lyrics-card.for-mini, .musi-lyrics-card.for-compact { width: 288px; }
  .musi-lyrics-card, .musi-lyrics-card.for-mini, .musi-lyrics-card.for-compact, .musi-lyrics-card.is-playlist-open { height: 210px; }
  .musi-player-card.layout-standard { height: 468px; }
  .layout-standard .player-art-bg { height: 468px; }
  .layout-standard .player-scrim-bottom { top: 143px; }
  .musi-player-card.layout-standard.is-playlist-open { height: 610px; }
  .std-upper { height: 468px; }
  .musi-player-card.layout-mini .mini-transport { display: none; }

  .lyrics-gallery-stage { height: 300px; padding: 10px; }
  .lyrics-pair-wrap.is-std-pair { transform: scale(0.55); }
  .lyrics-pair-wrap.is-mini-pair { transform: scale(0.54); }
  .lyrics-pair-wrap.is-compact-pair { transform: scale(0.64); }

  .shortcut-row, .gesture-demo-row { flex-wrap: wrap; gap: 8px; }
  .prefs-stage, .privacy-doc-card { padding: 18px; }
  .prefs-tab { font-size: 10.5px; padding: 6px 4px; }
  .prefs-3grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   8. Chande Kinetic Motion System (Hero Mask, Velocity Tilt, Eye, Scramble, Cursor)
   ========================================================================== */

.cb-reveal-line {
  display: block;
  overflow: hidden;
  padding-block: 0.05em;
  margin-block: -0.05em;
}

.cb-reveal-line > span {
  display: block;
  will-change: transform, opacity;
  transform: translateY(108%);
  opacity: 0;
}

html.is-hero-ready .cb-reveal-line > span,
html.no-motion .cb-reveal-line > span {
  animation: cbLineRise 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

html.is-hero-done .cb-reveal-line > span {
  animation: none;
  transform: none;
  opacity: 1;
}

html.is-hero-ready .cb-reveal-line:nth-child(2) > span { animation-delay: 0.07s; }
html.is-hero-ready .cb-reveal-line:nth-child(3) > span { animation-delay: 0.14s; }

@keyframes cbLineRise {
  from {
    transform: translateY(108%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

.tilt-line {
  display: block;
  transform-origin: 8% 50%;
  will-change: transform;
}

[data-tilt] > .cb-statement__row {
  transform-origin: 6% 50%;
  will-change: transform;
}

/* Scroll-linked progressive ink sweep on editorial statement phrases */
[data-titlefx].is-fx-mounted .fx-phrase {
  --fx: 0;
  background-image: linear-gradient(
    90deg,
    var(--ink) calc(var(--fx) * 116% - 16%),
    rgba(15, 20, 25, 0.24) calc(var(--fx) * 116%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Statement animated chips (Eye & EQ) */
#stmt-eye-chip {
  padding: 0 14px;
  cursor: pointer;
}

.stmt-eye-svg {
  display: block;
  overflow: visible;
}

.chip-eq-bars i {
  transition: transform 0.09s linear;
}

.cb-scheme > i {
  transform-origin: center left;
  will-change: transform;
}

/* Concentric orbital ring scroll rotation */
.cb-ring {
  transform: rotate(var(--ring-rot, 0deg)) scale(var(--ring-scale, 1));
  will-change: transform;
}

.cb-ring:hover {
  --ring-scale: 1.05;
  border-color: var(--cobalt-bright);
}

.cb-ring__inner {
  transform: rotate(calc(var(--ring-rot, 0deg) * -1));
  will-change: transform;
}

/* Decode Scramble Links & Kinetic Underlines */
[data-scramble] {
  position: relative;
}

.cb-layout-panel__action:hover span[aria-hidden="true"] {
  transform: translate(3px, -3px);
}

.cb-layout-panel__action span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 0.24s var(--ease-spring);
}

.cb-action-tile:hover .cb-action-tile__icon {
  transform: scale(1.08) rotate(-4deg);
}

.cb-action-tile__icon {
  transition: transform 0.32s var(--ease-spring);
}

.cb-stat-val em {
  font-style: normal;
}

/* Magnetic Kinetic Cobalt Cursor Follower (Desktop pointer: fine) */
.cb-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 50%;
  border: 1.5px solid var(--cobalt-bright);
  background: rgba(59, 91, 219, 0.14);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) scale(1);
  transition:
    width 0.24s var(--ease-spring),
    height 0.24s var(--ease-spring),
    margin 0.24s var(--ease-spring),
    border-radius 0.24s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    opacity 0.22s ease;
  will-change: transform;
}

.cb-cursor::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--cobalt-bright);
  transition: transform 0.2s var(--ease-spring), opacity 0.2s ease;
}

.cb-cursor.is-visible {
  opacity: 1;
}

.cb-cursor.is-interactive {
  width: 40px;
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  background: rgba(59, 91, 219, 0.08);
  border-color: var(--cobalt-bright);
}

.cb-cursor.is-interactive::after {
  transform: scale(0.5);
  opacity: 0.45;
}

.cb-cursor.is-tile {
  width: 26px;
  height: 26px;
  margin-left: -13px;
  margin-top: -13px;
  border-radius: 5px;
  border-color: #93aee8;
  background: rgba(59, 91, 219, 0.22);
}

.cb-cursor.is-dim {
  opacity: 0.2;
}

@media (hover: none), (pointer: coarse) {
  .cb-cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .cb-reveal-line > span { transform: none; opacity: 1; animation: none !important; }
  .cb-cursor { display: none !important; }
  .cb-ring, .cb-ring__inner { transform: none !important; }
  [data-titlefx].is-fx-mounted .fx-phrase { color: var(--ink) !important; background: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
