/* ── PROJECT TITLE ───────────────────────────────────────── */
.project-title-block { margin-bottom: 1.5rem; }

.project-title-block h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.project-title-block .meta {
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ── EXPAND BUTTON ───────────────────────────────────────── */
.expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  padding: 0;
  transition: color 0.15s, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.expand-btn:hover   { color: #111; }
.expand-btn.open    { transform: rotate(180deg); color: #111; }

/* ── MASONRY DRAWER ──────────────────────────────────────── */
.masonry-drawer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 0;
}

.masonry-drawer.open { max-height: 4000px; opacity: 1; }
.masonry-drawer .montage { padding-top: 0.65rem; }

/* ── VIDEO EMBED ─────────────────────────────────────────── */
.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1.5px solid #000;
  overflow: hidden;
  background: #111;
  margin-bottom: 0.75rem;
}

.video-wrap iframe { width: 100%; height: 100%; display: block; border: none; }

/* ── SCROLL STRIP ────────────────────────────────────────── */
.scroll-strip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 0.4rem;
}

.scroll-strip:active          { cursor: grabbing; }
.scroll-strip::-webkit-scrollbar { display: none; }

.scroll-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  overflow: hidden;
  background: #ddd;
  cursor: pointer;
  transition: opacity 0.15s;
  width: clamp(320px, 55vw, 720px);
  aspect-ratio: 4 / 3;
}

.scroll-item:hover { opacity: 0.85; }
.scroll-item img   { width: 100%; height: 100%; object-fit: cover; display: block; }

.scroll-hint {
  font-size: 0.6rem;
  color: #bbb;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
  text-align: right;
}

/* ── MASONRY GALLERY ─────────────────────────────────────── */
.montage { column-count: 3; column-gap: 0.65rem; }

.montage-item {
  break-inside: avoid;
  margin-bottom: 0.65rem;
  overflow: hidden;
  cursor: pointer;
  display: block;
  background: transparent;
  transition: opacity 0.15s;
}

.montage-item:hover           { opacity: 0.82; }
.montage-item img             { width: 100%; display: block; object-fit: cover; }

.montage-item:nth-child(6n+1) { aspect-ratio: 3 / 4; }
.montage-item:nth-child(6n+2) { aspect-ratio: 4 / 3; }
.montage-item:nth-child(6n+3) { aspect-ratio: 1 / 1; }
.montage-item:nth-child(6n+4) { aspect-ratio: 1 / 1; }
.montage-item:nth-child(6n+5) { aspect-ratio: 3 / 4; }
.montage-item:nth-child(6n+6) { aspect-ratio: 4 / 3; }

/* ── PROJECT BODY ────────────────────────────────────────── */
.project-body {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}

.project-notes p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #333;
}

/* ── CREDITS ─────────────────────────────────────────────── */
.project-credits { position: sticky; top: 6rem; }
.credits-block   { margin-bottom: 1.4rem; }

.credits-block h3 {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #e0e0da;
}

.credits-block dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.6rem;
  font-size: 0.72rem;
  line-height: 1.6;
}

.credits-block dt  { color: #999; white-space: nowrap; }
.credits-block dd  { color: #111; font-weight: 500; }
.credits-block .single { font-size: 0.75rem; color: #111; line-height: 1.6; }

/* ── PULL QUOTE ──────────────────────────────────────────── */
.pull-quote {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 1.5px solid #111;
}

.pull-quote p { font-size: 0.88rem; font-style: italic; color: #555; line-height: 1.7; }

.pull-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  color: #aaa;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

/* ── PRESS QUOTES ────────────────────────────────────────── */
.quotes-section {
  margin-top: 3.5rem;
  border-top: 1px solid #ddd;
  padding-top: 2rem;
}

.quotes-section h3 {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.quotes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 3rem; }

.quote { border-left: 1.5px solid #111; padding-left: 1rem; }
.quote p { font-size: 0.82rem; font-style: italic; color: #444; line-height: 1.75; }

.quote cite {
  display: block;
  font-style: normal;
  font-size: 0.65rem;
  color: #aaa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-close {
  position: fixed;
  top: 1.5rem; right: 1.75rem;
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.lightbox-close:hover { color: #fff; }

/* ── LIGHTBOX NAV ────────────────────────────────────────── */
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  line-height: 1;
  font-family: inherit;
  transition: color 0.15s, opacity 0.15s;
  z-index: 1001;
  user-select: none;
}

.lightbox-nav:hover { color: #fff; }
.lightbox-nav:disabled { opacity: 0.2; cursor: default; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  font-family: inherit;
  pointer-events: none;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .montage { column-count: 2; }
  .project-body { grid-template-columns: 1fr; gap: 2rem; }
  .project-credits { position: static; }
  .quotes-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 560px) {
  .montage { column-count: 2; }
}
