/* =============================================================================
   PORTFOLIO DETAILS — Luminae Premium v4.0
   Sasvat Studio | No scrollbar, proper layout, alternating gallery
   ============================================================================= */

/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  --pd-gold:         #BC9B57;
  --pd-gold-light:   #E8D5A3;
  --pd-gold-dim:     rgba(188,155,87,0.15);
  --pd-dark:         #2C2A26;
  --pd-dark-2:       #1a1412;
  --pd-cream:        #FEFCF7;
  --pd-surface:      #F4EFE6;
  --pd-text:         #635E55;
  --pd-white:        #FFFFFF;
  --pd-font-display: 'Cormorant Garamond', Georgia, serif;
  --pd-font-body:    'Jost', 'Inter', sans-serif;
  --pd-ease:         cubic-bezier(0.25, 1, 0.5, 1);
  --header-height:   76px;
}

/* ─────────────────────────────────────────────
   OVERFLOW FIX (enables sticky; prevents horz scroll)
───────────────────────────────────────────── */
html, body, .site-wrapper {
  overflow-x: clip !important; /* clip = no scrollbar, sticky still works */
}

/* ═══════════════════════════════════════════
   1. HERO — CINEMATIC FULL-SCREEN
═══════════════════════════════════════════ */
.pd-hero {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 560px;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--pd-dark-2);
}

.pd-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  animation: pdKenBurns 20s ease-in-out infinite alternate;
  filter: brightness(0.35) saturate(1.05);
}

@keyframes pdKenBurns {
  0%   { transform: scale(1.0) translateX(0);    }
  100% { transform: scale(1.07) translateX(-1%); }
}

/* gradient overlay: transparent top → dark bottom */
.pd-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(10,8,6,0.92) 0%, rgba(10,8,6,0.4) 45%, transparent 100%),
    linear-gradient(to right, rgba(10,8,6,0.4) 0%, transparent 60%);
  z-index: 2;
}

/* subtle grid lines */
.pd-hero-lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.1;
}

.pd-hero-noise {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* hero text content */
.pd-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 clamp(20px, 5vw, 96px) clamp(40px, 7vh, 88px);
  max-width: 860px;
}

.pd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(188,155,87,0.5);
  border-radius: 30px;
  background: rgba(188,155,87,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--pd-gold-light);
  font-family: var(--pd-font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(18px);
  animation: pdReveal 0.9s var(--pd-ease) 0.2s forwards;
}

.pd-hero-title {
  font-family: var(--pd-font-display);
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  animation: pdReveal 1.1s var(--pd-ease) 0.4s forwards;
}

.pd-hero-line {
  width: 0;
  height: 1px;
  background: var(--pd-gold);
  margin-bottom: 18px;
  opacity: 0;
  animation: pdDrawLine 0.9s var(--pd-ease) 0.8s forwards;
}

.pd-hero-sub {
  font-family: var(--pd-font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(12px);
  animation: pdReveal 1s var(--pd-ease) 1s forwards;
}

/* scroll cue */
.pd-scroll-cue {
  position: absolute;
  bottom: 32px;
  right: clamp(20px, 5vw, 72px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: pdFadeIn 1s ease 1.4s forwards;
}

.pd-scroll-cue span {
  font-family: var(--pd-font-body);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
}

.pd-scroll-cue-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--pd-gold), transparent);
  background-size: 100% 200%;
  animation: pdScrollLine 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   2. BREADCRUMB
═══════════════════════════════════════════ */
.pd-breadcrumb {
  background: var(--pd-cream);
  border-bottom: 1px solid rgba(188,155,87,0.12);
  padding: 13px 0;
}

.pd-breadcrumb ol {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-breadcrumb li {
  font-family: var(--pd-font-body);
  font-size: 0.78rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
}

.pd-breadcrumb a {
  color: var(--pd-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.pd-breadcrumb a:hover { color: var(--pd-gold); }
.pd-breadcrumb .bc-sep { color: var(--pd-gold); font-size: 8px; }

/* ═══════════════════════════════════════════
   3. SPECS STRIP (dark bar, wraps on mobile)
═══════════════════════════════════════════ */
.pd-specs-strip {
  background: var(--pd-dark);
  position: relative;
  overflow: hidden;
}

.pd-specs-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(188,155,87,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.pd-specs-inner {
  display: flex;
  flex-wrap: wrap; /* WRAPS — no horizontal scrollbar */
}

.pd-spec-item {
  flex: 1 1 160px;
  min-width: 130px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: background 0.3s ease;
  cursor: default;
}

.pd-spec-item:hover { background: rgba(188,155,87,0.06); }

.pd-spec-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 24px; right: 24px;
  height: 2px;
  background: var(--pd-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--pd-ease);
}

.pd-spec-item:hover::after { transform: scaleX(1); }

.pd-spec-icon {
  font-size: 0.9rem;
  color: var(--pd-gold);
}

.pd-spec-label {
  font-family: var(--pd-font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.pd-spec-value {
  font-family: var(--pd-font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
}

/* ═══════════════════════════════════════════
   4. BODY SECTION — Interior Design Grid Pattern BG
═══════════════════════════════════════════ */
.pd-body {
  background: #F7F3EC;
  padding: 80px 0 60px;
  position: relative;
}

/* Interior design inspired grid pattern background */
.pd-body-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Elegant organic topography / ripple pattern background */
.pd-body-bg::before {
  content: '';
  position: absolute;
  inset: -50%; /* extend so animation doesn't show edges */
  background-image: repeating-radial-gradient(
    circle at center,
    transparent 0,
    transparent 60px,
    rgba(188,155,87,0.05) 60px,
    rgba(188,155,87,0.05) 62px
  );
  animation: pdRippleBreathe 40s infinite alternate ease-in-out;
  pointer-events: none;
}

.pd-body-bg::after {
  content: '';
  position: absolute;
  inset: -50%;
  background-image: repeating-radial-gradient(
    circle at 0% 100%,
    transparent 0,
    transparent 120px,
    rgba(188,155,87,0.03) 120px,
    rgba(188,155,87,0.03) 122px
  );
  animation: pdRippleBreathe 60s infinite alternate-reverse ease-in-out;
  pointer-events: none;
}

@keyframes pdRippleBreathe {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.15) rotate(4deg); }
}

/* Warm gold blob overlaid on grid for depth */
.pd-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  mix-blend-mode: multiply;
  will-change: transform;
}

.pd-blob-1 {
  width: min(65vw, 650px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232,213,163,0.9) 0%, rgba(232,213,163,0) 70%);
  top: -10%;
  left: -15%;
  animation: pdBlob1 22s ease-in-out infinite alternate;
}

.pd-blob-2 {
  width: min(55vw, 550px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(188,155,87,0.6) 0%, rgba(188,155,87,0) 70%);
  bottom: -5%;
  right: -15%;
  animation: pdBlob2 28s ease-in-out infinite alternate;
}

.pd-blob-3 {
  width: min(40vw, 400px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(244,239,230,0.95) 0%, rgba(244,239,230,0) 70%);
  top: 45%;
  left: 38%;
  animation: pdBlob3 18s ease-in-out infinite alternate;
}

@keyframes pdBlob1 {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(80px,60px) scale(1.08); }
  100% { transform: translate(-40px,40px) scale(0.95); }
}
@keyframes pdBlob2 {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-70px,-80px) scale(0.95); }
  100% { transform: translate(40px,30px) scale(1.08); }
}
@keyframes pdBlob3 {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(50px,-40px) scale(1.05); }
  100% { transform: translate(-30px,60px) scale(0.96); }
}

/* Decorative corner rosette */
.pd-body-corner {
  position: absolute;
  width: 280px; height: 280px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}
.pd-body-corner.tl { top: -40px; left: -40px; }
.pd-body-corner.br { bottom: -40px; right: -40px; transform: rotate(180deg); }

/* All content inside pd-body must be above the bg */
.pd-body > .container { position: relative; z-index: 2; }

/* ═══════════════════════════════════════════
   5. PROJECT OVERVIEW — 2-column premium card
═══════════════════════════════════════════ */
.pd-overview {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  background: var(--pd-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 60px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(36px);
  border: 1px solid rgba(188,155,87,0.12);
}

.pd-overview.revealed {
  animation: pdReveal 0.9s var(--pd-ease) forwards;
}

/* Left accent panel */
.pd-overview-sidebar {
  background: var(--pd-dark);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.pd-overview-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(188,155,87,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188,155,87,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.pd-overview-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(188,155,87,0.12);
  border: 1px solid rgba(188,155,87,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--pd-gold);
  font-size: 1.4rem;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.pd-overview-sidebar-label {
  font-family: var(--pd-font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.pd-overview-sidebar-title {
  font-family: var(--pd-font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.pd-overview-sidebar-title em {
  display: block;
  font-style: italic;
  color: var(--pd-gold-light);
}

/* Gold divider line */
.pd-overview-sidebar-divider {
  width: 48px; height: 1px;
  background: var(--pd-gold);
  margin: 24px 0;
  position: relative;
  z-index: 1;
}

.pd-overview-sidebar-sub {
  font-family: var(--pd-font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Right content panel */
.pd-overview-content {
  padding: 44px 52px;
  position: relative;
}

.pd-overview-content::before {
  content: '"';
  position: absolute;
  top: -20px; right: 28px;
  font-family: var(--pd-font-display);
  font-size: 10rem;
  color: rgba(188,155,87,0.05);
  line-height: 1;
  pointer-events: none;
}

.pd-overview-eyebrow {
  font-family: var(--pd-font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pd-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-overview-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--pd-gold-dim);
}

.pd-overview-title {
  font-family: var(--pd-font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 400;
  color: var(--pd-dark);
  margin-bottom: 18px;
  line-height: 1.2;
}

.pd-overview-text {
  font-family: var(--pd-font-body);
  font-size: 0.98rem;
  color: var(--pd-text);
  line-height: 1.85;
  margin: 0 0 28px;
}

/* 3 mini stat chips inside overview */
.pd-overview-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.pd-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--pd-surface);
  border-radius: 50px;
  border: 1px solid rgba(188,155,87,0.2);
  font-family: var(--pd-font-body);
  font-size: 0.75rem;
  color: var(--pd-dark);
  font-weight: 500;
}

.pd-stat-chip i {
  color: var(--pd-gold);
  font-size: 0.8rem;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .pd-overview { grid-template-columns: 1fr; }
  .pd-overview-sidebar { padding: 28px 24px; min-height: 160px; }
  .pd-overview-content { padding: 28px 24px; }
}

/* ═══════════════════════════════════════════
   6. EDITORIAL — Premium grid content layout
═══════════════════════════════════════════ */
.pd-editorial-wrap {
  margin-bottom: 60px;
}

/* Top highlight row */
.pd-editorial-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.pd-editorial-intro-main {
  background: var(--pd-white);
  border-radius: 16px;
  padding: 36px 36px;
  border-top: 3px solid var(--pd-gold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  font-family: var(--pd-font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--pd-text);
  position: relative;
  overflow: hidden;
}

.pd-editorial-intro-main::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at 100% 100%, rgba(188,155,87,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pd-editorial-intro-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 769px) {
  .pd-editorial-intro-side {
    position: sticky;
    top: calc(var(--header-height, 76px) + 24px);
    align-self: start;
    height: fit-content;
  }
}

/* 2 image accent cards on the right */
.pd-accent-card.image-card {
  border-radius: 14px;
  height: 250px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pd-accent-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.pd-accent-card.image-card:hover .pd-accent-card-overlay {
  opacity: 0.8;
}

.pd-accent-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.pd-accent-card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(188,155,87,0.8);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: var(--pd-white);
  font-size: 1rem;
  margin-bottom: 12px;
}

.pd-accent-card-label {
  font-family: var(--pd-font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.pd-accent-card-value {
  font-family: var(--pd-font-display);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 400;
  line-height: 1.3;
}


/* Content sections with alternating grid */
.pd-editorial-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pd-editorial-block {
  background: var(--pd-white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--pd-ease), box-shadow 0.4s ease;
}

.pd-editorial-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* Full-width block */
.pd-editorial-block.full { grid-column: 1 / -1; }

/* Accent line at top */
.pd-editorial-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pd-gold), transparent 80%);
  border-radius: 3px 3px 0 0;
}

/* Corner dot accent */
.pd-editorial-block::after {
  content: '';
  position: absolute;
  top: 12px; right: 16px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pd-gold);
  opacity: 0.4;
}

.pd-editorial-block-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pd-surface) 0%, rgba(188,155,87,0.08) 100%);
  border: 1px solid rgba(188,155,87,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--pd-gold);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.pd-editorial-block-title {
  font-family: var(--pd-font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--pd-dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.pd-editorial-block-text {
  font-family: var(--pd-font-body);
  font-size: 0.93rem;
  color: var(--pd-text);
  line-height: 1.8;
}

/* Keep raw editorial if no grid rendering */
.pd-editorial {
  font-family: var(--pd-font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--pd-text);
  opacity: 0;
  transform: translateY(28px);
  margin-bottom: 40px;
}

.pd-editorial.revealed {
  animation: pdReveal 0.9s var(--pd-ease) 0.1s forwards;
}

.pd-editorial p { margin-bottom: 1.3em; }

.pd-editorial h2, .pd-editorial h3 {
  font-family: var(--pd-font-display);
  color: var(--pd-dark);
  font-weight: 400;
  margin: 2em 0 0.7em;
}

.pd-editorial h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.pd-editorial h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

.pd-editorial h2::after {
  content: '';
  display: block;
  width: 44px; height: 2px;
  background: var(--pd-gold);
  margin-top: 10px;
}

.pd-editorial blockquote {
  font-family: var(--pd-font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--pd-dark);
  border-left: 3px solid var(--pd-gold);
  padding: 22px 26px;
  margin: 36px 0;
  background: var(--pd-white);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .pd-editorial-intro { grid-template-columns: 1fr; }
  .pd-editorial-sections { grid-template-columns: 1fr; }
  .pd-editorial-block.full { grid-column: 1; }
}

/* ═══════════════════════════════════════════
   7. ALTERNATING IMAGE + TEXT ROWS (gallery showcase)
═══════════════════════════════════════════ */
.pd-showcase-section {
  background: var(--pd-cream);
  padding: 0 0 80px;
}

.pd-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: 520px;
  overflow: hidden;
}

/* even rows: image on right, text on left */
.pd-showcase-row.reverse {
  direction: rtl;
}

.pd-showcase-row.reverse > * {
  direction: ltr;
}

/* Image half */
.pd-showcase-img {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.pd-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease;
  display: block;
  transform: scale(1.02);
  filter: saturate(0.9);
}

.pd-showcase-row:hover .pd-showcase-img img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1.05);
}

/* Gold corner accent */
.pd-showcase-img::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 40%;
  background: linear-gradient(to top, rgba(10,8,6,0.5), transparent);
  z-index: 2;
  pointer-events: none;
}

/* Image number badge */
.pd-showcase-num {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 3;
  font-family: var(--pd-font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1;
}

/* Expand icon on hover */
.pd-showcase-img .pd-expand-btn {
  position: absolute;
  bottom: 20px; right: 20px;
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(188,155,87,0.85);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.35s var(--pd-ease);
  text-decoration: none;
}

.pd-showcase-row:hover .pd-expand-btn {
  opacity: 1;
  transform: scale(1);
}

/* Text half */
.pd-showcase-text {
  padding: clamp(32px, 5vw, 72px);
  background: var(--pd-white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pd-showcase-row:nth-child(even) .pd-showcase-text {
  background: var(--pd-surface);
}

.pd-showcase-tag {
  font-family: var(--pd-font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pd-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-showcase-tag::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--pd-gold);
}

.pd-showcase-title {
  font-family: var(--pd-font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--pd-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.pd-showcase-desc {
  font-family: var(--pd-font-body);
  font-size: 0.95rem;
  color: var(--pd-text);
  line-height: 1.8;
  margin-bottom: 28px;
}

.pd-showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pd-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pd-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.pd-showcase-link i {
  font-size: 0.7rem;
  transition: transform 0.3s var(--pd-ease);
}

.pd-showcase-link:hover { color: var(--pd-gold); }
.pd-showcase-link:hover i { transform: translateX(5px); }

/* ═══════════════════════════════════════════
   8. REMAINING IMAGES — MASONRY GRID
═══════════════════════════════════════════ */
.pd-masonry-section {
  background: var(--pd-dark-2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.pd-masonry-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pd-gold), transparent);
}

.pd-masonry-header {
  text-align: center;
  margin-bottom: 52px;
}

.pd-masonry-eyebrow {
  font-family: var(--pd-font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pd-gold);
  display: block;
  margin-bottom: 14px;
}

.pd-masonry-title {
  font-family: var(--pd-font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 300;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

.pd-masonry-title em {
  font-style: italic;
  color: var(--pd-gold-light);
}

.pd-masonry-grid {
  columns: 3;
  column-gap: 16px;
}

.pd-masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
}

.pd-masonry-item.revealed {
  animation: pdReveal 0.7s var(--pd-ease) forwards;
}

.pd-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease;
  filter: saturate(0.85) brightness(0.95);
  transform: scale(1.02);
}

.pd-masonry-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pd-masonry-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1.05);
}

.pd-masonry-item:hover::after { opacity: 1; }

.pd-zoom-btn {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 3;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(188,155,87,0.88);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.8rem;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.35s var(--pd-ease);
  text-decoration: none;
}

.pd-masonry-item:hover .pd-zoom-btn {
  opacity: 1;
  transform: scale(1);
}

.pd-cta {
  background: var(--pd-cream);
  padding: 56px 0;
}

.pd-cta-card {
  background: var(--pd-dark);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  max-width: 1140px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.pd-cta-img {
  flex: 4;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.pd-cta-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pd-cta-card:hover .pd-cta-img img {
  transform: scale(1.05);
}

.pd-cta-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,8,6,0.1) 0%, rgba(10,8,6,0.85) 90%, var(--pd-dark) 100%);
  pointer-events: none;
}

.pd-cta-content {
  flex: 8;
  padding: 32px 40px 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 0;
}

.pd-cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-radial-gradient(
    circle at 100% 50%,
    transparent 0,
    transparent 40px,
    rgba(188,155,87,0.03) 40px,
    rgba(188,155,87,0.03) 42px
  );
  pointer-events: none;
}

.pd-cta-eyebrow {
  font-family: var(--pd-font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pd-gold);
  margin-bottom: 10px;
  position: relative; z-index: 2;
}

.pd-cta-title {
  font-family: var(--pd-font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.15;
  position: relative; z-index: 2;
}

.pd-cta-title em {
  font-style: italic;
  color: var(--pd-gold-light);
}

.pd-cta-sub {
  font-family: var(--pd-font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 95%;
  position: relative; z-index: 2;
}

.pd-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}

.pd-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--pd-gold);
  color: var(--pd-dark);
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--pd-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.4s var(--pd-ease);
}

.pd-btn-gold:hover {
  background: var(--pd-white);
  transform: translateY(-2px);
}

.pd-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--pd-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.4s var(--pd-ease);
}

.pd-btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--pd-gold);
  color: var(--pd-gold);
}

/* ═══════════════════════════════════════════
   10. REVEAL ANIMATIONS
═══════════════════════════════════════════ */
@keyframes pdReveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pdDrawLine {
  to { width: 56px; opacity: 1; }
}

@keyframes pdFadeIn {
  to { opacity: 1; }
}

@keyframes pdScrollLine {
  0%   { background-position: 0 100%; }
  50%  { background-position: 0 0; }
  100% { background-position: 0 -100%; }
}

/* Initial state for reveal targets */
.scroll-reveal-pd {
  opacity: 0;
  transform: translateY(32px);
  transition: none;
}

.scroll-reveal-pd.revealed {
  animation: pdReveal 0.85s var(--pd-ease) forwards;
}

/* ═══════════════════════════════════════════
   11. LIGHTBOX OVERRIDE
═══════════════════════════════════════════ */
.lb-data .lb-caption {
  font-family: var(--pd-font-display);
  font-size: 0.95rem;
  color: #fff;
}
.lb-data .lb-number { color: var(--pd-gold); }

/* ═══════════════════════════════════════════
   12. RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pd-masonry-grid { columns: 2; }
  .pd-spec-item { flex: 1 1 48%; }
}

@media (max-width: 768px) {
  .pd-hero { height: 75vh; max-height: none; }

  .pd-showcase-row,
  .pd-showcase-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: auto;
  }

  .pd-showcase-img { height: 280px; }

  .pd-showcase-text { padding: 32px 24px; height: auto; }

  .pd-masonry-grid { columns: 1; }

  .pd-spec-item { flex: 1 1 100%; border-right: none; }
  .pd-overview { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .pd-hero-content { padding: 0 20px 40px; }
  .pd-hero-title { font-size: 2rem; }
}

/* ═══════════════════════════════════════════
   AUTO-SCROLL GALLERY MARQUEE
═══════════════════════════════════════════ */
.pd-marquee-section {
  background: var(--pd-dark);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.pd-marquee-section::before,
.pd-marquee-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 3;
  pointer-events: none;
}

.pd-marquee-section::before {
  left: 0;
  background: linear-gradient(to right, var(--pd-dark) 0%, transparent 100%);
}

.pd-marquee-section::after {
  right: 0;
  background: linear-gradient(to left, var(--pd-dark) 0%, transparent 100%);
}

.pd-marquee-header {
  text-align: center;
  margin-bottom: 44px;
  position: relative;
  z-index: 4;
}

.pd-marquee-eyebrow {
  font-family: var(--pd-font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pd-gold);
  display: block;
  margin-bottom: 12px;
}

.pd-marquee-title {
  font-family: var(--pd-font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

.pd-marquee-title em {
  font-style: italic;
  color: var(--pd-gold-light);
}

/* Track wrapper — clips overflow */
.pd-marquee-track-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* The actual scrolling row */
.pd-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  animation: pdMarqueeScroll 30s linear infinite;
}

/* Pause on hover */
.pd-marquee-track:hover {
  animation-play-state: paused;
}

/* Reverse row below */
.pd-marquee-track.reverse {
  animation-direction: reverse;
  margin-top: 16px;
}

@keyframes pdMarqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* only move first set — second set is duplicate */
}

/* Each image card */
.pd-marquee-card {
  flex-shrink: 0;
  width: 520px;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.pd-marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) saturate(0.9);
  transition: transform 0.7s var(--pd-ease), filter 0.5s ease;
}

.pd-marquee-card:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}

/* Gold shimmer overlay */
.pd-marquee-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(188,155,87,0) 0%,
    rgba(188,155,87,0.08) 50%,
    rgba(188,155,87,0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pd-marquee-card:hover::after { opacity: 1; }

/* Expand icon in corner */
.pd-marquee-card .pd-mq-expand {
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(188,155,87,0.85);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.75rem;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.35s var(--pd-ease);
  text-decoration: none;
}

.pd-marquee-card:hover .pd-mq-expand {
  opacity: 1;
  transform: scale(1);
}

/* Decorative side accent lines */
.pd-marquee-section .pd-side-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(188,155,87,0.2), transparent);
  z-index: 1;
  pointer-events: none;
}

.pd-marquee-section .pd-side-line:first-of-type { left: 100px; }
.pd-marquee-section .pd-side-line:last-of-type  { right: 100px; }

/* Responsive: slow down on mobile for readability */
@media (max-width: 768px) {
  .pd-marquee-card { width: 320px; height: 220px; }
  .pd-marquee-track { gap: 12px; animation-duration: 22s; }
  .pd-marquee-section::before,
  .pd-marquee-section::after { width: 60px; }
}
