/* Salmiacs — blues band showcase site */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Oswald:wght@300;400;500&display=swap');

:root {
  --paper: #fafaf7;        /* page background */
  --paper-2: #ffffff;      /* raised surfaces */
  --line: #e3e0d8;         /* edges, dividers */
  --ink: #15181d;          /* body text */
  --ink-dim: #6b7078;
  --navy: #101c2e;         /* dark near-black blue accent */
  --navy-deep: #0a1220;

  --font-display: "Fraunces", serif;
  --font-label: "Oswald", sans-serif;

  --content-width: 1160px;

  /* unify the cool rehearsal-room shots into one warm palette */
  --warm-photo: sepia(0.28) saturate(1.15) contrast(1.06) brightness(1.02);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.label {
  font-family: var(--font-label);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.35em;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-live.jpg");
  background-size: cover;
  background-position: center 22%;
  filter: var(--warm-photo);
}

.hero:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center 30%, rgba(10,18,32,0) 0%, rgba(10,18,32,0.45) 75%, rgba(10,18,32,0.7) 100%),
    linear-gradient(180deg, rgba(10,18,32,0.5) 0%, rgba(10,18,32,0.05) 30%, rgba(10,18,32,0.3) 68%, var(--navy-deep) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 0 1.5rem 9vh;
}

.hero-kicker {
  color: #cbd6e6;
  font-size: clamp(0.75rem, 0.7rem + 0.3vw, 0.95rem);
  margin-bottom: 1.1rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(4rem, 2.2rem + 10vw, 9.5rem);
  font-weight: 350;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #f5f2ea;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.hero-rule {
  width: 64px;
  height: 2px;
  background: #cbd6e6;
  margin: 1.6rem auto 0;
}

/* ---------- Section headings ---------- */

.section-head {
  text-align: center;
  padding: 5.5rem 1.5rem 3.5rem;
}

.section-head .label {
  color: var(--ink-dim);
  font-size: 0.85rem;
}

.section-head h2 {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.2rem, 1.8rem + 2vw, 3.4rem);
  line-height: 1.1;
  color: var(--navy);
}

/* ---------- Band ---------- */

.band-rows {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
}

.member-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.member-text {
  max-width: 30rem;
  margin: 0 auto;
  text-align: center;
}

.member-text:before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto 1.4rem;
}

.member-text p {
  margin: 0;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  line-height: 1.6;
}

.member-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.member-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--warm-photo) brightness(0.96);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.member-card:hover .member-photo img {
  filter: var(--warm-photo) brightness(1.06);
  transform: scale(1.03);
}

.member-role {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.2rem 1rem 1.35rem;
  background: var(--navy);
}

.member-role .label {
  font-size: 1rem;
  color: #eef1f6;
  letter-spacing: 0.4em;
  /* re-center optically against tracking */
  margin-right: -0.4em;
}

/* photo crops */
.member-photo--guitar img { object-position: 62% 20%; }
.member-photo--bass img   { object-position: 30% 15%; }
.member-photo--drums img  { object-position: 38% 40%; }

/* ---------- Live / footer ---------- */

.live {
  margin-top: 5.5rem;
  /* mobile: just the scrimmed photo, centered */
  background-image:
    linear-gradient(180deg, rgba(10,18,32,0.55) 0%, rgba(10,18,32,0.7) 100%),
    url("../img/band-backs.jpg");
  background-size: cover;
  background-position: center 18%;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

/* desktop: the photo is offset rightward (24vw works as a fraction of this
   full-width section), placing the band in the section's right side with
   the rightmost member just clear of the edge; the solid navy block covers
   the resulting gap on the left and fades long into the image */
@media (min-width: 861px) {
  .live {
    background-image:
      linear-gradient(90deg, var(--navy-deep) 0%, var(--navy-deep) 34%, rgba(10,18,32,0.6) 62%, rgba(10,18,32,0) 88%),
      linear-gradient(180deg, rgba(10,18,32,0.4) 0%, rgba(10,18,32,0.6) 100%),
      url("../img/band-backs.jpg");
    background-size: 100% 100%, 100% 100%, 104% auto;
    background-repeat: no-repeat;
    background-position: 0% 0%, 0% 0%, 24vw 30%;
  }
}

.live-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.live-side {
  text-align: center;
}

.live-side .label {
  color: #cbd6e6;
  font-size: 0.85rem;
}

.live-side h2 {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.2rem, 1.8rem + 2vw, 3.4rem);
  line-height: 1.1;
  color: #f5f2ea;
}

.footer-line {
  margin: 2.4rem 0 0;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #cbd6e6;
}

.video-frame {
  position: relative;
  width: 90%;
  margin-inline: auto;
  border: 1px solid rgba(245, 242, 234, 0.25);
  outline: 1px solid rgba(245, 242, 234, 0.35);
  outline-offset: 6px;
  background: #000;
}

.video-frame:before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .member-row { grid-template-columns: 1fr; }

  /* photo above its text on every row */
  .member-row--flip .member-text { order: 2; }

  .member-photo { aspect-ratio: 3 / 2; }

  .live-inner { grid-template-columns: 1fr; }

  .live-side { order: -1; }
}
