:root {
  --paper: #f3efe4;
  --paper-warm: #ebe5d8;
  --ink: #161512;
  --muted: #68675f;
  --forest: #2f4439;
  --sage: #9aa394;
  --snow: #fbfaf5;
  --line: rgba(22, 21, 18, 0.28);
  --header-space: 78px;
}

* {
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  padding-top: var(--header-space);
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.48), transparent 34%),
    linear-gradient(90deg, rgba(22,21,18,0.025), transparent 12%, transparent 88%, rgba(22,21,18,0.035)),
    var(--paper);
  color: var(--ink);
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

section,
footer {
  scroll-margin-top: calc(var(--header-space) + 20px);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background:
    repeating-linear-gradient(0deg, rgba(22,21,18,0.035) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 48% 40%, rgba(47,68,57,0.08), transparent 36%);
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.11;
  background-image: repeating-radial-gradient(circle, rgba(22,21,18,0.09) 0 1px, transparent 1px 5px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 36px));
  margin: 0;
  padding: 18px 0 14px;
  background: rgba(243, 239, 228, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  max-width: calc(100% - 36px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -18px;
  z-index: -1;
  background: rgba(243, 239, 228, 0.98);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 2vw, 23px);
  letter-spacing: 0.08em;
  line-height: 1;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.brand::before,
.brand::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--ink);
}

.brand span,
.brand strong {
  display: inline;
  font-weight: 500;
}

.brand span::after {
  content: " ";
}

.menu-button {
  display: none;
  width: 42px;
  height: 36px;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 8px;
}

.menu-button span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
}

.site-nav a,
.button,
.socials a {
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  border-bottom: 1px solid transparent;
  overflow-wrap: anywhere;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover,
.button:hover,
.socials a:hover {
  color: var(--forest);
  border-color: currentColor;
}

.hero {
  position: relative;
  z-index: 3;
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px) 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 92px) 0 clamp(52px, 8vw, 104px);
  max-width: calc(100% - 36px);
}

.hero-image {
  grid-column: 2;
  width: min(42vh, 440px);
  min-width: 260px;
  aspect-ratio: 1;
  justify-self: center;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  border: 12px solid var(--snow);
  outline: 1px solid rgba(22,21,18,0.18);
  filter: grayscale(0.74) contrast(0.86) brightness(1.12) sepia(0.16) saturate(0.72);
  box-shadow: 0 22px 48px rgba(22,21,18,0.12);
}

.hero-copy {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 900px;
  min-width: 0;
  text-align: center;
}

.kicker {
  margin: 0 0 18px;
  color: var(--forest);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.28em;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 3vw, 34px);
  font-size: clamp(31px, 5.6vw, 76px);
  line-height: 1;
}

h1::before,
h1::after {
  content: "";
  width: clamp(28px, 8vw, 92px);
  height: 1px;
  background: var(--ink);
}

h2 {
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1.05;
}

.lead {
  max-width: 610px;
  margin: 22px auto 0;
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(21px, 2.5vw, 31px);
  line-height: 1.2;
}

.manifesto,
.section,
.site-footer {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 124px) 0;
  border-top: 1px solid var(--line);
  max-width: calc(100% - 36px);
}

.site-header > *,
.hero > *,
.manifesto > *,
.section > *,
.site-footer > * {
  min-width: 0;
}

.manifesto {
  display: grid;
  grid-template-columns: 130px minmax(280px, 760px);
  justify-content: center;
  gap: clamp(28px, 6vw, 90px);
}

.manifesto p {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.manifesto .underlined {
  grid-column: 2;
  margin-top: 20px;
  color: var(--forest);
  font-size: clamp(19px, 2.2vw, 27px);
}

.stamp {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  letter-spacing: 0.08em;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.gallery-block + .gallery-block {
  margin-top: clamp(58px, 8vw, 96px);
}

.gallery-block h3 {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 3.6vw, 42px);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: clamp(18px, 2.5vw, 30px);
}

.photo {
  position: relative;
  border: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--snow);
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  filter: grayscale(0.78) contrast(0.88) brightness(1.1) sepia(0.18) saturate(0.72);
  box-shadow: 0 18px 38px rgba(22,21,18,0.11);
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(251,250,245,0.55);
  pointer-events: none;
}

.gallery-present {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  max-width: 860px;
  margin-inline: auto;
}

.photo:hover {
  filter: grayscale(0.35) contrast(0.94) brightness(1.06) sepia(0.12) saturate(0.86);
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(22,21,18,0.16);
}

.photo.wide {
  grid-column: span 2;
}

.photo.tall {
  grid-row: span 2;
}

.gallery-present .photo {
  grid-column: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: var(--snow);
}

.gallery-present .photo:first-child {
  grid-column: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  margin-top: clamp(42px, 6vw, 72px);
}

.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(22,21,18,0.24);
  background: var(--snow);
  box-shadow: 0 18px 38px rgba(22,21,18,0.1);
}

.records {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
}

.record {
  color: var(--ink);
  text-decoration: none;
  text-align: center;
}

.record img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 10px solid var(--snow);
  outline: 1px solid rgba(22,21,18,0.18);
  filter: grayscale(0.65) contrast(0.9) brightness(1.08) sepia(0.16) saturate(0.75);
  box-shadow: 0 18px 34px rgba(22,21,18,0.11);
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.record span {
  display: block;
  margin-top: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(23px, 3vw, 34px);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.record small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.record:hover img {
  filter: grayscale(0.25) contrast(0.96) brightness(1.06) sepia(0.12) saturate(0.9);
  transform: translateY(-3px);
  box-shadow: 0 24px 42px rgba(22,21,18,0.15);
}

.bio-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(300px, 1fr);
  gap: clamp(34px, 7vw, 100px);
}

.bio-copy p {
  margin: 0 0 22px;
  color: var(--soft-ink, #33312d);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.32;
}

.archive-count {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gig-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 34px;
}

.gig-filters button {
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.gig-filters button:hover,
.gig-filters button.is-active {
  color: var(--ink);
  border-color: currentColor;
}

.gig-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.gig-list li {
  min-height: 116px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 245, 0.22);
}

.gig-list time {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.gig-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex: 0 0 auto;
}

.contact-icon svg {
  width: 15px;
  height: 15px;
  overflow: visible;
}

.contact-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 70px 18px 24px;
  background: rgba(243, 239, 228, 0.94);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-height: 86vh;
  border: 14px solid var(--snow);
  outline: 1px solid rgba(22,21,18,0.2);
  box-shadow: 0 22px 52px rgba(22,21,18,0.22);
}

.lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 980px) {
  :root {
    --header-space: 74px;
  }

  .site-header,
  .hero,
  .manifesto,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
    max-width: calc(100% - 28px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px 0;
    background: rgba(243, 239, 228, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .hero-copy {
    grid-column: 1;
  }

  .gallery,
  .records,
  .gig-list,
  .video-grid,
  .bio-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-present {
    grid-template-columns: 1fr;
  }

  .manifesto {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .site-footer,
  .section-head {
    grid-template-columns: 1fr;
  }

  .socials {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --header-space: 70px;
  }

  .site-header,
  .hero,
  .manifesto,
  .section,
  .site-footer {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .brand {
    gap: 8px;
    max-width: calc(100vw - 88px);
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .brand::before,
  .brand::after {
    width: 12px;
    flex: 0 0 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-image {
    width: min(74vw, 320px);
    min-width: 0;
    border-width: 8px;
  }

  h1 {
    display: block;
    font-size: clamp(31px, 10vw, 48px);
  }

  h1::before,
  h1::after {
    display: none;
  }

  .manifesto,
  .gallery,
  .records,
  .gig-list,
  .video-grid,
  .bio-section {
    grid-template-columns: 1fr;
  }

  .section-head,
  .site-footer {
    gap: 20px;
  }

  .manifesto .underlined {
    grid-column: auto;
  }

  .stamp {
    width: 94px;
    height: 94px;
  }

  .photo,
  .photo.wide,
  .photo.tall,
  .gallery-present .photo,
  .gallery-present .photo:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .photo {
    aspect-ratio: 4 / 3;
  }

  .gallery-present .photo,
  .gallery-present .photo:first-child {
    aspect-ratio: 1 / 1;
  }

  .socials {
    gap: 14px 18px;
  }

  .lightbox img {
    max-width: calc(100vw - 36px);
    border-width: 8px;
  }
}
