/* =============================================================================
   Projects — pj-* Component Styles
   Matches screenshot: dark maroon bg, text-left/images-right, white intro,
   dark partners, parallax fixed backgrounds
   ============================================================================= */

/* ── Parallax Hero ── */
.pj-parallax-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: #3b0a14;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin-top: var(--header-height);
  overflow: hidden;
}

.pj-parallax-hero__dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30,5,10,.4) 0%, rgba(30,5,10,.72) 100%);
  z-index: 1;
}

.pj-parallax-hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.pj-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}

.pj-parallax-hero__title {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.pj-parallax-hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.65);
  max-width: 480px;
}

/* ── Project block — dark maroon ── */
.pj-block {
  background: #3b0a14;
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.pj-block__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: stretch;
  min-height: 400px;
}

.pj-block__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.pj-block__focus {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
  line-height: 1.6;
}

.pj-block__desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ── Project image slider ── */
.pj-block__slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 400px;
  background: rgba(0,0,0,.2);
}

.pj-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  border-radius: 16px;
}

.pj-slider__track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}

.pj-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
}

.pj-slider__slide img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

/* Arrows */
.pj-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
  backdrop-filter: blur(4px);
}
.pj-slider__arrow:hover { background: rgba(0,0,0,.7); }
.pj-slider__arrow--prev { left: 12px; }
.pj-slider__arrow--next { right: 12px; }

/* Dots */
.pj-slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.pj-slider__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.pj-slider__dot.is-active {
  background: #fff;
  transform: scale(1.4);
}

.pj-block__img-placeholder {
  min-height: 400px;
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,.15);
}

/* ── View Project button ── */
.pj-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.pj-view-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.pj-view-btn--red {
  background: #e94560;
  border-color: #e94560;
  color: #fff;
}
.pj-view-btn--red:hover {
  background: #c73550;
  border-color: #c73550;
  color: #fff;
}

/* ── White intro section ── */
.pj-intro-white {
  background: #fff;
  padding: 72px 24px;
}

.pj-intro-white__inner {
  max-width: 760px;
  margin: 0 auto;
}

.pj-intro-white p {
  font-size: 1.0625rem;
  color: #222;
  line-height: 1.85;
  margin-bottom: 24px;
}

.pj-intro-white p:last-child { margin-bottom: 0; }

/* ── Parallax strip — fixed background divider ── */
.pj-parallax-strip {
  position: relative;
  height: 420px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #1a0a0e;
}

.pj-parallax-strip__dim {
  position: absolute;
  inset: 0;
  background: rgba(20,5,8,.35);
}

/* ── Partners dark section ── */
.pj-partners-dark {
  background: #3b0a14;
  padding: 64px 0 80px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.pj-partners-dark__title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  letter-spacing: .02em;
}

.pj-partners-dark__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Partner tile — white card with logo, matching screenshot */
.pj-partner-tile {
  background: #fff;
  border-radius: 10px;
  width: 140px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}

.pj-partner-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.pj-partner-tile img {
  max-width: 110px;
  max-height: 72px;
  object-fit: contain;
  display: block;
}

.pj-partner-tile__initial {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #3b0a14;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pj-partner-tile__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a1a2e;
  text-align: center;
  margin: 6px 0 0;
  line-height: 1.3;
}
.pj-partner-tile__name a { color: #1a1a2e; text-decoration: none; }
.pj-partner-tile__name a:hover { color: #e94560; }

/* ── Bottom parallax CTA ── */
.pj-cta-parallax {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: #3b0a14;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center;
}

.pj-cta-parallax__dim {
  position: absolute;
  inset: 0;
  background: rgba(20,5,8,.60);
  z-index: 1;
}

.pj-cta-parallax__content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.pj-cta-parallax__content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.pj-cta-parallax__content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 36px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .pj-block__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pj-block__images {
    order: -1;
  }
  .pj-parallax-strip { height: 200px; }
}

@media (max-width: 640px) {
  .pj-parallax-hero { min-height: 50vh; background-attachment: scroll; }
  .pj-parallax-hero__title { font-size: 3rem; }
  .pj-block { padding: 56px 0; }
  .pj-block__images { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pj-block__img-wrap { aspect-ratio: 1; }
  .pj-parallax-strip { background-attachment: scroll; height: 240px; }
  .pj-cta-parallax { background-attachment: scroll; min-height: 320px; }
  .pj-partners-dark__grid { gap: 12px; }
  .pj-partner-tile { width: 110px; height: 80px; }
}

/* =============================================================================
   Project Show Page — psd-* styles
   ============================================================================= */

/* ── Hero ── */
.psd-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  background: #3b0a14;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: var(--header-height);
  overflow: hidden;
}
.psd-hero__dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,3,8,.96) 0%, rgba(20,3,8,.5) 55%, rgba(20,3,8,.15) 100%);
  z-index: 1;
}
.psd-hero__inner {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
  padding-top: 40px;
}
.psd-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.psd-crumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.psd-crumb a:hover { color: #fff; }
.psd-hero__focus {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.psd-hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  max-width: 700px;
}
.psd-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.psd-hero__gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
  backdrop-filter: blur(4px);
}
.psd-hero__gallery-btn:hover { background: rgba(255,255,255,.2); }

/* ── Body layout ── */
.psd-body {
  background: #f4f5f7;
  padding: 64px 0 80px;
}
.psd-body__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

/* ── Prose ── */
.psd-prose {
  background: #fff;
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  margin-bottom: 24px;
}
.psd-prose__lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: #1a1a2e;
  line-height: 1.75;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
}
.psd-prose p { font-size: 1rem; color: #444; line-height: 1.85; margin-bottom: 18px; }
.psd-prose p:last-child { margin-bottom: 0; }

/* ── Gallery grid ── */
.psd-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.psd-gallery__item {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.psd-gallery__item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.psd-gallery__item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.psd-gallery__zoom {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  opacity: 0;
  transition: opacity .2s ease;
}
.psd-gallery__item:hover .psd-gallery__zoom { opacity: 1; }
.psd-gallery__item figcaption {
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: #666;
  background: #fff;
}

/* ── Scroll reveal ── */
.will-reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.is-revealed { opacity: 1; transform: none; }

/* ── Sidebar ── */
.psd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.psd-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.04);
}
.psd-card h3 { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.psd-card p  { font-size: 0.875rem; color: #666; line-height: 1.6; margin-bottom: 18px; }
.psd-card--dark { background: #1a1a2e; border-color: transparent; }
.psd-card--dark h3 { color: #fff; }
.psd-card--dark p  { color: rgba(255,255,255,.6); }
.psd-card--ink { background: #3b0a14; border-color: transparent; }
.psd-card--ink h3 { color: #fff; margin-bottom: 8px; }
.psd-card--ink p  { color: rgba(255,255,255,.55); margin-bottom: 18px; }
.psd-card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(233,69,96,.15); display: flex; align-items: center;
  justify-content: center; font-size: 1.25rem; color: #e94560; margin-bottom: 16px;
}
.psd-card__focus {
  font-size: 0.8125rem; font-weight: 600;
  color: rgba(255,255,255,.5); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 20px;
}

/* ── Buttons ── */
.psd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 7px; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: opacity .15s ease, transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.psd-btn:hover { opacity: .88; transform: translateY(-1px); }
.psd-btn--red     { background: #e94560; color: #fff; }
.psd-btn--outline { background: transparent; color: #1a1a2e; border-color: #d0d0d8; }
.psd-btn--outline:hover { background: #1a1a2e; color: #fff; border-color: #1a1a2e; opacity: 1; }
.psd-btn--ghost   { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.psd-btn--ghost:hover { background: rgba(255,255,255,.18); opacity: 1; }
.psd-btn--full    { width: 100%; }
.psd-btn--lg      { padding: 14px 32px; font-size: 1rem; }

/* ── Partners intro — white ── */
.psd-intro { background: #fff; padding: 72px 24px; }
.psd-intro__inner { max-width: 760px; margin: 0 auto; }
.psd-intro p { font-size: 1.0625rem; color: #222; line-height: 1.85; margin-bottom: 24px; }
.psd-intro p:last-child { margin-bottom: 0; }

/* ── Parallax strip ── */
.psd-parallax-strip {
  position: relative;
  height: 420px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a0a0e;
}
.psd-parallax-strip__dim { position: absolute; inset: 0; background: rgba(20,5,8,.35); }

/* ── Partners dark ── */
.psd-partners {
  background: #3b0a14;
  padding: 64px 0 80px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.psd-partners__label {
  font-size: 1rem; font-weight: 600;
  color: rgba(255,255,255,.75); margin-bottom: 32px;
}
.psd-partners__grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.psd-partner-tile {
  background: #fff; border-radius: 10px;
  width: 140px; height: 100px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: transform .2s ease, box-shadow .2s ease; overflow: hidden;
}
.psd-partner-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.psd-partner-tile img { max-width: 110px; max-height: 72px; object-fit: contain; display: block; }
.psd-partner-tile__initial {
  width: 52px; height: 52px; border-radius: 50%;
  background: #3b0a14; color: #fff; font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.psd-partner-tile__name { font-size: 0.75rem; font-weight: 600; color: #1a1a2e; text-align: center; margin: 6px 0 0; }
.psd-partner-tile__name a { color: #1a1a2e; text-decoration: none; }
.psd-partner-tile__name a:hover { color: #e94560; }

/* ── Bottom CTA ── */
.psd-cta {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: #3b0a14;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}
.psd-cta__dim { position: absolute; inset: 0; background: rgba(20,5,8,.65); z-index: 1; }
.psd-cta__inner { position: relative; z-index: 2; padding: 80px 0; }
.psd-cta__inner h2 { font-size: clamp(1.75rem,3.5vw,2.75rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.psd-cta__inner p  { font-size: 1rem; color: rgba(255,255,255,.65); margin-bottom: 32px; }
.psd-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ── Lightbox ── */
.psd-lb {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.psd-lb.is-open { opacity: 1; visibility: visible; }
.psd-lb__backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.93);
  z-index: 1999; opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.psd-lb__backdrop.is-open { opacity: 1; visibility: visible; }
.psd-lb__stage {
  position: relative; z-index: 2001;
  max-width: 90vw; text-align: center;
}
.psd-lb__stage img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain; border-radius: 8px; display: block; margin: 0 auto;
}
.psd-lb__cap { color: rgba(255,255,255,.6); font-size: 0.875rem; margin-top: 12px; }
.psd-lb__counter { color: rgba(255,255,255,.4); font-size: 0.8125rem; margin-top: 6px; }
.psd-lb__close {
  position: fixed; top: 20px; right: 24px; z-index: 2002;
  background: rgba(255,255,255,.1); border: none; color: #fff;
  font-size: 2rem; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.psd-lb__close:hover { background: rgba(255,255,255,.2); }
.psd-lb__arrow {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 2002;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.25rem; width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: background .15s ease;
}
.psd-lb__arrow:hover { background: rgba(255,255,255,.2); }
.psd-lb__arrow--prev { left: 20px; }
.psd-lb__arrow--next { right: 20px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .psd-body__grid { grid-template-columns: 1fr; }
  .psd-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .psd-card--ink { grid-column: 1 / -1; }
  .psd-cta { background-attachment: scroll; }
  .psd-parallax-strip { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .psd-hero { min-height: 55vh; background-attachment: scroll; }
  .psd-hero__title { font-size: 2.25rem; }
  .psd-prose { padding: 24px 20px; }
  .psd-gallery { grid-template-columns: 1fr 1fr; }
  .psd-sidebar { grid-template-columns: 1fr; }
  .psd-parallax-strip { height: 240px; }
}

/* ── Video section ── */
.psd-video {
  background: #1a0a0e;
  padding: 80px 0;
}
.psd-video__inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 64px;
  align-items: center;
}
.psd-video__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #e94560;
  margin-bottom: 12px;
}
.psd-video__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.psd-video__focus {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}
.psd-video__embed-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.psd-video__embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}
.psd-video__embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
@media (max-width: 900px) {
  .psd-video__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .psd-video__text { order: 2; }
  .psd-video__embed-wrap { order: 1; }
}
