/* =========================================================
   VIX3 / soft UI refinements
   Loaded after style.css. Keeps the sharp typography, softens
   the interface, and styles the new payment/music elements.
   ========================================================= */

:root {
  --soft-pill: 999px;
  --soft-sm: 10px;
  --soft-md: 16px;
  --soft-lg: 22px;
  --header-bg: rgba(7, 5, 12, 0.94);
}

[data-theme="light"] {
  --header-bg: rgba(240, 237, 246, 0.94);
}

/* Remove expensive live blur from scrolling chrome; the near-opaque fill keeps contrast. */
.site-header.is-scrolled,
.site-header.is-menu-open,
.filter-bar {
  background: var(--header-bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Faster perceived load: no scroll-reveal delay. */
.js [data-reveal],
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Rounded controls */
.btn,
.header-cta,
.filter-btn,
.tag,
.checkout-status,
.sound-badge {
  border-radius: var(--soft-pill);
}

.btn {
  padding-inline: 28px;
}

.btn--small {
  padding-inline: 20px;
}

.theme-btn,
.menu-toggle {
  border-radius: 10px;
}

.header-account {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.header-account svg {
  width: 15px;
  height: 15px;
}

.header-account:hover,
.header-account.is-active {
  border-color: var(--accent);
  background: var(--panel-soft);
  color: var(--accent);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.nav-link {
  border-radius: var(--soft-pill);
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--panel-soft);
}

.nav-link::after {
  display: none;
}

/* Rounded image / card surfaces */
.work-card {
  border-radius: 14px;
}

.work-card .work-media {
  border-radius: inherit;
}

.poster-frame {
  border-radius: 14px;
}

.poster-frame img {
  border-radius: 9px;
}

.about-art,
.latest-art,
.about-portrait {
  border-radius: 18px;
}

.about-art img,
.latest-art img,
.about-portrait img {
  border-radius: 10px;
}

.about-art::before,
.latest-art::before {
  border-radius: 18px;
}

.music-feature {
  border-radius: 24px;
}

.music-feature__art {
  border-radius: 23px 0 0 23px;
}

.music-feature__art img {
  border-radius: 15px;
}

.release-card {
  border: 1px solid var(--line);
  border-radius: 16px;
}

.release-art {
  border-radius: 10px;
}

.release-art img {
  border-radius: inherit;
}

.contact-channel,
.brief-form,
.checkout-card,
.payment-panel,
.terms-card,
.sound-card {
  border-radius: var(--soft-lg);
}

.brief-form,
.payment-panel {
  overflow: hidden;
}

.brief-result,
.payment-done {
  border-radius: 14px;
}

.contact-meta,
.about-facts,
.latest-meta {
  overflow: hidden;
  border-radius: 16px;
}

.contact-meta div,
.about-fact,
.latest-meta div {
  border-radius: 0;
}

.contact-channel .contact-channel__head,
.checkout-card__top {
  border-radius: var(--soft-lg) var(--soft-lg) 0 0;
}

/* Softer grids: cards instead of a single hairline lattice */
.principles {
  gap: 12px;
  border: 0;
  background: transparent;
}

.principle {
  border: 1px solid var(--line);
  border-radius: 18px;
}

.pricing-grid {
  gap: 14px;
  border: 0;
  background: transparent;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 22px;
}

.price-card.is-featured {
  box-shadow:
    inset 0 0 0 1px var(--accent),
    0 24px 70px var(--glow);
}

.price-card.is-featured::before {
  border-radius: 0 21px 0 12px;
}

.process-grid {
  gap: 12px;
  border: 0;
}

.process-step,
.process-step:last-child,
.process-step:nth-child(2) {
  border: 1px solid var(--line);
  border-radius: 18px;
}

.process-step:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.about-principles {
  gap: 12px;
  border: 0;
}

.about-principle,
.about-principle:last-child,
.about-principle:nth-child(2) {
  border: 1px solid var(--line);
  border-radius: 18px;
}

.about-principle:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.capabilities {
  gap: 12px;
  border: 0;
  background: transparent;
}

.capability {
  border: 1px solid var(--line);
  border-radius: 18px;
}

.service-row {
  border-radius: 14px;
}

.music-dna-grid {
  gap: 12px;
  border: 0;
  background: transparent;
}

.dna-quote {
  border: 1px solid var(--line);
  border-radius: 20px;
}

.dna-list {
  gap: 12px;
  background: transparent;
}

.dna-item {
  border: 1px solid var(--line);
  border-radius: 16px;
}

.release-grid {
  gap: 12px;
  border: 0;
  background: transparent;
}

/* Form controls */
.field input,
.field select,
.field textarea {
  border-radius: 10px;
}

/* Lightbox */
.lightbox__dialog {
  border-radius: 22px;
}

.lightbox__media img {
  border-radius: 10px;
}

.lightbox__close {
  border-radius: 50%;
}

.lightbox__media {
  border-radius: 22px 0 0 22px;
}

/* Footer / small details */
.footer-col a {
  border-radius: 6px;
}

.contact-email {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.5vw, 17px);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-email:hover {
  color: var(--ink);
  border-color: var(--accent);
}

/* ---------- Payment full-payment layout ---------- */
.checkout-full {
  margin: 14px 24px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 12px;
  background: var(--panel-soft);
}

.checkout-full .mono {
  color: var(--accent);
}

.checkout-full p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.qr-card {
  width: min(260px, 84%);
  margin: 20px auto 8px;
  padding: 11px 11px 9px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.qr-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.qr-card__caption {
  display: block;
  padding-top: 7px;
  color: #4a3a60;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.pay-tabs {
  grid-template-columns: 1fr 1fr;
}

.pay-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 24px 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}

.pay-email .mono {
  color: var(--faint);
}

.pay-email p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.pay-email a:not(.btn) {
  display: inline-block;
  margin-top: 5px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-strong);
}

.pay-email .btn {
  flex: 0 0 auto;
}

.payment-security {
  border-radius: 10px;
}

.terms-card {
  padding: 0 18px;
}

.terms-row {
  padding-block: 16px;
}

/* In-page music player */
.inline-player {
  margin-top: 18px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}

.inline-player__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.inline-player__head .mono {
  color: var(--faint);
}

.inline-player__frame iframe {
  display: block;
  width: 100%;
  height: 86px;
  border: 0;
  border-radius: 9px;
  background: var(--bg);
}

.inline-player p {
  margin-top: 7px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* Mobile trims */
@media (max-width: 600px) {
  .btn {
    padding-inline: 20px;
  }

  .music-feature {
    border-radius: 20px;
  }

  .music-feature__art {
    border-radius: 19px 19px 0 0;
  }

  .price-card,
  .process-step,
  .about-principle,
  .capability {
    border-radius: 16px;
  }

  .contact-email {
    font-size: 13px;
  }

  .header-account {
    width: 34px;
    height: 34px;
  }

  .pay-email {
    align-items: flex-start;
    flex-direction: column;
  }

  .pay-email .btn {
    width: 100%;
  }

  .checkout-full {
    margin-inline: 18px;
  }

  .qr-card {
    width: min(250px, 92%);
  }

  .lightbox__media {
    border-radius: 0;
  }

  .lightbox__dialog {
    border-radius: 0;
  }
}

/* Keep the complete hero above the fold on shorter laptop / monitor screens. */
@media (min-width: 1025px) and (max-height: 880px) {
  .hero {
    padding-top: calc(var(--header-h) + 26px);
    padding-bottom: 24px;
  }

  .hero-inner {
    min-height: calc(100svh - var(--header-h) - 50px);
  }

  .hero-title {
    margin-top: 16px;
    margin-bottom: 18px;
    font-size: clamp(3.4rem, 7.4vw, 7rem);
  }

  .hero-lead {
    font-size: 13px;
    line-height: 1.85;
  }

  .hero-slogan {
    margin-top: 15px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-actions .btn {
    min-height: 46px;
  }

  .hero-stats {
    margin-top: 18px;
    padding-top: 14px;
  }

  .hero-visual {
    min-height: clamp(360px, 53vh, 560px);
  }

  .poster--main {
    width: min(72%, 380px);
  }

  .hero-scroll {
    bottom: 16px;
  }
}
