/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #ffffff;
}
::-webkit-scrollbar-thumb {
  background: #e4e4e7;
}
::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa;
}

/* Hide horizontal scrollbar for clean carousels */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Range slider custom styles */
input[type=range] {
  -webkit-appearance: none;
  background: transparent;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 3px;
  cursor: pointer;
  background: #e4e4e7;
}
input[type=range]::-webkit-slider-thumb {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #000000;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -4.5px;
  transition: transform 0.15s ease;
}
input[type=range]:hover::-webkit-slider-thumb {
  transform: scale(1.25);
  background: #000000;
}

/* Crisp Minimal Glass Panel */
.glass-panel {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #f4f4f5;
}

/* Animated Waveform Equalizer Keyframes */
@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}
.animate-wave-bar {
  animation: wavePulse 0.7s ease-in-out infinite alternate;
  transform-origin: bottom;
}


body { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-mono { font-variant-numeric: tabular-nums; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Storefront logos ("Find Your Collection"): every logo gets the same height, so Lemon Squeezy, Patreon and Payhip read as one size.
   Width follows each logo's own proportions. If an SVG has extra built-in padding and looks smaller or larger than its neighbours,
   nudge just that logo with an inline style, e.g. style="--logo-scale:1.15". */
.storefront-link { display: inline-flex; align-items: center; justify-content: center; height: 40px; }
.storefront-link img { display: block; width: auto; max-width: none; max-height: none; height: calc(28px * var(--logo-scale, 1)); object-fit: contain; }

/* Catalog: format selector cards */
.format-card { position: relative; display: block; width: 100%; background: #fff; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease; }
.format-card:hover { background: #fafafa; }
.format-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #0b0b0d; transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.65,0,.35,1); }
.format-card.is-active { z-index: 1; box-shadow: inset 0 0 0 2px #0b0b0d; }
.format-card.is-active::before { transform: scaleX(1); }
.format-card:focus-visible { outline: 2px solid #0b0b0d; outline-offset: -6px; z-index: 2; }
.format-indicator { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #a1a1aa; background: transparent; flex: none; transition: background-color .2s ease, border-color .2s ease; }
.format-card.is-active .format-indicator { background: #0b0b0d; border-color: #0b0b0d; }

/* Catalog: sliding album carousel */
.album-viewport { display: grid; overflow: hidden; }
.album-viewport > .album-panel { grid-area: 1 / 1; min-width: 0; will-change: transform; }
.album-card:focus-visible { outline: 2px solid #0b0b0d; outline-offset: -4px; }
.album-progress { position: relative; height: 2px; background: #e6e7eb; }
.album-progress > span { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; background: #0b0b0d; transition: left .15s linear, width .15s linear; }
.album-nav-btn:disabled { opacity: .35; cursor: not-allowed; }
.album-nav-btn:disabled:hover { background: #fff; color: inherit; border-color: #e6e7eb; }
.track-play-btn:focus-visible { outline: 2px solid #0b0b0d; outline-offset: 2px; }

/* Explore the Work project carousel */
.explore-carousel { scrollbar-width: thin; scrollbar-color: #a1a1aa transparent; }
.explore-carousel::-webkit-scrollbar { height: 5px; }
.explore-carousel::-webkit-scrollbar-track { background: transparent; }
.explore-carousel::-webkit-scrollbar-thumb { background: #a1a1aa; }
.explore-card { color: inherit; text-decoration: none; }
.explore-card:focus-visible, .explore-control:focus-visible { outline: 2px solid #18181b; outline-offset: 4px; }
@media (max-width: 480px) {
  .explore-work-header { align-items: flex-end; }
  .explore-control { width: 36px; height: 36px; }
}

/* YouTube Shorts / Micro-Dramas Carousel */
.shorts-carousel { scrollbar-width: thin; scrollbar-color: #a1a1aa transparent; }
.shorts-carousel::-webkit-scrollbar { height: 5px; }
.shorts-carousel::-webkit-scrollbar-track { background: transparent; }
.shorts-carousel::-webkit-scrollbar-thumb { background: #a1a1aa; }
.shorts-card { color: inherit; text-decoration: none; }
.shorts-card:focus-visible, .shorts-control:focus-visible, .short-play:focus-visible { outline: 2px solid #18181b; outline-offset: 4px; }
.short-play { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.short-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.shorts-card.is-playing .short-stage { outline: 2px solid #000; outline-offset: 3px; }

/* Top navigation (black bar) */
.site-header { position: sticky; top: 0; z-index: 40; background: #000; }
.site-nav-link { display: inline-block; padding: 6px 8px; margin: 0 -8px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #fff; border-bottom: 2px solid transparent; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.site-nav-link:hover { background-color: #27272a; color: #fff; }
.site-nav-link.is-active { border-bottom-color: #fff; }
.site-nav-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 480px) { .site-nav-link { font-size: 9px; letter-spacing: .12em; } }

/* Use-case video cards */
.uc-content, .uc-scrim { transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .5s ease; }
.uc-card.uc-text-hidden .uc-content, .uc-card.uc-text-hidden .uc-scrim { transform: translateY(100%); opacity: 0; }
.uc-video { opacity: 0; transition: opacity .5s ease; object-fit: contain; }
.uc-video.uc-cover { object-fit: cover; }
.uc-card.is-video-on > img { filter: blur(22px) !important; transform: scale(1.3) !important; opacity: .55 !important; }
.uc-card.is-video-on .uc-video { opacity: 1; }
.uc-hint { transition: opacity .3s ease; }
.uc-card.is-playing .uc-hint { opacity: 0; }
.uc-card.is-unavailable .uc-mute, .uc-card.is-unavailable .uc-hint { display: none; }
@media (prefers-reduced-motion: reduce) { .uc-content, .uc-scrim, .uc-video, .uc-hint { transition: none; } }

/* Collapsible sections (native <details>): collapsed by default, with a Show/Hide + chevron indicator */
details.collapsible > summary { list-style: none; cursor: pointer; }
details.collapsible > summary::-webkit-details-marker { display: none; }
details.collapsible > summary:focus-visible { outline: 2px solid #18181b; outline-offset: 4px; }
details.collapsible .cl-hide { display: none; }
details.collapsible[open] .cl-hide { display: inline; }
details.collapsible[open] .cl-show { display: none; }
details.collapsible .cl-chevron { transition: transform 0.15s ease; }
details.collapsible[open] .cl-chevron { transform: rotate(180deg); }

/* Header logo: render the dark SVG white */
.logo-invert { filter: brightness(0) invert(1); }
