/* ==========================================================================
   KRĒATIV — CORE DESIGN SYSTEM & STYLESHEET (index.css)
   Vanilla CSS with Custom Token Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --be-blue: #0057FF;
  --be-blue-hover: #003ECB;
  --be-blue-active: #002D99;
  --be-blue-tint: #EBF2FF;
  --be-blue-border: #B8D1FF;
  --be-hire-green: #00A86B;
  --be-hire-green-tint: #E6F7F0;

  /* Neutral Palette */
  --be-ink-primary: #191919;
  --be-ink-secondary: #333333;
  --be-ink-muted: #696969;
  --be-ink-subtle: #959595;
  --be-bg-canvas: #F9F9F9;
  --be-bg-surface: #FFFFFF;
  --be-bg-pill: #F2F2F2;
  --be-bg-pill-hover: #E5E5E5;
  --be-border-light: #EFEFEF;
  --be-border-default: #E8E8E8;
  --be-border-strong: #D0D0D0;

  /* Dark Overlay & Ribbons */
  --be-backdrop-dark: rgba(25, 25, 25, 0.92);
  --be-card-scrim: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.78) 100%);

  /* Typography */
  --be-font-sans: "Acumin Pro", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --be-font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Spacing */
  --be-header-height: 56px;
  --be-footer-height: 42px;
  --be-sidebar-width: 280px;
  --be-grid-gap: 20px;
  --be-container-pad: 24px;

  /* Radii & Shadows */
  --be-radius-xs: 4px;
  --be-radius-sm: 6px;
  --be-radius-md: 8px;
  --be-radius-lg: 12px;
  --be-radius-pill: 9999px;

  --be-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --be-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.10);
  --be-shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.16);
  --be-shadow-popover: 0 8px 28px rgba(25, 25, 25, 0.15), 0 0 1px rgba(25, 25, 25, 0.2);

  /* Transitions */
  --be-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --be-transition-fast: 150ms ease;
  --be-transition-smooth: 240ms var(--be-ease);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--be-font-sans);
  background-color: var(--be-bg-canvas);
  color: var(--be-ink-primary);
  line-height: 1.45;
  padding-bottom: calc(var(--be-footer-height) + 16px);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

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

/* ==========================================================================
   1. GLOBAL STICKY TOP HEADER (56px)
   ========================================================================== */
.be-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--be-header-height);
  background: var(--be-bg-surface);
  border-bottom: 1px solid var(--be-border-default);
  padding: 0 var(--be-container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.be-header__left {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.be-logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--be-font-display);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.04em;
  color: var(--be-ink-primary);
  padding: 4px 0;
  user-select: none;
}

.be-logo svg {
  height: 20px;
  width: auto;
  display: block;
}

.be-nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 4px;
}

.be-nav__item {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--be-ink-primary);
  transition: color var(--be-transition-fast);
  white-space: nowrap;
}

.be-nav__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--be-ink-primary);
  transform: scaleX(0);
  transition: transform var(--be-transition-fast);
}

.be-nav__item:hover::after,
.be-nav__item.is-active::after {
  transform: scaleX(1);
}

.be-nav__badge-pro {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0057FF 0%, #0099FF 100%);
  border-radius: 3px;
  line-height: 1;
}

.be-nav__divider {
  width: 1px;
  height: 20px;
  background: var(--be-border-default);
  margin: 0 4px;
}

/* Header Dropdown Menu */
.be-nav__dropdown-wrap {
  position: relative;
  height: 100%;
}

.be-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 230px;
  background: var(--be-bg-surface);
  border-radius: var(--be-radius-md);
  box-shadow: var(--be-shadow-popover);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--be-transition-fast);
  z-index: 120;
}

.be-nav__dropdown-wrap:hover .be-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.be-dropdown-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--be-ink-primary);
  border-radius: var(--be-radius-sm);
  text-align: left;
  transition: background var(--be-transition-fast);
}

.be-dropdown-menu__item:hover {
  background: var(--be-bg-pill);
}

.be-dropdown-menu__sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--be-ink-muted);
}

.be-dropdown-menu__sep {
  height: 1px;
  background: var(--be-border-light);
  margin: 6px 0;
}

/* Header Right Controls */
.be-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.be-icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: var(--be-radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--be-ink-primary);
  transition: background var(--be-transition-fast);
}

.be-icon-btn:hover {
  background: var(--be-bg-pill);
}

.be-icon-btn__dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--be-blue);
  border: 1.5px solid #FFFFFF;
}

.be-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 16px;
  border-radius: var(--be-radius-pill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--be-transition-fast);
}

.be-btn--secondary {
  background: var(--be-bg-pill);
  color: var(--be-ink-primary);
  border: 1px solid transparent;
}

.be-btn--secondary:hover {
  background: var(--be-bg-pill-hover);
}

.be-btn--outline {
  background: var(--be-bg-surface);
  color: var(--be-ink-primary);
  border: 1px solid var(--be-border-default);
}

.be-btn--outline:hover {
  border-color: var(--be-border-strong);
  background: var(--be-bg-canvas);
}

.be-btn--primary {
  background: var(--be-blue);
  color: #FFFFFF;
}

.be-btn--primary:hover {
  background: var(--be-blue-hover);
}

.be-btn--pro-trial {
  background: linear-gradient(90deg, #0057FF 0%, #0041C4 100%);
  color: #FFFFFF;
  padding: 0 14px;
  font-size: 13px;
}

.be-btn--pro-trial:hover {
  filter: brightness(1.08);
}

/* ==========================================================================
   2. STICKY DISCOVERY CONTROL BAR (SEARCH + SEGMENTS + CATEGORY CAROUSEL)
   ========================================================================== */
.be-discovery-bar {
  position: sticky;
  top: var(--be-header-height);
  z-index: 90;
  background: var(--be-bg-surface);
  border-bottom: 1px solid var(--be-border-default);
  padding: 14px var(--be-container-pad) 12px;
  transition: box-shadow var(--be-transition-fast);
}

.be-discovery-bar.is-scrolled {
  box-shadow: var(--be-shadow-sm);
}

/* Row 1: Filter Toggle + Unified Search + Sort Control */
.be-discovery-bar__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.be-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--be-radius-pill);
  border: 1px solid var(--be-border-default);
  background: var(--be-bg-surface);
  font-size: 14px;
  font-weight: 700;
  color: var(--be-ink-primary);
  transition: all var(--be-transition-fast);
  flex-shrink: 0;
}

.be-filter-toggle:hover {
  border-color: var(--be-border-strong);
  background: var(--be-bg-canvas);
}

.be-filter-toggle.is-active {
  background: var(--be-ink-primary);
  color: #FFFFFF;
  border-color: var(--be-ink-primary);
}

.be-filter-toggle__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--be-radius-pill);
  background: var(--be-blue);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
}

/* Unified Search Input + Segment Bar */
.be-search-omnibar {
  flex: 1;
  display: flex;
  align-items: center;
  height: 44px;
  background: var(--be-bg-canvas);
  border: 1px solid var(--be-border-default);
  border-radius: var(--be-radius-pill);
  padding: 0 6px 0 16px;
  transition: all var(--be-transition-fast);
  position: relative;
}

.be-search-omnibar:focus-within {
  background: var(--be-bg-surface);
  border-color: var(--be-ink-primary);
  box-shadow: 0 0 0 3px rgba(25, 25, 25, 0.06);
}

.be-search-omnibar__icon {
  color: var(--be-ink-muted);
  margin-right: 10px;
  flex-shrink: 0;
  display: flex;
}

.be-search-omnibar__input {
  flex: 1;
  min-width: 140px;
  height: 100%;
  font-size: 15px;
  font-weight: 600;
  color: var(--be-ink-primary);
  outline: none;
}

.be-search-omnibar__input::placeholder {
  color: var(--be-ink-muted);
  font-weight: 500;
}

.be-search-omnibar__clear {
  display: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--be-border-default);
  color: var(--be-ink-secondary);
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 12px;
}

.be-search-omnibar__clear.is-visible {
  display: inline-flex;
}

.be-search-segments {
  display: flex;
  align-items: center;
  gap: 2px;
  border-left: 1px solid var(--be-border-default);
  padding-left: 8px;
}

.be-search-segments__btn {
  height: 32px;
  padding: 0 12px;
  border-radius: var(--be-radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--be-ink-muted);
  transition: all var(--be-transition-fast);
  white-space: nowrap;
}

.be-search-segments__btn:hover {
  color: var(--be-ink-primary);
  background: rgba(0, 0, 0, 0.04);
}

.be-search-segments__btn.is-active {
  background: var(--be-ink-primary);
  color: #FFFFFF;
}

/* Sort Control */
.be-sort-control {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.be-sort-control__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--be-ink-muted);
}

.be-sort-control__select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.be-sort-control__select {
  height: 44px;
  padding: 0 32px 0 14px;
  border-radius: var(--be-radius-pill);
  border: 1px solid var(--be-border-default);
  background: var(--be-bg-surface);
  font-size: 13px;
  font-weight: 700;
  color: var(--be-ink-primary);
  cursor: pointer;
  appearance: none;
  outline: none;
  transition: border-color var(--be-transition-fast);
}

.be-sort-control__select:hover {
  border-color: var(--be-border-strong);
}

.be-sort-control__chevron {
  position: absolute;
  right: 12px;
  pointer-events: none;
  color: var(--be-ink-primary);
}

/* Row 2: Creative Fields Visual Carousel */
.be-category-strip {
  position: relative;
  margin-top: 12px;
  display: flex;
  align-items: center;
}

.be-category-strip__track {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
  scroll-behavior: smooth;
}

.be-category-strip__track::-webkit-scrollbar {
  display: none;
}

.be-category-pill {
  position: relative;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--be-radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform var(--be-transition-fast), box-shadow var(--be-transition-fast);
  border: 2px solid transparent;
}

.be-category-pill__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform var(--be-transition-smooth);
}

.be-category-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.36);
  z-index: 1;
  transition: background var(--be-transition-fast);
}

.be-category-pill:hover {
  transform: translateY(-1px);
  box-shadow: var(--be-shadow-sm);
}

.be-category-pill:hover .be-category-pill__bg {
  transform: scale(1.08);
}

.be-category-pill:hover::after {
  background: rgba(15, 15, 15, 0.22);
}

.be-category-pill.is-active {
  border-color: var(--be-ink-primary);
  box-shadow: 0 0 0 2px #FFFFFF inset, var(--be-shadow-sm);
}

.be-category-pill.is-active::after {
  background: rgba(0, 87, 255, 0.72);
}

.be-category-pill__label,
.be-category-pill__badge {
  position: relative;
  z-index: 2;
}

.be-category-pill__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  font-size: 10px;
  font-weight: 800;
}

/* ==========================================================================
   3. WORKSPACE SPLIT LAYOUT (FILTER SIDEBAR + MAIN GALLERY FEED)
   ========================================================================== */
.be-workspace {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 180px);
}

/* Left Collapsible Filter Sidebar */
.be-filter-sidebar {
  width: 0;
  overflow: hidden;
  background: var(--be-bg-surface);
  border-right: 1px solid transparent;
  transition: width var(--be-transition-smooth), border-color var(--be-transition-smooth);
  flex-shrink: 0;
  position: sticky;
  top: 175px;
  max-height: calc(100vh - 215px);
  overflow-y: auto;
}

.be-filter-sidebar.is-open {
  width: var(--be-sidebar-width);
  border-right-color: var(--be-border-default);
}

.be-filter-sidebar__inner {
  width: var(--be-sidebar-width);
  padding: 20px;
}

.be-filter-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--be-border-light);
  margin-bottom: 14px;
}

.be-filter-sidebar__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--be-ink-primary);
}

.be-filter-sidebar__reset {
  font-size: 12px;
  font-weight: 600;
  color: var(--be-blue);
}

.be-filter-sidebar__reset:hover {
  text-decoration: underline;
}

.be-filter-group {
  border-bottom: 1px solid var(--be-border-light);
  padding: 14px 0;
}

.be-filter-group__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: var(--be-ink-primary);
  margin-bottom: 10px;
}

.be-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.be-filter-chip {
  padding: 6px 11px;
  border-radius: var(--be-radius-sm);
  border: 1px solid var(--be-border-default);
  background: var(--be-bg-surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--be-ink-secondary);
  transition: all var(--be-transition-fast);
}

.be-filter-chip:hover {
  border-color: var(--be-ink-primary);
  color: var(--be-ink-primary);
}

.be-filter-chip.is-selected {
  background: var(--be-blue-tint);
  border-color: var(--be-blue);
  color: var(--be-blue);
}

/* Color Swatch Filter */
.be-color-swatches {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.be-color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  transition: transform var(--be-transition-fast), box-shadow var(--be-transition-fast);
}

.be-color-swatch:hover {
  transform: scale(1.15);
}

.be-color-swatch.is-selected {
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--be-ink-primary);
  transform: scale(1.1);
}

/* Toggle Switch inside Filter */
.be-filter-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--be-ink-secondary);
  cursor: pointer;
}

.be-switch {
  width: 38px;
  height: 22px;
  border-radius: var(--be-radius-pill);
  background: var(--be-border-strong);
  position: relative;
  transition: background var(--be-transition-fast);
}

.be-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform var(--be-transition-fast);
}

.be-switch.is-on {
  background: var(--be-blue);
}

.be-switch.is-on::after {
  transform: translateX(16px);
}

/* Main Content Area */
.be-main {
  flex: 1;
  min-width: 0;
  padding: 20px var(--be-container-pad) 48px;
}

/* Active Filter Status Bar */
.be-active-filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.be-active-filters-bar__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.be-results-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--be-ink-primary);
}

.be-results-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--be-ink-muted);
}

.be-active-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--be-radius-pill);
  background: var(--be-bg-surface);
  border: 1px solid var(--be-border-default);
  font-size: 12px;
  font-weight: 600;
  color: var(--be-ink-primary);
}

.be-active-tag button {
  color: var(--be-ink-muted);
  font-size: 14px;
  line-height: 1;
}

.be-active-tag button:hover {
  color: var(--be-ink-primary);
}

/* ==========================================================================
   4. RESPONSIVE MULTI-COLUMN PROJECT FEED GRID & PROJECT CARDS
   ========================================================================== */
.be-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}

@media (min-width: 1720px) {
  .be-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1240px) {
  .be-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .be-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .be-search-segments {
    display: none;
  }
  .be-nav {
    display: none;
  }
}

@media (max-width: 580px) {
  .be-grid {
    grid-template-columns: 1fr;
  }
  .be-header {
    padding: 0 14px;
  }
  .be-discovery-bar {
    padding: 10px 14px;
  }
  .be-main {
    padding: 16px 14px 40px;
  }
}

/* Project Card Component */
.be-card {
  display: flex;
  flex-direction: column;
  position: relative;
  group: card;
}

.be-card__cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 404 / 316;
  border-radius: var(--be-radius-sm);
  overflow: hidden;
  background: #E8E8E8;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.be-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 420ms var(--be-ease);
}

.be-card__cover-wrap:hover .be-card__img {
  transform: scale(1.03);
}

/* Curated Gallery Hanging Ribbon (Top-Right) */
.be-ribbon {
  position: absolute;
  top: 0;
  right: 12px;
  z-index: 5;
  width: 26px;
  height: 33px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
  transform: translateY(-2px);
  transition: transform var(--be-transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.be-card__cover-wrap:hover .be-ribbon {
  transform: translateY(0);
}

.be-ribbon--be { background: #0057FF; }
.be-ribbon--gd { background: #E51937; }
.be-ribbon--3d { background: #7B2CBF; }
.be-ribbon--ph { background: #191919; }
.be-ribbon--il { background: #F57C00; }
.be-ribbon--ui { background: #00897B; }
.be-ribbon--id { background: #D84315; }
.be-ribbon--ar { background: #283593; }

/* Card Hover Overlay Scrim */
.be-card__overlay {
  position: absolute;
  inset: 0;
  background: var(--be-card-scrim);
  opacity: 0;
  transition: opacity 180ms ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
  z-index: 3;
}

.be-card__cover-wrap:hover .be-card__overlay {
  opacity: 1;
}

.be-card__overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.be-card__save-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--be-radius-pill);
  background: rgba(25, 25, 25, 0.78);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  transition: background var(--be-transition-fast), transform var(--be-transition-fast);
}

.be-card__save-btn:hover {
  background: #FFFFFF;
  color: var(--be-ink-primary);
  transform: scale(1.03);
}

.be-card__save-btn.is-saved {
  background: var(--be-blue);
  color: #FFFFFF;
}

.be-card__overlay-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.be-card__title {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* Asset Price Tag (when in Assets tab or has asset) */
.be-card__price-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 4;
  padding: 3px 8px;
  border-radius: var(--be-radius-xs);
  background: rgba(25, 25, 25, 0.82);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
}

/* Card Metadata Footer Row */
.be-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  position: relative;
}

.be-card__author-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.be-card__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #FFFFFF;
}

.be-card__author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--be-ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.be-card__author-name:hover {
  text-decoration: underline;
}

/* Creator Hover Mini-Card Popover */
.be-author-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 290px;
  background: var(--be-bg-surface);
  border-radius: var(--be-radius-md);
  box-shadow: var(--be-shadow-popover);
  padding: 14px;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 180ms var(--be-ease);
  pointer-events: none;
}

.be-card__author-wrap:hover .be-author-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.be-author-popover__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.be-author-popover__info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.be-author-popover__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
}

.be-author-popover__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--be-ink-primary);
}

.be-author-popover__loc {
  font-size: 12px;
  color: var(--be-ink-muted);
}

.be-author-popover__avail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--be-hire-green);
  background: var(--be-hire-green-tint);
  padding: 3px 8px;
  border-radius: var(--be-radius-pill);
  margin-bottom: 10px;
}

.be-author-popover__avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--be-hire-green);
}

.be-author-popover__actions {
  display: flex;
  gap: 8px;
}

.be-author-popover__actions .be-btn {
  flex: 1;
  height: 30px;
  font-size: 12px;
}

/* Card Engagement Stats (Right side of metadata row) */
.be-card__stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.be-stat-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--be-ink-muted);
  transition: color var(--be-transition-fast), transform var(--be-transition-fast);
}

.be-stat-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.be-stat-btn--like:hover {
  color: var(--be-ink-primary);
}

.be-stat-btn--like.is-liked {
  color: var(--be-blue);
}

/* ==========================================================================
   5. SECONDARY VIEWS (JOBS BOARD & HIRE FREELANCERS DIRECTORY)
   ========================================================================== */
.be-jobs-grid,
.be-hire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.be-job-card,
.be-freelancer-card {
  background: var(--be-bg-surface);
  border: 1px solid var(--be-border-default);
  border-radius: var(--be-radius-md);
  padding: 20px;
  transition: box-shadow var(--be-transition-fast), border-color var(--be-transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.be-job-card:hover,
.be-freelancer-card:hover {
  border-color: var(--be-border-strong);
  box-shadow: var(--be-shadow-sm);
}

/* ==========================================================================
   6. FULL-SCREEN CASE STUDY LIGHTBOX MODAL
   ========================================================================== */
.be-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--be-backdrop-dark);
  overflow-y: auto;
  padding: 28px 24px 64px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.be-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.be-modal-close-bar {
  position: fixed;
  top: 16px;
  right: 24px;
  z-index: 1020;
}

.be-modal-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--be-transition-fast);
}

.be-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.be-case-study-shell {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.be-case-study {
  flex: 1;
  min-width: 0;
  background: var(--be-bg-surface);
  border-radius: var(--be-radius-md);
  overflow: hidden;
  box-shadow: var(--be-shadow-lg);
}

/* Case Study Top Creator Bar */
.be-case-study__header {
  padding: 20px 28px;
  background: var(--be-bg-surface);
  border-bottom: 1px solid var(--be-border-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.be-case-study__creator {
  display: flex;
  align-items: center;
  gap: 14px;
}

.be-case-study__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
}

.be-case-study__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--be-ink-primary);
  line-height: 1.25;
}

.be-case-study__sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--be-ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

/* Case Study Visual Canvas */
.be-case-study__canvas {
  background: #111111;
  color: #FFFFFF;
}

.be-case-study__hero-img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  display: block;
}

.be-case-study__module {
  padding: 56px 64px;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .be-case-study__module {
    padding: 32px 20px;
  }
}

.be-case-study__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6EA2FF;
  margin-bottom: 12px;
}

.be-case-study__h2 {
  font-family: var(--be-font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}

.be-case-study__p {
  font-size: 16px;
  line-height: 1.7;
  color: #CCCCCC;
}

.be-case-study__specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.be-case-study__spec-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--be-radius-md);
  padding: 18px;
}

/* Case Study Bottom Appreciation Banner & Comments */
.be-case-study__appreciate-footer {
  background: #191919;
  padding: 48px 24px;
  text-align: center;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.be-appreciate-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--be-blue);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.45);
  transition: transform var(--be-transition-fast), background var(--be-transition-fast);
}

.be-appreciate-circle:hover {
  transform: scale(1.08);
  background: var(--be-blue-hover);
}

.be-appreciate-circle.is-liked {
  background: #FFFFFF;
  color: var(--be-blue);
}

.be-case-study__comments-section {
  padding: 36px 48px;
  background: var(--be-bg-surface);
  color: var(--be-ink-primary);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
}

@media (max-width: 900px) {
  .be-case-study__comments-section {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}

/* Sticky Floating Right Action Rail in Lightbox */
.be-floating-rail {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 72px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .be-floating-rail {
    display: none;
  }
}

.be-rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.be-rail-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--be-transition-fast);
}

.be-rail-btn:hover {
  background: #FFFFFF;
  color: var(--be-ink-primary);
  transform: translateY(-2px);
}

.be-rail-btn--appreciate {
  width: 56px;
  height: 56px;
  background: var(--be-blue);
  box-shadow: 0 6px 20px rgba(0, 87, 255, 0.5);
}

.be-rail-btn--appreciate:hover {
  background: var(--be-blue-hover);
  color: #FFFFFF;
}

.be-rail-btn--appreciate.is-liked {
  background: #FFFFFF;
  color: var(--be-blue);
}

/* ==========================================================================
   7. DIALOG MODALS (MOODBOARD SAVER & SHARE WORK) & TOAST
   ========================================================================== */
.be-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(25, 25, 25, 0.65);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 180ms ease;
}

.be-dialog-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.be-dialog {
  width: 100%;
  max-width: 460px;
  background: var(--be-bg-surface);
  border-radius: var(--be-radius-lg);
  box-shadow: var(--be-shadow-lg);
  padding: 24px;
}

.be-toast {
  position: fixed;
  bottom: 58px;
  right: 24px;
  z-index: 1200;
  background: var(--be-ink-primary);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: var(--be-radius-md);
  box-shadow: var(--be-shadow-md);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 220ms var(--be-ease);
}

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

/* ==========================================================================
   8. STICKY UTILITY FOOTER BAR
   ========================================================================== */
.be-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--be-footer-height);
  background: var(--be-bg-surface);
  border-top: 1px solid var(--be-border-default);
  padding: 0 var(--be-container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 95;
  font-size: 12px;
  font-weight: 600;
  color: var(--be-ink-muted);
}

.be-footer__links {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
}

.be-footer__link:hover {
  color: var(--be-ink-primary);
}
