@font-face {
  font-family: 'Dirk Bold';
  src: url('../assets/fonts/Dirk-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2ece1;
  --paper-deep: #e8e0d1;
  --ink: #171512;
  --ink-muted: #5c564d;
  --ink-rule: rgba(23, 21, 18, 0.22);
  --dark: #141311;
  --dark-rule: rgba(242, 236, 225, 0.22);
  --bone: #f4efe6;
  --bone-muted: rgba(244, 239, 230, 0.68);
  --rust: #b84225;
  --font-display: 'Dirk Bold', 'Bevan', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--dark);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

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

a {
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* -------------------- HEADER -------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 500;
  display: flex;
  align-items: center;
  color: var(--bone);
  background: linear-gradient(180deg, rgba(16, 15, 13, 0.72) 0%, rgba(16, 15, 13, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(242, 236, 225, 0.96);
  color: var(--ink);
  border-bottom-color: var(--ink-rule);
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  opacity: 0.78;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  border-bottom-color: currentColor;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-socials a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.header-socials .icon {
  display: block;
  flex-shrink: 0;
}

/* -------------------- HERO -------------------- */

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 580px;
  max-height: 1040px;
  background-color: var(--dark);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: contrast(1.06) brightness(0.92);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 15, 13, 0.35) 0%,
    rgba(16, 15, 13, 0.05) 38%,
    rgba(16, 15, 13, 0.38) 68%,
    rgba(16, 15, 13, 0.88) 100%
  );
}

.hero-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 clamp(32px, 5vh, 56px);
  color: var(--bone);
}

.hero-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(42px, 8.8vw, 124px);
  line-height: 0.94;
  letter-spacing: 0.015em;
  margin: 0;
  color: var(--bone);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 239, 230, 0.28);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-link {
  text-decoration: none;
  color: var(--bone);
  opacity: 0.86;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.hero-link:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-sep {
  opacity: 0.35;
}

/* -------------------- SECTIONS -------------------- */

.band-section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.paper-section {
  background-color: var(--paper);
  color: var(--ink);
}

.dark-section {
  background-color: var(--dark);
  color: var(--bone);
}

.section-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: clamp(36px, 5vw, 60px);
  border-bottom: 2px solid var(--ink);
}

.dark-section .section-bar {
  border-bottom-color: rgba(244, 239, 230, 0.28);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1;
  letter-spacing: 0.025em;
  margin: 0;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
}

.dark-section .section-index {
  color: var(--bone-muted);
}

/* -------------------- MUSIC -------------------- */

.music-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.music-feature-photo {
  margin: 0;
  overflow: hidden;
  background-color: var(--paper-deep);
}

.music-feature-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
}

.music-lead {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0 0 24px;
}

.stream-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.stream-list li {
  border-bottom: 1px solid var(--ink-rule);
}

.stream-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.stream-name {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.stream-icon {
  display: block;
  flex-shrink: 0;
  color: currentColor;
  transition: transform 0.2s ease;
}

.stream-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.stream-row:hover {
  background-color: var(--ink);
  color: var(--bone);
  padding-left: 18px;
}

.stream-row:hover .stream-icon {
  transform: scale(1.06);
}

.stream-row:hover .stream-arrow {
  transform: translate(2px, -2px);
}

/* -------------------- VIDEOS -------------------- */

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border: 1px solid var(--dark-rule);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section-footer-link {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  justify-content: flex-end;
}

.text-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease;
}

.text-cta-light {
  color: var(--bone);
}

.text-cta:hover {
  opacity: 0.7;
}

/* -------------------- EDITORIAL PHOTO GALLERY -------------------- */

.editorial-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
}

.photo-item {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background-color: var(--paper-deep);
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
}

.span-7 {
  grid-column: span 7;
}

.span-6 {
  grid-column: span 6;
}

.span-5 {
  grid-column: span 5;
}

.ratio-wide {
  aspect-ratio: 3 / 2;
}

.ratio-4x3 {
  aspect-ratio: 4 / 3;
}

.ratio-portrait {
  aspect-ratio: 5 / 4;
}

.ratio-tall {
  aspect-ratio: 4 / 5;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.03);
}

/* -------------------- CONTACT -------------------- */

.contact-section {
  padding-top: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 14px;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.3vw, 30px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  word-break: break-word;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-email:hover {
  color: var(--rust);
  border-bottom-color: var(--rust);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-social-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
  width: fit-content;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-social-link:hover {
  color: var(--rust);
  border-bottom-color: var(--rust);
}

/* -------------------- FOOTER -------------------- */

.site-footer {
  background-color: var(--paper);
  color: var(--ink-muted);
  border-top: 1px solid var(--ink-rule);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--ink);
}

/* -------------------- LIGHTBOX -------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(14, 13, 11, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 60px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  background: transparent;
  border: 0;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 14px;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-close {
  top: 20px;
  right: 24px;
}

.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
}

.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
}

/* -------------------- RESPONSIVE -------------------- */

@media (max-width: 900px) {
  .music-layout,
  .videos-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .span-7,
  .span-6,
  .span-5 {
    grid-column: span 6;
  }

  .ratio-wide,
  .ratio-4x3,
  .ratio-portrait,
  .ratio-tall {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 60px;
  }

  .header-socials {
    display: none;
  }

  .wordmark {
    font-size: 16px;
  }

  .site-nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: 520px;
  }

  .hero-meta {
    gap: 8px 12px;
    font-size: 11px;
  }

  .span-7,
  .span-6,
  .span-5 {
    grid-column: span 12;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
