/* =========================================================
   STEVE N — Fan homepage (index.html)
   Builds on style.css (same colours, type, nav, buttons, .hl, .clip, marquee).
   ========================================================= */

.fan { background: var(--navy-deep); }

/* ---------- Dark nav ---------- */
.nav--dark {
  background: rgba(8, 19, 41, .78);
  border-bottom-color: var(--line-light);
  color: var(--white);
}
.nav--dark .lang { background: rgba(255, 255, 255, .06); border-color: var(--line-light); }
.nav--dark .lang button { color: rgba(255, 255, 255, .6); }
.nav--dark .lang button:hover { color: var(--white); }
.nav--dark .lang button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.nav--dark .nav__pill { border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .85); }
.nav--dark .nav__pill:hover { border-color: var(--red); color: var(--white); }

/* ---------- Hero ---------- */
.fhero {
  --hero-pad: clamp(2rem, 6vh, 4.5rem);
  --title-fs: calc((min(100vw, var(--max)) - 2 * var(--gutter)) / 5.95);
  position: relative;
  min-height: 100svh;
  padding-top: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(ellipse 38% 55% at 60% 62%, rgba(255, 0, 0, .26), rgba(255, 0, 0, 0) 70%),
    radial-gradient(ellipse 90% 80% at 55% 100%, #15295a 0%, var(--navy-deep) 72%);
}
/* film grain (same texture as the press kit's Performances) */
.fhero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
  opacity: .14;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* the figure fades into the page at the bottom; the text sits on top */
.fhero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(8, 19, 41, 0), var(--navy-deep) 92%);
  pointer-events: none;
}
.fhero__inner {
  position: relative;
  max-width: var(--max);
  min-height: calc(100svh - var(--nav-h));
  margin: 0 auto;
  padding: var(--hero-pad) var(--gutter) clamp(2.5rem, 7vh, 5rem);
  display: flex;
  flex-direction: column;
}
.fhero__eyebrow { position: relative; z-index: 4; color: rgba(255, 255, 255, .85); }
.fhero__title { color: var(--cream); }

/* Portrait: the press kit cut-out (.hero__photo in style.css), over the name */

.fhero__bottom {
  position: relative;
  z-index: 4;
  margin-top: auto;
  max-width: 26rem;
}
.fhero__lead {
  margin-bottom: 1.75rem;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.025em;
}
.fhero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.fhero__ctas .btn { padding-inline: 2.5rem; }

/* Round platform icons (quick links) */
.plat { display: flex; flex-wrap: wrap; gap: .45rem; }
.plat a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: rgba(255, 255, 255, .85);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.plat a:hover { background: var(--white); border-color: var(--white); color: var(--navy); transform: translateY(-2px); }
.plat svg, .plink__icon {
  width: 19px; height: 19px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Music: latest release ---------- */
.latest {
  display: grid;
  grid-template-columns: minmax(240px, 400px) 1fr;
  gap: clamp(2.5rem, 8vw, 7.5rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.latest__art {
  position: relative;
  display: block;
  aspect-ratio: 1;
}
.latest__art img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 34px 60px -30px rgba(8, 19, 41, .75);
}
/* Record sliding out of the sleeve (spins a little on hover) */
.latest__vinyl {
  position: absolute;
  z-index: 0;
  top: 3%; left: 3%;
  width: 94%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--cream) 0 1.6%, var(--red) 1.8% 15%, #0b0b0b 15.3% 17%, transparent 17.2%),
    conic-gradient(from 20deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,.13) 25deg, rgba(255,255,255,0) 55deg, rgba(255,255,255,0) 180deg, rgba(255,255,255,.1) 205deg, rgba(255,255,255,0) 235deg),
    repeating-radial-gradient(circle, #111 0 1.5px, #1d1d1f 2px 3.5px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  transform: translateX(28%) rotate(0deg);
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.latest__art:hover .latest__vinyl { transform: translateX(40%) rotate(160deg); }

.latest__info .eyebrow { margin-bottom: 1rem; }
.latest__title {
  margin: 0 0 .8rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: .88;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.latest__by { margin: 0 0 .15rem; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 800; letter-spacing: -.01em; }
.latest__label { margin: 0 0 1.5rem; font-weight: 600; color: var(--ink-muted); }
.latest__player { display: block; width: 100%; max-width: 34rem; border: 0; border-radius: 12px; }

/* ---------- Music: releases grid ---------- */
.discs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.disc { display: block; min-width: 0; text-decoration: none; }
.disc__art {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--navy);
  box-shadow: 0 22px 40px -26px rgba(8, 19, 41, .7);
}
.disc__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.disc:hover .disc__art img { transform: scale(1.05); }
.disc__play {
  position: absolute;
  right: .7rem; bottom: .7rem;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  padding-left: 2px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: .8rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.disc:hover .disc__play, .disc:focus-visible .disc__play { opacity: 1; transform: none; }
.disc__meta { display: flex; flex-direction: column; gap: .2rem; margin-top: .9rem; }
.disc__date {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.disc__title {
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.disc__by { font-size: .82rem; font-weight: 600; line-height: 1.35; color: var(--ink-muted); }

/* "Coming soon" card with a little equalizer */
.disc--next .disc__art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 0, 0, .35), rgba(255, 0, 0, 0) 60%),
    var(--navy);
  color: var(--white);
  transition: transform .3s;
}
.disc--next:hover .disc__art { transform: translateY(-3px); }
.disc__soon {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 120%;
  font-variation-settings: "wdth" 120;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.eq { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.eq i {
  width: 6px;
  height: 100%;
  border-radius: 3px;
  background: var(--red);
  transform-origin: bottom;
  animation: eq 1.1s ease-in-out infinite alternate;
}
.eq i:nth-child(2) { animation-delay: -.5s; animation-duration: .9s; }
.eq i:nth-child(3) { animation-delay: -.2s; animation-duration: 1.3s; }
.eq i:nth-child(4) { animation-delay: -.8s; animation-duration: 1s; }
.eq i:nth-child(5) { animation-delay: -.35s; animation-duration: 1.2s; }
@keyframes eq { from { transform: scaleY(.18); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .eq i { animation: none; transform: scaleY(.6); } }

/* ---------- Studio / Sets (reuse .hl from style.css) ---------- */
.hl__lead {
  max-width: 30rem;
  margin: 1.25rem 0 2rem;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  line-height: 1.45;
  color: #33405A;
}
.shorts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 230px));
  gap: 1.25rem;
}
/* small text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 2rem;
  padding-bottom: .3rem;
  border-bottom: 2px solid var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}
.tlink:hover .arw { color: var(--red); transform: translate(2px, -2px); }
.tlink--light { color: var(--white); }

.sets { background: var(--navy); color: var(--white); }
.sets .hl__title { color: var(--white); }
.sets .hl__title::after { color: var(--red); }        /* letters turn red over the photo */
.sets .hl__lead { color: rgba(255, 255, 255, .8); }
.sets .hl__frame img { object-position: 45% 40%; }
.sets__player { display: block; width: 100%; border: 0; border-radius: 12px; }

.archive {
  display: grid;
  grid-template-columns: minmax(0, 240px) 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}
.clip--wide .clip__media { aspect-ratio: 16 / 9; }
.archive__text p { margin: 0; }
.archive__k {
  margin-bottom: .35rem !important;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.archive__t { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.archive__s { font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .55); }

/* ---------- Shows (reuses the .performances background) ---------- */
.shows .performances__bg img {
  object-position: center 40%;   /* fallback; the script in index.html frames it exactly */
  animation: none !important;    /* no scroll zoom here: keeps the photo sharp */
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
          mask-image: linear-gradient(to bottom, #000 80%, transparent);
}
/* open a "window" between the title and the dates card where the DJ booth shows through */
.shows .performances__head { margin-bottom: clamp(10rem, 22vw, 19rem); }
.shows .performances__bg::before {
  background: linear-gradient(180deg,
    rgba(8, 19, 41, .72) 0,
    rgba(8, 19, 41, .38) calc(var(--gc, 50%) - 9rem),
    rgba(8, 19, 41, .04) calc(var(--gc, 50%) - 3rem),
    rgba(8, 19, 41, .04) calc(var(--gc, 50%) + 3rem),
    rgba(8, 19, 41, .72) calc(var(--gc, 50%) + 9rem),
    var(--navy-deep) 100%);
}
.tour {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: rgba(8, 19, 41, .55);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  text-align: center;
}
.tour__soon {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tour__widget { margin-bottom: 1.5rem; text-align: left; }
.tour__when-dates, .tour.has-dates .tour__when-soon { display: none; }
.tour.has-dates .tour__when-dates { display: inline; }

/* Bandsintown widget: match the site (it renders into the page, so CSS applies) */
.tour .bit-widget { font-family: var(--font) !important; background: transparent !important; color: var(--white) !important; }
.tour .bit-widget .bit-logo-container,
.tour .bit-widget .bit-nav-bar-container,
.tour .bit-widget .bit-follow-section-wrapper,
.tour .bit-widget .bit-play-my-city-wrapper,
.tour .bit-widget .bit-no-dates-container { display: none !important; }   /* our own heading + button already cover these */
.tour .bit-widget .bit-event { border-color: var(--line-light) !important; }
.tour .bit-widget .bit-button {
  border-radius: 999px !important;
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: var(--white) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

/* ---------- Follow ---------- */
.follow {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 430px);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.follow .title { margin-bottom: 1.25rem; }
.follow__lead { max-width: 28rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 700; line-height: 1.45; color: #33405A; }
.plist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin-top: 2rem;
}
.plink {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-width: 0;
  padding: .95rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-decoration: none;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.plink:hover { border-color: rgba(14, 30, 61, .35); transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(8, 19, 41, .5); }
.plink__icon { width: 22px; height: 22px; flex: none; }
.plink__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.plink__txt strong { font-size: .95rem; font-weight: 800; letter-spacing: -.01em; }
.plink__txt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; font-weight: 600; color: var(--ink-muted); }
.plink .arw { margin-left: auto; width: 1rem; height: 1rem; opacity: .35; }
.plink:hover .arw { opacity: 1; color: var(--red); transform: translate(2px, -2px); }

/* Instagram preview: phone showing the profile, posts scroll by on their own */
.igphone { justify-self: center; width: min(100%, 330px); }
.igphone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 640px;
  overflow: hidden;
  padding-top: 3.2rem;
  border: 10px solid #05070d;
  border-radius: 48px;
  background: #0c1014;
  color: #f5f5f5;
  box-shadow: 0 0 0 1.5px #2b3346, 0 60px 90px -40px rgba(8, 19, 41, .75);
}
.igphone__island {
  position: absolute;
  z-index: 2;
  top: 10px; left: 50%;
  width: 90px; height: 26px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}
/* home indicator */
.igphone__screen::after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: 8px; left: 50%;
  width: 108px; height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .75);
  transform: translateX(-50%);
  pointer-events: none;
}
.igphone p { margin: 0; }
.igp__head { display: flex; align-items: center; gap: .9rem; padding: 0 1rem; }
.igp__avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.igp__user { display: flex; align-items: center; gap: .3rem; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.igp__check { width: 15px; height: 15px; flex: none; }
.igp__name { margin-top: .1rem !important; font-size: .8rem; font-weight: 500; color: #a8a8a8; }
.igp__cat { margin: .85rem 1rem 0 !important; font-size: .74rem; font-weight: 500; color: #a8a8a8; }
.igp__bio { margin: .1rem 1rem .85rem !important; font-size: .82rem; font-weight: 500; line-height: 1.35; }
.igp__follow {
  display: block;
  margin: 0 1rem;
  padding: .55rem;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
}
.igp__follow:hover { background: var(--red-dark); }
.igp__tabs { display: flex; margin-top: .9rem; }
.igp__tabs span {
  flex: 1;
  display: grid;
  place-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid #262626;
  color: #8e8e8e;
}
.igp__tabs .is-on { border-bottom: 1.5px solid #f5f5f5; color: #f5f5f5; }
.igp__tabs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.igp__feed { position: relative; flex: 1; min-height: 0; overflow: hidden; display: block; }
.igp__track { display: block; animation: ig-scroll 42s linear infinite; }
.igp__feed:hover .igp__track { animation-play-state: paused; }
.igp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding-bottom: 2px; }   /* padding = gap, so the loop is seamless */
.igp__grid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
@keyframes ig-scroll { to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .igp__track { animation: none; } }

/* ---------- Press kit band ---------- */
.pressband { background: var(--navy); color: var(--white); padding: clamp(2rem, 4vw, 2.75rem) 0; }
.pressband__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.pressband p { margin: 0; max-width: 40rem; color: rgba(255, 255, 255, .75); font-weight: 600; }
.pressband strong { color: var(--white); font-weight: 800; margin-right: .35rem; }
.pressband .btn { flex: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .discs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  /* Hero: portrait under the name (hair overlapping the letters), text on top of the fade */
  .fhero { min-height: 0; }
  .fhero::after { display: none; }
  .fhero__inner { min-height: 0; padding-bottom: 2.75rem; }
  .fhero__bottom { margin-top: clamp(-9rem, -24vw, -5rem); }

  .latest { grid-template-columns: 1fr; gap: 2.25rem; }
  .latest__art { width: min(78%, 360px); }
  .latest__vinyl { transform: translateX(22%); }
  .latest__art:hover .latest__vinyl { transform: translateX(26%) rotate(120deg); }

  /* Releases become a swipeable row */
  .discs {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 40%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) .5rem;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .discs::-webkit-scrollbar { display: none; }
  .disc { scroll-snap-align: start; }
  .disc__play { opacity: 1; transform: none; width: 34px; height: 34px; font-size: .7rem; }

  .shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .sets__player { height: 300px; }

  .follow { grid-template-columns: 1fr; }
  .pressband__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .fhero__ctas .btn { padding-inline: 2rem; }
  .plat a { width: 38px; height: 38px; }
  .plat svg { width: 17px; height: 17px; }

  .discs { grid-auto-columns: 58%; }
  .studio .hl__title, .sets .hl__title { width: auto; white-space: normal; }   /* wrap on very narrow phones */
  .archive { grid-template-columns: minmax(0, 46%) 1fr; gap: 1rem; }

  .plist { gap: .55rem; }
  .plink { gap: .65rem; padding: .8rem .85rem; }
  .plink__txt small { display: none; }
  .plink .arw { display: none; }
  .igphone__screen { height: 600px; }
}
