/* ============================================================
   Shared stylesheet for sub-pages (band detail pages, repertoire)
   Used by /bands/*.html and /repertoire.html
   ============================================================ */

:root{
  --bg:           #0a0908;
  --bg-soft:      #111110;
  --bg-panel:     #0f0e0d;
  --ink:          #ece4d2;
  --ink-dim:      #a89f8d;
  --ink-faint:    #5a5348;
  --accent:       #c9a35c;
  --accent-soft:  #8a6e3a;
  --line:         #2a2723;
  --rule:         #1d1b18;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  z-index:200;
  opacity:.05;
  mix-blend-mode:overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
::selection{ background: var(--accent); color: var(--bg); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

/* ─────── Simplified nav for sub-pages ─────── */
.subnav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,9,8,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.subnav .brand{
  display: flex; align-items: center; gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: .02em;
  transition: opacity .3s ease;
}
.subnav .brand:hover{ opacity: .85; }
.subnav .brand-mark{
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(201,163,92,.15);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.subnav .brand-mark img{
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(.1) contrast(1.05);
}
.subnav .brand:hover .brand-mark{
  transform: rotate(-5deg) scale(1.05);
  box-shadow: 0 0 0 1px rgba(201,163,92,.4), 0 4px 20px rgba(201,163,92,.15);
  border-color: var(--accent-soft);
}
.subnav .brand-text{ font-style: italic; font-weight: 500; }
.subnav .brand-text .amp{ color: var(--accent); margin: 0 2px; }
.subnav .back-link{
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 10px;
  transition: color .3s ease;
}
.subnav .back-link .arrow{
  display: inline-block;
  transition: transform .3s ease;
  color: var(--accent);
}
.subnav .back-link:hover{ color: var(--ink); }
.subnav .back-link:hover .arrow{ transform: translateX(-4px); }

/* ─────── Hero header for sub-pages ─────── */
.page-hero{
  padding: 180px 48px 80px;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse at 70% 30%, rgba(201,163,92,.06), transparent 60%),
    var(--bg);
}
.page-hero .container{
  max-width: 1180px;
  margin: 0 auto;
}
.page-hero-eyebrow{
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
  font-weight: 500;
}
.page-hero-eyebrow::before{
  content: "";
  width: 42px; height: 1px;
  background: var(--accent);
  opacity: .6;
}
.page-hero-title{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -.015em;
  margin-bottom: 20px;
}
.page-hero-title em{
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.page-hero-sub{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ink-dim);
  max-width: 680px;
}

/* ─────── Content sections ─────── */
.page-content{
  padding: 100px 48px;
}
.page-content .container{
  max-width: 900px;
  margin: 0 auto;
}
.page-content .body-text{
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-dim);
  font-weight: 300;
  margin-bottom: 24px;
}
.page-content h2{
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -.01em;
  margin: 60px 0 24px;
  color: var(--ink);
}
.page-content h2 em{ font-style: italic; color: var(--accent); font-weight: 400; }
.page-content h3{
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  font-style: italic;
  margin: 40px 0 16px;
  color: var(--accent);
}

/* ─────── Placeholder notice for empty pages ─────── */
.placeholder-notice{
  margin: 60px auto;
  max-width: 680px;
  padding: 40px;
  border: 1px dashed var(--line);
  background: var(--bg-panel);
  text-align: center;
  border-radius: 4px;
}
.placeholder-notice .icon{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--accent);
  font-size: 32px;
  margin-bottom: 16px;
}
.placeholder-notice .msg{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink-dim);
  font-size: 18px;
  line-height: 1.6;
}

/* ─────── Fact list (for band info) ─────── */
.fact-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
}
.fact-list .fact{
  display: flex; flex-direction: column; gap: 6px;
}
.fact-list .fact .k{
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.fact-list .fact .v{
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  font-weight: 300;
}
.fact-list .fact .v em{ font-style: italic; color: var(--accent); }

/* ─────── Image placeholder (for band photos) ─────── */
.image-placeholder{
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(45deg, var(--bg-panel) 0, var(--bg-panel) 10px, var(--bg-soft) 10px, var(--bg-soft) 20px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin: 30px 0;
  position: relative;
}
.image-placeholder .label{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink-faint);
  font-size: 16px;
  letter-spacing: .1em;
  text-align: center;
  padding: 10px 20px;
  background: var(--bg);
}

/* ─────── Band navigation (prev/next) ─────── */
.band-nav{
  max-width: 900px;
  margin: 60px auto 0;
  padding: 40px 48px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.band-nav a{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  transition: color .3s ease;
  color: var(--ink-dim);
}
.band-nav a:hover{ color: var(--accent); }
.band-nav a .k{
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.band-nav a .v{
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
}
.band-nav a.next{ text-align: right; align-items: flex-end; }

/* ─────── Footer ─────── */
.page-footer{
  padding: 40px 48px;
  border-top: 1px solid var(--rule);
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.page-footer .logo{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink-dim);
  letter-spacing: .02em;
  text-transform: none;
}
.page-footer .logo .amp{ color: var(--accent); }
.page-footer .footer-socials{
  display: flex;
  gap: 14px;
}
.page-footer .footer-socials a{
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  transition: color .3s ease, border-color .3s ease, transform .3s ease;
}
.page-footer .footer-socials a:hover{
  color: var(--accent);
  border-color: var(--accent-soft);
  transform: translateY(-2px);
}
.page-footer .footer-socials a svg{
  width: 13px; height: 13px;
  fill: currentColor;
}

/* ─────── Responsive ─────── */
@media (max-width: 900px){
  .subnav{ padding: 14px 22px; }
  .subnav .brand{ font-size: 19px; gap: 11px; }
  .subnav .brand-mark{ width: 38px; height: 38px; }
  .subnav .back-link{ font-size: 10px; letter-spacing: .2em; }

  .page-hero{ padding: 130px 22px 50px; }
  .page-content{ padding: 50px 22px; }

  .band-nav{ padding: 40px 22px 0; grid-template-columns: 1fr; gap: 20px; }
  .band-nav a.next{ text-align: left; align-items: flex-start; }

  .page-footer{ padding: 30px 22px; flex-direction: column; text-align: center; }

  .fact-list{ padding: 24px; gap: 16px; }
}

@media (max-width: 520px){
  .subnav{ padding: 12px 18px; }
  .subnav .brand-text{ font-size: 16px; }
  .page-hero{ padding: 110px 18px 40px; }
  .page-content{ padding: 50px 18px; }
  .placeholder-notice{ padding: 30px 20px; margin: 40px auto; }
}

/* PRINT */
@media print{
  body::before{ display: none; }
  .subnav, .page-footer, .band-nav{ display: none; }
  body{ background: white; color: black; }
  a{ color: black; }
}
