/**
 * DIWEDDING by Diana — Portfolio & Weddings Archive
 * Inspired by Luxus Events High-Fashion Editorial Aesthetics
 */

:root {
  --portfolio-bg: #FFFFFF;
  --portfolio-card-bg: #FFFFFF;
  --portfolio-text: #141414;
  --portfolio-muted: #666666;
  --portfolio-subtle: #8E8E8E;
  --portfolio-border: rgba(0, 0, 0, 0.08);
  --portfolio-border-light: rgba(0, 0, 0, 0.05);
  --portfolio-gold: #141414;
  --portfolio-gold-light: #E5E2DC;
  --portfolio-gold-dark: #141414;
  --portfolio-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --portfolio-ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
}

html.weddings-archive-html,
body.weddings-archive-page {
  background-color: #FFFFFF;
  color: var(--portfolio-text);
  overflow-x: clip;
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. FULL-BLEED CINEMATIC HERO (LUXUS STYLE)
   ========================================================================== */
.portfolio-hero {
  position: relative;
  min-height: 94vh;
  height: 100vh;
  max-height: 1080px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #0E0C0A;
  padding-bottom: clamp(12rem, 21.5vh, 18.5rem);
}

.portfolio-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.portfolio-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: none;
}

.portfolio-hero-overlay {
  display: none !important;
  background: none !important;
}

.portfolio-hero-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0;
}

.portfolio-hero-tag {
  display: none !important;
}

.portfolio-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.1rem, 6.1vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  margin: 0;
  text-transform: uppercase;
  text-shadow: none;
}

.portfolio-hero-statement {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.98rem, 1.25vw, 1.22rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin: 0 auto;
  text-shadow: none;
}

.portfolio-scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.portfolio-scroll-hint:hover {
  opacity: 1;
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ==========================================================================
   2. HIGHLIGHTS & EDITORIAL SLIDER (LUXUS STYLE)
   ========================================================================== */
.portfolio-highlights {
  padding: clamp(5.5rem, 9vw, 9rem) 0 clamp(4.5rem, 7vw, 7rem) 0;
  background-color: var(--portfolio-bg);
  position: relative;
  overflow: hidden;
}

.portfolio-highlights-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 4vw, 4rem) auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.portfolio-monogram {
  margin: 0 auto 1.4rem auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: transform 0.6s var(--portfolio-ease);
}

.portfolio-monogram:hover {
  transform: rotate(5deg) scale(1.05);
}

.portfolio-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--portfolio-gold-dark);
  margin-bottom: 0.8rem;
}

.portfolio-section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--portfolio-text);
  margin: 0 0 1.8rem 0;
  line-height: 1.1;
}

/* Highlights Nav Buttons */
.highlights-nav-controls {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}

.highlights-nav-btn {
  background: transparent;
  border: none;
  color: var(--portfolio-text);
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  position: relative;
  transition: color 0.3s ease;
}

.highlights-nav-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.6rem;
  right: 0.6rem;
  height: 0.75px;
  background-color: rgba(20, 20, 20, 0.65);
  transform: scaleX(0);
  transition: transform 0.3s var(--portfolio-ease);
}

.highlights-nav-btn:hover {
  color: var(--portfolio-gold-dark);
}

.highlights-nav-btn:hover::after {
  transform: scaleX(1);
}

.highlights-nav-divider {
  color: var(--portfolio-subtle);
  font-weight: 300;
  opacity: 0.35;
}

/* Horizontal Track Wrapper with Left & Right White Vignette Fade */
.highlights-track-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem) auto;
  position: relative;
  overflow: hidden;
  --hl-slide-w: clamp(280px, 24vw, 360px);
}

.highlights-track-wrapper::before,
.highlights-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(60px, 12vw, 220px);
  z-index: 10;
  pointer-events: none;
}

.highlights-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0.88) 45%, rgba(255, 255, 255, 0) 100%);
}

.highlights-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #FFFFFF 0%, rgba(255, 255, 255, 0.88) 45%, rgba(255, 255, 255, 0) 100%);
}

.highlights-track {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.8rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: calc(50% - (var(--hl-slide-w) / 2));
  padding-right: calc(50% - (var(--hl-slide-w) / 2));
  scroll-padding-left: calc(50% - (var(--hl-slide-w) / 2));
  scroll-padding-right: calc(50% - (var(--hl-slide-w) / 2));
  align-items: center;
}

.highlights-track::-webkit-scrollbar {
  display: none;
}

.highlights-slide {
  flex: 0 0 var(--hl-slide-w);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  opacity: 0.42;
  transform: scale(0.92);
  transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.3, 1),
              opacity 0.5s ease,
              box-shadow 0.65s cubic-bezier(0.2, 0.9, 0.3, 1);
  user-select: none;
  position: relative;
}

.highlights-slide:hover:not(.is-active) {
  opacity: 0.72;
  transform: scale(0.95);
}

.highlights-slide.is-active {
  opacity: 1;
  transform: scale(1.05);
  z-index: 5;
}

.highlights-slide-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #F8F8F8;
  position: relative;
  border-radius: 2px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.65s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.highlights-slide.is-active .highlights-slide-media {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.highlights-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--portfolio-ease);
}

.highlights-slide:hover .highlights-slide-media img {
  transform: none;
}

.highlights-slide-caption {
  display: none !important;
}

.highlights-slide.is-active .highlights-slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.highlights-slide-caption span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.22rem;
  color: var(--portfolio-text, #141414);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.highlights-slide-caption small {
  font-family: 'Manrope', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--portfolio-subtle, #737373);
}

/* Manifesto Paragraph */
.portfolio-manifesto-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.portfolio-manifesto {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 1.75vw, 1.55rem);
  line-height: 1.72;
  color: #38342E;
  margin: 0;
  position: relative;
}

.portfolio-manifesto::before {
  content: '“';
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--portfolio-gold);
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

/* ==========================================================================
   3. MAIN GALLERY: WEDDINGS & DESTINATIONS
   ========================================================================== */
.portfolio-gallery-section {
  padding: clamp(4.5rem, 7vw, 7.5rem) 0 clamp(6rem, 9vw, 9.5rem) 0;
  background-color: #FFFFFF;
  border-top: none;
  border-bottom: none;
}

.portfolio-gallery-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(3.5rem, 5.5vw, 5rem) auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.portfolio-gallery-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--portfolio-text);
  line-height: 1.08;
  margin: 0.4rem 0 0 0;
}

/* ==========================================================================
   MAIN EDITORIAL GRID (LUXUS STYLE 3-COLUMN SPREAD)
   ========================================================================== */
.portfolio-grid-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}

.portfolio-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.8rem, 4.5vw, 4.8rem) clamp(2rem, 3.5vw, 3.8rem);
}

/* Individual Editorial Item (Luxus Events Clean Style) */
.editorial-project-card {
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.4s var(--portfolio-ease);
}

/* Image Container */
.editorial-project-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background-color: #F8F8F8;
  border-radius: 1px;
}

.editorial-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.2s var(--portfolio-ease);
}

.editorial-project-card:hover .editorial-project-img {
  transform: none;
}

/* Card Information Below Image */
.editorial-project-info {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
}

.editorial-project-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.45rem, 1.8vw, 1.9rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: var(--portfolio-text);
  margin: 0 0 0.4rem 0;
  transition: color 0.3s ease;
}

.editorial-project-card:hover .editorial-project-title {
  color: var(--portfolio-gold-dark);
}

.editorial-project-venue {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--portfolio-muted);
  line-height: 1.45;
  margin: 0;
}

/* Strictly hide badges, filter bar, kickers, and action rows */
.editorial-corner-tag,
.editorial-flagship-tag,
.editorial-media-overlay,
.editorial-hover-badge,
.editorial-project-kicker,
.editorial-project-actions,
.portfolio-filter-bar {
  display: none !important;
}

/* ==========================================================================
   4. DESTINATION EDITORIAL SPOTLIGHT (MAGAZINE SPREAD)
   ========================================================================== */
.portfolio-spotlight-section {
  padding: clamp(6rem, 9vw, 9.5rem) 0;
  background-color: #FFFFFF;
  border-bottom: none;
}

.portfolio-spotlight-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}

.portfolio-spotlight-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
}

.portfolio-spotlight-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #F8F8F8;
}

.portfolio-spotlight-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--portfolio-ease);
}

.portfolio-spotlight-visual:hover img {
  transform: none;
}

.spotlight-visual-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(20, 20, 20, 0.82);
  backdrop-filter: blur(8px);
  color: #FAF8F5;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
}

.portfolio-spotlight-info {
  display: flex;
  flex-direction: column;
}

.spotlight-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--portfolio-text);
  margin: 0 0 1.5rem 0;
}

.spotlight-desc {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.68;
  color: var(--portfolio-muted);
  margin: 0 0 2.5rem 0;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.8rem;
}

.spotlight-feat-item {
  display: block;
}

.feat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  color: var(--portfolio-gold-dark);
  line-height: 1.1;
  padding-top: 0.1rem;
}

.feat-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--portfolio-text);
  margin: 0 0 0.3rem 0;
}

.feat-sub {
  font-size: 0.85rem;
  color: #635E58;
  line-height: 1.55;
  margin: 0;
}

.spotlight-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.05rem 2.4rem;
  border-radius: 9999px;
  background-color: #141414;
  color: #FAF8F5;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s var(--portfolio-ease);
}

.spotlight-btn:hover {
  background-color: var(--portfolio-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 16, 14, 0.18);
}

/* ==========================================================================
   5. PRESS & PRESTIGE MARQUEE
   ========================================================================== */
.portfolio-press-section {
  padding: clamp(4rem, 6vw, 5.5rem) 0;
  background-color: #F3EFE8;
  border-bottom: 1px solid var(--portfolio-border);
  text-align: center;
}

.portfolio-press-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}

.press-marquee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.8rem, 3.5vw, 3.8rem);
  flex-wrap: wrap;
  margin-top: 2rem;
}

.press-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.press-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.press-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  letter-spacing: 0.08em;
  color: var(--portfolio-text);
  line-height: 1;
}

.press-sub {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--portfolio-muted);
}

.press-divider {
  color: var(--portfolio-gold);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ==========================================================================
   6. KIND WORDS / TESTIMONIALS (LUXUS STYLE)
   ========================================================================== */
.portfolio-testimonials-section {
  padding: clamp(5.5rem, 8vw, 8rem) 0;
  background-color: #FFFFFF;
  text-align: center;
}

.portfolio-testimonials-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.testimonial-crest {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--portfolio-gold);
  margin-bottom: 0.8rem;
  opacity: 0.7;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.65;
  color: #262320;
  margin: 0 0 2.2rem 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.author-names {
  font-weight: 500;
  color: var(--portfolio-text);
}

.author-venue {
  color: var(--portfolio-subtle);
  font-size: 0.68rem;
}

/* ==========================================================================
   7. GRAND CLOSING EDITORIAL CTA (LUXUS FIXED PARALLAX WINDOW)
   ========================================================================== */
.portfolio-closing-cta {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  min-height: 88vh;
  height: 92vh;
  max-height: 980px;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 4vw, 3.5rem);
  background-color: #EAE5DD;
  background-image: none !important;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
}

.portfolio-closing-media {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100lvh !important;
  z-index: 1;
  pointer-events: none;
  background-image: url('../assets/images/portfolio/closing-white-drapery-monogram.webp?v=cy_v1');
  background-position: center center;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  transform: none !important;
  will-change: auto !important;
}

.portfolio-closing-overlay,
.portfolio-closing-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(28, 25, 22, 0.36) 0%,
      rgba(28, 25, 22, 0.42) 50%,
      rgba(28, 25, 22, 0.38) 100%);
  pointer-events: none;
  z-index: 2;
}

.portfolio-closing-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  position: relative;
  z-index: 3;
}

.portfolio-closing-tag,
.portfolio-closing-lead {
  display: none !important;
}

.portfolio-closing-title {
  font-family: 'Cormorant Garamond', 'Forum', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: none;
  margin: 0 auto 3.6rem auto;
  max-width: 900px;
}

.portfolio-closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-closing-primary,
.btn-closing-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 2.35rem;
  border-radius: 0;
  border: none;
  background-color: #F5F2EC;
  color: #1C1A17;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.35s var(--portfolio-ease), transform 0.35s var(--portfolio-ease), box-shadow 0.35s var(--portfolio-ease);
}

.btn-closing-primary:hover,
.btn-closing-secondary:hover {
  background-color: #FFFFFF;
  color: #0E0C0A;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

/* ==========================================================================
   8. FULLSCREEN LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(14, 12, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -2.8rem;
  right: 0;
  background: transparent;
  border: none;
  color: #FAF8F5;
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-frame {
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.lightbox-img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.lightbox-meta {
  text-align: center;
  color: #FAF8F5;
  max-width: 700px;
}

.lightbox-category {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--portfolio-gold);
  display: block;
  margin-bottom: 0.4rem;
}

.lightbox-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.65rem;
  margin: 0 0 0.35rem 0;
}

.lightbox-location {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #BBB4AB;
  margin: 0 0 0.5rem 0;
}

.lightbox-desc {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #D6D0C7;
  margin: 0;
}

.lightbox-nav {
  display: flex;
  gap: 2rem;
  margin-top: 1.4rem;
}

.lightbox-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FAF8F5;
  padding: 0.5rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-btn:hover {
  border-color: #FAF8F5;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .portfolio-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem 2.5rem;
  }

  .portfolio-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Minimalist Luxury Header */
.site-header .nav-links,
.site-header .nav-links-left,
.site-header .nav-links-right,
.site-header .btn-header-cta,
.site-header .logo-sub {
  display: none !important;
}

.portfolio-header-container {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  max-width: 1560px;
  margin: 0 auto;
  padding: 1.25rem var(--spacing-container, 2rem);
}

.portfolio-header-container .nav-left,
.portfolio-header-container .header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  grid-column: 1;
}

.portfolio-back-link {
  display: inline-flex;
  align-items: center;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 300 !important;
  line-height: 1;
  color: #FFFFFF;
  text-shadow: none;
  text-decoration: none;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0.35rem 0;
  margin: 0;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    letter-spacing 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.35s ease,
    text-shadow 0.35s ease;
}

.portfolio-back-link:hover {
  color: #FFFFFF;
  opacity: 1;
}

.portfolio-back-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 1px;
  background-color: #FFFFFF;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.35s ease;
}

.portfolio-back-link:hover::after {
  transform: scaleX(1);
}

.site-header.is-scrolled .portfolio-back-link {
  color: var(--text-primary, #141414);
  text-shadow: none;
}

.site-header.is-scrolled .portfolio-back-link:hover {
  color: #000000;
}

.site-header.is-scrolled .portfolio-back-link::after {
  background-color: var(--text-primary, #141414);
}

.header-spacer-left {
  width: 100%;
}

.portfolio-header-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
}

.portfolio-header-container .brand-logo {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  grid-column: 2;
  position: static !important;
  transform: none !important;
}

.portfolio-header-container .brand-logo .logo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: 0.18em;
  color: #FFFFFF;
  text-shadow: none;
  line-height: 1;
  transition: color 0.4s var(--portfolio-ease);
}

.site-header.is-scrolled .portfolio-header-container .brand-logo .logo-title {
  color: var(--portfolio-text, #141414);
  text-shadow: none;
}

.portfolio-header-container .nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  grid-column: 3;
}

.portfolio-header-container .nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  grid-column: 1;
}

.portfolio-header-container .lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  font-weight: 300 !important;
  text-transform: uppercase;
  line-height: 1;
}

.portfolio-header-container .lang-btn {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  font-weight: 300 !important;
  line-height: 1;
  padding: 0.35rem 0.25rem;
}

.portfolio-header-container .lang-btn.is-active {
  font-weight: 300 !important;
}

.portfolio-header-container .lang-divider {
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1;
}

@media (max-width: 768px) {
  .portfolio-header-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center !important;
    padding: 0.65rem 1.15rem !important;
    min-height: 52px !important;
  }

  .portfolio-header-container .nav-left {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    grid-column: 1;
  }

  .portfolio-back-link {
    font-size: 0.72rem !important;
    letter-spacing: 0.14em !important;
    font-weight: 300 !important;
    white-space: nowrap;
    line-height: 1 !important;
    padding: 0.25rem 0 !important;
  }

  .portfolio-header-container .brand-logo {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    grid-column: 2;
  }

  .portfolio-header-container .brand-logo .logo-title {
    font-size: 1.2rem !important;
    letter-spacing: 0.18em !important;
    line-height: 1 !important;
  }

  .portfolio-header-container .nav-right {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    grid-column: 3;
  }

  .portfolio-header-container .lang-switcher {
    display: inline-flex !important;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem !important;
    letter-spacing: 0.14em !important;
    line-height: 1 !important;
  }

  .portfolio-header-container .lang-btn {
    font-size: 0.72rem !important;
    letter-spacing: 0.14em !important;
    font-weight: 300 !important;
    padding: 0.25rem 0.2rem !important;
    line-height: 1 !important;
  }

  .portfolio-header-container .lang-divider {
    font-size: 0.72rem !important;
    line-height: 1 !important;
  }

  .highlights-track-wrapper {
    --hl-slide-w: clamp(240px, 72vw, 300px);
  }

  .highlights-track-wrapper::before,
  .highlights-track-wrapper::after {
    width: clamp(25px, 6vw, 60px);
  }

  .highlights-track {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    gap: 1.25rem;
    padding-left: calc(50% - (var(--hl-slide-w) / 2));
    padding-right: calc(50% - (var(--hl-slide-w) / 2));
    scroll-padding-left: calc(50% - (var(--hl-slide-w) / 2));
    scroll-padding-right: calc(50% - (var(--hl-slide-w) / 2));
  }

  .highlights-slide {
    flex: 0 0 var(--hl-slide-w);
  }

  .highlights-slide.is-active {
    transform: scale(1.03);
  }

  .highlights-slide-caption span {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .portfolio-hero {
    min-height: 520px;
    height: 82svh;
    padding-bottom: clamp(3.5rem, 8svh, 5rem);
  }

  .portfolio-hero-title {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
    letter-spacing: 0.1em;
    margin: 0 0 0.85rem 0;
  }

  .portfolio-hero-statement {
    font-size: 0.95rem;
    line-height: 1.55;
    padding: 0 0.5rem;
    margin: 0 auto;
  }

  .portfolio-editorial-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 3rem;
  }

  .press-marquee {
    flex-direction: column;
    gap: 1.5rem;
  }

  .press-divider {
    display: none;
  }
}

/* ==========================================================================
   PAGE TRANSITION CURTAIN
   ========================================================================== */
.page-transition-curtain {
  position: fixed;
  inset: 0;
  background-color: #0E0E0E;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition-curtain.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   FULL-BLEED PANORAMIC PARALLAX STATEMENT BREAK (LUXUS FIXED PARALLAX WINDOW)
   ========================================================================== */
.portfolio-fullbleed-parallax {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  min-height: 76vh;
  height: 82vh;
  max-height: 880px;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3.5rem);
  background-color: #0E0C0A;
  background-image: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  margin-top: clamp(4rem, 8vw, 8rem);
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.portfolio-fullbleed-parallax-media {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100lvh !important;
  z-index: 1;
  pointer-events: none;
  background-image: url('../assets/images/portfolio/parallax-chateau-night.webp?v=wow_v1');
  background-position: center center;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  transform: none !important;
  will-change: auto !important;
}

.portfolio-fullbleed-parallax-inner,
.portfolio-fullbleed-parallax-img {
  display: none !important;
}

.portfolio-fullbleed-parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(14, 12, 10, 0.48) 0%,
      rgba(14, 12, 10, 0.56) 50%,
      rgba(14, 12, 10, 0.62) 100%);
  pointer-events: none;
  z-index: 2;
}

.portfolio-fullbleed-parallax-content {
  position: relative;
  z-index: 3;
  max-width: 920px;
  padding: 0 2rem;
  color: #FFFFFF;
}

.portfolio-fullbleed-parallax-tag {
  display: none !important;
}

.portfolio-fullbleed-parallax-quote {
  font-family: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.3rem, 2.45vw, 2.15rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: clamp(0.22em, 0.34vw, 0.32em);
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
  text-shadow: none;
}

.portfolio-fullbleed-parallax-quote em {
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

@media (max-width: 1024px) {
  .portfolio-closing-cta,
  .portfolio-fullbleed-parallax {
    background-image: none !important;
    position: relative;
    overflow: hidden;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
  }

  .portfolio-closing-media,
  .portfolio-fullbleed-parallax-media {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100lvh !important;
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
    will-change: auto !important;
    pointer-events: none;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .portfolio-fullbleed-parallax {
    min-height: 52svh;
    height: 58svh;
    margin-top: 3rem;
    margin-bottom: 3rem;
    background-image: none !important;
    overflow: hidden !important;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
  }

  .portfolio-fullbleed-parallax-quote {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
  }

  .portfolio-closing-cta {
    min-height: 500px;
    height: 76svh;
    background-image: none !important;
    overflow: hidden !important;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
  }
}


.editorial-project-card.is-navigating {
  transform: scale(0.985) !important;
  transition: transform 0.4s ease;
}

/* Smooth Editorial Scroll Reveals (Desktop & Mobile) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}