/*
  The Church Audio — Awwwards-inspired local art direction.
  Visual principles only: monochrome editorial framing, tactile image depth,
  and restrained motion. Reuses existing art and leaves content and behavior intact.
*/
:root {
  --award-ink: #141413;
  --award-paper: #f2eee4;
  --award-muted: #b6afa3;
  --award-brass: #b69a69;
  --award-line: #f2eee426;
}

/* Immersive sound-stage hero: three existing identity scenes, kept deliberately quiet. */
body:not(.profile-page) .welcome {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: 80px clamp(24px, 7.5vw, 112px) 152px;
  overflow: hidden;
  border-bottom: 1px solid #f2eee41a;
  box-shadow: inset 0 0 0 1px #f2eee40a;
  text-align: left;
  background: var(--award-ink);
}

body:not(.profile-page) .welcome::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background-image:
    url("./assets/bassgawd-sanctuary.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 48%;
  filter: grayscale(.86) saturate(.52) brightness(.46) contrast(1.06);
  opacity: .7;
  transform: scale(1.02);
}

body:not(.profile-page) .welcome::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #141413e8 0%, #1414137a 28%, #14141355 56%, #141413e8 100%),
    linear-gradient(180deg, #141413d9 0%, #14141329 23%, #14141388 64%, #141413 100%),
    radial-gradient(ellipse at 52% 43%, transparent 0 18%, #14141366 74%);
}

body:not(.profile-page) .welcome-copy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 24px 32px;
  width: min(100%, 1320px);
  min-width: 0;
  min-height: calc(100svh - 232px);
  margin: auto;
  text-align: left;
}

body:not(.profile-page) .welcome-logo {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  width: clamp(104px, 12vw, 164px);
  height: auto;
  margin: 0;
  opacity: 1;
  filter: drop-shadow(0 10px 28px #0009);
}

body:not(.profile-page) .contact {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  margin: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid #f2eee454;
  color: var(--award-paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body:not(.profile-page) .contact:hover {
  color: #fff;
  border-color: var(--award-brass);
}

body:not(.profile-page) .worship-title {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: auto;
  max-width: 100%;
  margin: 0 0 clamp(18px, 3vh, 32px) !important;
  color: var(--award-paper);
  font-family: "Pirata One", Georgia, serif;
  font-size: clamp(56px, 13vw, 180px) !important;
  font-weight: 400;
  line-height: .8 !important;
  letter-spacing: .025em;
  text-align: left;
  text-shadow: 0 12px 42px #000b;
  white-space: normal;
}

body:not(.profile-page) .worship-title span:first-child {
  padding: 0 0 12px;
  color: #d0c7b8;
  font-family: Manrope, sans-serif;
  font-size: clamp(12px, 1.35vw, 18px) !important;
  font-weight: 600;
  line-height: 1.35 !important;
  letter-spacing: .32em;
}

body:not(.profile-page) .worship-title span:last-child {
  padding: 0;
  color: var(--award-paper);
  font-family: "Pirata One", Georgia, serif;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit;
}

body:not(.profile-page) .section-nav {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: end;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid #f2eee42b;
}

body:not(.profile-page) .section-nav a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #f2eee43b;
  border-radius: 2px;
  background: #14141372;
  color: #e9e4d9;
  font: 600 10px/1.2 Manrope, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease;
}

body:not(.profile-page) .section-nav a:hover,
body:not(.profile-page) .section-nav a:focus-visible {
  transform: translateY(-2px);
  border-color: #d4c29d;
  background: #25231fdd;
  color: #fff;
}

body:not(.profile-page) .nav-icon {
  display: grid;
  width: 18px;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #d6c8a9;
}

body:not(.profile-page) .welcome-copy::after {
  content: "↓  SCROLL TO EXPLORE";
  position: absolute;
  left: 0;
  bottom: 13px;
  color: #c4bcad;
  font: 600 9px/1.2 Manrope, sans-serif;
  letter-spacing: .2em;
  pointer-events: none;
}

/* Editorial chapter spacing and a deliberate hierarchy for the existing sections. */
body:not(.profile-page) .sections {
  width: 100%;
  max-width: 1480px;
  padding: 0 clamp(20px, 7vw, 104px);
}

body:not(.profile-page) .sections section {
  padding: clamp(76px, 9vw, 132px) 0;
  scroll-margin-top: 24px;
}

body:not(.profile-page) .section-heading {
  align-items: end;
  gap: 16px;
  margin-bottom: clamp(26px, 3.5vw, 48px);
  padding-bottom: 18px;
  border-color: var(--award-line);
}

body:not(.profile-page) .section-heading h2 {
  margin: 0;
  color: var(--award-paper);
  font: 500 clamp(32px, 4.2vw, 58px)/1 Manrope, sans-serif;
  letter-spacing: -.045em;
  text-transform: none;
}

body:not(.profile-page) .section-heading span {
  color: #a79d8c;
  font: 500 11px/1.4 Manrope, sans-serif;
  letter-spacing: .16em;
}

/* Bassgawd leads as the studio spread; reed. keeps the paper-cutout palette; Hallways stays nocturnal. */
body:not(.profile-page) #music .artists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 2.2vw, 32px);
}

body:not(.profile-page) #music .artist {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(18px, 2.6vw, 36px);
  border: 1px solid #eee5d326;
  border-radius: 2px;
  border-top: 2px solid #765343;
  background: #1a1917;
  color: var(--award-paper);
  box-shadow: 0 20px 52px #0004, inset 0 1px #ffffff08;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .25s ease, box-shadow .3s ease;
}

body:not(.profile-page) #music .artist:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  align-items: center;
  gap: 0 clamp(24px, 4vw, 64px);
  border-top-color: #984d3d;
  background:
    radial-gradient(ellipse at 6% 100%, #6e29251f, transparent 48%),
    #1a1917;
}

body:not(.profile-page) #music .artist:first-child .artist-art {
  grid-column: 1;
  grid-row: 1 / 6;
  width: 100%;
  height: clamp(360px, 42vw, 540px);
  min-height: 360px;
  margin: 0;
}

body:not(.profile-page) #music .artist:first-child .artist-name,
body:not(.profile-page) #music .artist:first-child .artist-role,
body:not(.profile-page) #music .artist:first-child > p:not(.artist-role),
body:not(.profile-page) #music .artist:first-child .artist-social,
body:not(.profile-page) #music .artist:first-child .profile-link {
  grid-column: 2;
  min-width: 0;
}

body:not(.profile-page) #music .artist:first-child .artist-name { grid-row: 1; align-self: end; }
body:not(.profile-page) #music .artist:first-child .artist-role { grid-row: 2; }
body:not(.profile-page) #music .artist:first-child > p:not(.artist-role) { grid-row: 3; }
body:not(.profile-page) #music .artist:first-child .artist-social { grid-row: 4; justify-self: start; }
body:not(.profile-page) #music .artist:first-child .profile-link { grid-row: 5; align-self: end; }

body:not(.profile-page) #music .artist:nth-child(2) {
  border-color: #c1b49d;
  border-top-color: #a14b3e;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, #29251f08 27px 28px),
    linear-gradient(145deg, #eee8da, #e4dbc9);
  color: #29251f;
  box-shadow: 7px 7px 0 #dfc99d20, 0 18px 40px #0002;
}

body:not(.profile-page) #music .artist:nth-child(2) .artist-name a,
body:not(.profile-page) #music .artist:nth-child(2) .artist-social,
body:not(.profile-page) #music .artist:nth-child(2) .profile-link {
  color: #29251f;
}

body:not(.profile-page) #music .artist:nth-child(2) .artist-role,
body:not(.profile-page) #music .artist:nth-child(2) > p:not(.artist-role) {
  color: #554c40;
}

body:not(.profile-page) #music .artist:nth-child(2) .profile-link {
  border-color: #29251f35;
}

body:not(.profile-page) #music .artist:nth-child(3) {
  border-color: #48473f;
  border-top-color: #b69a69;
  background:
    radial-gradient(ellipse at 100% 0%, #a58a5b12, transparent 50%),
    #141614;
}

body:not(.profile-page) #music .artist-art--banner {
  position: relative;
  display: block;
  flex: none;
  width: 100%;
  height: clamp(260px, 30vw, 360px);
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin: 0 0 24px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #eee5d328;
  border-radius: 2px;
  background-color: #111;
  box-shadow: 0 18px 42px #0005, inset 0 0 0 1px #ffffff0b;
  color: inherit;
  text-decoration: none;
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), border-color .25s ease, box-shadow .35s ease;
}

body:not(.profile-page) #music .artist-art--banner .artist-photo {
  transform: scale(1.025) translateZ(0);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .7s ease;
}

body:not(.profile-page) #music .artist:nth-child(2) .artist-art--banner .artist-photo {
  filter: saturate(.78) contrast(1.04);
}

body:not(.profile-page) #music .artist-name a,
body:not(.profile-page) #music .artist-social,
body:not(.profile-page) #music .profile-link {
  color: inherit;
}

body:not(.profile-page) #music .artist-role {
  color: var(--award-muted);
  font: 600 11px/1.5 Manrope, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body:not(.profile-page) #music .artist > p:not(.artist-role) {
  color: #c0baaf;
  font: 400 15px/1.75 Manrope, sans-serif;
}

body:not(.profile-page) #music .artist:nth-child(2) > p:not(.artist-role) { color: #554c40; }

body:not(.profile-page) #music .artist .profile-link {
  min-height: 46px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #eee5d32b;
  font-size: 12px;
  letter-spacing: .09em;
}

body:not(.profile-page) #music .artist:nth-child(2) .profile-link { border-color: #29251f35; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body:not(.profile-page) #music .artist:hover,
  body:not(.profile-page) #music .artist:focus-within {
    transform: translateY(-4px);
    border-color: #b69a6970;
    box-shadow: 0 28px 64px #0006, inset 0 1px #ffffff10;
  }

  body:not(.profile-page) #music .artist:nth-child(2):hover,
  body:not(.profile-page) #music .artist:nth-child(2):focus-within {
    border-color: #9e8d72;
    box-shadow: 7px 11px 0 #dfc99d2b, 0 24px 48px #0003;
  }

  body:not(.profile-page) #music .artist-art--banner:hover,
  body:not(.profile-page) #music .artist-art--banner:focus-visible {
    transform: perspective(1100px) rotateY(-1deg) translateY(-2px);
    border-color: #d5c49f88;
    box-shadow: 0 24px 56px #0007, inset 0 0 0 1px #ffffff16;
  }

  body:not(.profile-page) #music .artist-art--banner:hover .artist-photo,
  body:not(.profile-page) #music .artist-art--banner:focus-visible .artist-photo {
    transform: scale(1.065) translateZ(14px);
  }
}

body:not(.profile-page) #music .artist-art--banner:focus-visible {
  outline: 2px solid var(--award-brass);
  outline-offset: 4px;
}

body:not(.profile-page) #music .artist:focus-within { outline: 0; }

/* Keep the original merch photograph whole while giving it an object-like frame. */
body:not(.profile-page) #merch .merch-image {
  overflow: hidden;
  border: 1px solid #eee5d33b;
  border-radius: 2px;
  background: #181817;
  box-shadow: 0 24px 68px #0006, 8px 8px 0 #b69a6914, inset 0 1px #ffffff10;
}

body:not(.profile-page) #merch .merch-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
}

body:not(.profile-page) #merch figcaption {
  padding-top: 16px;
  color: #c1b9aa;
  font-size: 10px;
  letter-spacing: .14em;
}

body:not(.profile-page) footer {
  border-top: 1px solid #f2eee41a;
}

/* Keep the player’s existing track selection and button order; only refine the shell. */
body:not(.profile-page) .site-audio {
  width: min(840px, calc(100% - 24px));
  padding: 11px 13px;
  border: 1px solid #625b4e;
  border-top: 2px solid var(--award-brass);
  border-radius: 2px;
  background: #161614ed;
  color: #f2eee4;
  box-shadow: 0 20px 56px #000b, inset 0 1px #ffffff0b;
  backdrop-filter: blur(16px) saturate(.8);
}

body:not(.profile-page) .site-audio button,
body:not(.profile-page) .site-audio__queue {
  border-color: #5d574c;
  border-radius: 2px;
  background-color: #22211e;
}

body:not(.profile-page) .site-audio .site-audio__controls button:hover,
body:not(.profile-page) .site-audio .site-audio__controls button:focus-visible {
  border-color: #d5c49f;
  background-color: #343128;
  outline-color: #d5c49f;
}

body:not(.profile-page) .site-audio__seek input { accent-color: var(--award-brass); }

@media (max-width: 900px) {
  body:not(.profile-page) #music .artist:first-child {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .95fr);
    gap: 0 24px;
  }

  body:not(.profile-page) #music .artist:first-child .artist-art {
    height: clamp(320px, 44vw, 440px);
    min-height: 320px;
  }
}

@media (max-width: 700px) {
  body:not(.profile-page) .welcome {
    min-height: 100svh;
    padding: 28px 20px 152px;
  }

  body:not(.profile-page) .welcome::before {
    background-size: cover;
    background-position: center 48%;
    filter: grayscale(.88) saturate(.45) brightness(.38) contrast(1.05);
    opacity: .65;
  }

  body:not(.profile-page) .welcome::after {
    background:
      linear-gradient(90deg, #141413c9 0%, #14141355 50%, #141413d9 100%),
      linear-gradient(180deg, #141413e8 0%, #1414133d 26%, #141413b5 68%, #141413 100%),
      radial-gradient(ellipse at 50% 42%, transparent 0 10%, #14141373 72%);
  }

  body:not(.profile-page) .welcome-copy {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    width: 100%;
    min-height: calc(100svh - 180px);
  }

  body:not(.profile-page) .welcome-logo {
    width: clamp(88px, 25vw, 118px);
  }

  body:not(.profile-page) .contact {
    align-self: start;
    min-height: 38px;
    padding-bottom: 6px;
    font-size: 9px;
    letter-spacing: .1em;
  }

  body:not(.profile-page) .contact svg { width: 15px; height: 15px; }

  body:not(.profile-page) .worship-title {
    grid-column: 1 / -1;
    margin: 0 0 22px !important;
    font-size: clamp(56px, 13vw, 92px) !important;
    line-height: .84 !important;
  }

  body:not(.profile-page) .worship-title span:first-child {
    padding-bottom: 10px;
    font-size: clamp(10px, 3vw, 13px) !important;
    letter-spacing: .22em;
  }

  body:not(.profile-page) .section-nav {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: stretch;
    justify-content: space-between;
    gap: 6px;
    padding-top: 12px;
  }

  body:not(.profile-page) .section-nav a {
    flex: 1 1 auto;
    gap: 6px;
    min-width: 0;
    min-height: 44px;
    padding: 0 7px;
    font-size: 8px;
    letter-spacing: .08em;
  }

  body:not(.profile-page) .nav-icon { width: 16px; }
  body:not(.profile-page) .welcome-copy::after { display: none; }

  body:not(.profile-page) .sections { padding: 0 20px; }
  body:not(.profile-page) .sections section { padding: 72px 0; }
  body:not(.profile-page) .section-heading { margin-bottom: 24px; padding-bottom: 14px; }
  body:not(.profile-page) .section-heading h2 { font-size: clamp(30px, 9vw, 38px); }

  body:not(.profile-page) #music .artists {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  body:not(.profile-page) #music .artist,
  body:not(.profile-page) #music .artist:first-child {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px;
  }

  body:not(.profile-page) #music .artist:first-child .artist-art {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.22 / 1;
    margin: 0 0 22px;
  }

  body:not(.profile-page) #music .artist-art--banner {
    height: auto;
    aspect-ratio: 1.22 / 1;
    margin-bottom: 20px;
  }

  body:not(.profile-page) #music .artist h3.artist-name {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.15;
  }

  body:not(.profile-page) #music .artist > p:not(.artist-role) { font-size: 14px; line-height: 1.7; }

  body:not(.profile-page) .site-audio {
    width: calc(100% - 20px);
    padding: 9px;
    border-radius: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.profile-page) .section-nav a,
  body:not(.profile-page) #music .artist,
  body:not(.profile-page) #music .artist-art--banner,
  body:not(.profile-page) #music .artist-art--banner .artist-photo {
    transition: none !important;
    transform: none !important;
  }
}

/* Keep the two identity logos centered over their unchanged artist photos. */
body:not(.profile-page) #music .artist-art--banner .artist-mark--bassgawd,
body:not(.profile-page) #music .artist-art--banner .artist-mark--hallways {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}
