/* ════════════════════════════════════════════════════════
   theme.css  —  毛艺然的窝 shared theme
   Include this on every page. Keep page-specific rules
   in their own CSS file.
════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS & COMPONENTS ── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('etc.css');

/* ── BRAND VARIABLES (light mode defaults) ── */
:root {
  /* Brand palette */
  --blue:        #007BFF;
  --blue-d:      #0060cc;
  --yellow:      #FFD600;

  /* Semantic tokens — light */
  --bg:            #ffffff;
  --bg-alt:        #f4f6fa;
  --bg-gradient:   linear-gradient(135deg, #f0f4ff 0%, #ffffff 50%, #fffde6 100%);
  --text:          #0d0d0d;
  --text-muted:    #666666;
  --header-bg:     #007BFF;
  --header-text:   #ffffff;
  --header-muted:  rgba(255, 255, 255, 0.60);
  --header-hover:  rgba(255, 255, 255, 0.10);
  --header-active: rgba(0, 0, 0, 0.12);
  --border:        rgba(0, 0, 0, 0.10);
  --shadow:        rgba(0, 0, 0, 0.14);

  /* Mobile nav */
  --mnav-bg:       #0060cc;
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --bg:            #09090d;
  --bg-alt:        #111118;
  --bg-gradient:   linear-gradient(135deg, #09090d 0%, #111118 100%);
  --text:          #e8e8e8;
  --text-muted:    #888899;
  --header-bg:     #0a0a14;
  --header-text:   #ffffff;
  --header-muted:  rgba(255, 255, 255, 0.45);
  --header-hover:  rgba(255, 255, 255, 0.07);
  --header-active: rgba(255, 255, 255, 0.04);
  --border:        rgba(255, 255, 255, 0.08);
  --shadow:        rgba(0, 0, 0, 0.40);
  --mnav-bg:       #0d0d1a;
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  overflow-x: clip;
  transition: background 0.3s, color 0.3s;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
  touch-action: none !important;
  overscroll-behavior: none !important;
}

a { -webkit-tap-highlight-color: transparent; outline: none; }
button { -webkit-tap-highlight-color: transparent; outline: none; }

/* ── CONTAINER ── */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (max-width: 400px) {
  .container {
    width: 100%;
    padding: 0 14px;
  }
}

/* ════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  box-shadow: 0 2px 16px var(--shadow);
  transition: background 0.3s, box-shadow 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 54px;
  gap: 0;
}

/* ── Logo ── */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  padding: 0 20px;
  height: 100%;
  gap: 8px;
}

.header-logo .logo-text {
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--header-text);
  letter-spacing: 0.06em;
  line-height: 1;
  transition: opacity 0.2s;
}

.header-logo .logo-dot {
  color: var(--yellow);
  -webkit-text-fill-color: var(--yellow);
}

.header-logo:hover .logo-text { opacity: 0.85; }

/* ── Nav (desktop) ── */
.header-nav {
  flex: 1;
  display: flex;
  align-items: center;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.header-nav::-webkit-scrollbar { display: none; }

.header-nav ul {
  list-style: none;
  display: flex;
  align-items: stretch;
  height: 100%;
  padding: 0;
  gap: 0;
  margin-left: auto;
}

.header-nav ul li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.header-nav ul li a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--header-text);
  text-decoration: none;
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background 0.2s;
  position: relative;
}

/* yellow underline on hover */
.header-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
  pointer-events: none;
}

.header-nav ul li a:hover { background: var(--header-hover); }
.header-nav ul li a:hover::after { transform: scaleX(1); }

.header-nav ul li a.active-link {
  color: var(--blue) !important;
}
.header-nav ul li a.active-link::after {
  transform: scaleX(1);
}

/* Fun link yellow tint */
.header-nav .nav-fun { color: var(--yellow) !important; }

/* Commission CTA */
.header-nav .nav-cta a {
  background: var(--yellow);
  color: #0d0d0d !important;
  padding: 0 22px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  transition: background 0.2s, opacity 0.2s;
}
.header-nav .nav-cta a::after { display: none; }
.header-nav .nav-cta a:hover { background: #e6c200; opacity: 1; }

/* ── Header right cluster ── */
.header-right {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  gap: 0;
}

/* ── Dark mode toggle ── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--header-text);
  transition: background 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--header-hover); }

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.2s, transform 0.3s;
}

/* show correct icon per mode */
.icon-moon { display: block; }
.icon-sun  { display: none;  }

[data-theme="dark"] .icon-moon { display: none;  }
[data-theme="dark"] .icon-sun  { display: block; }

/* ── Burger button ── */
.burger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--header-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

/* animate to X */
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════
   MOBILE NAV
════════════════════════════════════════════════════════ */
.mobile-nav {
  background: var(--mnav-bg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  border-bottom: 1.5px solid transparent;
}

.mobile-nav.open {
  max-height: 400px;
  border-bottom-color: var(--border);
}

.mobile-nav ul {
  list-style: none;
  padding: 8px 0 16px;
  display: flex;
  flex-direction: column;
}

.mobile-nav ul li a {
  display: block;
  padding: 12px 24px;
  color: var(--header-text);
  text-decoration: none;
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s, padding-left 0.2s;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a:active {
  background: rgba(255,255,255,0.07);
  border-left-color: var(--yellow);
  padding-left: 30px;
}

.mobile-nav ul li a.active-link {
  color: var(--blue) !important;
  border-left-color: var(--blue) !important;
  padding-left: 30px;
}

.mobile-nav .mnav-fun { color: var(--yellow) !important; }

.mobile-nav .mnav-cta a {
  margin: 6px 20px 0;
  padding: 10px 24px;
  background: var(--yellow);
  color: #0d0d0d !important;
  border-left: none !important;
  display: block;
  text-align: center;
  font-size: 0.9rem;
}
.mobile-nav .mnav-cta a:hover { background: #e6c200; padding-left: 24px; }

/* ════════════════════════════════════════════════════════
   FOOTER (shared)
════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--blue, #007BFF) !important;
  color: #ffffff !important;
  text-align: center;
  padding: 16px 0;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-family: 'Boldonse', 'SourceHanSansSC', sans-serif;
  transition: background 0.3s;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.site-footer p {
  color: #ffffff !important;
  margin: 0;
}

.footer-credits-link {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  font-size: 1.15rem;
  font-weight: 700;
  transition: color 0.2s, transform 0.2s;
  padding: 4px;
  flex-shrink: 0;
}

.footer-credits-link:hover {
  color: var(--yellow) !important;
  transform: scale(1.18);
}

.footer-sitemap-link {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0 !important; /* Sharp 0px edges */
  flex-shrink: 0;
}

.footer-sitemap-link:hover {
  color: #000000 !important;
  background: var(--yellow, #ffd600) !important;
  border-color: var(--yellow, #ffd600) !important;
  transform: translateY(-1px);
}

.site-footer p {
  margin: 0;
  line-height: 1.5;
  text-align: left;
}

.footer-note {
  font-size: 0.78rem;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .site-footer {
    font-size: 0.65rem;
    padding: 14px 0;
  }
  .site-footer p {
    line-height: 1.3;
  }
  #scroll-top-btn {
    height: 38px;
    font-size: 0.72rem;
  }
}

/* ════════════════════════════════════════════════════════
   SHARED ANIMATIONS
════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — show burger, hide desktop nav
════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
  .header-nav { display: none; }
  .header-right { margin-left: auto; }
  .burger-btn { display: flex; }
}

/* ════════════════════════════════════════════════════════
   NAV SOCIALS
════════════════════════════════════════════════════════ */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--header-text) !important;
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s;
  text-decoration: none !important;
}
.nav-social-link::after { display: none !important; }
.nav-social-link:hover {
  opacity: 1;
  background: var(--header-hover) !important;
}
.nav-social-link svg {
  width: 17px;
  height: 17px;
  display: block;
  flex-shrink: 0;
}

/* Mobile socials row */
.mnav-socials {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}
.mnav-socials .nav-social-link {
  width: auto;
  height: 38px;
  padding: 0 12px;
  gap: 6px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}
.mnav-socials .nav-social-link svg {
  width: 16px;
  height: 16px;
}

/* ── Header social links (shared) ── */
.header-socials {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}
.header-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  transition: color 0.2s;
  border-radius: 2px;
  text-decoration: none;
}
.header-social-link svg {
  width: 16px;
  height: 16px;
}
.header-social-link:hover { color: var(--blue); }

/* ════════════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON (global)
════════════════════════════════════════════════════════ */
#scroll-top-btn {
  width: 100%;
  height: 44px;
  background: var(--blue, #007BFF) !important;
  color: #ffffff !important;
  border: none !important;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'BBHBartle', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 16px;
  box-sizing: border-box;
  transition: background 0.25s, color 0.25s;
}

#scroll-top-btn svg {
  stroke: currentColor;
  flex-shrink: 0;
}

#scroll-top-btn span {
  color: inherit;
}

#scroll-top-btn:hover {
  background: var(--yellow, #ffd600) !important;
  color: #000000 !important;
}

/* ════════════════════════════════════════════════════════
   HERO H1 (shared)
 ════════════════════════════════════════════════════════ */
.hero-h1 {
  text-align: center;
  font-family: 'Boldonse', 'SourceHanSansSC', sans-serif;
  font-size: clamp(2.5rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
  text-transform: uppercase; /* Force uppercase caps */
  background: linear-gradient(180deg, #fff 55%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s ease both 0.2s;
  padding: 0.15em 0;
  margin-bottom: 0;
  word-break: keep-all;
}

@media (max-width: 768px) {
  .hero-h1 {
    font-size: clamp(2.2rem, 10vw, 4.5rem);
  }
}
.hero-h1::after {
  display: none !important;
  content: '' !important;
}

@media (max-width: 480px) {
  .hero-eyebrow, .extra-eyebrow {
    margin-bottom: 10px !important;
  }
  #hero p, #extra-hero p, #proj-hero p, #comm-hero p, #socials-hero p {
    margin-top: 14px !important;
  }
  .hero-cta {
    margin-top: 24px !important;
  }
}

/* Mobile line break utility */
.mobile-only {
  display: none;
}

@media (max-width: 480px) {
  .mobile-only {
    display: block;
  }
}

/* ════════════════════════════════════════════════════════
   HERO SCROLL EMBLEM (shared across all pages)
 ════════════════════════════════════════════════════════ */
.hero-scroll,
.oc-hero-scroll,
.extra-hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.50);
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 10;
  pointer-events: none;
}

.hero-scroll span,
.oc-hero-scroll span,
.extra-hero-scroll span {
  display: block !important;
  width: 2px !important;
  height: 40px !important;
  background: rgba(255, 255, 255, 0.25) !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero-scroll span::after,
.oc-hero-scroll span::after,
.extra-hero-scroll span::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #ffd600 !important;
  box-shadow: 0 0 10px #ffd600, 0 0 4px #ffd600 !important;
  animation: heroScrollLineAnim 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
}

@keyframes heroScrollLineAnim {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* ── GLOBAL INTERACTIVE TRANSITIONS ── */
a, button, input, textarea, select,
.card, .art-card, .file-card,
.folder-item, .track-item, .pitch-key,
.fmt-btn, .export-btn, .mini-btn, .btn-white, .action-btn, .load-btn, .modal-btn, .lb-nav-btn, .sidebar-close, .menu-btn, .theme-toggle,
.card-action, .card-toggle, .filter-toggle-btn, .fp-btn, .filter-chip {
  transition: background 0.22s ease, 
              color 0.22s ease, 
              border-color 0.22s ease, 
              box-shadow 0.22s ease, 
              transform 0.22s cubic-bezier(0.25, 0.8, 0.25, 1), 
              opacity 0.22s ease;
}

/* ════════════════════════════════════════════════════════
   CUSTOM CURSOR & PAGE TRANSITION
════════════════════════════════════════════════════════ */
@media (pointer: fine) {
  body.has-custom-cursor {
    cursor: none;
  }
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor .art-card,
  body.has-custom-cursor input,
  body.has-custom-cursor select,
  body.has-custom-cursor textarea,
  body.has-custom-cursor [role="button"],
  body.has-custom-cursor .fp-btn,
  body.has-custom-cursor .filter-toggle-btn,
  body.has-custom-cursor .chip-remove,
  body.has-custom-cursor .enter-btn {
    cursor: none;
  }
}

.custom-cursor {
  display: none;
}

@media (pointer: fine) {
  .custom-cursor {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center;
    mix-blend-mode: difference;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .custom-cursor.page-entry {
    mix-blend-mode: normal;
    transition: 
      background-color 1.2s ease,
      transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  }

  /* On page entry, start fully opaque black covering the screen immediately */
  .custom-cursor.page-entry.transitioning {
    background-color: #000000;
    border-radius: 0;
    transform: translate(-50%, -50%) scale(500);
    mix-blend-mode: normal;
    animation: none;
  }

  .custom-cursor.page-entry.transitioning .cursor-star-svg {
    opacity: 1;
    fill: #000000;
    transform: scale(1) rotate(0deg);
  }

  .custom-cursor.hovered {
    transform: translate(-50%, -50%) scale(2.2) rotate(45deg);
  }

  .cursor-star-svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition: 
      opacity 0.25s ease, 
      transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
      fill 0.25s ease;
    pointer-events: none;
  }

  .custom-cursor.page-entry .cursor-star-svg {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  /* Transition state (Star scales up, then morphs to full-screen square) */
  .custom-cursor.transitioning {
    border: none;
    mix-blend-mode: normal;
    transform: translate(-50%, -50%) scale(500);
    transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
    animation: shape-shift 1.2s forwards;
  }

  .custom-cursor.transitioning .cursor-star-svg {
    opacity: 1;
    fill: #000000;
    transform: scale(1) rotate(0deg);
    transition: 
      opacity 0.15s ease, 
      transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
  }

  @keyframes shape-shift {
    0% {
      background-color: transparent;
      border-radius: 50%;
    }
    45% {
      background-color: transparent;
      border-radius: 50%;
    }
    85% {
      background-color: #000000;
      border-radius: 0;
    }
    100% {
      background-color: #000000;
      border-radius: 0;
    }
  }

  /* Native pointer on scroll-to-top button */
  body.has-custom-cursor #scroll-top-btn {
    cursor: pointer !important;
  }
  
  /* Hide custom cursor when scroll-to-top is hovered */
  body:has(#scroll-top-btn:hover) #custom-cursor {
    opacity: 0 !important;
    transform: translate(-50%, -50%) scale(0) !important;
  }
}

/* Background music button playing state */
#music-toggle-btn.playing svg {
  animation: musicBounce 1.2s ease-in-out infinite alternate;
  color: var(--yellow) !important;
}

@keyframes musicBounce {
  0% { transform: translateY(0) rotate(-6deg); }
  100% { transform: translateY(-3px) rotate(6deg); }
}

/* ════════════════════════════════════════════════════════
   UNIFIED LIGHTBOX/PREVIEW TOOLBARS (floating outside art)
════════════════════════════════════════════════════════ */
.tl-lb-toolbar,
.modal-toolbar,
.lb-toolbar,
.sc-toolbar,
.oc-lb-toolbar {
  position: fixed !important;
  top: 24px !important;
  right: 28px !important;
  display: flex !important;
  gap: 8px !important;
  z-index: 10005 !important;
}

.tl-lb-tool,
.modal-tool,
.lb-tool,
.sc-tool,
.oc-lb-tool {
  width: 38px !important;
  height: 38px !important;
  background: rgba(13, 13, 13, 0.72) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s !important;
  font-family: 'BBHBartle', sans-serif !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.tl-lb-tool:hover,
.modal-tool:hover,
.lb-tool:hover,
.sc-tool:hover,
.oc-lb-tool:hover {
  background: var(--yellow) !important;
  color: #000 !important;
  border-color: var(--yellow) !important;
  transform: scale(1.05) !important;
}

@media (max-width: 640px) {
  .tl-lb-toolbar,
  .modal-toolbar,
  .lb-toolbar,
  .sc-toolbar,
  .oc-lb-toolbar {
    top: 14px !important;
    right: 14px !important;
    gap: 6px !important;
  }
  .tl-lb-tool,
  .modal-tool,
  .lb-tool,
  .sc-tool,
  .oc-lb-tool {
    width: 32px !important;
    height: 32px !important;
  }
  .tl-lb-tool span,
  .modal-tool span,
  .lb-tool span,
  .sc-tool span,
  .oc-lb-tool span {
    font-size: 18px !important;
  }
}

/* ── PROJECT HERO (standard dark-washed grid header) ── */
.project-hero, .gc-page-hero {
  background: #0f141c !important; /* Unified soft dark slate in both themes */
  color: #ffffff !important;
  padding: 64px 20px 54px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  border-bottom: 1.5px solid var(--border) !important;
}
.project-hero::before, .gc-page-hero::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background-image:
    linear-gradient(45deg, rgba(88, 166, 255, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(88, 166, 255, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(88, 166, 255, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(88, 166, 255, 0.08) 75%) !important;
  background-size: 40px 40px !important;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0px !important;
  pointer-events: none !important;
}
.project-hero h1, .gc-page-hero h1 {
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif !important;
  font-size: clamp(2.2rem, 8vw, 4.2rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  animation: none !important;
  transform: none !important;
}
.project-hero h1::after, .gc-page-hero h1::after {
  content: '.' !important;
  color: var(--yellow) !important;
  -webkit-text-fill-color: var(--yellow) !important;
  display: inline !important;
}
.project-hero p, .gc-page-hero .gc-hero-sub {
  font-size: clamp(0.85rem, 2.2vw, 1.05rem) !important;
  color: rgba(255, 255, 255, 0.70) !important;
  max-width: 500px !important;
  margin: 0 auto !important;
  font-family: 'Outfit', 'Roboto', sans-serif !important;
  line-height: 1.5 !important;
}




