/* v2 - equal cards fix - 2026-05-21 22:19:59.543448 */
/* ============================================================
   NAZZA — Homepage CSS
   ============================================================ */

/* LOADER */
#loader {
  position: fixed; inset: 0; background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 10000; transition: opacity .8s ease, visibility .8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { height: 90px; filter: invert(1); opacity: .7; margin-bottom: 40px; }
.loader-line {
  width: 120px; height: 1px; background: rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.loader-line::after {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  transform: translateX(-100%); animation: loadline 1.2s var(--ease) forwards;
}
@keyframes loadline { to { transform: translateX(0); } }
.loader-text {
  font-size: 8px; letter-spacing: 6px; color: rgba(255,255,255,.18);
  text-transform: uppercase; font-family: var(--sans); font-weight: 300;
  margin-top: 16px;
}

/* HERO */
#hero {
  position: relative; height: 100svh; min-height: 600px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1a1510 0%, #2d2418 30%, #0f0c0a 60%, #0a0a0a 100%);
}
.hero-figure {
  position: absolute; right: 0; top: 0; bottom: 0; width: 55%;
  background: linear-gradient(to right, var(--black) 0%, rgba(10,10,10,.2) 40%, transparent 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; padding: 0 64px; max-width: 700px;
  opacity: 0; transform: translateY(30px);
  animation: heroIn 1.2s var(--ease) 1.2s forwards;
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow {
  font-size: 8px; letter-spacing: 6px; color: var(--gold);
  text-transform: uppercase; font-family: var(--sans); font-weight: 400;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--serif); font-size: clamp(52px, 7vw, 100px);
  font-weight: 300; line-height: 1.0; letter-spacing: -1px;
  margin-bottom: 24px; color: var(--white);
}
.hero-sub {
  font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.8;
  max-width: 380px; margin-bottom: 48px; font-weight: 300;
}
.hero-cta { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 64px; z-index: 2;
  display: flex; align-items: center; gap: 16px;
  opacity: 0; animation: heroIn 1s var(--ease) 2s forwards;
}
.hero-scroll span { font-size: 8px; letter-spacing: 4px; color: rgba(255,255,255,.2); text-transform: uppercase; }
.scroll-line { width: 60px; height: 1px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%{transform:translateX(-100%)} 50%{transform:translateX(0)} 100%{transform:translateX(100%)} }

/* FEATURED PRODUCTS */
#featured { padding: 100px 64px; }

.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.featured-grid .product-card {
  aspect-ratio: 3 / 4;
}

.featured-grid .product-img,
.featured-grid .product-img-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

/* SPLIT BANNER */
#split { display: grid; grid-template-columns: 1fr auto 1fr; height: 70vh; min-height: 500px; }
.split-panel {
  position: relative; overflow: hidden; cursor: pointer;
  display: flex; align-items: flex-end;
}
.split-bg {
  position: absolute; inset: 0; transition: transform 1.2s var(--ease);
}
.split-panel-1 .split-bg {
  background: linear-gradient(160deg, #1e1510 0%, #2a1e14 40%, #100d0b 100%);
}
.split-panel-2 .split-bg {
  background: linear-gradient(200deg, #12101a 0%, #1a1628 40%, #0a090f 100%);
}
.split-panel:hover .split-bg { transform: scale(1.04); }
.split-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.8) 0%, transparent 60%);
}
.split-content { position: relative; z-index: 2; padding: 48px; }
.split-title {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 52px);
  font-weight: 300; line-height: 1.1; margin: 12px 0 24px; color: var(--white);
}
.split-divider { width: 1px; background: rgba(255,255,255,.05); }

/* EDITORIAL QUOTE */
#editorial {
  position: relative; padding: 120px 64px; text-align: center; overflow: hidden;
}
.editorial-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,169,110,.04) 0%, transparent 70%);
}
.editorial-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.editorial-quote {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 52px);
  font-weight: 300; line-height: 1.3; font-style: italic; color: var(--white);
  margin-bottom: 32px;
}
.editorial-author {
  font-size: 9px; letter-spacing: 4px; color: var(--gold);
  text-transform: uppercase; font-family: var(--sans); font-weight: 400;
}

/* COLLECTIONS GRID */
#collections { padding: 100px 64px; background: var(--cream); }
#collections .section-label { color: var(--gold); }
#collections .section-title { color: var(--black); }
.collections-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px; margin-top: 48px;
}
.collection-card {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 3/4; background: #e8e4dc;
}
.collection-card.large {
  grid-row: span 2; aspect-ratio: auto;
}
.collection-bg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 60px; color: rgba(0,0,0,.06); font-weight: 300;
  background: linear-gradient(160deg, #ede8e0 0%, #d8d2c8 100%);
  transition: transform 1.2s var(--ease);
}
.collection-card:hover .collection-bg { transform: scale(1.06); }
.collection-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 100%);
}
.collection-season {
  font-size: 8px; letter-spacing: 3px; color: rgba(255,255,255,.6);
  text-transform: uppercase; font-family: var(--sans); font-weight: 400;
  margin-bottom: 6px;
}
.collection-name {
  font-family: var(--serif); font-size: 22px; font-weight: 300; color: var(--white);
}

/* ATELIER */
#atelier {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 700px;
}
.atelier-visual {
  background: linear-gradient(160deg, #1a1410 0%, #261e16 40%, #0f0c08 100%);
  position: relative; overflow: hidden; min-height: 500px;
}
.atelier-visual::after {
  content: 'N'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 32vw; color: rgba(201,169,110,.04);
  font-weight: 300; font-style: italic;
  display: flex; align-items: center; justify-content: center;
  font-size: 260px;
}
.atelier-content {
  padding: 100px 72px; display: flex; flex-direction: column; justify-content: center;
  background: var(--white);
}
.atelier-content .section-label { color: var(--gold); }
.atelier-content .section-title { color: var(--black); margin-bottom: 24px; }
.atelier-text { font-size: 13px; color: rgba(0,0,0,.5); line-height: 1.9; margin-bottom: 48px; max-width: 420px; }
.atelier-steps { margin-bottom: 48px; }
.atelier-step { display: flex; gap: 24px; margin-bottom: 28px; }
.step-num {
  font-family: var(--serif); font-size: 36px; color: rgba(0,0,0,.08);
  font-weight: 300; line-height: 1; flex-shrink: 0; width: 48px;
}
.step-info h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 1px; font-weight: 500; color: var(--black); margin-bottom: 6px; text-transform: uppercase; }
.step-info p { font-size: 12px; color: rgba(0,0,0,.45); line-height: 1.75; }
.atelier-content .btn-primary { align-self: flex-start; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  #hero { min-height: 100svh; }
  .hero-content { padding: 0 32px; }
  .hero-scroll { left: 32px; }
  #featured { padding: 80px 32px; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  #editorial { padding: 80px 32px; }
  #collections { padding: 80px 32px; }
  .collections-grid { grid-template-columns: 1fr 1fr; }
  .collection-card.large { grid-row: span 1; aspect-ratio: 3/4; }
  #atelier { grid-template-columns: 1fr; }
  .atelier-visual { min-height: 300px; }
  .atelier-content { padding: 64px 32px; }
}
@media (max-width: 640px) {
  .hero-content { padding: 0 20px; }
  .hero-scroll { left: 20px; bottom: 24px; }
  #featured { padding: 60px 20px; }
  .featured-header { flex-direction: column; gap: 16px; align-items: flex-start; }
  .featured-grid { grid-template-columns: 1fr; gap: 2px; }
  #split { grid-template-columns: 1fr; grid-template-rows: 50vh 1px 50vh; }
  #editorial { padding: 60px 20px; }
  #collections { padding: 60px 20px; }
  .collections-grid { grid-template-columns: 1fr; }
  .atelier-content { padding: 48px 20px; }
}

/* HERO VIDEO */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.75) 0%,
    rgba(10,10,10,0.4) 50%,
    rgba(10,10,10,0.2) 100%
  );
}
/* Make sure hero content sits above video */
#hero .hero-content { z-index: 2; }
#hero .hero-scroll   { z-index: 2; }

