:root {
  --bg: #f3efe6;
  --bg-deep: #e7efe4;
  --ink: #243328;
  --muted: #5f6d61;
  --line: rgba(36, 51, 40, 0.18);
  --pink: #e8c4c8;
  --pink-deep: #d9a8ae;
  --green: #6f8f72;
  --green-deep: #3f5a44;
  --pill: #243328;
  --pill-ink: #f7f3eb;
  --card: rgba(255, 252, 246, 0.72);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  --script: "Homemade Apple", "Segoe Script", cursive;
  --max: 1080px;
  --nav-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at top, rgba(232, 196, 200, 0.35), transparent 45%),
    radial-gradient(ellipse at bottom right, rgba(111, 143, 114, 0.22), transparent 40%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body > * {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.bio a,
.contact-copy a,
.shows-note a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  color: var(--green-deep);
}

button,
.pill {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 239, 230, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  border-bottom-color: var(--line);
}

.nav {
  width: min(100% - 2rem, 1200px);
  margin: 0 auto;
  min-height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.nav-side.left {
  justify-content: flex-end;
}

.nav-side.right {
  justify-content: flex-start;
}

.nav-link {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.92;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.28rem auto;
  background: currentColor;
}

.page {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 4.5rem;
}

.page-wide {
  width: min(100% - 2rem, 1200px);
}

.hero-page {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 0;
}

.hero {
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  background:
    linear-gradient(180deg, rgba(36, 51, 40, 0.08), rgba(36, 51, 40, 0.22)),
    url("/assets/home.jpg") center / cover no-repeat;
}

.section-title,
.subsection-title {
  margin: 0 auto 1.75rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--green-deep);
}

/* Torn paper title labels */
.section-title {
  width: fit-content;
  max-width: min(100%, 22rem);
  padding: 0.65rem 1.55rem 0.85rem;
  background:
    linear-gradient(180deg, #fffdf8 0%, #f4efe4 100%);
  border: 0;
  clip-path: polygon(
    1% 10%,
    6% 4%,
    14% 8%,
    24% 3%,
    36% 7%,
    48% 2%,
    60% 8%,
    72% 3%,
    84% 7%,
    94% 4%,
    99% 12%,
    98% 30%,
    100% 48%,
    97% 66%,
    99% 82%,
    94% 94%,
    82% 90%,
    70% 97%,
    56% 91%,
    42% 98%,
    28% 92%,
    14% 97%,
    4% 91%,
    0% 78%,
    2% 58%,
    0% 38%,
    2% 22%
  );
  filter: drop-shadow(0 6px 12px rgba(36, 51, 40, 0.12));
}

.subsection-title {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  max-width: min(100%, 18rem);
  padding: 0.45rem 1.15rem 0.6rem;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  background: linear-gradient(180deg, #fffdf8 0%, #f4efe4 100%);
  clip-path: polygon(
    2% 12%,
    10% 5%,
    28% 9%,
    48% 3%,
    68% 8%,
    88% 4%,
    98% 14%,
    96% 40%,
    100% 68%,
    94% 92%,
    72% 88%,
    50% 96%,
    28% 90%,
    8% 96%,
    0% 72%,
    2% 40%
  );
  filter: drop-shadow(0 5px 10px rgba(36, 51, 40, 0.1));
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 2.5rem;
  align-items: start;
}

.photo-frame {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #dfe8db;
  box-shadow: 0 10px 30px rgba(36, 51, 40, 0.08);
}

.photo-img {
  aspect-ratio: 4 / 5;
}

.photo-credit {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.bio {
  font-size: 0.98rem;
  color: var(--ink);
  max-width: 42rem;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 24px rgba(36, 51, 40, 0.06);
}

.bio p {
  margin: 0 0 1.1rem;
}

.bio p:last-child {
  margin-bottom: 0;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.social {
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--green-deep);
  background: rgba(255, 252, 246, 0.7);
}

.social svg {
  width: 1.15rem;
  height: 1.15rem;
}

.social:hover {
  background: var(--pink);
  color: var(--ink);
}

.video-wrap {
  width: min(100%, 900px);
  margin: 0 auto 3rem;
  aspect-ratio: 16 / 9;
  background: #1a241c;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(36, 51, 40, 0.1);
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.release {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 2.25rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
}

.release-player {
  min-height: 180px;
  border-radius: 0.35rem;
  border: 1px solid rgba(36, 51, 40, 0.12);
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  background: transparent;
}

.cover-art {
  width: 9.5rem;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(36, 51, 40, 0.15);
}

.player-meta strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  font-family: var(--serif);
}

.player-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

.release-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.5vw, 2.1rem);
  font-style: italic;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-deep);
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 1.35rem;
  border-radius: 999px;
  background: var(--pill);
  color: var(--pill-ink);
  border: 0;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}

.pill:hover {
  background: var(--green-deep);
}

.shows-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(243, 239, 230, 0.78), rgba(231, 239, 228, 0.88)),
    url("/assets/shows.jpg") center / cover no-repeat;
}

.shows-widget {
  width: min(100%, 820px);
  margin: 0 auto;
  min-height: 120px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem;
}

.shows-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.past-shows {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(100%, 720px);
  display: grid;
  gap: 0.7rem;
}

.past-shows li {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.55rem 0.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.92rem;
}

.show-date {
  color: var(--muted);
}

.show-venue {
  font-style: italic;
}

.show-loc {
  color: var(--muted);
  text-align: right;
}

.lyrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.lyric-card {
  display: grid;
  gap: 0.75rem;
  text-align: center;
  padding: 0.7rem 0.65rem 0.9rem;
  background: linear-gradient(165deg, #fffdf8, #f3eee3);
  border: 0;
  clip-path: polygon(
    2% 3%,
    18% 1%,
    40% 4%,
    62% 0%,
    84% 3%,
    98% 1%,
    100% 18%,
    97% 42%,
    100% 68%,
    96% 90%,
    78% 96%,
    52% 92%,
    30% 98%,
    8% 94%,
    0% 78%,
    3% 48%,
    0% 22%
  );
  filter: drop-shadow(0 8px 14px rgba(36, 51, 40, 0.1));
  transition: transform 160ms ease;
}

.lyric-card .cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #dfe8db;
}

.lyric-card .title {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lyric-card:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 16px rgba(36, 51, 40, 0.14));
}

.lyric-page {
  width: min(100% - 2rem, 640px);
  margin: 0 auto;
  padding: 3rem 0 5rem;
  text-align: center;
}

.lyric-page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.lyric-cover {
  width: min(100%, 280px);
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--line);
}

.lyric-actions {
  margin: 0 0 1.75rem;
}

.lyric-page .back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lyric-body {
  white-space: pre-wrap;
  font-family: var(--script);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  line-height: 1.55;
  text-align: left;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem;
}

.stub {
  min-height: calc(100vh - var(--nav-h) - 10rem);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 0.85rem;
}

.stub p,
.contact-copy {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
  font-size: 1.05rem;
}

.site-footer {
  margin-top: 2.5rem;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.55);
}

.footer-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.is-home .site-footer {
  margin-top: 0;
  border-top: 0;
  background: rgba(15, 20, 16, 0.72);
}

.is-home .site-footer .social {
  background: rgba(255, 252, 246, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #f5f5f0;
}

.is-home .footer-note {
  color: rgba(245, 245, 240, 0.7);
}

@media (max-width: 900px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .brand {
    order: 1;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    order: 2;
  }

  .nav-side {
    display: none;
    width: 100%;
    order: 3;
  }

  .nav.is-open .nav-side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.25rem 0 1.1rem;
  }

  .nav.is-open .nav-side.left,
  .nav.is-open .nav-side.right {
    justify-content: flex-start;
  }

  .about-grid,
  .release,
  .past-shows li {
    grid-template-columns: 1fr;
  }

  .show-loc {
    text-align: left;
  }
}
