/* Eyal Volkovich - Cham BaShetach 91FM Stylesheet */
:root {
  --bg-main: #fbfbf9;
  --bg-archive-hero: #2b2118;
  --bg-card-dark: #1f1f1f;
  --text-dark: #141414;
  --text-muted: #666666;
  --text-light: #f3f0e8;
  --text-dim: #aaa;
  --border-light: rgba(20, 20, 20, 0.12);
  --border-dark: rgba(255, 255, 255, 0.14);
  --yellow-accent: #ffd400;
  --brand-yellow: #fedb00;
  --blue-accent: #2456c9;
  --red-live: #ff4a3a;
  --font-sans: 'IBM Plex Sans Hebrew', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --player-stack-height: 74px;
  --tabs-height: 0px;
  --player-gutter-color: #141414;
}

@media (max-width: 768px) {
  :root {
    --player-stack-height: calc(116px + env(safe-area-inset-bottom, 0px));
    --tabs-height: calc(56px + env(safe-area-inset-bottom, 0px));
    --player-gutter-color: #1f1f1f;
  }
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  min-height: 100vh;
  direction: rtl;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* The browser's scrollbar gutter exposes the root canvas, not the fixed player. */
html {
  background-image: linear-gradient(to bottom,
    var(--bg-main) calc(100% - var(--player-stack-height)),
    var(--player-gutter-color) calc(100% - var(--player-stack-height)),
    var(--player-gutter-color) calc(100% - var(--tabs-height)),
    #141414 calc(100% - var(--tabs-height)));
  background-attachment: fixed;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10000;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 6px;
  background: #141414;
  color: #fff;
  text-decoration: underline;
}
.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-action {
  padding: 2px;
  color: #2456c9;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-brand { color: var(--text-dark); text-align: right; }
.site-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 18px 140px;
  font-size: 16px;
}
.site-footer a { color: #17449f; text-decoration: underline; text-underline-offset: 3px; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid #2456c9;
  outline-offset: 3px;
}
:where(.desktop-player-bar, .mobile-player-bar, .mobile-full-player, .queue-drawer, .mobile-bottom-tabs, .archive-hero, .live-video-dialog, .photo-lightbox-card) :where(a, button, input, [tabindex]):focus-visible {
  outline-color: #ffd400;
}
:focus { scroll-margin-block: 80px 130px; }

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
/* The root scrollbar occupies its own gutter, outside fixed player bars. */
html::-webkit-scrollbar,
html::-webkit-scrollbar-track,
body::-webkit-scrollbar,
body::-webkit-scrollbar-track {
  background: linear-gradient(to bottom,
    var(--bg-main) calc(100% - var(--player-stack-height)),
    var(--player-gutter-color) calc(100% - var(--player-stack-height)),
    var(--player-gutter-color) calc(100% - var(--tabs-height)),
    #141414 calc(100% - var(--tabs-height)));
}
html::-webkit-scrollbar-corner {
  background: #141414;
}
::-webkit-scrollbar-thumb {
  background: rgba(20, 20, 20, 0.18);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(20, 20, 20, 0.35);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Layout Container */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 96px; /* player buffer on desktop */
}

@media (max-width: 768px) {
  .site-wrapper {
    padding-bottom: 130px; /* mini player + mobile bottom tabs buffer */
  }
}

.page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .page-container {
    padding: 0 18px;
  }
}

/* Top Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 9px 40px;
}

@media (max-width: 768px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    gap: 8px;
  }
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.site-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.site-brand img.is-concept-logo {
  object-fit: contain;
  border-radius: 0;
}

@media (max-width: 768px) {
  .site-brand { gap: 6px; }
  .site-brand img {
    width: 40px;
    height: 40px;
  }
}

.site-brand-text b {
  font-size: 19px;
  display: block;
  line-height: 1.15;
}

.site-brand-text span {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .site-brand-text b {
    font-size: 16px;
  }
  .site-brand-text span {
    font-size: 12px;
  }
}

/* Header Navigation */
.header-nav {
  display: flex;
  gap: 4px;
  justify-content: center;
  font-size: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .site-header { gap: 14px; padding: 8px 20px; }
  .header-nav { font-size: 13px; gap: 0; flex-wrap: nowrap; }
  .header-nav .nav-item { padding: 8px 7px; white-space: nowrap; }
  .site-brand { gap: 7px; }
  .site-brand-text b { font-size: 16px; }
  .site-brand-text span { font-size: 11px; }
  .site-header .live-pill { font-size: 12px; padding: 0 9px; }
}
@media (min-width: 769px) and (max-width: 850px) {
  .site-header { gap: 8px; }
  .header-nav { font-size: 12px; }
  .header-nav .nav-item { padding: 7px 3px; }
  .site-brand-text span { display: none; }
  .site-header .live-pill { font-size: 11px; padding: 0 7px; }
}

.nav-item {
  padding: 9px 18px;
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: all 0.15s ease;
  user-select: none;
  color: var(--text-dark);
  font-size: inherit;
}

.nav-item:focus-visible,
.mobile-tab-item:focus-visible,
.hero-nav-arrow:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 2px;
}
.nav-item.active:focus-visible,
.mobile-tab-item:focus-visible,
.hero-nav-arrow:focus-visible { outline-color: var(--yellow-accent); }

.nav-item:hover {
  background: rgba(20, 20, 20, 0.05);
}

.nav-item.active {
  background: var(--text-dark);
  color: #ffffff;
}

.nav-item--internal {
  border: 1px dashed #b8aa76;
  color: #5f563b;
}
.nav-item--internal:hover { background: #f7f1da; }
.nav-item--internal.active {
  background: #f7edbd;
  color: var(--text-dark);
  border-color: #ad8c00;
}
.nav-internal-mark {
  color: #786921;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .nav-internal-mark { display: none; }
}

/* Unified live audio/video control */
.live-header-actions {
  display: inline-flex;
  align-items: stretch;
  justify-self: end;
  height: 40px;
  border: 1px solid rgba(20, 20, 20, 0.2);
  border-radius: 40px;
  background: #f7f5ef;
  overflow: hidden;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
  background: transparent;
  color: var(--text-dark);
  transition: background 0.15s ease;
  white-space: nowrap;
}

.live-pill.is-listening {
  background: #fff0aa;
}

.live-pill:hover {
  background: #fff4c5;
}

.live-video-button {
  width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-inline-start: 1px solid rgba(20, 20, 20, 0.14);
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.15s ease;
}

.live-video-button:hover {
  background: #fff4c5;
}

.live-pill:focus-visible,
.live-video-button:focus-visible {
  outline: 2px solid #8a6b00;
  outline-offset: -3px;
}

/* 91FM live video */
.live-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
}

.live-video-dialog {
  width: min(100%, 960px);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #141414;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.live-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.live-video-header span {
  color: #aaa;
  font-size: 13px;
}

.live-video-header h2 {
  margin: 3px 0 0;
  font-size: 20px;
}

.live-video-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.live-video-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.live-video-player {
  display: block;
  width: 100%;
  max-height: 72vh;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
}

.live-video-status {
  margin: 12px 0 0;
  color: #aaa;
  font-size: 13px;
}

@media (max-width: 768px) {
  .live-header-actions { height: 44px; }
  .live-pill {
    font-size: 12px;
    padding: 0 10px;
    gap: 6px;
  }
  .live-video-button { width: 44px; }
  .live-video-modal { padding: 12px; }
  .live-video-dialog { padding: 14px; border-radius: 10px; }
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--red-live);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.8); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* Interactive Elements */
.clickable {
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s ease, opacity 0.15s ease;
}

.clickable:active {
  transform: scale(0.98);
}

.clickable:focus-visible {
  outline: 2px solid var(--yellow-accent);
  outline-offset: 2px;
}

.guest-tile {
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Long names/hooks are clamped so every tile keeps the same shape; the full text is in the title tooltip. */
.guest-tile {
  min-width: 0;
  gap: 10px;
}

.guest-tile-name {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guest-tile-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  color: #555;
}

.guest-tile-hook {
  min-width: 0;
  line-height: 1.35;
  min-height: calc(2 * 1.35em);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guest-tile-icon {
  flex: none;
  width: 14px;
  height: 14px;
  margin-bottom: 3px;
}

.guest-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* ========================================================================= */
/* HERO CAROUSEL SECTION                                                     */
/* ========================================================================= */
.home-page-content {
  padding-top: 24px;
  padding-bottom: 64px;
}

.hero-carousel-section {
  width: 100%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: #f7f4eb;
}

.hero-carousel-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  background: #0f172a;
  overflow: hidden;
}

.hero-carousel-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
  pointer-events: none;
}

.hero-slide.active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  pointer-events: auto;
}

/* Every slide carries artwork; its theme gradient is laid over it as a light multiplied tint */
.hero-slide .hero-slide-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease, transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide .hero-slide-img.is-loaded {
  opacity: 1;
}

.hero-slide-tint {
  position: absolute;
  inset: 0;
  background: inherit;
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.hero-slide--image,
.hero-slide--episode {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(255, 212, 0, 0.28), transparent 60%),
    linear-gradient(160deg, #1f2a44 0%, #0f172a 100%);
}

.hero-slide--archive {
  background:
    radial-gradient(110% 80% at 15% 15%, rgba(255, 180, 90, 0.22), transparent 60%),
    linear-gradient(160deg, var(--bg-archive-hero) 0%, #140e09 100%);
}

.hero-slide--requests {
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(150deg, var(--yellow-accent) 0%, #f0b400 100%);
}

.hero-slide--requests .hero-slide-content {
  background: linear-gradient(to left, rgba(255, 212, 0, 0.94) 0%, rgba(255, 212, 0, 0.7) 38%, transparent 70%);
  color: var(--text-dark);
}

.hero-slide--requests .hero-date-badge,
.hero-slide--requests .hero-desc {
  color: rgba(20, 20, 20, 0.78);
}

.hero-slide--requests .hero-play-btn {
  background: var(--text-dark);
  color: #ffffff;
}

.hero-slide--requests .hero-play-btn:hover {
  background: #000000;
}

.hero-slide--requests :focus-visible {
  outline-color: var(--text-dark);
}

/* Incoming slide: artwork settles from a slight zoom, copy rises in a short stagger */
.hero-slide .hero-slide-img {
  transform: scale(1.05);
}

.hero-slide.active .hero-slide-img {
  transform: scale(1);
}

.hero-slide-content > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-slide-content > * {
  opacity: 1;
  transform: none;
}

.hero-slide.active .hero-slide-content > :nth-child(1) { transition-delay: 0.2s; }
.hero-slide.active .hero-slide-content > :nth-child(2) { transition-delay: 0.28s; }
.hero-slide.active .hero-slide-content > :nth-child(3) { transition-delay: 0.36s; }
.hero-slide.active .hero-slide-content > :nth-child(4) { transition-delay: 0.44s; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide .hero-slide-img,
  .hero-slide-content > * {
    transition: none !important;
    transform: none !important;
  }
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Quiet gallery rail below the artwork */
.hero-image-pagination {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 42px;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.hero-image-pagination::-webkit-scrollbar {
  display: none;
}

.hero-image-count {
  flex: none;
  margin-inline-end: 10px;
  color: #706a5e;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.hero-image-option {
  position: relative;
  flex: 1 1 0;
  max-width: 96px;
  min-width: 28px;
  height: 36px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

/* Track */
.hero-image-option::before {
  content: '';
  position: absolute;
  inset: 16px 0;
  border-radius: 4px;
  background: #d6d0c3;
  transition: background 0.2s ease;
}

.hero-image-option:hover::before {
  background: #a9a397;
}

/* Fill: full for past slides, animated for the active one while autoplaying */
.hero-progress-fill {
  position: absolute;
  inset: 16px 0;
  border-radius: 4px;
  background: var(--yellow-accent);
  transform: scaleX(0);
  transform-origin: right;
}

.hero-image-option.is-done .hero-progress-fill,
.hero-image-option.active .hero-progress-fill {
  transform: scaleX(1);
}

.is-autoplay .hero-image-option.active .hero-progress-fill {
  animation: hero-progress 7s linear forwards;
}

.is-autoplay:has(:focus-visible) .hero-progress-fill {
  animation-play-state: paused;
}

@media (hover: hover) {
  .is-autoplay:hover .hero-progress-fill {
    animation-play-state: paused;
  }
}

@keyframes hero-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-image-option:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: -2px;
  border-radius: 4px;
}

.hero-autoplay-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-inline-end: 6px;
  border-radius: 50%;
  background: transparent;
  color: #605b51;
  cursor: pointer;
}

.hero-autoplay-toggle:hover {
  background: rgba(20, 20, 20, 0.07);
  color: var(--text-dark);
}

.hero-autoplay-toggle:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 1px;
}

/* Nav Arrows */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.15s ease, background 0.15s ease;
  z-index: 10;
}

.hero-carousel-wrap:hover .hero-nav-arrow,
.hero-nav-arrow:focus-visible {
  opacity: 1;
}

@media (hover: none) {
  .hero-nav-arrow {
    opacity: 1;
  }
}

.hero-prev {
  right: 16px;
}

.hero-next {
  left: 16px;
}

.hero-nav-arrow:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-50%) scale(1.08);
  color: var(--yellow-accent);
}

/* Hero slide copy: a vertically centred column on the right, where the artwork leaves room; on mobile it drops to the bottom */
.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 48px 72px;
  background: linear-gradient(to left, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.55) 38%, transparent 68%);
  color: #ffffff;
}

.hero-slide .hero-slide-content > * {
  max-width: min(46%, 520px);
}

.hero-date-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow-accent);
}

.hero-name {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
}

.hero-desc {
  max-width: 62ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.hero-play-btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: var(--yellow-accent);
  color: var(--text-dark);
  padding: 11px 22px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero-play-btn:hover {
  background: #f0c600;
}

.hero-link-btn {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.hero-link-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-slide-content :focus-visible {
  outline: 2px solid var(--yellow-accent);
  outline-offset: 3px;
}

/* Filter & Year Chips */
.filter-chip {
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 15px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.filter-chip:hover {
  background: rgba(20, 20, 20, 0.05);
  transform: translateY(-1px);
}

.filter-chip.active {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

.year-chip {
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 500;
  border: 1px solid var(--border-light);
  background: transparent;
  color: #666;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.year-chip:hover {
  background: rgba(20, 20, 20, 0.05);
  color: var(--text-dark);
}

.year-chip.active {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

#episodes-search-input:focus {
  border-bottom-color: #141414 !important;
}

#search-clear-btn:hover {
  background: #d4d1c9 !important;
  color: #141414 !important;
}

#search-clear-btn:active {
  transform: translateY(-50%) scale(0.92) !important;
}

.studio-guests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 10px;
}

@media (max-width: 768px) {
  .home-page-content {
    padding-top: 16px;
  }
  .hero-nav-arrow {
    display: none !important;
  }
  .hero-image-pagination {
    height: 38px;
    padding: 0 16px;
  }

  .hero-carousel-wrap {
    aspect-ratio: 4 / 5;
    max-height: 560px;
  }

  .hero-slide-content {
    justify-content: flex-end;
    padding: 72px 20px 24px;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.6) 40%, transparent 70%);
  }

  .hero-slide--requests .hero-slide-content {
    background: linear-gradient(to top, rgba(255, 212, 0, 0.96) 0%, rgba(255, 212, 0, 0.72) 40%, transparent 72%);
  }

  .hero-slide .hero-slide-content > * {
    max-width: 100%;
  }

  .hero-name {
    font-size: 26px;
  }

  .hero-desc {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }

  .hero-play-btn {
    padding: 12px 18px;
    font-size: 15px;
  }

  .studio-guests-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

/* ========================================================================= */
/* EPISODE CARDS - MODERN EDITORIAL LAYOUT WITH INTEGRATED MEDIA             */
/* ========================================================================= */
.ep-card,
.ep-row {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 80px;
  gap: 22px;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  cursor: default;
  position: relative;
}

.ep-card:hover,
.ep-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.08) !important;
  border-color: rgba(20, 20, 20, 0.18) !important;
  background: #fdfcf9 !important;
}

.ep-card.is-active,
.ep-row.is-active {
  border: 2px solid var(--brand-yellow) !important;
  background: #fffef7 !important;
  box-shadow: 0 6px 22px rgba(254, 219, 0, 0.18) !important;
}

.ep-card.is-active:hover,
.ep-row.is-active:hover {
  background: #fffdf2 !important;
  box-shadow: 0 10px 28px rgba(254, 219, 0, 0.25) !important;
}

.ep-card.is-linked {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}

/* Thumbnail Wrap */
.ep-card-thumb {
  position: relative;
  width: 240px;
  height: 148px;
  border-radius: 12px;
  overflow: hidden;
  background: #eae7de;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ep-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ep-card:hover .ep-card-img,
.ep-row:hover .ep-card-img {
  transform: scale(1.04);
}

/* Fallback Studio Graphic when no custom image */
.ep-card-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1c1e22 0%, #292d34 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--brand-yellow);
  position: relative;
  overflow: hidden;
}

.ep-card-fallback-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 12px 12px;
}

.ep-card-fallback-icon-wrap {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f7f2e5;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.ep-card-fallback-icon {
  display: block;
  width: auto;
  height: auto;
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
  transform: translate(var(--art-offset-x, 0%), var(--art-offset-y, 0%));
}

.ep-card-fallback-icon--generic {
  width: 36px;
  height: 36px;
  max-width: none;
  max-height: none;
  transform: none;
}

.ep-card-fallback-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 0 4px;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

/* Credit Badge Overlay on image */
.ep-card-credit {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0.4) 60%, rgba(15, 15, 15, 0) 100%);
  padding: 20px 10px 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.01em;
  pointer-events: none;
}

/* Zoom Button in Thumbnail */
.ep-card-zoom-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  border: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  cursor: zoom-in;
}

.ep-card:hover .ep-card-zoom-btn,
.ep-row:hover .ep-card-zoom-btn,
.ep-card-zoom-btn:focus-visible {
  opacity: 1;
}

.ep-card-zoom-btn:hover {
  transform: scale(1.1);
  background: rgba(15, 15, 15, 0.9);
}

/* Card Body */
.ep-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ep-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ep-card-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0;
}

.ep-card-tag {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ep-card-tag.tag-new {
  background: var(--brand-yellow);
  border: 1px solid #e5c400;
  color: #141414;
}

.ep-card-tag.tag-live {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #3730a3;
}

.ep-card-tag.tag-talk {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #374151;
}

.ep-card-tag.tag-default {
  background: #f4f2ec;
  border: 1px solid #dedad1;
  color: #444;
}

.ep-card-status {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a6d00;
}

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

.ep-eq-bar {
  width: 2.5px;
  background: #8a6d00;
  border-radius: 1px;
  animation: epEqBounce 0.8s ease-in-out infinite alternate;
}

.ep-eq-bar:nth-child(2) {
  animation-delay: 0.2s;
  height: 100%;
}

.ep-eq-bar:nth-child(3) {
  animation-delay: 0.4s;
  height: 60%;
}

@keyframes epEqBounce {
  0% { height: 25%; }
  100% { height: 100%; }
}

.ep-card-desc,
.ep-row-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.ep-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  flex-wrap: wrap;
}

.ep-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ep-meta-dur {
  font-family: var(--font-mono);
  font-weight: 500;
  color: #333;
}

.ep-spotify-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0b6130;
  font-weight: 600;
  text-decoration: none;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(29, 185, 84, 0.08);
  border: 1px solid rgba(29, 185, 84, 0.2);
  transition: all 0.15s ease;
}

.ep-spotify-btn:hover {
  background: rgba(29, 185, 84, 0.16);
  border-color: #1db954;
  transform: translateY(-1px);
}

.ep-share-btn {
  color: #2456c9;
  background: rgba(36, 86, 201, 0.08);
  border-color: rgba(36, 86, 201, 0.2);
  font-family: inherit;
  cursor: pointer;
}

.ep-share-btn:hover {
  background: rgba(36, 86, 201, 0.16);
  border-color: #2456c9;
}

/* Play Action Column */
.ep-card-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  justify-self: center;
}

.ep-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  color: #141414;
  border: 1.5px solid rgba(20, 20, 20, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(20, 20, 20, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ep-card:hover .ep-play-btn,
.ep-row:hover .ep-play-btn {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #141414;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(254, 219, 0, 0.45);
}

.ep-play-btn.playing,
.ep-card.is-active .ep-play-btn,
.ep-row.is-active .ep-play-btn {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #141414;
  box-shadow: 0 0 0 4px rgba(254, 219, 0, 0.25);
}

.ep-play-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  display: block;
}

.ep-play-dur {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #555;
}

/* ========================================================================= */
/* MOBILE RESPONSIVE ADAPTATION (< 768px)                                    */
/* ========================================================================= */
@media (max-width: 768px) {
  .ep-card,
  .ep-row {
    grid-template-columns: 88px minmax(0, 1fr) 44px !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    margin: 0 0 12px 0 !important;
    align-items: center !important;
  }

  .ep-card-thumb {
    width: 88px !important;
    height: 88px !important;
    border-radius: 10px !important;
  }

  .ep-card-thumb .ep-card-fallback {
    gap: 4px;
  }

  .ep-card-thumb .ep-card-fallback-icon-wrap {
    width: 45px;
    height: 45px;
  }

  .ep-card-thumb .ep-card-fallback-icon {
    width: auto;
    height: auto;
    max-width: 36px;
    max-height: 36px;
  }

  .ep-card-thumb .ep-card-fallback-icon--generic {
    width: 24px;
    height: 24px;
  }

  .ep-card-thumb .ep-card-fallback-text {
    font-size: 10px;
    letter-spacing: 0;
    padding: 0 2px;
  }

  .ep-card-title {
    font-size: 16px !important;
  }

  .ep-card-desc,
  .ep-row-desc {
    -webkit-line-clamp: 1 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .ep-card-credit {
    display: none !important;
  }

  .ep-card-zoom-btn {
    display: none !important;
  }

  .ep-play-btn,
  .ep-row-btn {
    width: 44px !important;
    height: 44px !important;
    box-shadow: none !important;
  }

  .ep-play-dur,
  .ep-desktop-meta {
    display: none !important;
  }

  .ep-card-meta {
    gap: 10px !important;
    font-size: 12px !important;
    margin-top: 2px !important;
  }

  .ep-spotify-btn {
    padding: 1px 6px !important;
    font-size: 11px !important;
  }
}

@media (min-width: 769px) {
  .ep-mobile-meta {
    display: none !important;
  }
}

/* ========================================================================= */
/* ARCHIVE TEASER                                                             */
/* ========================================================================= */
.archive-teaser-box {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  background: #f1efe9;
  padding: 32px;
  border-radius: 6px;
}

.teaser-years {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}

.teaser-years-dash {
  color: #999;
}

.teaser-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #57534b;
  font-size: 14px;
  font-weight: 600;
}

.teaser-tape-icon {
  width: 46px;
  height: 39px;
  object-fit: contain;
  flex: none;
}

.teaser-desc {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5;
}

.teaser-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.teaser-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--text-dark);
  border-radius: 40px;
  color: var(--text-dark);
  font-size: 16px;
  white-space: nowrap;
}

.teaser-link--primary {
  background: var(--text-dark);
  color: #fff;
}

.teaser-link:hover {
  background: var(--yellow-accent);
  border-color: var(--yellow-accent);
  color: var(--text-dark);
}

.teaser-link:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .archive-teaser-box {
    margin-top: 36px;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 18px;
  }
  .teaser-years {
    flex-direction: row;
    gap: 8px;
    font-size: 28px;
  }
  .teaser-desc {
    font-size: 16px;
  }
  .teaser-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
  }
  .teaser-link {
    height: 44px;
    padding: 0;
    font-size: 15px;
  }
}

/* Archive Page Hero */
.archive-hero {
  background:
    radial-gradient(700px 420px at 16% 30%, rgba(255, 212, 0, 0.08), transparent 65%),
    linear-gradient(165deg, #35281a 0%, #2b2118 55%, #20180f 100%);
  color: var(--text-light);
  padding: 68px 0 60px;
}

/* Archive Page Header Responsive Grid */
.archive-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: center;
}

.archive-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.archive-hero-visual-card {
  background: linear-gradient(160deg, #f7f3ea 0%, #ece4d2 100%);
  border-radius: 10px;
  padding: 26px 30px;
  transform: rotate(-2deg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.archive-reel-illustration {
  position: relative;
  width: 280px;
  max-width: 100%;
}

.archive-reel-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

.archive-reel-illustration::before,
.archive-reel-illustration::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/retro-radio/12-reel-to-reel.svg') center / 100% 100% no-repeat;
  animation: archive-reel-spin 4s linear infinite;
}

.archive-reel-illustration::before {
  clip-path: circle(19.1% at 30.24% 35.23%);
  transform-origin: 30.24% 35.23%;
}

.archive-reel-illustration::after {
  clip-path: circle(19.1% at 70.66% 35.23%);
  transform-origin: 70.66% 35.23%;
}

@keyframes archive-reel-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .archive-reel-illustration::before,
  .archive-reel-illustration::after {
    display: none;
  }
}

.archive-hero-stats {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  color: #b7ab99;
  border-right: 3px solid var(--yellow-accent);
  padding-right: 14px;
}

@media (max-width: 768px) {
  .archive-header-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .archive-title-heading {
    font-size: 44px !important;
    line-height: 1 !important;
  }
  .archive-header-p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-top: 14px !important;
  }
  .archive-hero {
    padding: 48px 0 44px;
  }
  .archive-reel-illustration {
    width: 200px;
  }
  .archive-hero-stats {
    font-size: 13px;
  }
}

.archive-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  margin-top: 36px;
}

@media (max-width: 768px) {
  .archive-content-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 24px;
  }
}

/* About Page Responsive */
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 72px;
  padding: 56px 0;
  align-items: start;
}

@media (max-width: 768px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0 32px;
  }
  .about-hero-img {
    aspect-ratio: 1 !important;
    width: 100% !important;
  }
  .about-name-heading {
    font-size: 42px !important;
    line-height: 1 !important;
  }
  .about-lead-p {
    font-size: 18px !important;
    line-height: 1.55 !important;
    margin-top: 16px !important;
  }
  .about-body-p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-top: 12px !important;
  }
  .about-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-top: 24px !important;
  }
  .about-meta-grid > div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--border-light) !important;
  }
  .about-meta-grid > div > div:last-child {
    margin-top: 0 !important;
    font-size: 16px !important;
  }
  .about-cards-split {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    background: transparent !important;
    border: none !important;
  }
  .about-cards-split > div {
    padding: 20px !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 6px !important;
  }
}

/* Bottom Player Bar (Desktop) */
.desktop-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 74px;
  background: #141414;
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr) minmax(0, 0.7fr);
  gap: 20px;
  align-items: center;
  padding: 0 32px;
  z-index: 500;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.desktop-player-bar .player-core .player-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 32px;
  height: 32px;
  padding: 0 !important;
  line-height: 1;
}
.desktop-player-bar .player-core svg {
  display: block;
  flex: none;
}
.desktop-player-bar .player-core .player-play-btn { flex: none; padding: 0; }

@media (min-width: 769px) and (max-width: 1100px) {
  .desktop-player-bar {
    grid-template-columns: minmax(120px, 0.8fr) minmax(0, 2.8fr) 82px;
    gap: 12px;
    padding: 0 16px;
  }
  .desktop-player-bar .player-core { gap: 6px !important; }
  .desktop-player-bar > div:last-child > span { display: none; }
}

@media (max-width: 768px) {
  .desktop-player-bar {
    display: none;
  }
}

/* Mobile Player Bar */
.mobile-player-bar {
  display: none;
  position: fixed;
  bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  width: auto;
  height: 60px;
  background: #1f1f1f;
  color: #ffffff;
  z-index: 490;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  box-sizing: border-box;
  transition: background-color 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
}

.mobile-player-bar:active {
  background: #252525;
}

@media (max-width: 768px) {
  .mobile-player-bar {
    display: block;
  }
}

/* Mobile Bottom Navigation Tabs */
.mobile-bottom-tabs {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #141414;
  color: #8a8a8a;
  z-index: 500;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .mobile-bottom-tabs {
    display: grid;
  }
}

.mobile-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  height: 100%;
  width: 100%;
  padding: 0;
  cursor: pointer;
  color: #8a8a8a;
  transition: color 0.15s ease;
}

.mobile-tab-item.active {
  color: #ffffff;
}

.mobile-tab-item .tab-bar-indicator {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: transparent;
}

.mobile-tab-item.active .tab-bar-indicator {
  background: var(--yellow-accent);
}

/* Queue Drawer */
.queue-drawer {
  position: fixed;
  bottom: 84px;
  left: 40px;
  width: 380px;
  max-height: 480px;
  background: #1f1f1f;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 8px 0;
  z-index: 600;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .queue-drawer {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 120px;
  }
}

/* Full screen mobile player modal */
.mobile-full-player {
  position: fixed;
  inset: 0;
  background: #141414;
  color: #ffffff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 12px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  will-change: transform, opacity;
  transform-origin: center bottom;
  touch-action: pan-y;
}

.mobile-full-player.is-opening {
  animation: fullPlayerExpand 320ms cubic-bezier(0.32, 0.72, 0, 1) both;
}

.mobile-full-player.is-closing {
  animation: fullPlayerCollapse 240ms cubic-bezier(0.32, 0.72, 0, 1) both;
  pointer-events: none;
}

@keyframes fullPlayerExpand {
  0% {
    transform: translateY(100%) scale(0.94);
    opacity: 0.4;
    border-radius: 28px 28px 0 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    border-radius: 0;
  }
}

@keyframes fullPlayerCollapse {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
    border-radius: 0;
  }
  100% {
    transform: translateY(100%) scale(0.94);
    opacity: 0;
    border-radius: 28px 28px 0 0;
  }
}

.mobile-full-player.is-opening .full-player-art {
  animation: artScaleIn 340ms cubic-bezier(0.32, 0.72, 0, 1) both;
}

@keyframes artScaleIn {
  0% {
    transform: scale(0.88);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========================================================================= */
/* SUBTLE & HIGH-PERFORMANCE TRANSITIONS                                     */
/* ========================================================================= */

/* View Transitions Pinning & Animation */
.site-header {
  view-transition-name: site-header;
}

.desktop-player-bar,
.mobile-player-bar {
  view-transition-name: player-bar;
}

.mobile-bottom-tabs {
  view-transition-name: mobile-tabs;
}

::view-transition-old(root) {
  animation: 140ms cubic-bezier(0.25, 1, 0.5, 1) both pageFadeOut;
}
::view-transition-new(root) {
  animation: 200ms cubic-bezier(0.25, 1, 0.5, 1) both pageFadeIn;
}

@keyframes pageFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-4px); }
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Live Equalizer Pulse (CSS only, GPU compositor friendly) */
.live-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  width: 14px;
  margin-left: 6px;
  vertical-align: middle;
}

.live-eq span {
  width: 2.5px;
  height: 100%;
  background: var(--yellow-accent);
  border-radius: 1.5px;
  transform-origin: bottom;
  animation: eqScale 0.75s ease-in-out infinite alternate;
}

.live-eq span:nth-child(1) { animation-delay: 0.1s; animation-duration: 0.65s; }
.live-eq span:nth-child(2) { animation-delay: 0.3s; animation-duration: 0.85s; }
.live-eq span:nth-child(3) { animation-delay: 0.15s; animation-duration: 0.7s; }

@keyframes eqScale {
  0% { transform: scaleY(0.25); }
  100% { transform: scaleY(1); }
}

/* Player Button Micro-Interactions */
.player-play-btn {
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease, box-shadow 0.15s ease !important;
}

.player-play-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 4px 14px rgba(255, 212, 0, 0.35);
}

.player-play-btn:active {
  transform: scale(0.93) !important;
}

.player-ctrl-btn {
  transition: transform 0.12s ease, color 0.15s ease !important;
}

.player-ctrl-btn:hover {
  color: #ffffff !important;
  transform: scale(1.12);
}

.player-ctrl-btn:active {
  transform: scale(0.92) !important;
}

.player-speed-btn {
  min-width: 32px;
  min-height: 32px;
  padding: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font: 600 12px var(--font-mono);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, transform 0.12s ease;
}

.player-speed-btn:hover {
  color: var(--yellow-accent);
}

.player-speed-btn:active {
  transform: scale(0.94);
}

.player-speed-btn:focus-visible {
  outline: 2px solid var(--yellow-accent);
  outline-offset: 2px;
}

/* Scrubber Smooth Expansion */
.scrubber-track-wrap {
  cursor: pointer;
  padding: 6px 0;
  touch-action: none;      /* required for pointer capture to work */
}

.scrubber-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  transition: height 0.15s ease;
  position: relative;
}

.scrubber-track-wrap:hover .scrubber-track {
  height: 6px;
}

.scrubber-progress {
  height: 100%;
  background: var(--yellow-accent);
  border-radius: 2px;
  position: relative;
  transition: width 0.08s linear;
}

.scrubber-thumb {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--yellow-accent);
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  background: #ffffff;
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  transition: left 0.08s linear, transform 0.12s ease;
}

.scrubber-time-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 9px);
  transform: translateX(-50%);
  z-index: 3;
  padding: 4px 7px;
  border: 1px solid rgba(255, 212, 0, 0.65);
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.96);
  color: #ffffff;
  font: 600 11px var(--font-mono);
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.scrubber-track-wrap.is-seeking .scrubber-progress,
[data-scrubber].is-seeking .scrubber-progress,
.scrubber-track-wrap.is-seeking .scrubber-thumb,
[data-scrubber].is-seeking .scrubber-thumb {
  transition: none;
}

.scrubber-track-wrap.is-seeking .scrubber-time-tooltip,
[data-scrubber].is-seeking .scrubber-time-tooltip {
  display: block;
}

.scrubber-track-wrap:hover .scrubber-thumb {
  transform: translate(-50%, -50%) scale(1.08);
}

.scrubber-track-wrap.is-seeking .scrubber-thumb,
[data-scrubber].is-seeking .scrubber-thumb {
  transform: translate(-50%, -50%) scale(1.12);
}

/* Mobile Tabs Micro-Transitions */
.mobile-tab-item {
  transition: transform 0.12s ease, color 0.15s ease;
}

.mobile-tab-item:active {
  transform: scale(0.92);
}

.mobile-tab-item.active i {
  color: var(--yellow-accent);
  transform: translateY(-2px);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
}

.mobile-tab-item.active span {
  color: #ffffff;
  font-weight: 600;
}

/* ========================================================================= */
/* PHOTO LIGHTBOX MODAL                                                      */
/* ========================================================================= */
.photo-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: photoFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes photoFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.photo-lightbox-card {
  position: relative;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  background: #181818;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
}

.photo-lightbox-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s ease;
}

.photo-lightbox-close:hover {
  background: rgba(0, 0, 0, 0.95);
  transform: scale(1.08);
}

.photo-lightbox-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0d0d;
  overflow: hidden;
  max-height: 72vh;
}

.photo-lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.photo-lightbox-footer {
  padding: 14px 20px;
  background: #141414;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.photo-lightbox-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.photo-lightbox-credit {
  font-size: 13px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Creative review — the concepts are the artwork; the surrounding UI stays quiet. */
.creative-page {
  padding-top: 56px;
  padding-bottom: 112px;
}
.creative-intro {
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 32px;
}
.creative-kicker,
.creative-number {
  font: 600 13px var(--font-mono);
  letter-spacing: 0.04em;
  color: #555;
}
.creative-number { flex: none; white-space: nowrap; }
.creative-intro h1 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 12px 0 18px;
}
.creative-title-dot { color: var(--yellow-accent); }
.creative-intro p {
  max-width: 690px;
  margin: 0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: #555;
}
.creative-selection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
}
.creative-selection-label {
  display: block;
  color: #555;
  font-size: 13px;
  margin-bottom: 4px;
}
.creative-selection strong { font-size: 19px; }
.creative-reset {
  border: 1px solid var(--text-dark);
  border-radius: 40px;
  padding: 9px 16px;
  white-space: nowrap;
  color: var(--text-dark);
  transition: background 0.18s ease, color 0.18s ease;
}
.creative-reset:hover { background: var(--text-dark); color: #fff; }
.creative-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.creative-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  text-align: right;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: #fff;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.creative-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20,20,20,0.09);
}
.creative-card.is-selected {
  border-color: #d5ad00;
  box-shadow: 0 0 0 2px var(--yellow-accent);
}
.creative-card:focus-visible,
.creative-reset:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 3px;
}
.creative-card-top,
.creative-card-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
}
.creative-state { font-size: 12px; color: #555; }
.creative-card.is-selected .creative-state { color: #695600; font-weight: 600; }
.creative-logo-stage {
  width: 100%;
  min-height: 200px;
  display: grid;
  place-items: center;
  background: #f1efe9;
  padding: 18px;
}
.creative-logo-stage img {
  display: block;
  width: min(100%, 190px);
  height: 160px;
  object-fit: contain;
}
.creative-card-bottom { border-top: 1px solid var(--border-light); }
.creative-card-bottom strong { font-size: 16px; }
.creative-card-bottom span { font-size: 12px; color: #555; white-space: nowrap; }
.creative-footnote { margin: 28px 0 0; color: #555; font-size: 14px; line-height: 1.6; }
@media (max-width: 1000px) {
  .creative-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .creative-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .creative-page { padding-top: 34px; }
  .creative-selection { align-items: flex-start; flex-direction: column; }
  .creative-grid { gap: 10px; }
  .creative-logo-stage { min-height: 150px; padding: 10px; }
  .creative-logo-stage img { height: 128px; }
  .creative-card-top, .creative-card-bottom { padding: 10px; }
  .creative-card-bottom strong { font-size: 14px; }
  .creative-card-bottom span { display: none; }
  .creative-state { font-size: 11px; }
}

.creative-card-design-section {
  margin-top: 72px;
  padding-top: 42px;
  border-top: 1px solid var(--text-dark);
}
.creative-card-design-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}
.creative-card-design-heading p {
  max-width: 720px;
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}
.creative-card-design-section .creative-selection {
  padding: 18px 0 12px;
}
.creative-card-responsive-previews {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 12px 0 28px;
}
.creative-card-responsive-preview {
  margin: 0;
}
.creative-card-responsive-preview figcaption {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
}
.creative-card-responsive-thumb {
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.18);
  border-radius: 12px;
  background: #202329;
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.09);
}
.creative-card-responsive-thumb--desktop {
  width: 240px;
  height: 148px;
}
.creative-card-responsive-thumb--mobile {
  width: 88px;
  height: 88px;
  border-radius: 10px;
}
.creative-card-responsive-thumb--mobile .ep-card-fallback {
  gap: 4px;
}
.creative-card-responsive-thumb--mobile .ep-card-fallback-icon-wrap {
  width: 45px;
  height: 45px;
}
.creative-card-responsive-thumb--mobile .ep-card-fallback-icon {
  width: auto;
  height: auto;
  max-width: 36px;
  max-height: 36px;
}
.creative-card-responsive-thumb--mobile .ep-card-fallback-icon--generic {
  width: 24px;
  height: 24px;
}
.creative-card-responsive-thumb--mobile .ep-card-fallback-text {
  font-size: 10px;
  letter-spacing: 0;
  padding: 0 2px;
}
.creative-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.creative-hero-choice {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: #fff;
  color: var(--text-dark);
  text-align: right;
  cursor: pointer;
}

.creative-hero-choice img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.creative-hero-choice-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
}

.creative-hero-choice.is-selected {
  border-color: #d5ad00;
  box-shadow: 0 0 0 2px var(--yellow-accent);
}

.creative-hero-choice.is-selected .creative-card-design-state {
  color: #695600;
  font-weight: 600;
}

.creative-hero-choice:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 2px;
}

.creative-card-design-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.creative-card-design-choice {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: #fff;
  color: var(--text-dark);
  text-align: right;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.creative-card-design-choice:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.09);
}
.creative-card-design-choice.is-selected {
  border-color: #d5ad00;
  box-shadow: 0 0 0 2px var(--yellow-accent);
}
.creative-card-design-choice:focus-visible,
.creative-card-reset:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 3px;
}
.creative-card-design-stage {
  display: block;
  width: 100%;
  min-height: 108px;
  aspect-ratio: 240 / 148;
  overflow: hidden;
  background: #202329;
}
.creative-card-design-stage .ep-card-fallback {
  border-radius: 0;
}
.creative-card-design-stage .ep-card-fallback-icon-wrap {
  width: 62px;
  height: 62px;
}
.creative-card-design-stage .ep-card-fallback-icon {
  width: auto;
  height: auto;
  max-width: 50px;
  max-height: 50px;
}
.creative-card-design-stage .ep-card-fallback-icon--generic {
  width: 32px;
  height: 32px;
}
.creative-card-design-stage .ep-card-fallback-text {
  font-size: 11px;
}
.creative-card-design-choice-footer {
  min-height: 76px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: baseline;
  gap: 4px 8px;
}
.creative-card-design-choice-footer .creative-number {
  font-size: 11px;
}
.creative-card-design-choice-footer strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.35;
}
.creative-card-design-state {
  grid-column: 1 / -1;
  color: #555;
  font-size: 11px;
}
.creative-card-design-choice.is-selected .creative-card-design-state {
  color: #695600;
  font-weight: 600;
}
.creative-card-design-section .creative-footnote {
  margin-top: 20px;
}
@media (max-width: 1000px) {
  .creative-card-design-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .creative-card-design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .creative-card-design-section { margin-top: 54px; padding-top: 30px; }
  .creative-card-design-heading p { font-size: 14px; }
  .creative-card-design-grid { gap: 10px; }
  .creative-card-design-choice-footer { min-height: 70px; padding: 9px; }
  .creative-card-design-choice-footer strong { font-size: 13px; }
  .creative-card-responsive-previews { gap: 16px 24px; }
}

/* Studio Direct Message / Song Request Form */
.studio-contact-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--text-dark);
}

.studio-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.studio-card-header {
  margin-bottom: 24px;
}

.studio-card-header h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-card-header p {
  margin: 0;
  font-size: 16px;
  color: #555555;
  line-height: 1.5;
}

.studio-type-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.studio-type-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.studio-type-btn:hover {
  background: rgba(20, 20, 20, 0.05);
}

.studio-type-btn.active {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

.studio-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.studio-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .studio-form-row {
    grid-template-columns: 1fr;
  }
  .studio-card {
    padding: 22px 18px;
  }
}

.studio-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.studio-label {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}

.studio-label .optional {
  font-weight: 400;
  font-size: 12px;
  color: #888888;
  margin-inline-start: 4px;
}

.studio-input,
.studio-textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 16px;
  font-family: var(--font-sans);
  border: 1px solid rgba(20, 20, 20, 0.2);
  border-radius: 8px;
  background: #fbfbf9;
  color: var(--text-dark);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  direction: rtl;
  box-sizing: border-box;
}

.studio-input:focus,
.studio-textarea:focus {
  outline: none;
  border-color: #141414;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 212, 0, 0.4);
}

.studio-textarea {
  min-height: 90px;
  resize: vertical;
}

.studio-honeypot {
  display: none !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
}

.studio-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.studio-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--yellow-accent);
  color: #141414;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: 0 4px 12px rgba(255, 212, 0, 0.25);
}

.studio-submit-btn:hover:not(:disabled) {
  background: #f0c600;
  transform: translateY(-1px);
}

.studio-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.studio-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(20, 20, 20, 0.3);
  border-top-color: #141414;
  border-radius: 50%;
  animation: studio-spin 0.6s linear infinite;
}

@keyframes studio-spin {
  to { transform: rotate(360deg); }
}

.studio-privacy-note {
  font-size: 13px;
  color: #777777;
}

.studio-feedback-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-feedback-alert--error {
  background: #fde8e8;
  color: #9b1c1c;
  border: 1px solid #f8b4b4;
}

.studio-success-state {
  text-align: center;
  padding: 36px 20px;
}

.studio-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e1f7e3;
  color: #0e9f6e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-success-state h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.studio-success-state p {
  font-size: 16px;
  color: #555555;
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.studio-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border: 1px solid rgba(20, 20, 20, 0.25);
  border-radius: 40px;
  background: transparent;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.studio-reset-btn:hover {
  background: rgba(20, 20, 20, 0.05);
}

/* Studio Modal Styles */
.studio-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.studio-modal-dialog {
  width: min(100%, 640px);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  direction: rtl;
}

.studio-modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 20, 20, 0.06);
  color: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.studio-modal-close:hover {
  background: rgba(20, 20, 20, 0.12);
}

/* Header trigger pill */
.studio-contact-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 0 13px;
  height: 40px;
  border-radius: 40px;
  border: 1px solid rgba(20, 20, 20, 0.2);
  background: var(--yellow-accent);
  color: #141414;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.studio-contact-header-btn:hover {
  background: #f0c600;
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .studio-contact-header-btn span {
    display: none;
  }
  .studio-contact-header-btn {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
}


/* Accessibility & Reduced Motion */
.clickable:focus-visible,
.nav-item:focus-visible,
.hero-nav-arrow:focus-visible {
  outline: 3px solid #2456c9;
  outline-offset: 3px;
}
.mobile-tab-item:focus-visible,
.desktop-player-bar .clickable:focus-visible,
.mobile-player-bar .clickable:focus-visible,
.mobile-full-player .clickable:focus-visible,
.archive-hero .clickable:focus-visible,
.queue-drawer .clickable:focus-visible {
  outline-color: #ffd400;
}
.scrubber-track-wrap:focus-visible,
[data-scrubber]:focus-visible { outline: 3px solid #ffd400; outline-offset: 3px; }

@media (max-width: 768px) {
  .archive-recording {
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    margin: 0 !important;
  }
  .archive-recording > span:nth-child(3) { display: none; }
  .mobile-player-open { padding: 0; }
  .site-footer { padding-bottom: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .live-eq span,
  .live-dot-pulse {
    animation: none !important;
  }
}
