/* ==========================================================================
   sections.css — hero, music, bio, shows, photos, signup, contact
   ========================================================================== */

/* --- Hero -----------------------------------------------------------------
   Press-kit cover translated to a page: the name high over the red glow,
   the silhouette behind it, the links at the foot. */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: clamp(96px, 15vh, 170px) var(--gutter) 46px;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* Darken top and bottom so type stays readable over the photograph */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 11, 10, .72) 0%,
    rgba(12, 11, 10, .18) 26%,
    rgba(12, 11, 10, .10) 52%,
    rgba(12, 11, 10, .75) 88%,
    var(--bg) 100%
  );
}

/* everything except the photograph sits above the scrim */
.hero > :not(.hero-bg) {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0;
  font: 800 clamp(44px, 11.5vw, 148px)/.92 var(--display);
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--coral);
}

/* White rather than red: it sits over the brightest part of the glow */
.hero .standfirst {
  margin: 14px 0 0;
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 14px rgba(12, 11, 10, .75);
}

.hero .links {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero .links a {
  padding-bottom: 4px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  transition: color .2s, border-color .2s;
}

.hero .links a:hover,
.hero .links a.p {
  color: var(--coral);
  border-color: var(--coral);
}

/* --- Music ---------------------------------------------------------------- */
.release {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.release-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Queried below, so the date row responds to this column's real width
   rather than the viewport's — it is narrow both on a phone and in the
   two-column layout on a smallish desktop. */
.release-info {
  container-type: inline-size;
}

.release-info .label {
  margin-bottom: 12px;
}

.release-info h3 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1;
  letter-spacing: -.025em;
}

.release-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 26px;
}

/* Release date — plain type, no capsule, so the only thing shaped like a
   button in this column is the button. A pipe separates it from the clock. */
.release-date {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-text);
}

.release-date::after {
  content: "|";
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

/* Once it is out the clock is gone, so the separator goes with it */
.release-date.is-out::after {
  display: none;
}

/* Too narrow for one line: stack them deliberately instead of letting the
   clock wrap and leaving the pipe dangling at the end of the date. */
@container (max-width: 470px) {
  .release-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .release-date::after {
    display: none;
  }
}

/* Live countdown beside the badge — filled by js/main.js */
.countdown {
  display: flex;
  gap: 11px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.countdown b {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.countdown[hidden] {
  display: none;
}

/* --- The two states of the release ----------------------------------------
   Before the date: pre-save leads and the other platforms are shown locked,
   because nothing points anywhere yet. From the date: one platform leads and
   the others follow quietly. js/main.js flips the two at the right moment,
   driven by <body data-release>. */

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--bg-deep);
  background: var(--coral);
  border-radius: 99px;
  transition: filter .18s;
}

.btn-main:hover {
  filter: brightness(1.08);
}

.btn-main svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Platforms with nowhere to go yet: dashed, dimmed, and not links */
.locked {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 12px;
}

.locked span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 99px;
}

.locked svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  opacity: .6;
}

/* The same chip when it does lead somewhere: solid edge, full contrast */
.locked a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: border-color .18s, color .18s;
}

.locked a:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.locked a svg {
  opacity: 1;
}

.locked-note {
  margin: 0;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The secondary platforms once everything is live */
.secondary {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.secondary a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  transition: color .18s;
}

.secondary a:hover {
  color: var(--coral);
}

.secondary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Video */

/* The hero links here, so leave a little air above it on arrival */
#video {
  scroll-margin-top: 28px;
}

.video-block {
  margin-top: clamp(56px, 8vw, 96px);
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}

.video-meta .label {
  margin: 0;
}

.video {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-deep);
}

.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s, opacity .3s;
}

.video:hover img {
  transform: scale(1.03);
  opacity: .85;
}

.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play span {
  display: grid;
  place-items: center;
  width: clamp(62px, 6vw, 82px);
  height: clamp(62px, 6vw, 82px);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(193, 6, 6, .22);
  transition: transform .18s;
}

.video:hover .play span {
  transform: scale(1.08);
}

.play svg {
  width: clamp(22px, 2.2vw, 30px);
  height: clamp(22px, 2.2vw, 30px);
  fill: #fff;
  margin-left: 3px;
}

.watch-on {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
}

.watch-on:hover {
  color: var(--coral);
}

.watch-on svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

@media (max-width: 820px) {
  .release {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .streams {
    max-width: none;
  }
}

/* --- Bio ------------------------------------------------------------------
   Short intro on the home page; the full text lives on bio.html. */
.bio-section {
  background: var(--bg-deep);
}

.bio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.bio-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
}

/* Photographer credit laid over the foot of a photograph */
.photo-credit {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .62);
  background: linear-gradient(to top, rgba(12, 11, 10, .8), transparent);
}

.photo-credit:empty {
  display: none;
}

/* On pointer devices the credits stay out of the way until you hover the
   photograph. Touch screens have no hover, so there they stay visible. */
@media (hover: hover) and (pointer: fine) {
  .photo-credit,
  .photos figcaption em {
    opacity: 0;
    transition: opacity .25s;
  }

  figure:hover .photo-credit,
  figure:focus-within .photo-credit,
  .photos figure:hover figcaption em,
  .photos figure:focus-within figcaption em {
    opacity: 1;
  }
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(1) contrast(1.08);
}

.bio-text {
  max-width: 620px;
}

.bio-text .standfirst {
  margin: 0 0 22px;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 500;
  color: var(--red-bright);
}

.bio-text p {
  margin: 0 0 18px;
  font: 400 clamp(15px, 1.7vw, 17px)/1.68 var(--display);
  color: rgba(255, 255, 255, .88);
}

/* "Read more" pill */
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: border-color .18s, color .18s, gap .18s;
}

.more:hover {
  gap: 15px;
  color: var(--coral);
  border-color: var(--coral);
}

.more i {
  font-style: normal;
}

@media (max-width: 820px) {
  .bio {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bio-photo {
    aspect-ratio: 4/3;
    order: -1;
  }

  .bio-photo img {
    object-position: center 25%;
  }
}

/* --- Shows ---------------------------------------------------------------- */
.shows {
  border-top: 1px solid var(--line);
}

.show {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}

.show .d {
  font: 700 clamp(22px, 3vw, 30px)/1 var(--display);
  letter-spacing: -.01em;
  color: var(--coral);
  text-transform: uppercase;
}

.show .d small {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Event title — the headline of the row, linked to the announcement */
.show .event {
  display: flex;            /* block-level, so the venue keeps its own line */
  width: fit-content;
  text-decoration: none;
  color: inherit;
}

.show .event b {
  display: block;
  padding-bottom: 3px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .32);
  transition: color .18s, border-color .18s;
}

.show .event:hover b {
  color: var(--coral);
  border-color: var(--coral);
}

/* Venue and city underneath. The venue carries a pin, so the two links in
   this cell do not read as the same kind of thing. */
.show .where {
  display: block;
  margin-top: 9px;
  font-size: 14px;
  color: var(--muted);
}

.show .where a {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding-bottom: 2px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  transition: color .18s, border-color .18s;
}

.show .where a svg {
  width: 12px;
  height: 12px;
  flex: none;
  fill: currentColor;
  opacity: .6;
  transition: opacity .18s;
}

.show .where a:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.show .where a:hover svg {
  opacity: 1;
}

.show .where .city::before {
  content: "·";
  margin: 0 8px;
  opacity: .6;
}

/* A state rather than an action: free entry, so there is nothing to click */
.show .status {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--coral);
  border: 1px solid rgba(254, 121, 103, .4);
  border-radius: 99px;
}

/* The ticket link — direct child only, so a linked venue keeps its own look */
.show > a {
  padding-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: var(--coral);
  border-bottom: 1px solid var(--red);
}

.show > a:hover {
  color: var(--red-bright);
}

.show > a.sold {
  color: var(--muted);
  border-color: var(--line);
  text-decoration: line-through;
  pointer-events: none;
}

/* Past dates: same row, stepped back, with nothing left to click */
.past-label {
  margin: 44px 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.shows.past {
  opacity: .55;
}

.shows.past .d {
  color: var(--muted);
}

.shows.past .v b {
  display: block;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
}

.shows-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}

.shows-note a {
  color: var(--coral);
}

@media (max-width: 600px) {
  .show {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .show > a,
  .show > .status {
    justify-self: start;
    margin-top: 10px;
  }
}

/* --- Photos --------------------------------------------------------------- */
.photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: start;
}

.photos figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.photos figure:nth-child(1) { grid-column: 1/4; aspect-ratio: 4/3; }
.photos figure:nth-child(2) { grid-column: 4/7; aspect-ratio: 4/3; margin-top: 44px; }
.photos figure:nth-child(3) { grid-column: 2/6; aspect-ratio: 16/9; }

.photos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.photos figure:hover img {
  transform: scale(1.03);
}

/* Holds the per-photo credit, set from photos.credit1/2/3 in js/i18n.js */
.photos figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(12, 11, 10, .85), transparent);
}

.photos figcaption em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .62);
}

/* No credit set — drop the gradient bar with it */
.photos figcaption:has(em:empty) {
  display: none;
}

@media (max-width: 700px) {
  .photos {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .photos figure:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
    aspect-ratio: 4/3;
  }
}

/* --- Signup --------------------------------------------------------------- */
.join {
  position: relative;
  text-align: center;
}

/* The spider from the press-kit artwork, hanging into the section */
.join .thread {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 190px;
  opacity: .9;
  pointer-events: none;
}

.join h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing: -.01em;
}

.join > .wrap > p {
  margin: 0 0 30px;
  color: var(--muted);
}

.f {
  display: flex;
  gap: 14px;
  align-items: end;
  max-width: 430px;
  margin: 0 auto;
}

.f input {
  flex: 1;
  min-width: 0;
  padding: 11px 2px;
  font: inherit;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.f input::placeholder {
  color: var(--muted);
}

.f input:focus {
  outline: none;
  border-color: var(--coral);
}

.f button {
  padding: 11px 2px;
  font: 600 13px/1 var(--display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--coral);
  cursor: pointer;
}

.f button:hover {
  color: var(--red-bright);
  border-color: var(--red-bright);
}

#ok {
  min-height: 24px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--coral);
}

