/* ================================
   BAYSGATE — Global Styles (Clean V2)
   File: styles.css
   ================================ */

/* ==============
   Global Reset / Layout
   ============== */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Root Tokens ---- */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --bg-softer: #f9fafb;
  --fg: #111111;
  --fg-soft: #5b6470;
  --accent: #ff4b8b;
  --accent-soft: rgba(255, 75, 139, 0.12);
  --accent-strong: #f0226b;
  --border-subtle: #e2e4ea;
  --card-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 999px;
  --nav-height: 72px;
  --transition-fast: 180ms ease-out;
}

/* ---- Global Links ---- */
a {
  color: inherit;
  text-decoration: none;
}

/* ---- Layout Helpers ---- */
.page {
  min-height: 100vh;
  background: radial-gradient(
    circle at top left,
    #fdf2ff 0,
    #ffffff 38%,
    #f5fbff 100%
  );
  color: var(--fg);
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* subtle fade-up on load */
.fade-in-up {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 550ms var(--transition-fast) forwards;
}

.fade-delay-1 {
  animation-delay: 120ms;
}

.fade-delay-2 {
  animation-delay: 220ms;
}

.fade-delay-3 {
  animation-delay: 340ms;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   Header / Navigation
   ================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.94),
    rgba(255, 255, 255, 0.86),
    rgba(255, 255, 255, 0.9)
  );
  border-bottom: 1px solid rgba(226, 228, 234, 0.7);
}

.site-header-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: conic-gradient(from 160deg, #ff4b8b, #ff9f5b, #6b5bff, #ff4b8b);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
}

.brand-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7c7c84;
  opacity: 0.9;
}


/* Nav links */
.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  position: relative;
  padding: 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  font-size: 11px;
  color: #7c7c84;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4fa7, #7c5cff);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #111;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #111;
}

.nav-link.active::after {
  width: 100%;
}

/* Mobile nav: simple collapse */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-line {
  position: relative;
  width: 16px;
  height: 1.5px;
  background: #111;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: #111;
}

.nav-toggle-line::before {
  top: -5px;
}

.nav-toggle-line::after {
  top: 5px;
}

/* ================================
   Buttons
   ================================ */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--fg);
  transition:
    background-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast),
    border-color var(--transition-fast);
}

.btn span.icon {
  font-size: 1rem;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(240, 34, 107, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(240, 34, 107, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

/* ================================
   Hero (Home)
   ================================ */

.hero {
  padding: 3.5rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 75, 139, 0.28);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, var(--accent), #ff9f5b);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 32rem;
  font-size: 0.98rem;
  color: var(--fg-soft);
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-soft);
  margin-top: 1.25rem;
}

.hero-meta-tag {
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.8);
}

/* Hero album card simplified to “big cover only” */
.hero-album-card {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}

.hero-album-inner--simple {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.hero-cover-big {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  transform: translateY(0);
  transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}

.hero-cover-big:hover {
  transform: translateY(4px) scale(0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-cover-big-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ================================
   Sections (Home / Shared)
   ================================ */

.section {
  padding: 0 0 2.75rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--fg-soft);
  max-width: 26rem;
}

/* Divider variant */
.section--with-divider .section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.section-subtitle--with-divider {
  position: relative;
  padding-left: 1.75rem;
}

.section-subtitle--with-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 1px;
  background: rgba(148, 163, 184, 0.5);
}

/* Cards */
.card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-softer);
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(148, 163, 184, 0.7);
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

/* Streaming buttons grid */
.stream-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.stream-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-soft);
  font-size: 0.83rem;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.stream-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.8);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.stream-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

/* ================================
   Footer
   ================================ */

.site-footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--fg-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-link {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ================================
   Making Of Timeline (About)
   ================================ */

.making-of {
  padding: 3rem 0 4rem;
}

.making-of-wrapper {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.making-of-title {
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.making-of-title span {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-top: 0.35rem;
}

.making-of-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #5b6470;
  max-width: 32rem;
}

/* Timeline layout */

.making-of-timeline {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0 0 0 1.4rem;
  position: relative;
}

/* vertical line */
.making-of-timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.1rem;
  bottom: 0.2rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(148, 163, 184, 0.6),
    rgba(148, 163, 184, 0.2)
  );
}

.making-of-item {
  position: relative;
  padding: 0 0 1.7rem 0.9rem;
  transition:
    transform 160ms ease-out,
    background-color 160ms ease-out;
  border-radius: 12px;
}

/* dot */
.making-of-item::before {
  content: "";
  position: absolute;
  left: -0.23rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #ff4b8b;
  box-shadow: 0 0 0 0 rgba(255, 75, 139, 0.25);
  transition:
    box-shadow 200ms ease-out,
    transform 160ms ease-out;
}

/* hover / focus state */
.making-of-item:hover {
  transform: translateX(3px);
  background-color: rgba(249, 250, 251, 0.9);
}

.making-of-item:hover::before {
  transform: scale(1.05);
  box-shadow: 0 0 0 6px rgba(255, 75, 139, 0.12);
}

.making-of-year {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.15rem;
}

.making-of-year--highlight {
  color: #ff4b8b;
}

.making-of-heading {
  font-size: 1.02rem;
  margin: 0 0 0.25rem;
}

.making-of-text {
  margin: 0;
  font-size: 0.92rem;
  color: #4b5563;
}

/* Mobile tweaks for timeline */
@media (max-width: 640px) {
  .making-of-wrapper {
    padding-inline: 1.1rem;
  }

  .making-of-timeline {
    padding-left: 1.1rem;
  }

  .making-of-timeline::before {
    left: 0.25rem;
  }

  .making-of-item::before {
    left: -0.35rem;
  }
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 880px) {
  .hero {
    padding-top: 2.6rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-album-card {
    order: -1;
  }

  .site-header-inner {
    gap: 0.75rem;
  }

  .nav {
    display: none;
    flex-wrap: nowrap;
    overflow-x: hidden;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.85);
  }

  /* slide-down menu on mobile */
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: absolute;
    right: 1.5rem;
    top: calc(var(--nav-height) - 4px);
    padding: 0.65rem 0.95rem;
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  }
}

@media (max-width: 768px) {
  .card-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ================================
   EXTRA: Streaming brand colours
   ================================ */

.stream-chip--spotify .stream-dot {
  background: #1db954;
}
.stream-chip--spotify:hover {
  background: rgba(29, 185, 84, 0.08);
  border-color: rgba(29, 185, 84, 0.65);
}

.stream-chip--apple .stream-dot {
  background: #fa2d48;
}
.stream-chip--apple:hover {
  background: rgba(250, 45, 72, 0.08);
  border-color: rgba(250, 45, 72, 0.65);
}

.stream-chip--youtube .stream-dot {
  background: #ff0000;
}
.stream-chip--youtube:hover {
  background: rgba(255, 0, 0, 0.08);
  border-color: rgba(255, 0, 0, 0.65);
}

.stream-chip--tidal .stream-dot {
  background: #0a8acb;
}
.stream-chip--tidal:hover {
  background: rgba(10, 138, 203, 0.08);
  border-color: rgba(10, 138, 203, 0.65);
}

.stream-chip--amazon .stream-dot {
  background: #ff9900;
}
.stream-chip--amazon:hover {
  background: rgba(255, 153, 0, 0.08);
  border-color: rgba(255, 153, 0, 0.65);
}

.stream-chip--deezer .stream-dot {
  background: linear-gradient(135deg, #ff0080, #ffcc00, #00ff8a, #00aaff);
}
.stream-chip--deezer:hover {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(148, 163, 184, 0.9);
}
