/* ===== Fonts (self-hosted) ===== */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/fonts/bitter.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter.woff2') format('woff2');
}

/* ===== Custom Properties ===== */
:root {
  --color-bg: #141110;
  --color-bg-elevated: #1C1917;
  --color-bg-surface: #262220;
  --color-text: #EDE4D3;
  --color-text-muted: #9A8E82;
  --color-accent: #D4883A;
  --color-accent-light: #E8A04E;
  --color-accent-dark: #B06E2A;
  --color-silver: #A8B0B4;
  --color-border: rgba(237, 228, 211, 0.08);
  --font-display: 'Bitter', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1100px;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-light); }

/* ===== Film Grain ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #141110;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #141110;
}

/* ===== Focus Styles ===== */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(212, 136, 58, 0.25);
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

/* Section label — small, uppercase, muted */
.section__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

/* Legacy title fallback */
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: linear-gradient(to bottom, rgba(20, 17, 16, 0.85) 0%, transparent 100%);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(20, 17, 16, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.btn--nav {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--color-accent);
}

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 110;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  position: absolute;
  left: 0;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 9px; }
.nav__toggle span:nth-child(3) { top: 18px; }

.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

@media (max-width: 600px) {
  .nav__toggle { display: block; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100dvh;
    background: var(--color-bg-elevated);
    flex-direction: column;
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--transition), visibility var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    visibility: hidden;
  }

  .nav__menu--open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__link {
    font-size: 1.1rem;
  }

  .btn--nav {
    margin-left: 0;
    margin-top: 0.5rem;
    align-self: flex-start;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center 40%, transparent 20%, rgba(20, 17, 16, 0.3) 100%),
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(20, 17, 16, 0.15) 40%,
      rgba(20, 17, 16, 0.75) 85%,
      var(--color-bg) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem clamp(3rem, 8vh, 6rem);
  width: 100%;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--color-text);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero__logo img {
  width: clamp(160px, 22vw, 260px);
  height: auto;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.7));
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #141110;
}

.btn--primary:hover {
  background: var(--color-accent-light);
  color: #141110;
  box-shadow: 0 0 30px rgba(212, 136, 58, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(237, 228, 211, 0.4);
}

.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ===== Marquee ===== */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 0.6rem 0;
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
}

.marquee__inner {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.marquee__inner span {
  color: var(--color-accent);
  opacity: 0.5;
  margin: 0 1.25rem;
}

/* ===== Shows ===== */
.shows {
  background: var(--color-bg);
}

.shows__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.show {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.show:first-child {
  border-top: 1px solid var(--color-border);
}

.show__date {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1;
}

.show__month {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
}

.show__day {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 0.85;
}

.show__venue {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

.show__venue a {
  color: var(--color-text);
  transition: color var(--transition);
}

.show__venue a:hover {
  color: var(--color-accent);
}

.show__address {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

@media (hover: hover) {
  .show:hover {
    background: rgba(212, 136, 58, 0.03);
  }
}

.shows__note {
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

/* ===== Music ===== */
.music {
  background: var(--color-bg-elevated);
}

.music__player {
  max-width: 700px;
}

.music__player iframe {
  border-radius: 4px;
  width: 100%;
  height: 352px;
  aspect-ratio: 640 / 352;
}

.music__meta {
  max-width: 700px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.music__credit {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-style: italic;
}

.music__platforms {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* ===== About ===== */
.about {
  background: var(--color-bg);
}

.about__content {
  max-width: 800px;
}

.about__photo {
  margin-bottom: 1.5rem;
}

.about__photo img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

@media (min-width: 601px) {
  .about__content {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0 2.5rem;
  }

  .about__photo {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
    margin-bottom: 0;
  }

  .about__photo img {
    aspect-ratio: 3 / 4;
    max-height: 440px;
  }

  .about__quote { grid-column: 2; }
  .about__bio { grid-column: 2; }
  .about__members { grid-column: 2; }
}

.about__quote {
  border-left: 3px solid var(--color-accent);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin-bottom: 2rem;
}

.about__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  font-style: italic;
}

.about__bio p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

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

.about__members {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.member {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.member__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.member__role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.member__role::before {
  content: '\2014\00a0';
  color: var(--color-border);
}

/* ===== Gallery ===== */
.gallery {
  background: var(--color-bg-elevated);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.gallery__item:first-child {
  grid-column: 1 / -1;
}

.gallery__item {
  overflow: hidden;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.6s ease;
}

.gallery__item:first-child img {
  aspect-ratio: 16 / 9;
}

@media (hover: hover) {
  .gallery__item img:hover {
    transform: scale(1.03);
  }
}

@media (min-width: 601px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery__item:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .gallery__item:first-child img {
    aspect-ratio: 1 / 1;
  }
}

/* ===== Photo Break + Booking ===== */
.photo-break--slim {
  min-height: 40vh;
}

.photo-break {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-break__bg {
  position: absolute;
  inset: 0;
}

.photo-break__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.photo-break__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(20, 17, 16, 0.3) 0%, rgba(20, 17, 16, 0.5) 100%),
    linear-gradient(to bottom, var(--color-bg) 0%, transparent 10%, transparent 90%, var(--color-bg) 100%);
}

.photo-break__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
}

.photo-break__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.photo-break__subtitle {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.photo-break__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0 0;
  background: var(--color-bg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.footer__location {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__social {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.footer__social a {
  color: var(--color-text-muted);
  transition: color var(--transition);
  padding: 0.5rem;
  margin: -0.5rem;
}

.footer__social a:hover {
  color: var(--color-accent);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  text-align: center;
  padding: 1.5rem 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.footer__merch {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .hero {
    min-height: 100dvh;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }

  .footer__social {
    justify-content: center;
  }

  .show__date {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .show {
    gap: 1.25rem;
  }
}

/* ===== Scroll Animations & Motion ===== */
@media (prefers-reduced-motion: no-preference) {
  @keyframes ken-burns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
  }

  .hero__bg img {
    animation: ken-burns 20s ease-in-out infinite alternate;
  }

  @keyframes hero-enter {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero__logo,
  .hero__tagline,
  .hero__ctas {
    opacity: 0;
    animation: hero-enter 1s ease forwards;
  }

  .hero__logo { animation-delay: 0.2s; }
  .hero__tagline { animation-delay: 0.6s; }
  .hero__ctas { animation-delay: 0.5s; }

  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: var(--delay, 0s);
  }

  .fade-in--visible {
    opacity: 1;
    transform: translateY(0);
  }

  @keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .marquee__inner {
    animation: marquee-scroll 25s linear infinite;
  }

  .marquee--paused .marquee__inner {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .hero__logo,
  .hero__tagline,
  .hero__ctas {
    opacity: 1;
  }
}
