/* Project detail page styles — v4 dark theme */

.proj-hero {
  width: 100%;
  height: 56vw;
  max-height: 680px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  background: #0d0a18;
  margin-top: 68px;
}
.proj-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,10,24,.2) 0%, rgba(13,10,24,.75) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 5vw, 72px);
}
.proj-hero-tags { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.proj-hero-tag { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); background: rgba(255,255,255,.1); padding: 4px 10px; border-radius: 2px; }
.proj-hero-client { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 10px; }
.proj-hero-title { font-size: clamp(28px, 4.5vw, 64px); font-weight: 200; line-height: 1.06; letter-spacing: -.04em; color: #fff; max-width: 820px; }
.proj-hero-title em { font-style: italic; }

/* Grad line below hero */
.proj-grad-line { height: 2px; background: linear-gradient(to right, #E8328F, #F26B3F); }

/* Body layout */
.proj-body { max-width: var(--max); margin: 0 auto; padding: 72px var(--pad) 96px; display: grid; grid-template-columns: 1fr 300px; gap: 72px; align-items: start; }
.proj-main { display: flex; flex-direction: column; gap: 64px; }

/* Sidebar */
.proj-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; overflow: hidden; }
.proj-meta-row { padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 4px; }
.proj-meta-row:last-child { border-bottom: none; }
.proj-meta-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.proj-meta-value { font-size: 14px; color: rgba(255,255,255,.8); font-weight: 500; line-height: 1.45; }
.proj-sidebar-cta { padding: 22px; border-top: 1px solid rgba(255,255,255,.07); }

/* Content sections */
.proj-section { display: flex; flex-direction: column; gap: 16px; }
.proj-section-label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mag); }
.proj-section-body { font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.75; display: flex; flex-direction: column; gap: 16px; }

/* Outputs */
.proj-outputs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; overflow: hidden; }
.proj-output-item { background: rgba(255,255,255,.03); padding: 16px 18px; font-size: 14px; color: rgba(255,255,255,.7); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.proj-output-dot { width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #E8328F, #F26B3F); flex-shrink: 0; }

/* Video embed */
.proj-video-wrap { position: relative; padding-bottom: 56.25%; border-radius: 8px; overflow: hidden; background: #0d0a18; }
.proj-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* Stills gallery — mixed orientations */
.proj-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-items: start; }
.proj-gallery-item { overflow: hidden; border-radius: 4px; cursor: zoom-in; position: relative; background: rgba(255,255,255,.04); }
.proj-gallery-item.landscape { aspect-ratio: 4/3; }
.proj-gallery-item.portrait  { aspect-ratio: 2/3; }
.proj-gallery-item.first.landscape { grid-column: span 2; aspect-ratio: 16/9; }
.proj-gallery-item.first.portrait  { grid-column: span 1; aspect-ratio: 2/3; }
.proj-gallery-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.proj-gallery-item:hover .proj-gallery-img { transform: scale(1.04); }

/* Lightbox */
.proj-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,8,18,.96); backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: center; padding: 32px; cursor: zoom-out; }
.proj-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 4px; object-fit: contain; box-shadow: 0 24px 80px rgba(0,0,0,.6); }
.proj-lightbox-close { position: fixed; top: 24px; right: 28px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); font-size: 18px; transition: background .2s; }
.proj-lightbox-close:hover { background: rgba(255,255,255,.16); }

/* Next project */
.proj-next { display: flex; text-decoration: none; border-top: 1px solid rgba(255,255,255,.07); padding: 48px var(--pad); max-width: var(--max); margin: 0 auto; justify-content: space-between; align-items: center; gap: 24px; transition: background .2s; }
.proj-next:hover { background: rgba(232,50,143,.04); }
.proj-next-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 8px; }
.proj-next-title { font-size: clamp(18px, 2.2vw, 28px); font-weight: 200; letter-spacing: -.025em; color: #fff; }
.proj-next-arrow { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, #E8328F, #F26B3F); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(232,50,143,.25); transition: transform .2s, box-shadow .2s; }
.proj-next:hover .proj-next-arrow { transform: translateX(4px); box-shadow: 0 12px 32px rgba(232,50,143,.35); }

/* Placeholder */
.proj-ph-block { width: 100%; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.proj-ph-block::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg,transparent,transparent 26px,rgba(255,255,255,.02) 26px,rgba(255,255,255,.02) 27px); }
.proj-ph-label-inner { position: relative; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.25); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); padding: 8px 16px; border-radius: 3px; }

/* Testimonial */
.proj-testimonial { gap: 20px; }
.proj-testimonial-inner {
  position: relative;
  padding: 44px 48px 40px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(232,50,143,.07) 0%, rgba(242,107,63,.04) 60%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(232,50,143,.18);
  overflow: hidden;
}
.proj-testimonial-inner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #E8328F, #F26B3F);
}
.proj-testimonial-mark {
  position: absolute;
  top: 8px;
  left: 22px;
  font-family: 'Geist', serif;
  font-size: 96px;
  line-height: 1;
  font-weight: 300;
  color: rgba(232,50,143,.22);
  pointer-events: none;
}
.proj-testimonial-quote {
  position: relative;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 200;
  line-height: 1.45;
  letter-spacing: -.015em;
  color: #fff;
  max-width: 780px;
}
.proj-testimonial-quote em {
  font-style: italic;
  color: var(--mag);
  font-weight: 300;
}
.proj-testimonial-attr {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.proj-testimonial-ph {
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,.3);
  font-weight: 400;
  font-size: 11px;
  margin-left: 6px;
}

@media (max-width: 560px) {
  .proj-testimonial-inner { padding: 36px 28px 32px; }
  .proj-testimonial-mark { font-size: 72px; left: 14px; }
}

@media (max-width: 880px) {
  .proj-body { grid-template-columns: 1fr; gap: 48px; }
  .proj-sidebar { position: static; }
  .proj-gallery { grid-template-columns: repeat(2, 1fr); }
  .proj-gallery-item.first.landscape { grid-column: span 2; }
  .proj-gallery-item.first.portrait  { grid-column: span 1; }
}
@media (max-width: 560px) {
  .proj-gallery { grid-template-columns: 1fr 1fr; }
  .proj-outputs { grid-template-columns: 1fr; }
}
