:root {
  --ink: #1a2332;
  --mute: #6b7685;
  --line: #e8e8e4;
  --paper: #f4f3ef;
  --white: #fff;
  --nav-h: 70px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  color: #fff;
  transition: .25s background, .25s color, .25s box-shadow;
}
.site-header.solid, .site-header.light {
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(10px);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #c45c3e, #2a6f97);
}
.nav {
  display: flex; align-items: center; gap: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
}
.nav a:hover { opacity: .7; }
.nav .cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 12px;
}
.menu-btn { display: none; font-size: 11px; font-weight: 600; letter-spacing: .16em; }

.hero {
  position: relative;
  height: 100vh; min-height: 560px;
  background: #111; overflow: hidden;
}
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-fade {
  position: absolute; inset: auto 0 0 0; height: 28%;
  background: linear-gradient(to top, rgba(0,0,0,.4), transparent);
  pointer-events: none;
}
.hero-meta {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  color: #fff;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.watch-reel {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  color: #fff;
}
.watch-reel .dot { width: 8px; height: 8px; border-radius: 50%; background: #c45c3e; }

.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 28px 72px;
}
.cat-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ddd;
}
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
}

.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.cat-card:hover img { transform: scale(1.04); }
.cat-card span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 18px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}

.band {
  padding: 72px 28px;
  border-top: 1px solid var(--line);
}
.band h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 14px;
}
.band p { color: var(--mute); max-width: 42ch; font-size: 16px; margin-bottom: 18px; }
.band .btn {
  display: inline-block;
  padding: 12px 18px;
  background: var(--ink); color: #fff;
  border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.about-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

footer {
  padding: 24px 28px 40px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--mute);
}

/* Gallery page */
.page-hero {
  padding: calc(var(--nav-h) + 36px) 28px 18px;
}
.page-hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
}
.page-hero p { color: var(--mute); margin-top: 8px; }
.masonry {
  column-count: 3;
  column-gap: 10px;
  padding: 10px 28px 72px;
}
.masonry figure {
  break-inside: avoid;
  margin: 0 0 10px;
  background: #eee;
  cursor: zoom-in;
}
.masonry img {
  width: 100%;
  height: auto;
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,10,14,.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(96vw, 1600px);
  max-height: 92vh;
  width: auto; height: auto;
  object-fit: contain;
}
.lightbox .x {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff; font-size: 22px;
}
.lightbox .navbtn {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 12px; letter-spacing: .14em;
  padding: 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
}
.lightbox .prev { left: 18px; }
.lightbox .next { right: 18px; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 10px 28px 72px;
}
.video-grid .frame {
  aspect-ratio: 16/9;
  background: #111;
}
.video-grid iframe { width: 100%; height: 100%; border: 0; }
.video-grid .wide { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .cats { grid-template-columns: 1fr 1fr; }
  .cat-card { aspect-ratio: 4/5; }

  .masonry { column-count: 2; padding-left: 14px; padding-right: 14px; }
  .about-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; color: var(--ink);
    padding: 18px 22px 24px; gap: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
  }
  .menu-btn { display: block; }
  .site-header { color: var(--ink); background: rgba(255,255,255,.94); }
}
@media (max-width: 560px) {
  .masonry { column-count: 1; }
  .site-header, .hero-meta, .cats, .band, .page-hero, footer { padding-left: 16px; padding-right: 16px; }
}

/* v2: larger header, short nav, bigger reel button */
:root { --nav-h: 132px; }
.site-header { padding: 0 48px; }
.brand { font-size: 28px; gap: 20px; letter-spacing: .2em; }
.brand-mark { width: 64px; height: 64px; }
.nav { gap: 52px; font-size: 21px; letter-spacing: .18em; }
.nav .cta { padding: 18px 32px; }
.menu-btn { font-size: 16px; letter-spacing: .18em; padding: 10px 4px; }
.page-hero { padding-top: calc(var(--nav-h) + 40px); }
.hero-meta { left: 48px; right: 48px; bottom: 48px; font-size: 15px; }
.watch-reel { padding: 30px 50px; gap: 20px; font-size: 26px; letter-spacing: .2em; border-width: 2px; }
.watch-reel .dot { width: 20px; height: 20px; }
.band .tagline { white-space: nowrap; max-width: none; color: var(--ink); font-size: 20px; font-weight: 500; }
.about-grid img { object-position: center 30%; }
@media (max-width: 900px) {
  :root { --nav-h: 84px; }
  .site-header { padding: 0 22px; }
  .brand { font-size: 19px; gap: 12px; }
  .brand-mark { width: 34px; height: 34px; }
  .nav.open { gap: 6px; padding: 12px 22px 28px; font-size: 22px; }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.open .cta { border: 1px solid currentColor; text-align: center; margin-top: 14px; padding: 14px; }
  .hero-meta { left: 22px; right: 22px; bottom: 28px; flex-direction: column; align-items: flex-start; font-size: 13px; }
  .watch-reel { padding: 20px 32px; font-size: 18px; }
}
@media (max-width: 560px) {
  .band .tagline { white-space: normal; }
  .site-header { padding: 0 16px; }
}

/* v3: Josh photos */
.about-grid:has(.josh-duo) { grid-template-columns: .8fr 1.2fr; align-items: center; }
.josh-duo { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; align-items: end; }
.josh-duo img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.josh-duo .studio { margin-bottom: 8%; }
@media (max-width: 900px) {
  .about-grid:has(.josh-duo) { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .josh-duo { grid-template-columns: 1fr; }
  .josh-duo .studio { margin-bottom: 0; }
}

/* v4: about page */
.about-page { padding: calc(var(--nav-h) + 56px) 48px 96px; max-width: 1400px; margin: 0 auto; }
.about-page h1, .about-page h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.05; }
.about-page h1 { font-size: clamp(48px, 6vw, 84px); margin-bottom: 32px; }
.about-page h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 24px; }
.about-page p { font-size: 20px; line-height: 1.7; color: #333; max-width: 64ch; margin-bottom: 24px; }
.about-intro, .about-life { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.about-photo { width: 100%; height: auto; position: sticky; top: calc(var(--nav-h) + 24px); }
.about-section { margin-top: 96px; padding-top: 72px; border-top: 1px solid var(--line); }
.about-life { align-items: center; }
.about-life .about-photo { position: static; }
.about-page .btn { display: inline-block; margin-top: 16px; padding: 18px 32px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .16em; }
@media (max-width: 900px) {
  .about-page { padding: calc(var(--nav-h) + 32px) 22px 72px; }
  .about-intro, .about-life { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { position: static; }
  .about-page p { font-size: 18px; }
  .about-section { margin-top: 64px; padding-top: 48px; }
}

/* v5: no-jump loading */
.masonry figure { background: #fff; }
.masonry figure img { width: 100%; height: 100%; object-fit: cover; }
.cat-card { background: #fff; }
img.fade { opacity: 0; transition: opacity .6s ease; }
img.fade.loaded { opacity: 1; }
.brand-mark { display: none !important; }
