/*
 * HIBEE editorial refinements — draft v0.6.0
 * Complementary design layer, loaded after main.css and navigation.css.
 * Scoped to existing HIBEE components to keep legacy sections stable.
 */
:root {
  --hibee-editorial-line: rgba(255,255,255,.18);
  --hibee-editorial-ease: cubic-bezier(.2,.8,.2,1);
}

.hibee-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 13px 17px;
  border-radius: 6px;
  background: #f5bf22;
  color: #0a0a0a;
  font: 800 12px/1.2 Arial,Helvetica,sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
  transform: translateY(-160%);
}
.hibee-skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* A short inline accent provides an editorial cue without a generic side-tab border. */
.hibee-hero-copy .hibee-kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--hy, #f5bf22);
}
.hibee-hero-copy .hibee-subcopy {
  text-wrap: pretty;
}
.hibee-news-head h2,
.hibee-services-copy h2,
.hibee-culture-copy h2 {
  text-wrap: balance;
}
.hibee-release-copy > p:not(.hibee-release-artists) {
  text-wrap: pretty;
}

.hibee-btn:focus-visible,
.hibee-hero-playlist-card:focus-visible,
.hibee-news-prev:focus-visible,
.hibee-news-next:focus-visible,
.hibee-sound-toggle:focus-visible,
.hibee-hero-restore:focus-visible,
.hibee-platform:focus-visible,
.hibee-news-read:focus-visible,
.hibee-news-card a:focus-visible,
.hibee-newsletter-form button:focus-visible {
  outline: 3px solid #f5bf22;
  outline-offset: 4px;
}
.hibee-news-card:focus-within {
  outline: 2px solid #0a0a0a;
  outline-offset: 3px;
  box-shadow: 0 18px 46px rgba(0,0,0,.15);
}

/* Small refinements support hierarchy without rewriting the existing design. */
.hibee-news-head,
.hibee-release-copy {
  min-width: 0;
}
.hibee-news-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: currentColor;
}
.hibee-newsletter-contact .hibee-newsletter-panel {
  min-width: 0;
}
.hibee-newsletter-contact .hibee-newsletter-intro p {
  max-width: 46ch;
  line-height: 1.5;
}
.hibee-contact-form-glass :is(input,textarea):focus-visible,
.hibee-newsletter-form input:focus-visible {
  outline: 3px solid rgba(10,10,10,.8);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  /* Fail open on devices with JavaScript disabled: preserve navigation access. */
  html:not(.js) .hibee-topbar .hibee-menu-toggle,
  html:not(.js) .hibee-site-header .hibee-menu-toggle { display: none; }
  html:not(.js) .hibee-topbar .hibee-nav,
  html:not(.js) .hibee-site-header .hibee-site-nav {
    position: absolute;
    z-index: 30;
    top: 100%;
    right: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(245,191,34,.4);
    border-radius: 12px;
    background: #0a0a0a;
  }
}

@media (max-width: 620px) {
  .hibee-release h2 { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  .hibee-skip-link { transition: none !important; }
}
