/* ==========================================================================
   NO SKIPS — Brand System
   Warm Graphite bg / Cream text / one blue per element / gold accents
   ========================================================================== */

:root {
  /* Core */
  --bg: #E8E4D9;          /* Cream */
  --text: #2C2C2E;        /* Warm Graphite */

  /* Blues — pick ONE per element, never mix two */
  --cobalt: #1A50D4;      /* default / logo */
  --sky-blue: #2D7DD2;    /* digital accents */
  --light-blue: #67A1DF;  /* soft fills */
  --navy: #0A2F8A;        /* formal contexts */

  /* Golds — accents only, always outnumbered by blue */
  --harvest-gold: #C8962E;
  --dusty-wheat: #D4B483;
  --warm-sand: #E8B86D;

  /* Type */
  --font-body: 'DM Sans', 'Nunito', -apple-system, sans-serif;
  --font-display: 'Trade Gothic Bold Extended No. 2', 'Bebas Neue', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Type scale ---- */
.display,
h1.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.02;
  font-size: clamp(48px, 9vw, 72px);
  margin: 0;
}

h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 16px;
}

h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 16px;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 12px;
}

p {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.caption,
.genre-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-blue);
}

/* ---- Layout shell ---- */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 128px;
}

.logo {
  display: flex;
  align-items: center;
  height: 76px;
}
.logo img {
  height: 100%;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.logo:hover img,
.logo:focus-visible img {
  filter: grayscale(0%);
}

@keyframes navLogoIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.7;
  padding: 6px 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a:hover { opacity: 1; }

.main-nav a.active {
  opacity: 1;
  color: var(--sky-blue);
}

.nav-toggle {
  all: unset;
  box-sizing: border-box;
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* ---- Footer ---- */
.site-footer {
  margin-top: 96px;
  padding: 48px 0;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo { height: 32px; }
.footer-logo img {
  height: 100%;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.footer-logo:hover img,
.footer-logo:focus-visible img {
  filter: grayscale(0%);
  opacity: 1;
}

.footer-meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
  opacity: 0.55;
}

.footer-contact a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--sky-blue);
}

/* ---- Home hero (roster left, logo center focus) ---- */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dusty-wheat);
  margin-bottom: 24px;
  display: block;
}

.home-hero {
  padding: 48px 0 64px;
}

.home-hero-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 56px;
  min-height: 70vh;
}

.home-roster-list a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: color 0.2s ease;
}

.home-roster-list a.hl-sky:hover,
.home-roster-list a.hl-sky:focus-visible {
  color: var(--sky-blue);
}

.home-roster-list a.hl-sand:hover,
.home-roster-list a.hl-sand:focus-visible {
  color: var(--warm-sand);
}

.hero-tagline {
  max-width: 400px;
  margin-top: 40px;
  font-size: 16px;
  opacity: 0.88;
}

/* Big center logo: color by default; a cursor-sized wipe paints it black and fades */
.home-logo {
  position: relative;
  order: -1;
  align-self: center;
  width: 100%;
  max-width: 420px;
}

.home-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.home-logo .home-logo-black {
  display: none;
}

.home-logo .home-logo-wipe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---- Accessibility ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.photo-caption {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(44,44,46,0.55);
}

/* ---- Roster page (list + expanding detail panel) ---- */
.roster-page { padding: 64px 0 120px; }

.roster-page h1 {
  font-size: 90px;
  text-align: center;
}

.roster-split {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.roster-list {
  width: 300px;
  flex: none;
}

.roster-item {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  position: relative;
  padding: 14px 16px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.roster-item:hover,
.roster-item:focus-visible { opacity: 1; }

/* Active indicator: 2px Cobalt fill (pseudo-element, not a border) */
.roster-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cobalt);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.roster-item.active { opacity: 1; }
.roster-item.active::before { opacity: 1; }

.roster-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* Fills the full remaining row beside the 300px list via flex-grow, so it
   always reaches the container's right edge regardless of container width
   (no hardcoded viewport-based width formula to keep in sync). */
.roster-panel {
  flex: 0 1 0%;
  min-width: 0;
  overflow: hidden;
  visibility: hidden;
  transition: flex-grow 420ms cubic-bezier(.4,0,.2,1), visibility 0s 420ms;
}

.roster-panel.open {
  flex-grow: 1;
  visibility: visible;
  transition: flex-grow 420ms cubic-bezier(.4,0,.2,1);
}

/* Player card: graphite face on the cream page, photo framed by the card,
   cream Bebas name, gold profile link. Rounded and floating on a soft
   shadow (deliberate exception to the no-shadow rule); the margins keep
   the shadow inside the panel's overflow clip. */
.roster-panel-inner {
  margin: 18px 36px 56px 48px;
  background: var(--text);
  color: var(--bg);
  padding: 20px 20px 32px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(44, 44, 46, 0.22);
}

.panel-photo {
  aspect-ratio: 4 / 3;
  position: relative;
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
}

/* Gradient fade blending the photo's bottom edge into the card's graphite
   face, so photo and text read as one continuous surface. */
.panel-photo::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to bottom, rgba(44,44,46,0) 0%, var(--text) 92%);
  pointer-events: none;
}

.panel-photo.wheat { background: var(--dusty-wheat); }
.panel-photo.lightblue { background: var(--light-blue); }

.panel-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
}

.panel-bio { margin-bottom: 24px; opacity: 0.88; }

.panel-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--harvest-gold);
  transition: opacity 0.2s ease;
}

.panel-link:hover { opacity: 0.7; }

/* Roster stacks vertically on small screens; panel animates height instead */
@media (max-width: 720px) {
  .roster-split { flex-direction: column; }

  .roster-list { width: 100%; }

  .roster-item { padding: 14px 16px; }

  .roster-panel,
  .roster-panel.open { flex: 0 0 100%; width: 100%; }

  .roster-panel {
    max-height: 0;
    transition: max-height 420ms cubic-bezier(.4,0,.2,1), visibility 0s 420ms;
  }

  .roster-panel.open {
    max-height: 900px;
    transition: max-height 420ms cubic-bezier(.4,0,.2,1);
  }

  .roster-panel-inner {
    margin: 20px 4px 48px;
    padding: 16px 16px 28px;
  }
}

/* ---- Individual artist page ---- */
.artist-page { padding-bottom: 96px; }

.artist-hero {
  width: 100%;
  aspect-ratio: 2 / 1;
  position: relative;
  margin-bottom: 40px;
}

.artist-hero .photo-caption {
  color: rgba(44,44,46,0.6);
  bottom: 16px;
  left: 32px;
}

/* Real photography: fill the block, keep faces in frame on wide crops */
.artist-hero img,
.panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.artist-body { padding-top: 8px; }

.artist-body h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

/* Platform icons: graphite at rest, Cobalt on hover (one blue per element).
   Sits directly below the artist name, before the bio. */
.artist-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 36px;
}

.artist-links a {
  display: block;
  padding: 4px;
  color: var(--text);
  transition: color 0.2s ease;
}

.artist-links a:hover,
.artist-links a:focus-visible { color: var(--cobalt); }

.artist-links svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.booking-block {
  padding-top: 8px;
  margin-bottom: 64px;
}

.booking-block .caption { display: block; margin-bottom: 8px; }
.booking-block a { font-size: 16px; font-weight: 600; color: var(--sky-blue); }

/* Persistent cross-roster nav on artist pages (Mutual Friends pattern) */
.roster-crossnav {
  padding-top: 24px;
}

.roster-crossnav .section-label { color: var(--light-blue); }

.crossnav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
}

.crossnav-list li { list-style: none; }

.crossnav-list a {
  display: inline-block;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.crossnav-list a:hover { opacity: 0.85; }

.crossnav-list a.active {
  opacity: 1;
  color: var(--sky-blue);
}

/* ---- About page ---- */
.about-page { padding: 64px 0 120px; }
.about-page .display { margin-bottom: 32px; }
.about-copy { max-width: 720px; }
.about-copy p { font-size: 17px; }

.contact-block {
  margin-top: 56px;
}

/* ---- Lists reset ---- */
ul { list-style: none; margin: 0; padding: 0; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }

  .site-header .wrap { height: 88px; }
  .logo { height: 48px; }
  .footer-logo { height: 26px; }

  .main-nav {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 16px 20px;
  }
  .nav-toggle { display: flex; }

  .home-hero { padding: 40px 0 48px; }
  .home-hero-grid {
    min-height: 0;
    gap: 40px;
  }
  .hero-tagline { margin-top: 28px; }
  .crossnav-list { gap: 0 18px; }
}

/* Phones only: on the home page, the big centered logo already carries
   the brand, so hide the small nav-bar one there to avoid duplicating it.
   On every other page (no big logo present) the nav logo still shows,
   in its normal spot with its normal link/hover — and fades in on load
   since it's the first/only logo a mobile visitor sees when landing there. */
@media (max-width: 640px) {
  .page-home .site-header .logo { display: none; }

  .site-header .logo {
    animation: navLogoIn 480ms ease both;
  }

  .home-logo { max-width: 280px; }
}
