/* ==========================================================================
   KAIRO — Custom Styles
   Keep Tailwind @apply directives in the inline <style type="text/tailwindcss">
   block in index.html. This file is for pure CSS only.
   ========================================================================== */

/* --- Root Variables --- */
:root {
  --cursor-size: 20px;
  --brand-pink: #FF0055;
  --brand-black: #050505;
}

/* --- Base --- */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* --- Scrollbar (thin but visible for accessibility) --- */
::-webkit-scrollbar {
  width: 4px;
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: var(--brand-pink);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff3377;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-pink) #050505;
}

/* --- Page Loader (prevents flash of unstyled content) --- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--brand-black);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.page-loader .loader-monogram {
  font-family: 'Anton', sans-serif;
  font-size: 8rem;
  color: var(--brand-pink);
  opacity: 0;
  transform: scale(0.8);
}

/* --- Custom Cursor (desktop only via .has-custom-cursor) --- */
.has-custom-cursor,
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor input {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cursor-size);
  height: var(--cursor-size);
  border: 2px solid var(--brand-pink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s, border-radius 0.3s;
  mix-blend-mode: difference;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-text {
  font-size: 10px;
  font-family: "Syncopate", sans-serif;
  font-weight: 700;
  color: var(--brand-pink);
  opacity: 0;
  transition: opacity 0.3s;
}

body:hover .custom-cursor {
  opacity: 1;
}

.hover-active .custom-cursor {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 0, 85, 0.1);
  border-color: var(--brand-pink);
}

.hover-active .cursor-text {
  opacity: 1;
}

/* --- Typography Effects --- */
.stroke-text {
  -webkit-text-stroke: 1px white;
  color: transparent;
}

.stroke-text-pink {
  -webkit-text-stroke: 1px var(--brand-pink);
  color: transparent;
}

.masked-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: url('../assets/images/masked-text-bg.jpg');
  background-size: cover;
  background-position: center;
}

.variable-font-title {
  font-variation-settings: "wght" 700, "wdth" 100;
  transition: font-variation-settings 0.1s linear;
}

/* --- Optical Centering Fix for wide tracking text --- */
.tracking-center-fix {
  padding-left: 0.25em;
}

/* --- Overlays --- */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.4'/%3E%3C/svg%3E");
  transition: opacity 0.1s;
  mix-blend-mode: overlay;
}

.vignette {
  background: radial-gradient(circle, rgba(0, 0, 0, 0) 60%, rgba(5, 5, 5, 0.6) 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 40;
}

/* --- Audio-Reactive Equalizer --- */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  opacity: 0.4;
}

.equalizer .bar {
  width: 3px;
  background: var(--brand-pink);
  border-radius: 1px;
  animation: eq-pulse var(--eq-speed, 0.8s) ease-in-out infinite alternate;
}

.equalizer .bar:nth-child(1) {
  --eq-speed: 0.6s;
  height: 30%;
}

.equalizer .bar:nth-child(2) {
  --eq-speed: 0.4s;
  height: 70%;
  animation-delay: -0.2s;
}

.equalizer .bar:nth-child(3) {
  --eq-speed: 0.7s;
  height: 50%;
  animation-delay: -0.4s;
}

.equalizer .bar:nth-child(4) {
  --eq-speed: 0.3s;
  height: 90%;
  animation-delay: -0.1s;
}

.equalizer .bar:nth-child(5) {
  --eq-speed: 0.5s;
  height: 60%;
  animation-delay: -0.3s;
}

.equalizer .bar:nth-child(6) {
  --eq-speed: 0.8s;
  height: 40%;
  animation-delay: -0.5s;
}

.equalizer .bar:nth-child(7) {
  --eq-speed: 0.35s;
  height: 80%;
  animation-delay: -0.15s;
}

.equalizer .bar:nth-child(8) {
  --eq-speed: 0.55s;
  height: 45%;
  animation-delay: -0.35s;
}

.equalizer .bar:nth-child(9) {
  --eq-speed: 0.45s;
  height: 65%;
  animation-delay: -0.25s;
}

.equalizer .bar:nth-child(10) {
  --eq-speed: 0.65s;
  height: 35%;
  animation-delay: -0.45s;
}

@keyframes eq-pulse {
  0% {
    transform: scaleY(0.3);
  }

  100% {
    transform: scaleY(1);
  }
}

/* --- Section Line-Wipe Divider --- */
.section-divider {
  height: 1px;
  background: var(--brand-pink);
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* --- Layout Utilities --- */
.horizontal-scroll-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.horizontal-scroll-container::-webkit-scrollbar {
  display: none;
}

/* --- Section Transitions --- */
.section-dark {
  transition: background-color 1.5s ease;
}

.section-charcoal {
  transition: background-color 1.5s ease;
}

/* --- Vinyl Record --- */
.vinyl-record {
  background: repeating-radial-gradient(#111 0, #111 2px, #222 3px, #222 4px);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.vinyl-grooves {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: repeating-radial-gradient(#181818 0, #181818 5px, #282828 6px, #282828 7px);
  opacity: 0.8;
}

/* --- Navigation Color Variants --- */
.nav-on-pink .nav-logo,
.nav-on-pink .nav-link {
  color: #050505 !important;
}

.nav-on-pink .nav-link:hover {
  color: #fff !important;
}

.nav-on-pink .nav-logo:hover {
  color: #fff !important;
}

.nav-on-pink .mobile-menu-btn {
  color: #050505 !important;
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #050505;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 40px) 40px);
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'Anton', sans-serif;
  font-size: 3rem;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--brand-pink);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

/* --- Skip to Content (Accessibility) --- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-pink);
  color: var(--brand-black);
  padding: 0.75rem 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 4px 4px;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
}

/* --- Booking CTA --- */
.booking-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--brand-black);
  color: white;
  padding: 1rem 2rem;
  font-family: 'Syncopate', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  border: 1px solid var(--brand-black);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.booking-cta:hover {
  background: transparent;
  color: var(--brand-black);
}

.booking-cta .cta-arrow {
  transition: transform 0.3s;
}

.booking-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* --- Press Kit Button --- */
.press-kit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--brand-black);
  background: transparent;
  color: var(--brand-black);
  padding: 0.75rem 1.5rem;
  font-family: 'Syncopate', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: all 0.3s;
}

.press-kit-btn:hover {
  background: var(--brand-black);
  color: white;
}

/* --- Upcoming Dates --- */
.date-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.15);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
}

.date-status {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
}

.date-status.available {
  background: var(--brand-black);
  color: white;
}

.date-status.sold-out {
  background: transparent;
  border: 1px solid var(--brand-black);
  color: var(--brand-black);
  opacity: 0.5;
}

/* --- Footer Monogram --- */
.footer-monogram {
  font-family: 'Anton', sans-serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--brand-black);
  opacity: 0.08;
  user-select: none;
  transition: opacity 0.6s;
}

.footer-monogram:hover {
  opacity: 0.2;
}