/* ============================================================
   WINNING TEAM RECORDS — REWRITTEN STYLESHEET
   Dark / psychological / intentionally unsettling
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Desaturated purple palette ~20% pulled */
  --bg-void:       #07050f;
  --bg-deep:       #0e0818;
  --bg-mid:        #1a1028;
  --purple-muted:  #3a2060;
  --purple-dim:    #5a3890;
  --purple-base:   #6b4aaa;

  /* ONE oversaturated accent — gold */
  --accent:        #C9A84C;
  --accent-hot:    #e0c070;

  /* Text */
  --white:         #f0ebe0;   /* aged parchment, not pure white */
  --white-dim:     #c8c0b0;
  --white-ghost:   rgba(240, 235, 224, 0.08);

  /* Buttons */
  --btn-bg:        #0d0b15;
  --btn-border:    #2a1e40;

  /* Fonts */
  --font-display:  'Barlow Condensed', sans-serif;
  --font-body:     'Barlow', sans-serif;

  --nav-height: 68px;
}

/* ---- BASE ---- */
html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  background: var(--bg-void);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ---- CANVASES ---- */
#smokeCanvas,
#eyesCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#smokeCanvas {
  z-index: 0;
  /* Slow background hue shift — alive but imperceptible.
     Applied here (not on body) so it doesn't create a
     containing block for fixed-position elements. */
  animation: hueShift 9s ease-in-out infinite alternate;
}
#eyesCanvas  { z-index: 1; opacity: 0.035; mix-blend-mode: screen; }

@keyframes hueShift {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(3deg); }
}

/* ---- GRAIN OVERLAY ---- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.065;
  /* SVG noise — no external image needed */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 44px;
  z-index: 100;
  background: transparent;
  transition: background 0.4s, border-color 0.4s;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  color: var(--white-dim);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0s; /* snap in */
}

/* Bleed color left-to-right on hover */
.nav-links a::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--accent);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 600ms ease; /* ease out */
  white-space: nowrap;
}

.nav-links a:hover::after { clip-path: inset(0 0% 0 0); }
.nav-links a:hover         { color: var(--white-dim); }

.nav-links a.active { color: var(--white); }
.nav-links a.active::after { clip-path: inset(0 0% 0 0); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  /* 44px minimum tap target */
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 5, 15, 0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

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

/* ---- HERO ---- */
.hero {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-height) 0 60px;
  /* Light source from bottom-left */
  background: radial-gradient(ellipse 80% 60% at 12% 92%,
    rgba(139,0,0,0.12) 0%,
    rgba(58,32,96,0.08) 40%,
    transparent 70%);
  overflow: visible;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  /* Broken symmetry — shift slightly left, tilt */
  transform: translateX(-1.5%) rotate(-0.6deg);
}

/* Logo block */
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.88;
}

/* Each word + its echo share a wrapper */
.logo-word-wrap {
  position: relative;
  display: block;
  line-height: 0.88;
}

.logo-winning,
.logo-team {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 16vw, 10rem);
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 0.88;
  position: relative;
  z-index: 1;
  /* Delay for fade-in */
  opacity: 0;
  animation: heroReveal 0.6s ease forwards;
}

.logo-winning { animation-delay: 1.5s; }
.logo-team    { animation-delay: 1.75s; }

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo-records {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 3.5vw, 1.8rem);
  letter-spacing: 0.38em;
  color: var(--white);
  background: var(--purple-muted);
  padding: 5px 22px;
  border-radius: 2px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroReveal 0.6s ease 2s forwards;
}

/* Tagline — mixed weights */
.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.8vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 680px;
  line-height: 1.15;
  color: var(--white-dim);
  opacity: 0;
  animation: heroReveal 0.7s ease 2.2s forwards;
  /* Extend past right edge of normal padding — bleeds viewport */
  margin-right: -3vw;
}

.w-heavy { font-weight: 900; color: var(--white); }
.w-light  { font-weight: 400; opacity: 0.7; }

/* Hero subline — instant context under the tagline */
.hero-subline {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.9vw, 1rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--white-dim);
  opacity: 0;
  max-width: 520px;
  margin-top: 16px;
  animation: heroReveal 0.7s ease 2.5s forwards;
}
.hero-subline::after { content: ''; }

/* Accent word — crimson */
.accent-word { color: var(--accent); font-weight: 700; }
.title-accent { color: var(--accent); }

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: heroReveal 0.6s ease 2.8s forwards;
}

.btn {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.14em;
  padding: 16px 34px;
  border-radius: 6px;
  border: 1px solid var(--btn-border);
  cursor: pointer;
  /* Breathing pulse */
  animation: btnPulse 2s ease-in-out infinite;
  /* Hover: snap in at 0ms, ease out at 600ms */
  transition: background 0ms, border-color 0ms, box-shadow 600ms ease, transform 600ms ease;
}

@keyframes btnPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.018); }
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent-hot);
  box-shadow: 0 6px 28px rgba(139,0,0,0.45);
  transform: scale(1.018);
  animation-play-state: paused;
}

.btn:active { transform: scale(0.98); }
.btn-full { width: 100%; text-align: center; }

/* ---- SHARED SECTION STYLES ---- */
.section {
  position: relative;
  z-index: 3;
  padding: 100px 0 80px;
  /* Light source from bottom-left on all sections */
  background: linear-gradient(135deg,
    rgba(139,0,0,0.04) 0%,
    transparent 50%);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 60px;
  text-transform: uppercase;
  color: var(--white);
}

/* ---- MUSIC SECTION ---- */
.section-music {
  /* Waveform clip-path top edge — jagged, not smooth */
  clip-path: polygon(
    0 4%, 8% 0, 18% 3%, 30% 0.5%, 44% 2.5%,
    58% 0, 72% 2%, 85% 0.5%, 100% 2%, 100% 100%, 0 100%
  );
  padding-top: 120px;
  background: transparent;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Cards: 7:2 ish tall-ish ratio, broken symmetry */
.music-card {
  background: rgba(26, 16, 40, 0.8);
  border: 1px solid rgba(90, 56, 144, 0.2);
  border-radius: 4px;
  overflow: hidden;
  /* Each card tilted differently */
  transition: border-color 0ms, transform 600ms ease, box-shadow 600ms ease;
}

.music-card:nth-child(1) { transform: rotate(-0.8deg) translateX(-4px); }
.music-card:nth-child(2) { transform: rotate(0.4deg) translateY(6px); }
.music-card:nth-child(3) { transform: rotate(-0.3deg) translateX(3px); }

.music-card:hover {
  border-color: var(--accent);
  transform: rotate(0deg) translateY(-4px) !important;
  box-shadow: 0 10px 40px rgba(139,0,0,0.3);
}

.music-thumb {
  /* 7:2 aspect ratio — inhuman */
  aspect-ratio: 7/2;
  background: linear-gradient(
    160deg,
    #0d0616 0%,
    #1e0f30 50%,
    #0a0310 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(139,0,0,0.5);
  border: 1px solid rgba(139,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding-left: 3px;
  cursor: pointer;
  color: var(--white);
  transition: background 0ms, transform 600ms ease;
}

.play-btn:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.music-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--white-dim);
  opacity: 0.45;
  padding: 14px 14px 4px;
  text-transform: uppercase;
}

.music-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0 14px 16px;
  color: var(--white);
}

/* ---- FLASH BEAT — spikes to near-white ---- */
.flash-beat {
  position: relative;
  z-index: 3;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(240,235,224,0.6) 30%,
    rgba(240,235,224,0.95) 50%,
    rgba(240,235,224,0.6) 70%,
    transparent 100%
  );
  box-shadow: 0 0 40px 8px rgba(240,235,224,0.25),
              0 0 120px 20px rgba(240,235,224,0.08);
  animation: flashPulse 8s ease-in-out infinite;
}

@keyframes flashPulse {
  0%, 100% { opacity: 0.1; }
  48%       { opacity: 0.1; }
  50%       { opacity: 1; }
  52%       { opacity: 0.1; }
}

/* ---- ABOUT SECTION ---- */
.section-about {
  /* Waveform clip-path — different jagged rhythm */
  clip-path: polygon(
    0 0, 100% 0,
    100% 94%, 88% 97%, 75% 95%, 60% 98%,
    45% 96%, 28% 99%, 14% 97%, 0 100%
  );
  padding-bottom: 120px;
  /* Rotated slightly — broken symmetry */
}

.about-inner { max-width: 720px; }

.about-text {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.9;
  color: var(--white-dim);
  margin-bottom: 24px;
  /* Bleed slightly off left edge */
  margin-left: -8px;
  padding-left: 8px;
}

.about-text strong {
  color: var(--white);
  font-weight: 700;
}

/* ---- CONTACT SECTION ---- */
.section-contact {
  clip-path: polygon(
    0 2.5%, 12% 0, 25% 1.5%, 40% 0, 55% 2%,
    68% 0.5%, 82% 1.8%, 100% 0, 100% 100%, 0 100%
  );
  padding-top: 110px;
  background: transparent;
}

.contact-sub {
  text-align: center;
  color: var(--white-dim);
  opacity: 0.5;
  margin-bottom: 38px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 580px;
  margin: 0 auto;
  /* Off-center intentionally */
  transform: translateX(1.5%);
}

.contact-form input,
.contact-form textarea {
  background: rgba(26, 16, 40, 0.6);
  border: 1px solid rgba(90, 56, 144, 0.2);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 13px 16px;
  resize: vertical;
  outline: none;
  transition: border-color 0ms, box-shadow 600ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(200, 190, 180, 0.3);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(139,0,0,0.2);
}

/* ---- CONTACT FORM FIELDS ---- */

/* Two-column row */
.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Field wrapper */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field input,
.form-field textarea {
  width: 100%;
}

/* Labels */
.form-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--white-dim);
  opacity: 0.6;
  text-transform: uppercase;
}

.form-optional {
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

/* Submit button disabled state */
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  animation-play-state: paused;
  transform: none;
}

/* ---- FOOTER ---- */
.footer {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 32px 24px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  opacity: 0.3;
  border-top: 1px solid rgba(90, 56, 144, 0.08);
}

.footer a {
  color: var(--white-dim);
  text-decoration: underline;
  text-decoration-color: rgba(240, 235, 224, 0.25);
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.footer a:hover { opacity: 1.5; text-decoration-color: var(--accent); }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ---- FOOTER SOCIALS ---- */
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 14px;
}

.footer-social-link {
  color: var(--white-dim);
  opacity: 0.3;
  /* 18px icon + 13px padding each side = 44px tap target */
  padding: 13px;
  transition: opacity 0.2s, color 0.2s, transform 600ms ease;
  display: flex;
  align-items: center;
}

.footer-social-link:hover {
  opacity: 1;
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .music-grid { grid-template-columns: 1fr; }
  .music-card:nth-child(n) { transform: none; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .hero-content {
    transform: translateX(0) rotate(0deg);
    padding: 0 16px;
  }

  .tagline { margin-right: 0; font-size: clamp(1rem, 5vw, 1.4rem); }

  .cta-buttons { flex-direction: column; align-items: center; }
  .btn { width: 260px; text-align: center; }

  .section { padding: 80px 0 60px; }

  .section-music,
  .section-contact {
    clip-path: none;
    padding-top: 80px;
  }

  .section-about {
    clip-path: none;
    padding-bottom: 80px;
  }

  .contact-form { transform: none; }
  .about-text { margin-left: 0; }
  .form-row--two { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .logo-winning,
  .logo-team { font-size: clamp(3.5rem, 18vw, 6rem); }
  .logo-records { font-size: clamp(0.8rem, 4vw, 1.1rem); }
}

/* ============================================================
   RELEASE COUNTDOWN — replaces "Coming Soon" placeholders
   ============================================================ */
.release-block {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 0 10px;
}

/* Cover art */
.release-art-col { position: relative; }

.release-art {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6),
              0 0 50px rgba(140, 60, 220, 0.14);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 600ms ease;
}

.release-art:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65),
              0 0 60px rgba(140, 60, 220, 0.22);
}

.release-info-col { text-align: left; }

.release-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.release-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 8vw, 4rem);
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 32px;
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 28px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 62px;
}

.cd-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.cd-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  opacity: 0.4;
  margin-top: 6px;
}

.cd-sep {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--accent);
  opacity: 0.3;
  line-height: 1.1;
}

.release-sub {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--white-dim);
  opacity: 0.6;
  margin-bottom: 28px;
}

.countdown.is-live .cd-num { color: var(--white); }

@media (max-width: 480px) {
  .countdown { gap: 4px; }
  .cd-unit { min-width: 48px; }
  .cd-sep { display: none; }
}

.cd-live {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  letter-spacing: 0.14em;
  color: var(--accent);
}

/* ============================================================
   WHY WINNING TEAM — homepage conviction section
   ============================================================ */
.section-why { padding: 80px 24px; }

.why-body {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.why-lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3.4vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 18px;
}

.why-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--white-dim);
  opacity: 0.65;
}

.why-principles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.why-principle { text-align: center; }

.why-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 4vw, 2rem);
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
}

.why-def {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--white-dim);
  opacity: 0.5;
  letter-spacing: 0.02em;
}

.why-divider {
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, transparent, rgba(201,168,76,0.35), transparent);
}

.why-cta { text-align: center; }

@media (max-width: 560px) {
  .why-principles { gap: 28px; }
  .why-divider { width: 54px; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.35), transparent); }
}


/* Release block — stack under 800px */
@media (max-width: 800px) {
  .release-block {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 460px;
  }
  .release-info-col { text-align: center; }
  .countdown { justify-content: center; }
}
