/* ══════════════════════════════════════════════════
   WMR — Single Project Page styles
   Used by: pages/project-*.html
   ══════════════════════════════════════════════════ */

/* ── BREADCRUMB STRIP ── */
.proj-breadcrumb {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  padding: 12px var(--page-pad);
  background: rgba(14,14,14,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.proj-breadcrumb-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.proj-breadcrumb-link:hover { color: var(--white); }
.proj-breadcrumb-sep {
  font-size: 10px;
  color: rgba(245,245,245,0.2);
}
.proj-breadcrumb-current {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}

/* ── PROJECT HERO ── */
.proj-hero {
  position: relative;
  height: 82vh;
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
  background: var(--bg-deep);
}
.proj-hero-bg {
  position: absolute;
  inset: 0;
}
.proj-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.proj-hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.3) 45%, rgba(10,10,10,0.1) 100%);
  pointer-events: none;
}
.proj-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--page-pad) 72px;
}
.proj-hero-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.proj-hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 20px;
}
.proj-hero-client {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(245,245,245,0.55);
}

/* ── PROJECT INFO SECTION ── */
.proj-info-section {
  padding: 80px var(--page-pad) 72px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.proj-info-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
.proj-description .section-label {
  margin-bottom: 24px;
}
.proj-desc-text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245,245,245,0.72);
  max-width: 580px;
}

/* Meta sidebar */
.proj-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.proj-meta-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.proj-meta-item:last-child { border-bottom: none; }
.proj-meta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.proj-meta-value {
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
  text-align: right;
}

/* ── GALLERY SECTION ── */
.proj-gallery-section {
  padding: 80px var(--page-pad) 80px;
  background: var(--bg-deep);
}
.proj-gallery-section .section-label {
  margin-bottom: 40px;
}
.proj-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

/* Gallery items */
.proj-gal-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.proj-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.proj-gal-item:hover img {
  transform: scale(1.03);
}

/* Full-width item (hero) */
.proj-gal-item.pgi-full {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}
/* Half-width item (album) */
.proj-gal-item.pgi-half {
  aspect-ratio: 4/3;
}
/* Third-width (3-column row) */
.proj-gal-item.pgi-third {
  aspect-ratio: 4/3;
}

/* 3-column row */
.proj-gallery-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

/* ── PROJECT NAVIGATION ── */
.proj-nav-section {
  padding: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.proj-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.proj-nav-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/7;
  display: block;
}
.proj-nav-card + .proj-nav-card {
  border-left: 2px solid var(--bg-deep);
}
.proj-nav-card-bg {
  position: absolute;
  inset: 0;
}
.proj-nav-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  filter: brightness(0.5);
}
.proj-nav-card:hover .proj-nav-card-bg img {
  transform: scale(1.05);
  filter: brightness(0.65);
}
.proj-nav-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}
.proj-nav-next .proj-nav-card-overlay {
  align-items: flex-end;
  text-align: right;
}
.proj-nav-dir {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.proj-nav-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 52px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--white);
  transition: color 0.3s;
}
.proj-nav-card:hover .proj-nav-title {
  color: var(--accent-light);
}
.proj-nav-sub {
  font-size: 12px;
  font-weight: 300;
  color: rgba(245,245,245,0.45);
  margin-top: 8px;
}

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  padding: 120px var(--page-pad);
  background: var(--accent);
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 20% 0%, rgba(255,255,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(0,0,0,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-section .section-label {
  color: rgba(255,255,255,0.7);
}
.cta-section .section-label::before {
  background: rgba(255,255,255,0.5);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 20px 0 28px;
  color: var(--white);
}
.cta-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 48px;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cta-section .btn-primary.btn-xl {
  background: var(--white);
  color: var(--accent);
  font-weight: 600;
}
.cta-section .btn-primary.btn-xl:hover {
  background: #fff;
  box-shadow: 0 0 40px rgba(255,255,255,0.3);
}

/* ── FOOTER (shared pattern — duplicated here since project.css replaces page CSS) ── */
.footer {
  background: var(--bg-deep);
  padding: 80px var(--page-pad) 40px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}
.footer-brand .nav-logo { display: inline-flex; margin-bottom: 20px; }
.footer-brand .nav-logo img { height: 40px; }
.footer-brand p { font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--muted); max-width: 280px; }
.footer-actions { display: flex; gap: 24px; margin-top: 20px; }
.footer-action-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; color: var(--muted); transition: color var(--transition); }
.footer-action-link:hover { color: var(--accent); }
.footer-action-link svg { opacity: 0.5; transition: opacity var(--transition); }
.footer-action-link:hover svg { opacity: 1; }
.footer-col { border-left: 1px solid var(--border); padding-left: 40px; }
.footer-legal { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 300; color: rgba(245,245,245,0.3); padding: 20px 0 0; margin-bottom: 24px; flex-wrap: wrap; }
.footer-legal-sep { opacity: 0.3; }
.footer-col h4 { font-family: var(--font-display); font-size: 18px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; font-weight: 300; color: var(--muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 12px; color: var(--muted); }
.footer-frd { font-size: 12px; color: var(--muted); }
.footer-frd a { color: var(--accent); }
.footer-frd a:hover { text-decoration: underline; }
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
}
.footer-legal-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--white); }
.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 11px;
  color: var(--muted);
  font-family: inherit;
  transition: color 0.2s;
}
.footer-cookie-btn:hover { color: var(--white); }

/* ── RESPONSIVE: TABLET ── */
@media (max-width: 1024px) {
  .proj-info-grid {
    grid-template-columns: 1fr 300px;
    gap: 48px;
  }
}

/* ── RESPONSIVE: MOBILE ── */
@media (max-width: 768px) {
  .proj-breadcrumb {
    padding: 10px var(--page-pad-mobile);
  }

  .proj-hero {
    height: 70vh;
    min-height: 400px;
  }
  .proj-hero-content {
    padding: 0 var(--page-pad-mobile) 56px;
  }
  .proj-hero-title {
    font-size: 56px;
  }

  .proj-info-section {
    padding: 56px var(--page-pad-mobile) 56px;
  }
  .proj-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .proj-desc-text { font-size: 15px; }

  .proj-gallery-section {
    padding: 56px var(--page-pad-mobile) 56px;
  }
  .proj-gallery-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .proj-gal-item.pgi-full { aspect-ratio: 4/3; }
  .proj-gal-item.pgi-half { aspect-ratio: 4/3; }
  .proj-gallery-grid.three-col { grid-template-columns: 1fr; }

  .proj-nav-grid {
    grid-template-columns: 1fr;
  }
  .proj-nav-card + .proj-nav-card {
    border-left: none;
    border-top: 2px solid var(--bg-deep);
  }
  .proj-nav-card { aspect-ratio: 4/2; }
  .proj-nav-card-overlay { padding: 28px var(--page-pad-mobile); }
  .proj-nav-next .proj-nav-card-overlay { align-items: flex-start; text-align: left; }

  .cta-section { padding: 80px var(--page-pad-mobile); }
  .cta-actions { flex-direction: column; width: 100%; gap: 16px; }

  .footer { padding: 60px var(--page-pad-mobile) 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
  .footer-col { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .footer-actions { flex-direction: column; gap: 12px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-legal-sep { display: none; }
}

/* ── DESKTOP WIDE ── */
@media (min-width: 1440px) {
  .proj-breadcrumb { padding: 12px 8vw; }
  .proj-hero-content { padding: 0 8vw 72px; }
  .proj-info-section { padding: 80px 8vw 72px; }
  .proj-gallery-section { padding: 80px 8vw 80px; }
  .proj-nav-card-overlay { padding: 48px 8vw; }
  .cta-section { padding: 160px 8vw; }
  .footer { padding: 80px 8vw 40px; }
}
@media (min-width: 1920px) {
  .proj-breadcrumb { padding: 12px 12vw; }
  .proj-hero-content { padding: 0 12vw 72px; }
  .proj-info-section { padding: 80px 12vw 72px; }
  .proj-gallery-section { padding: 80px 12vw 80px; }
  .proj-nav-card-overlay { padding: 48px 12vw; }
  .cta-section { padding: 160px 12vw; }
  .footer { padding: 80px 12vw 40px; }
}
