/* ========== NEW COLLECTION — editorial masonry gallery ========== */

.lux-nc {
  --lux-nc-ink: #232a61;
  --lux-nc-mute: #7a756c;
  --lux-nc-accent: #8a1a19;
  --lux-nc-paper: #f8f6f1;
  --lux-nc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lux-nc-gap: clamp(1rem, 1.35vw, 1.4rem);
  --lux-nc-row: 148px;

  position: relative;
  z-index: 2;
  padding-block: var(--lux-section-space);
  padding-inline: 0;
  background: var(--lux-nc-paper);
}

/* Same width system as header (.lux-container) */
.lux-nc-shell {
  /* width / margin from .lux-container */
}

.lux-nc-intro {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto var(--lux-section-gap);
  text-align: center;
}

.lux-nc-eyebrow,
.lux-nc-title,
.lux-nc-lead,
.lux-nc-detail {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s var(--lux-nc-ease), transform 0.75s var(--lux-nc-ease);
}

.lux-nc.is-inview .lux-nc-eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0ms;
}

.lux-nc.is-inview .lux-nc-title {
  opacity: 1;
  transform: none;
  transition-delay: 70ms;
}

.lux-nc.is-inview .lux-nc-lead {
  opacity: 1;
  transform: none;
  transition-delay: 140ms;
}

.lux-nc.is-inview .lux-nc-detail {
  opacity: 1;
  transform: none;
  transition-delay: 210ms;
}

.lux-nc-eyebrow {
  margin: 0 0 0.85rem;
  font-family: "Manrope", var(--lux-sans), system-ui, sans-serif !important;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lux-nc-accent);
}

body.lux-body .lux-nc-title,
body.lux-body #lux-nc-heading,
body.lux-body .lux-nc h2.lux-nc-title {
  margin: 0 !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  font-size: clamp(2.6rem, 4.8vw, 4rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--lux-nc-ink) !important;
}

.lux-nc-lead {
  margin: 1rem auto 0;
  max-width: 34ch;
  font-family: "Manrope", var(--lux-sans), system-ui, sans-serif !important;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--lux-nc-mute);
}

.lux-nc-detail {
  margin: 1.35rem 0 0;
  font-family: "Manrope", var(--lux-sans), system-ui, sans-serif !important;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lux-nc-ink);
}

.lux-nc-detail span {
  display: inline-block;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(35, 42, 97, 0.18);
}

/* Gallery — explicit CSS Grid masonry */
/* Gallery — sits inside .lux-container (same as header) */
.lux-nc-gallery {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: var(--lux-nc-row);
  gap: var(--lux-nc-gap);
  align-items: stretch;
}

.lux-nc-cell {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ebe6de;
  color: inherit;
  text-decoration: none;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lux-nc-cell--short { grid-row: span 2; }
.lux-nc-cell--mid   { grid-row: span 3; }
.lux-nc-cell--tall  { grid-row: span 4; }
.lux-nc-cell--xl    { grid-row: span 5; }

/* Balanced 8-image editorial placement */
.lux-nc-gallery--8 .lux-nc-cell--1 { grid-column: 1; grid-row: 1 / span 4; }
.lux-nc-gallery--8 .lux-nc-cell--2 { grid-column: 2; grid-row: 1 / span 3; }
.lux-nc-gallery--8 .lux-nc-cell--3 { grid-column: 3; grid-row: 1 / span 4; }
.lux-nc-gallery--8 .lux-nc-cell--4 { grid-column: 4; grid-row: 1 / span 5; }
.lux-nc-gallery--8 .lux-nc-cell--5 { grid-column: 1; grid-row: 5 / span 3; }
.lux-nc-gallery--8 .lux-nc-cell--6 { grid-column: 2; grid-row: 4 / span 4; }
.lux-nc-gallery--8 .lux-nc-cell--7 { grid-column: 3; grid-row: 5 / span 3; }
.lux-nc-gallery--8 .lux-nc-cell--8 { grid-column: 4; grid-row: 6 / span 2; }

/* 6-image variant */
.lux-nc-gallery--6 .lux-nc-cell--1 { grid-column: 1; grid-row: 1 / span 4; }
.lux-nc-gallery--6 .lux-nc-cell--2 { grid-column: 2; grid-row: 1 / span 5; }
.lux-nc-gallery--6 .lux-nc-cell--3 { grid-column: 3; grid-row: 1 / span 3; }
.lux-nc-gallery--6 .lux-nc-cell--4 { grid-column: 4; grid-row: 1 / span 4; }
.lux-nc-gallery--6 .lux-nc-cell--5 { grid-column: 3; grid-row: 4 / span 3; }
.lux-nc-gallery--6 .lux-nc-cell--6 { grid-column: 1 / span 2; grid-row: 5 / span 2; }

/* 7-image */
.lux-nc-gallery--7 .lux-nc-cell--1 { grid-column: 1; grid-row: 1 / span 4; }
.lux-nc-gallery--7 .lux-nc-cell--2 { grid-column: 2; grid-row: 1 / span 3; }
.lux-nc-gallery--7 .lux-nc-cell--3 { grid-column: 3; grid-row: 1 / span 4; }
.lux-nc-gallery--7 .lux-nc-cell--4 { grid-column: 4; grid-row: 1 / span 5; }
.lux-nc-gallery--7 .lux-nc-cell--5 { grid-column: 1; grid-row: 5 / span 3; }
.lux-nc-gallery--7 .lux-nc-cell--6 { grid-column: 2; grid-row: 4 / span 4; }
.lux-nc-gallery--7 .lux-nc-cell--7 { grid-column: 3; grid-row: 5 / span 3; }

.lux-nc-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s var(--lux-nc-ease);
}

.lux-nc-reveal--fade .lux-nc-media {
  clip-path: none;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s var(--lux-nc-ease), transform 0.55s var(--lux-nc-ease);
}

.lux-nc-reveal--left .lux-nc-media {
  clip-path: inset(0 100% 0 0);
}

.lux-nc-reveal--right .lux-nc-media {
  clip-path: inset(0 0 0 100%);
}

.lux-nc-reveal--up .lux-nc-media {
  clip-path: inset(100% 0 0 0);
}

.lux-nc.is-inview .lux-nc-cell {
  opacity: 1;
}

.lux-nc.is-inview .lux-nc-media {
  clip-path: inset(0 0 0 0);
  transition-delay: calc(var(--lux-nc-i, 0) * 100ms);
}

.lux-nc.is-inview .lux-nc-reveal--fade .lux-nc-media {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--lux-nc-i, 0) * 100ms);
}

.lux-nc-parallax {
  display: block;
  width: 100%;
  height: 100%;
  will-change: transform;
}

body.lux-body .lux-nc-cell img,
body.lux-body .lux-nc-gallery img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transform: scale(1.01);
  transition: transform 0.8s var(--lux-nc-ease);
}

.lux-nc-cell--2 img,
.lux-nc-cell--5 img { object-position: center 22%; }
.lux-nc-cell--4 img { object-position: center 12%; }
.lux-nc-cell--8 img { object-position: center 45%; }

.lux-nc-meta {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.5s var(--lux-nc-ease);
  transition-delay: calc(180ms + (var(--lux-nc-i, 0) * 100ms));
}

.lux-nc.is-inview .lux-nc-meta {
  opacity: 1;
  transform: none;
}

.lux-nc-meta-index,
.lux-nc-meta-label {
  font-family: "Manrope", var(--lux-sans), system-ui, sans-serif !important;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.lux-nc-meta-index {
  opacity: 0.8;
}

.lux-nc-hover {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.4s var(--lux-nc-ease);
  pointer-events: none;
}

.lux-nc-hover-cta {
  font-family: "Manrope", var(--lux-sans), system-ui, sans-serif !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.lux-nc-hover-cta span {
  display: inline-block;
  transition: transform 0.35s var(--lux-nc-ease);
}

@media (hover: hover) and (pointer: fine) {
  body.lux-body .lux-nc-cell:hover img,
  body.lux-body .lux-nc-cell:focus-visible img,
  body.lux-body .lux-nc-gallery .lux-nc-cell:hover img,
  body.lux-body .lux-nc-gallery .lux-nc-cell:focus-visible img {
    transform: scale(1.04);
  }

  .lux-nc-cell:hover .lux-nc-hover,
  .lux-nc-cell:focus-visible .lux-nc-hover {
    opacity: 1;
    transform: none;
  }

  .lux-nc-cell:hover .lux-nc-meta,
  .lux-nc-cell:focus-visible .lux-nc-meta {
    opacity: 0;
  }

  .lux-nc-cell:hover .lux-nc-hover-cta span,
  .lux-nc-cell:focus-visible .lux-nc-hover-cta span {
    transform: translateX(7px);
  }

  .lux-nc-gallery.is-focusing .lux-nc-cell:not(:hover):not(:focus-visible) {
    opacity: 0.92;
  }
}

/* Tablet */
@media (max-width: 1100px) {
  .lux-nc-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    --lux-nc-row: 130px;
    --lux-nc-gap: clamp(0.75rem, 1.2vw, 1.1rem);
  }

  .lux-nc-gallery--8 .lux-nc-cell--1 { grid-column: 1; grid-row: 1 / span 4; }
  .lux-nc-gallery--8 .lux-nc-cell--2 { grid-column: 2; grid-row: 1 / span 3; }
  .lux-nc-gallery--8 .lux-nc-cell--3 { grid-column: 3; grid-row: 1 / span 4; }
  .lux-nc-gallery--8 .lux-nc-cell--4 { grid-column: 2; grid-row: 4 / span 4; }
  .lux-nc-gallery--8 .lux-nc-cell--5 { grid-column: 1; grid-row: 5 / span 3; }
  .lux-nc-gallery--8 .lux-nc-cell--6 { grid-column: 3; grid-row: 5 / span 4; }
  .lux-nc-gallery--8 .lux-nc-cell--7 { grid-column: 1; grid-row: 8 / span 3; }
  .lux-nc-gallery--8 .lux-nc-cell--8 { grid-column: 2; grid-row: 8 / span 3; }
}

/* Mobile — dedicated 2-column story */
@media (max-width: 767px) {
  .lux-nc {
    padding-block: var(--lux-section-space);
    padding-inline: 0;
    --lux-nc-gap: 0.7rem;
    --lux-nc-row: 110px;
  }

  .lux-nc-intro {
    max-width: none;
    margin-bottom: 2rem;
    text-align: left;
  }

  body.lux-body .lux-nc-title {
    font-size: clamp(2.35rem, 10vw, 3rem) !important;
  }

  .lux-nc-lead {
    margin-left: 0;
  }

  .lux-nc-gallery,
  .lux-nc-gallery--6,
  .lux-nc-gallery--7,
  .lux-nc-gallery--8 {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lux-nc-gallery--8 .lux-nc-cell--1 { grid-column: 1; grid-row: 1 / span 4; }
  .lux-nc-gallery--8 .lux-nc-cell--2 { grid-column: 2; grid-row: 1 / span 3; }
  .lux-nc-gallery--8 .lux-nc-cell--3 { grid-column: 2; grid-row: 4 / span 4; }
  .lux-nc-gallery--8 .lux-nc-cell--4 { grid-column: 1; grid-row: 5 / span 5; }
  .lux-nc-gallery--8 .lux-nc-cell--5 { grid-column: 2; grid-row: 8 / span 3; }
  .lux-nc-gallery--8 .lux-nc-cell--6 { grid-column: 1; grid-row: 10 / span 4; }
  .lux-nc-gallery--8 .lux-nc-cell--7 { grid-column: 2; grid-row: 11 / span 3; }
  .lux-nc-gallery--8 .lux-nc-cell--8 { grid-column: 1 / span 2; grid-row: 14 / span 3; }

  .lux-nc-meta {
    opacity: 1;
    transform: none;
  }

  .lux-nc-hover {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lux-nc-eyebrow,
  .lux-nc-title,
  .lux-nc-lead,
  .lux-nc-detail,
  .lux-nc-media,
  .lux-nc-cell img,
  .lux-nc-meta,
  .lux-nc-hover,
  .lux-nc-hover-cta span {
    transition: none !important;
  }

  .lux-nc-eyebrow,
  .lux-nc-title,
  .lux-nc-lead,
  .lux-nc-detail,
  .lux-nc-cell,
  .lux-nc-meta {
    opacity: 1 !important;
    transform: none !important;
  }

  .lux-nc-media {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  body.lux-body .lux-nc-cell img {
    transform: none !important;
  }
}
