/* ==========================================================
   Mycelium — myceliumband.com
   Colors live here; change them once and the whole site follows.
   ========================================================== */
:root {
  --bone: #f1eadc;        /* page background (paper)        */
  --bone-2: #e7ddca;      /* slightly darker paper          */
  --soil: #2a1f17;        /* main text / dark sections      */
  --soil-2: #3b2c20;
  --bark: #6b4f37;        /* secondary text                 */
  --moss: #5f6b3a;        /* accent                         */
  --amber: #c8873a;       /* highlight (golden-hour glow)   */
  --line: rgba(42, 31, 23, 0.15);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--soil);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(var(--max), 100% - 3rem); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--moss); font-weight: 600; margin: 0 0 0.9rem;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo img { height: 60px; width: auto; }
.nav__links { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none; font-size: 0.85rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500; color: var(--bark);
}
.nav__links a:hover { color: var(--soil); }
.nav__toggle { display: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0.5rem; color: var(--soil); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 0; text-align: center; overflow: hidden; }
.hero__logo { width: min(620px, 88%); margin: 0 auto; }
.hero__tag {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--bark); margin: 1.2rem auto 2rem; max-width: 34ch;
}
.hero__cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.btn {
  display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px;
  text-decoration: none; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  border: 1.5px solid var(--soil); transition: background .2s, color .2s;
}
.btn--solid { background: var(--soil); color: var(--bone); }
.btn--solid:hover { background: var(--soil-2); }
.btn--ghost:hover { background: var(--soil); color: var(--bone); }

.hero__photo {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 40%;
  /* soft root-like fade from the paper into the photo */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
}

/* ---------- Sections ---------- */
section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { margin-bottom: 2.6rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__photo img { border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(42,31,23,.45); }
.about__text p { margin: 0 0 1.1rem; max-width: 52ch; }
.about__text p.lead { font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; }
.members { list-style: none; padding: 0; margin: 1.8rem 0 0; border-top: 1px solid var(--line); }
.members li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.members span:last-child { color: var(--bark); font-size: 0.95rem; }

/* Dark band (videos) */
.dark { background: var(--soil); color: var(--bone); }
.dark .eyebrow { color: var(--amber); }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
.video { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.video--feature { grid-column: 1 / -1; }
.video video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  max-width: 100%; background: transparent; object-fit: contain; border-radius: 4px;
}
.video figcaption {
  display: block; width: 100%; margin-top: .9rem; text-align: center;
  font-family: var(--serif); font-size: 1.15rem; color: var(--bone);
}
.reel { margin-top: 4rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; }
.reel iframe { width: 280px; aspect-ratio: 9 / 16; border: 0; border-radius: 4px; background: transparent; }
.reel__note { margin: 0; color: rgba(241,234,220,.75); font-style: italic; font-family: var(--serif); font-size: 1.15rem; }
.reel__note a { color: var(--bone); text-decoration-color: var(--amber); text-underline-offset: 3px; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 1rem; }
.gallery a { display: block; margin-bottom: 1rem; break-inside: avoid; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.gallery img { width: 100%; transition: transform .6s ease, filter .3s; }
.gallery a:hover img { transform: scale(1.03); filter: saturate(1.1); }
.credit { margin-top: 1.4rem; font-size: 0.85rem; color: var(--bark); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20,14,10,.94);
  display: none; align-items: center; justify-content: center; padding: 3rem 4rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 3px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--bone); cursor: pointer;
  font-size: 2.2rem; line-height: 1; padding: 1rem; opacity: .75;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: .5rem; right: .75rem; }
.lb-prev { left: .25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .25rem; top: 50%; transform: translateY(-50%); }

/* Shows */
.shows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.show {
  display: grid; grid-template-columns: 7rem 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
}
.show__date { font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.show__date small { display: block; font-family: var(--sans); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bark); margin-top: .35rem; }
.show__where strong { display: block; font-weight: 600; }
.show__where span { color: var(--bark); font-size: .95rem; }
.show .btn { padding: .6rem 1.2rem; font-size: .75rem; }
.shows-empty { color: var(--bark); font-style: italic; }

/* Contact */
.contact { background: var(--bone-2); text-align: center; }
.contact p { max-width: 46ch; margin: 1rem auto 2rem; color: var(--bark); }
.contact .email { font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2.4rem); text-decoration: none; border-bottom: 2px solid var(--amber); }
.socials { display: flex; justify-content: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.socials a {
  text-decoration: none; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bone);
}
.socials a:hover { border-color: var(--soil); }

/* Footer */
footer { background: var(--soil); color: rgba(241,234,220,.7); padding: 3.5rem 0 2.5rem; text-align: center; font-size: .85rem; }
footer img { width: 180px; margin: 0 auto 1.4rem; opacity: .9; }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bone); border-bottom: 1px solid var(--line);
  }
  .nav__links.open { display: flex; }
  .nav__links a { display: block; padding: 1rem 1.5rem; border-top: 1px solid var(--line); }
  .hero__photo { aspect-ratio: 4 / 3; }
  .about { grid-template-columns: 1fr; }
  .videos { display: flex; flex-direction: column; gap: 2.5rem; }
  .video { width: 100%; }
  .show { grid-template-columns: 5.5rem 1fr; }
  .show .btn { grid-column: 2; justify-self: start; }
  .lightbox { padding: 3.5rem .5rem; }
}
