/*
Theme Name: Soul Dependents
Theme URI: https://souldependents.com/
Author: Sound and Motion Studios
Author URI: https://souldependents.com/
Description: One-page live band theme for The Soul Dependents. Soul, blues, rock and pop from South Manchester.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soul-dependents
*/
:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0b0a0d;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.65'/%3E%3C/svg%3E");
}

::selection {
  background: #e8a94f;
  color: #0b0a0d;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0b0a0d;
}
::-webkit-scrollbar-thumb {
  background: #2a232e;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e8a94f;
}

section[id] {
  scroll-margin-top: 88px;
}

.site-header {
  transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 10, 13, 0.82);
  border-bottom-color: rgba(245, 239, 230, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header .header-inner {
  transition: padding 0.4s ease;
}
.site-header.is-scrolled .header-inner {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-link {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cfc5b6;
  transition: color 0.3s ease;
  padding-bottom: 6px;
}
.nav-link:hover,
.nav-link:focus-visible {
  color: #f5efe6;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: #e8a94f;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 9999px;
  padding: 0.95rem 1.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn svg {
  transition: transform 0.35s ease;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-gold {
  background: #e8a94f;
  color: #0b0a0d;
}
.btn-gold:hover {
  background: #f5efe6;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(232, 169, 79, 0.22);
}
.btn-ghost {
  border-color: rgba(245, 239, 230, 0.24);
  color: #f5efe6;
  background: rgba(11, 10, 13, 0.15);
}
.btn-ghost:hover {
  border-color: #e8a94f;
  color: #e8a94f;
  background: rgba(232, 169, 79, 0.06);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.genre-ring {
  border: 1px solid rgba(245, 239, 230, 0.14);
  outline: 1px solid rgba(232, 169, 79, 0.2);
  outline-offset: 7px;
  transition: border-color 0.5s ease, outline-color 0.5s ease;
}
.genre-ring img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}
.genre-card:hover .genre-ring img {
  transform: scale(1.08);
  filter: grayscale(0) contrast(1.05);
}
.genre-card:hover .genre-ring {
  border-color: rgba(232, 169, 79, 0.6);
  outline-color: rgba(232, 169, 79, 0.45);
}

@keyframes burns {
  0% {
    transform: scale(1);
    transform-origin: bottom left;
  }
  50% {
    transform: scale(1.3) rotate(-2deg);
    transform-origin: center center;
  }
  100% {
    transform: scale(1);
    transform-origin: top right;
  }
}

.kenburns {
  animation: burns 20s ease-in-out infinite alternate;
  will-change: transform;
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 64px;
  overflow: hidden;
  background: rgba(245, 239, 230, 0.14);
}
.scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40%;
  background: #e8a94f;
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% {
    transform: translateY(-110%);
  }
  100% {
    transform: translateY(280%);
  }
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.band-card img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
  filter: grayscale(1);
}
.band-card:hover img,
.band-card:focus-visible img {
  transform: scale(1.05);
  filter: grayscale(0);
}
.band-card .plus {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.band-card:hover .plus,
.band-card:focus-visible .plus {
  opacity: 1;
  transform: translateY(0);
}

.quote-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(245, 239, 230, 0.25);
  transition: all 0.35s ease;
  cursor: pointer;
}
.quote-dot:hover {
  background: rgba(245, 239, 230, 0.55);
}
.quote-dot.is-active {
  width: 30px;
  background: #e8a94f;
}

dialog::backdrop {
  background: rgba(7, 6, 9, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
dialog[open] {
  animation: modalIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
}
body.dialog-open {
  overflow: hidden;
}

.field {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 239, 230, 0.16);
  padding: 0.8rem 0;
  color: #f5efe6;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  border-radius: 0;
}
.field:focus {
  outline: none;
  border-color: #e8a94f;
}
.field::placeholder {
  color: rgba(207, 197, 182, 0.4);
}
select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23cfc5b6' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 1.5rem;
}
select.field option {
  background: #121016;
  color: #f5efe6;
}

.back-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s ease;
}
.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .kenburns {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .marquee-track,
  .scroll-line::after {
    animation: none !important;
  }
}

