/* SWEATS Spotlight hero (sf-spotlight.js). Dark producer intro beside a featured beat card. */
#sfSpot { display: none; }
body.home-header-spotlight:not(.beat-page-view) #sfSpot { display: block; }
body.home-header-spotlight:not(.beat-page-view) #beat-detail,
body.home-header-spotlight:not(.beat-page-view) .storefront-header-image,
body.home-header-spotlight:not(.beat-page-view) .brand-masthead { display: none !important; }
body.home-header-spotlight:not(.sf-boot-ready):not(.beat-page-view) #top::before { content: ''; display: block; height: 620px; }
@media (max-width: 700px) { body.home-header-spotlight:not(.sf-boot-ready):not(.beat-page-view) #top::before { height: 760px; } }

.sf-spot {
  --spot-fg: #f7f7f7; --spot-muted: #bbbbbb; --spot-faint: #9a9a9a; --spot-line: #333333; --spot-chip: rgba(255,255,255,.08);
  position: relative; isolation: isolate; overflow: hidden;
  width: 100vw; max-width: none; margin: 0 calc(50% - 50vw) 28px;
  background: var(--spot-bg, #0d0d0d); color: var(--spot-fg);
  font-family: "Instrument Sans", var(--sans, Arial, sans-serif); font-weight: 600;
  border-bottom: 1px solid #222222;
}
.sf-spot.is-mid { margin-top: 36px; margin-bottom: 36px; border-top: 1px solid #222222; }
body.storefront-compact #sfSpot { grid-column: 1 / -1; width: 100%; margin: 0 0 16px; border-radius: 18px; border: 0; }
body.storefront-compact-v2 > #sfSpot { width: 100%; margin: 0; border-radius: 0; }
.sf-spot[data-tone="light"] { --spot-fg: #111111; --spot-muted: #3d3d3d; --spot-faint: #555555; --spot-line: rgba(0,0,0,.18); --spot-chip: rgba(0,0,0,.06); }

/* background */
.sf-spot-bgwrap { position: absolute; inset: 0; z-index: -2; }
.sf-spot-blur { position: absolute; inset: -90px; background-size: cover; background-position: center; opacity: .7; }
img.sf-spot-blur { width: calc(100% + 180px); height: calc(100% + 180px); object-fit: cover; filter: blur(32px) saturate(1.15); }
.sf-spot-grain { z-index: -1; }
/* background motion (Drift / Zoom), shared keyframes from sf-ext.css */
.sf-spot[data-bgm="drift"] :is(.sf-spot-blur, .sf-spot-photo, .sf-spot-video) { animation: sfbg-drift var(--bgm-sec, 20s) ease-in-out infinite alternate; }
.sf-spot[data-bgm="zoom"] :is(.sf-spot-blur, .sf-spot-photo, .sf-spot-video) { animation: sfbg-zoom var(--bgm-sec, 20s) ease-in-out infinite alternate; }
.sf-spot[data-bgm="both"] :is(.sf-spot-blur, .sf-spot-photo, .sf-spot-video) { animation: sfbg-both var(--bgm-sec, 20s) ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .sf-spot[data-bgm] :is(.sf-spot-blur, .sf-spot-photo, .sf-spot-video) { animation: none !important; } }
.sf-spot-photo, .sf-spot-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-spot-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--spot-ov, .7);
  background: linear-gradient(90deg, rgba(13,13,13,1) 0%, rgba(13,13,13,.82) 55%, rgba(13,13,13,.62) 100%); }
.sf-spot[data-layout="left"] .sf-spot-shade { background: linear-gradient(270deg, rgba(13,13,13,1) 0%, rgba(13,13,13,.82) 55%, rgba(13,13,13,.62) 100%); }
.sf-spot[data-layout="none"] .sf-spot-shade { background: rgba(13,13,13,.9); }
.sf-spot[data-bg="color"] .sf-spot-shade { display: none; }

/* layout */
.sf-spot-in { position: relative; max-width: 1280px; margin: 0 auto; box-sizing: border-box; min-height: 600px;
  padding: 72px clamp(16px, 4vw, 40px) 80px; display: flex; align-items: center; gap: 48px; }
.sf-spot[data-height="compact"] .sf-spot-in { min-height: 0; padding-top: 40px; padding-bottom: 44px; gap: 40px; }
.sf-spot[data-layout="left"] .sf-spot-in { flex-direction: row-reverse; }
.sf-spot[data-layout="none"] .sf-spot-in { justify-content: center; text-align: center; }
.sf-spot-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sf-spot[data-height="compact"] .sf-spot-text { gap: 16px; }
.sf-spot[data-layout="none"] .sf-spot-text { flex: 0 1 760px; align-items: center; }

.sf-spot-top { display: flex; align-items: center; gap: 14px; }
.sf-spot-avatar { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.14); }
.sf-spot[data-height="compact"] .sf-spot-avatar { width: 56px; height: 56px; }
.sf-spot-tagline { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--spot-faint); }
.sf-spot-name { margin: 0; font-family: inherit; font-size: clamp(44px, 6vw, 76px); line-height: .98; font-weight: 700; letter-spacing: -.045em; color: var(--spot-fg); overflow-wrap: anywhere; }
.sf-spot[data-height="compact"] .sf-spot-name { font-size: clamp(36px, 4.6vw, 56px); }
.sf-spot-name.is-logo { --logo-w: 320px; width: 100%; align-self: stretch; }
/* logo size and left-right position (both sliders in the editor); the free space beside the logo is split by --logo-x */
.sf-spot-name.is-logo img { display: block; width: min(100%, calc(var(--logo-w) * var(--logo-s, 1))); height: auto; margin-left: calc((100% - min(100%, calc(var(--logo-w) * var(--logo-s, 1)))) * var(--logo-x, 0)); }
.sf-spot[data-height="compact"] .sf-spot-name.is-logo { --logo-w: 240px; }
.sf-spot-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sf-spot-bio { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--spot-muted); }

.sf-spot-search { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 600px; box-sizing: border-box; padding: 8px 8px 8px 18px; border-radius: 999px; background: #f7f7f7; color: #555555; }
.sf-spot-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: transparent; color: #111111; font: 500 16px/1 inherit; font-family: inherit; box-shadow: none; padding: 0; }
.sf-spot-search input::placeholder { color: #707070; }
.sf-spot-search:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--spot-accent) 55%, transparent); }
.sf-spot-search button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--spot-accent); color: var(--spot-accent-fg); font: 700 15px/1 inherit; font-family: inherit; cursor: pointer; flex: none; }
.sf-spot-search button:hover { filter: brightness(1.08); }

.sf-spot-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sf-spot[data-layout="none"] .sf-spot-tags, .sf-spot[data-layout="none"] .sf-spot-actions { justify-content: center; }
.sf-spot-tags > span { font-size: 13px; color: var(--spot-faint); }
.sf-spot-tags a { padding: 7px 13px; border-radius: 999px; background: var(--spot-chip); border: 1px solid var(--spot-line); font-size: 13px; font-weight: 600; color: var(--spot-fg); text-decoration: none; }
.sf-spot-tags a:hover { border-color: var(--spot-accent); }

.sf-spot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sf-spot-btn { min-height: 42px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1px solid #555555; font-size: 14px; font-weight: 700; color: var(--spot-fg); text-decoration: none; box-sizing: border-box; }
.sf-spot-btn:hover { border-color: var(--spot-fg); }
.sf-spot-btn.is-main { background: var(--spot-fg); border-color: var(--spot-fg); color: var(--spot-bg, #0d0d0d); }
.sf-spot[data-tone="dark"] .sf-spot-btn.is-main { color: #111111; }
.sf-spot-btn.is-main:hover { filter: brightness(.92); }
.sf-spot-counts { font-size: 13px; font-weight: 500; color: var(--spot-faint); }
.sf-spot a:focus-visible, .sf-spot button:focus-visible { outline: 2px solid var(--spot-accent); outline-offset: 3px; }

/* featured beat card */
.sf-spot-card { flex: 1 1 340px; max-width: 420px; display: flex; flex-direction: column; gap: 16px; padding: 18px; box-sizing: border-box; border-radius: 24px;
  background: rgba(21,21,21,.88); border: 1px solid #2c2c2c; box-shadow: 0 30px 80px rgba(0,0,0,.5); color: #f7f7f7; text-align: left; }
.sf-spot[data-height="compact"] .sf-spot-card { max-width: 340px; padding: 14px; gap: 12px; }
.sf-spot-card-empty { min-height: 200px; align-items: center; justify-content: center; color: #9a9a9a; font-size: 14px; }
.sf-spot-cover { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 1 / 1; background: #1a1a1a; }
.sf-spot-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-spot-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: var(--spot-accent); color: var(--spot-accent-fg); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.sf-spot-play { position: absolute; right: 14px; bottom: 14px; width: 60px; height: 60px; border-radius: 50%; border: 0; padding: 0; background: var(--spot-accent); color: var(--spot-accent-fg); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .15s ease; }
.sf-spot-play:hover { transform: scale(1.05); }
.sf-spot-play .sf-spot-i-play { margin-left: 3px; }
.sf-spot-play .sf-spot-i-pause, .sf-spot-play.is-playing .sf-spot-i-play { display: none; }
.sf-spot-play.is-playing .sf-spot-i-pause { display: block; }
.sf-spot-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sf-spot-beat { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sf-spot-beat b { font-size: 22px; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-spot-beat small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #aaaaaa; }
.sf-spot-price { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.sf-spot-price small { font-size: 11px; text-transform: uppercase; color: #8a8a8a; }
.sf-spot-price b { font-size: 20px; }
.sf-spot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sf-spot-meta > span { padding: 6px 11px; border-radius: 10px; background: #1f1f1f; font-size: 13px; }
.sf-spot-meta em { font-style: normal; color: #8a8a8a; }
.sf-spot-view { margin-left: auto; min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 999px; border: 1px solid #444444; font-size: 13px; color: #f7f7f7; text-decoration: none; }
.sf-spot-view:hover { border-color: #f7f7f7; }

/* tablets: keep the two columns but tighter */
@media (max-width: 980px) and (min-width: 701px) {
  .sf-spot-in { gap: 32px; padding-top: 56px; padding-bottom: 60px; min-height: 0; }
  .sf-spot-card { max-width: 340px; }
}
/* phones: always text first, then the beat */
@media (max-width: 700px) {
  .sf-spot { margin-bottom: 20px; }
  .sf-spot-in, .sf-spot[data-layout="left"] .sf-spot-in { flex-direction: column; align-items: stretch; min-height: 0; gap: 28px; padding: 36px 16px 40px; }
  .sf-spot[data-height="compact"] .sf-spot-in { padding: 28px 16px 32px; gap: 22px; }
  .sf-spot-text { flex: none; gap: 18px; }
  .sf-spot[data-layout="none"] .sf-spot-text { flex: none; }
  .sf-spot-name { font-size: clamp(40px, 12vw, 56px); }
  .sf-spot[data-height="compact"] .sf-spot-name { font-size: clamp(34px, 10vw, 44px); }
  .sf-spot-name.is-logo { --logo-w: 220px; }
  .sf-spot-bio { font-size: 16px; }
  .sf-spot-avatar { width: 56px; height: 56px; }
  .sf-spot-search { padding-left: 14px; }
  .sf-spot-search button { padding: 0 16px; }
  .sf-spot-card, .sf-spot[data-height="compact"] .sf-spot-card { flex: none; width: 100%; max-width: 420px; align-self: center; }
  .sf-spot-shade, .sf-spot[data-layout="left"] .sf-spot-shade { background: linear-gradient(180deg, rgba(13,13,13,1) 0%, rgba(13,13,13,.8) 60%, rgba(13,13,13,.65) 100%); }
}
@media (prefers-reduced-motion: reduce) { .sf-spot-play { transition: none; } }
