/* Andy Owens — andyowens.com
   F-5 mandolin sunburst, mahogany grain, pearl inlays, festival-poster type.
   Classy bluegrass, not kitsch. */

:root {
  --mahogany: #3b2012;
  --mahogany-deep: #1a0c06;
  --ink: #1c1008;
  --ink-soft: #4a3424;
  --amber: #c4842a;
  --amber-hot: #e09a32;
  --gold: #e0b15a;
  --gold-deep: #c9a04a;
  --sunburst: #8a3e12;
  --cherry: #a84414;
  --tobacco: #d4a04a;
  --cream: #f4ead2;
  --ivory: #f3e6c8;
  --paper: #efe0c0;
  --paper-dark: #e2cd9e;
  --rule: rgba(80, 40, 16, 0.28);
  --shadow: 0 18px 40px rgba(20, 8, 4, 0.35);
  --font-display: "Rye", "Sancreek", Georgia, serif;
  --font-wood: "Sancreek", "Rye", Georgia, serif;
  --font-slab: "Alfa Slab One", "Zilla Slab", "Rockwell", serif;
  --font-head: "Zilla Slab", "Libre Baskerville", Georgia, serif;
  --font-script: "Pinyon Script", "Palatino Linotype", cursive;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans: "Zilla Slab", "Libre Baskerville", Georgia, serif;
  --max: 1120px;
  --header-h: 4.25rem;
  --purfling:
    0 0 0 2px #f3e6c8,
    0 0 0 4px #1a0c06,
    0 0 0 6px #f3e6c8,
    0 10px 24px rgba(20, 8, 4, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  background-color: #1a0c06;
  background-image:
    linear-gradient(180deg, rgba(26, 8, 4, 0.35), rgba(26, 8, 4, 0.15)),
    url("textures/mahogany.jpg");
  background-size: auto, 640px;
  min-height: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cherry); text-underline-offset: 0.18em; }
a:hover { color: var(--amber); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--mahogany-deep);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---- Header: mahogany + string / fret motif ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.35rem 1.4rem 0.7rem;
  background-color: #2a140c;
  background-image:
    linear-gradient(180deg, rgba(20, 8, 4, 0.25) 0%, rgba(20, 8, 4, 0.05) 100%),
    url("textures/mahogany.jpg");
  background-size: auto, 480px;
  color: var(--cream);
  border-bottom: 2px solid var(--ivory);
  box-shadow:
    0 2px 0 #1a0c06,
    0 4px 0 var(--ivory),
    0 6px 0 #1a0c06,
    0 10px 24px rgba(0, 0, 0, 0.45);
}
.site-header::after {
  /* four mandolin strings + faint frets */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 11px;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 52px,
      rgba(224, 177, 90, 0.28) 52px 53px
    ),
    repeating-linear-gradient(
      180deg,
      transparent 0 2px,
      rgba(243, 230, 200, 0.38) 2px 3px
    );
  opacity: 0.85;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 1px 0 #1a0c06, 0 0 12px rgba(224, 177, 90, 0.25);
  position: relative;
  z-index: 1;
}
.logo:hover { color: #f3d58a; }
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.15rem;
  position: relative;
  z-index: 1;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}
.nav a:hover { color: var(--gold); opacity: 1; }
.nav a[aria-current="page"] { color: var(--gold); }

/* hamburger (shown at <= 880px when JS is on) */
.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  min-width: 48px; min-height: 48px; padding: 0 0.7rem; margin-left: auto;
  background: rgba(26, 12, 6, 0.55); color: var(--cream);
  border: 2px solid rgba(243, 230, 200, 0.75); border-radius: 4px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  position: relative; z-index: 2;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.2s ease;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---- Layout ---- */
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }
section.band, .hero, #about, #music, #archives, #photos, #links { scroll-margin-top: 4.8rem; }

/* Hide leftover faint f-holes from v1; new ornaments replace them */
.fhole { display: none; }

/* ---- Section "headstock" sunburst + paper body ---- */
section.band {
  position: relative;
  padding: 0 0 3.8rem;
  background-color: #efe3c4;
  background-image: url("textures/paper.jpg");
  background-size: 384px;
  box-shadow: 0 0 0 1px rgba(26, 8, 4, 0.2);
}
section.band::before {
  content: "";
  display: block;
  height: 12.5rem;
  background-color: #2a0c06;
  background-image:
    radial-gradient(ellipse 90% 150% at 50% 100%,
      #e8b44a 0%,
      #d4892a 18%,
      #c45c1a 40%,
      #7a2a10 66%,
      #1a0804 100%),
    url("textures/mahogany.jpg");
  background-size: auto, 640px;
  background-blend-mode: soft-light, normal;
  box-shadow: inset 0 -10px 28px rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid var(--ivory);
}
section.band::after {
  /* ivory / black / ivory binding under the sunburst cap */
  content: "";
  display: block;
  height: 6px;
  margin-top: -6px;
  background:
    linear-gradient(180deg,
      #f3e6c8 0 2px,
      #1a0c06 2px 4px,
      #f3e6c8 4px 6px);
  position: relative;
  z-index: 1;
}

.kicker {
  font-family: var(--font-script);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--gold);
  margin: -11.4rem 0 0.15rem;
  text-align: center;
  text-shadow: 0 2px 0 #1a0c06, 0 6px 14px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;
}
.kicker::before {
  content: "";
  display: block;
  height: 70px;
  margin: 0 auto 0.15rem;
  max-width: 700px;
  background: url("ornament-header.svg") center / contain no-repeat;
}
h2.section-title {
  font-family: var(--font-wood);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.1vw, 2.6rem);
  margin: 0 0 2.6rem;
  color: #f6ead0;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 0 2px 0 #1a0c06, 0 8px 18px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  line-height: 1.15;
}
.lede {
  margin: 0.4rem 0 1.6rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

/* ---- Hero: festival poster on an F-5 sunburst top ---- */
.hero {
  position: relative;
  padding: 1.8rem 0 2.6rem;
  background-color: #1a0c06;
  background-image:
    radial-gradient(ellipse 72% 82% at 50% 48%,
      rgba(232, 180, 74, 0.72) 0%,
      rgba(212, 137, 42, 0.55) 16%,
      rgba(168, 68, 20, 0.48) 36%,
      rgba(72, 24, 10, 0.62) 60%,
      rgba(16, 6, 4, 0.9) 86%,
      rgba(8, 3, 2, 0.97) 100%),
    url("textures/mahogany.jpg");
  background-size: auto, 640px;
  background-blend-mode: soft-light, normal;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.25);
}
.hero-poster {
  background-color: #efe3c4;
  background-image: url("textures/paper.jpg");
  background-size: 384px;
  padding: 1.1rem 1.4rem 1.3rem;
  box-shadow:
    var(--purfling),
    0 0 40px 8px rgba(232, 180, 74, 0.4),
    0 0 120px 40px rgba(196, 92, 26, 0.45),
    0 0 200px 70px rgba(80, 24, 8, 0.35),
    0 24px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}
.hero-poster::before {
  /* inner gold rule, like a poster plate */
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(122, 70, 16, 0.45);
  box-shadow: inset 0 0 0 4px rgba(243, 230, 200, 0.5), inset 0 0 0 5px rgba(26, 12, 6, 0.45);
  pointer-events: none;
}
.poster-ornament {
  position: relative;
  z-index: 1;
}
.poster-ornament img {
  width: min(720px, 100%);
  margin: 0 auto;
  height: auto;
}
.poster-ornament.top img { max-height: 180px; width: min(680px, 100%); }
.poster-ornament.bottom { margin-top: 0.8rem; }
.poster-ornament.bottom img { max-height: 56px; filter: none; }

.poster-kicker {
  font-family: var(--font-slab);
  font-size: clamp(0.72rem, 1.5vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--sunburst);
  margin: 0.15rem 0 0.85rem;
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-frame {
  position: relative;
  margin: 0;
  padding: 6px;
  background: var(--ivory);
  box-shadow:
    inset 0 0 0 2px #1a0c06,
    inset 0 0 0 4px var(--ivory),
    0 0 0 2px #1a0c06,
    0 14px 30px rgba(20, 8, 4, 0.3);
}
.hero-frame img {
  width: 100%;
  border-radius: 0;
  object-fit: cover;
  max-height: 700px;
  background: #2a150c;
}
.hero-frame figcaption {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 0.5rem;
  text-align: center;
}

.presents {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--cherry);
  margin: 0 0 0.1rem;
  line-height: 1;
  text-align: left;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.92;
  margin: 0 0 0.55rem;
  color: var(--mahogany-deep);
  text-shadow: 0 1px 0 #fff6dc;
  letter-spacing: 0.01em;
}
.tagline {
  font-family: var(--font-wood);
  font-style: normal;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  color: var(--sunburst);
  margin: 0 0 1rem;
  line-height: 1.25;
}
.hero-copy p { margin: 0 0 1.4rem; max-width: 34rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Banjo-head primary + paper-ticket ghost */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-slab);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.8rem 1.35rem;
  border-radius: 2.4rem;
  border: 3px solid #1a0c06;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background:
    radial-gradient(circle at 50% 38%, #fbf3d6 0 42%, #e8d19a 68%, #d4b36a 100%);
  color: var(--mahogany-deep);
  box-shadow:
    inset 0 0 0 3px var(--gold-deep),
    inset 0 0 0 5px #1a0c06,
    0 3px 0 #1a0c06,
    0 8px 16px rgba(0, 0, 0, 0.25);
}
.btn-primary:hover {
  color: var(--mahogany-deep);
  background: radial-gradient(circle at 50% 38%, #fff8e4 0 42%, #f0dba8 70%, #e0c070 100%);
}
.btn-ghost {
  background-color: #f6ead0;
  background-image: url("textures/paper.jpg");
  background-size: 256px;
  color: var(--mahogany-deep);
  border-radius: 4px;
  border: 2px dashed #1a0c06;
  box-shadow:
    0 0 0 3px #f6ead0,
    0 0 0 5px #1a0c06,
    0 3px 0 #1a0c06;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.btn-ghost:hover {
  background-color: #1a0c06;
  background-image: none;
  color: var(--cream);
  box-shadow: 0 0 0 3px #f6ead0, 0 0 0 5px #1a0c06;
}
.btn-small { padding: 0.4rem 0.85rem; font-size: 0.82rem; border-width: 2px; border-radius: 1.6rem; }

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: start;
}
.about-grid .prose p { margin: 0 0 1rem; }
.about-side {
  margin: 0;
  padding: 6px;
  background: var(--ivory);
  box-shadow:
    inset 0 0 0 2px #1a0c06,
    inset 0 0 0 4px var(--ivory),
    0 0 0 2px #1a0c06,
    0 12px 28px rgba(20, 8, 4, 0.22);
}
.about-side img {
  width: 100%;
  border-radius: 0;
}
.about-side figcaption {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 0.5rem;
  text-align: center;
}

/* ---- Music ---- */
.embed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.4rem 0 2.2rem;
}
.embed-card {
  background: linear-gradient(180deg, #fff8e8, var(--paper));
  background-image: linear-gradient(180deg, rgba(255, 248, 232, 0.9), rgba(239, 224, 192, 0.95)), url("textures/paper.jpg");
  background-size: auto, 256px;
  border: 2px solid var(--ivory);
  border-radius: 2px;
  padding: 0.9rem;
  box-shadow: var(--purfling);
}
.embed-card h3 {
  font-family: var(--font-slab);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  color: var(--mahogany);
}
.embed-card iframe { width: 100%; border: 0; border-radius: 4px; display: block; min-height: 352px; background: #1c100a; }
.embed-fallback { font-family: var(--font-head); font-size: 0.88rem; margin: 0.55rem 0 0; }
.albums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.album {
  background: linear-gradient(180deg, #fff8e8, #ead8ae);
  background-image: linear-gradient(180deg, rgba(255, 248, 232, 0.92), rgba(234, 216, 174, 0.95)), url("textures/paper.jpg");
  background-size: auto, 256px;
  border: 2px solid var(--ivory);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--purfling);
  display: flex;
  flex-direction: column;
}
.album img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #2a150c; }
.album-body { padding: 0.9rem 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.album-body h3 {
  font-family: var(--font-wood);
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 0.15rem;
}
.album-meta {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0 0 0.55rem;
}
.album-body p { font-size: 0.95rem; margin: 0 0 0.8rem; flex: 1; }
.album-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ---- Archives ---- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}
.filter-btn {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 2px dashed #1a0c06;
  background: #fff8e8;
  color: var(--ink);
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 0 0 2px #fff8e8, 0 0 0 3px #1a0c06;
}
.filter-btn[aria-pressed="true"], .filter-btn:hover {
  background: var(--mahogany-deep);
  color: var(--cream);
  border-style: solid;
  box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px #1a0c06;
}
.archive-search {
  width: min(28rem, 100%);
  font-family: var(--font-serif);
  font-size: 1rem;
  padding: 0.55rem 0.8rem;
  border: 2px solid var(--ivory);
  border-radius: 2px;
  background: #fffdf6;
  color: var(--ink);
  margin: 0 0 1.2rem;
  box-shadow: 0 0 0 2px #1a0c06;
}
.group-title {
  font-family: var(--font-wood);
  font-size: 1.4rem;
  font-weight: 400;
  margin: 1.8rem 0 0.7rem;
  color: var(--mahogany);
}
details.post {
  background: linear-gradient(180deg, #fff9eb, #f1e2c2);
  border: 2px solid var(--ivory);
  border-radius: 2px;
  margin: 0 0 0.5rem;
  overflow: hidden;
  box-shadow:
    0 0 0 2px #1a0c06,
    0 0 0 4px var(--ivory);
}
details.post[hidden] { display: none; }
details.post summary {
  cursor: pointer;
  list-style: none;
  padding: 0.7rem 0.95rem;
  font-family: var(--font-head);
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
}
details.post summary::-webkit-details-marker { display: none; }
details.post summary::before {
  content: "▸";
  color: var(--amber);
  margin-right: 0.35rem;
  font-size: 0.85rem;
}
details.post[open] summary::before { content: "▾"; }
.post-date {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-left: auto;
}
.post-source {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sunburst);
}
.post-body {
  padding: 0 1.05rem 1.1rem;
  border-top: 2px solid var(--ivory);
  box-shadow: 0 -2px 0 #1a0c06;
}
.post-body p { margin: 0.7rem 0; }
.post-body .note {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}
.post-body img {
  margin: 0.6rem 0;
  border-radius: 0;
  max-height: 520px;
  width: auto;
  box-shadow: var(--purfling);
}
.post-body ul, .post-body ol { margin: 0.4rem 0 0.8rem; padding-left: 1.3rem; }
.post-body blockquote {
  margin: 0.8rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--amber);
  color: var(--ink-soft);
  font-style: italic;
}

/* ---- Photos ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.gallery a, .gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--ivory);
  aspect-ratio: 4 / 3;
  padding: 5px;
  border: 2px solid var(--ivory);
  box-shadow:
    0 0 0 2px #1a0c06,
    0 0 0 4px var(--ivory),
    0 8px 18px rgba(20, 8, 4, 0.22);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption, .gallery .cap {
  position: absolute;
  left: 5px; right: 5px; bottom: 5px;
  padding: 1.4rem 0.6rem 0.45rem;
  background: linear-gradient(transparent, rgba(20, 10, 5, 0.84));
  color: #f4ead2;
  font-family: var(--font-head);
  font-size: 0.78rem;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 8, 4, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1400px, 96vw);
  max-height: 88vh;
  box-shadow: var(--purfling), 0 20px 60px #000;
}
.lightbox .lb-cap {
  position: absolute;
  bottom: 0.8rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 0.9rem;
}
.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font-head);
}

/* ---- Links ---- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.link-card {
  background-image: linear-gradient(180deg, rgba(255, 248, 232, 0.92), rgba(239, 224, 192, 0.95)), url("textures/paper.jpg");
  background-size: auto, 256px;
  border: 2px solid var(--ivory);
  border-radius: 2px;
  padding: 1rem 1.15rem 1.15rem;
  box-shadow: var(--purfling);
}
.link-card h3 {
  font-family: var(--font-wood);
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 400;
}
.link-card ul { margin: 0; padding: 0; list-style: none; }
.link-card li { margin: 0.25rem 0; }
.link-card .fine {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.35rem 0 0.5rem;
}

/* ---- Footer ---- */
.site-footer {
  background-color: #1a0e08;
  background-image:
    linear-gradient(180deg, rgba(26, 10, 6, 0.55), rgba(10, 4, 2, 0.7)),
    url("textures/mahogany.jpg");
  background-size: auto, 640px;
  color: #f0e0c4;
  padding: 2.4rem 0 2.8rem;
  margin-top: 0;
  border-top: 2px solid var(--ivory);
  box-shadow:
    inset 0 2px 0 #1a0c06,
    inset 0 4px 0 var(--ivory),
    inset 0 6px 0 #1a0c06;
  font-family: var(--font-head);
  font-size: 0.92rem;
}
.site-footer a { color: var(--gold); }
.site-footer .wrap { display: grid; gap: 0.7rem; }
.site-footer p { margin: 0; opacity: 0.9; }

.hidden { display: none !important; }
.empty-msg { font-style: italic; color: var(--ink-soft); display: none; }
.empty-msg.show { display: block; }

@media (max-width: 880px) {
  /* show the whole portrait (head, beard, headstock, hands) at its natural shape */
  .hero-frame { width: 100%; max-width: 21rem; margin: 0 auto; }
  .hero-frame img { width: 100%; height: auto; max-height: none !important; aspect-ratio: 542 / 720; object-fit: contain; object-position: center; }
  .hero-frame figcaption { display: none; }
  .hero-inner, .about-grid, .embed-grid, .albums, .gallery, .link-grid {
    grid-template-columns: 1fr;
  }
  .albums, .gallery { grid-template-columns: 1fr 1fr; }
  .hero { padding: 0.7rem 0 1.1rem; }
  .hero-poster { padding: 0.4rem 0.6rem 0.65rem; }
  .hero-poster::before { inset: 4px; }
  .hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.5rem); margin-bottom: 0.3rem; }
  .presents { font-size: 1.45rem; margin-bottom: 0; text-align: center; }
  .tagline { margin-bottom: 0.55rem; }
  .hero-copy p { margin-bottom: 0.8rem; }
  .poster-ornament.top { margin-bottom: 0; }
  .poster-ornament.top img { max-height: 88px; }
  .poster-ornament.bottom { margin-top: 0.45rem; }
  .poster-ornament.bottom img { max-height: 36px; }
  .poster-kicker { letter-spacing: 0.1em; font-size: 0.78rem; margin: 0.05rem 0 0.45rem; }
  .site-header { flex-wrap: wrap; padding: 0.35rem 0.8rem 0.6rem; min-height: 3.6rem; gap: 0.25rem; }
  .logo { font-size: 1.3rem; padding: 0.4rem 0; }
  /* no-JS fallback: wrapped row of large links */
  .nav { width: 100%; justify-content: flex-start; gap: 0 0.2rem; flex-wrap: wrap; }
  .nav a { font-size: 0.9rem; letter-spacing: 0.05em; padding: 0.6rem 0.55rem; min-height: 44px; display: inline-flex; align-items: center; }
  /* JS: hamburger */
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; flex-wrap: nowrap; gap: 0; width: auto;
    padding: 0.4rem 0.8rem 0.8rem;
    background-color: #241008;
    background-image: linear-gradient(180deg, rgba(20, 8, 4, 0.55), rgba(20, 8, 4, 0.75)), url("textures/mahogany.jpg");
    background-size: auto, 480px;
    border-bottom: 2px solid var(--ivory);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
    margin-top: 6px;
  }
  .js .site-header.nav-open .nav { display: flex; }
  .js .nav a { font-size: 1.05rem; padding: 0.75rem 0.4rem; min-height: 48px; border-bottom: 1px solid rgba(243, 230, 200, 0.18); }
  .js .nav a:last-child { border-bottom: 0; }
  section.band::before { height: 11.5rem; }
  .kicker { margin-top: -10.5rem; }
  .kicker::before { height: 54px; }
  h2.section-title { margin-bottom: 1.8rem; font-size: clamp(1.45rem, 6vw, 2rem); }
}
@media (max-width: 560px) {
  .albums, .gallery { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 1.3rem)); }
  section.band { padding-bottom: 2.4rem; }
  .presents { text-align: center; }
  .hero-copy h1, .tagline, .hero-copy p, .poster-kicker { text-align: center; }
  .btn-row { justify-content: center; }
  .btn { width: 100%; }
}
