/* ==========================================================================
   MADHURI HANDICRAFTS / FURNITURE — THE SIGNATURE MASTERCRAFT LOOKBOOK
   Inspired by Luxury Editorial Catalogues (Full-page cinematic spreads, no cart/store)
   ========================================================================== */

:root {
  --black: #0c0b09;
  --black-soft: #141210;
  --ivory: #f6f1e7;
  --ivory-dim: #e9e2d3;
  --bronze: #b3814f;
  --gold: #d9ad6d;
  --gold-light: #f5dfbe;
  --bronze-deep: #6e4a28;
  --line: rgba(217, 173, 109, 0.22);
  --line-subtle: rgba(217, 173, 109, 0.12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: 'Cinzel', serif;
  --font-serif: 'Fraunces', serif;
  --font-sans: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #080706;
  background-image:
    radial-gradient(ellipse 85% 50% at 50% -10%, rgba(217, 173, 109, 0.22), transparent 60%),
    radial-gradient(circle 500px at 15% 45%, rgba(140, 88, 40, 0.12), transparent 70%),
    radial-gradient(circle 600px at 85% 75%, rgba(45, 95, 170, 0.10), transparent 70%);
  color: var(--ivory);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100dvh;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* Atmospheric Film Grain */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.032;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Fixed Top Header ---------- */
header.lookbook-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(8, 7, 6, 0.92) 0%, rgba(8, 7, 6, 0) 100%);
  transition: all 0.4s var(--ease);
}

header.lookbook-header.scrolled {
  background: rgba(12, 10, 8, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line);
  padding: 14px clamp(20px, 4vw, 48px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s;
}

.wordmark:hover {
  opacity: 0.85;
}

.wordmark .year {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(217, 173, 109, 0.15);
  border: 1px solid var(--line);
}

.hdr-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.counter {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ivory-dim);
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
  min-width: 60px;
  text-align: right;
  font-weight: 600;
}

.contact-btn {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: var(--gold);
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 700;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-btn:hover {
  background: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(217, 173, 109, 0.6);
}

.dl-btn {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: var(--gold);
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 700;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 0 0 1px rgba(217, 173, 109, 0);
}

.dl-btn:hover {
  background: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(217, 173, 109, 0.6);
}

.dl-btn svg {
  width: 14px;
  height: 14px;
}

/* ----------/* Foil Progress Rail (hidden in slider view) */
.rail {
  display: none !important;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(100px, 14vh, 140px) 24px clamp(30px, 5vh, 46px);
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(217, 173, 109, 0.18), transparent 55%),
    transparent;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 24px;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(40px, 8vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  opacity: 0;
  animation: rise 1s var(--ease) 0.3s forwards;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  font-family: var(--font-serif);
}

.hero p.sub {
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: clamp(14.5px, 1.8vw, 17px);
  line-height: 1.7;
  color: var(--ivory-dim);
  opacity: 0;
  animation: rise 1s var(--ease) 0.45s forwards;
}

/* Category Filter Tabs inside Hero */
.hero-filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 34px;
  opacity: 0;
  animation: rise 1s var(--ease) 0.55s forwards;
}

.lookbook-tab {
  white-space: nowrap;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ivory-dim);
  background: rgba(22, 17, 13, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 235, 200, 0.18);
  transition: all 0.3s var(--ease);
}

.lookbook-tab:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.lookbook-tab.active {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(217, 173, 109, 0.45);
}

.hero .meta {
  display: flex;
  gap: 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  opacity: 0;
  animation: rise 1s var(--ease) 0.65s forwards;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .meta b {
  color: var(--gold);
  font-weight: 700;
}

.scroll-cue {
  display: none !important;
}

/* ==========================================================================
   CINEMA AUTOPLAY SLIDER SHOWCASE (Replaces Vertical Scroll)
   ========================================================================== */
.slider-stage-section {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto clamp(40px, 6vh, 70px);
  padding: 0 clamp(14px, 3.5vw, 32px);
}

.slider-container {
  position: relative;
  background: rgba(14, 12, 10, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(217, 173, 109, 0.32);
  border-radius: 20px;
  box-shadow: 
    0 30px 90px -15px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(217, 173, 109, 0.08);
  overflow: hidden;
}

/* Top Progress Timer Bar */
.slider-progress-bar {
  width: 100%;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.slider-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #b3814f 0%, #d9ad6d 50%, #f5dfbe 100%);
  box-shadow: 0 0 12px rgba(217, 173, 109, 0.8);
}

/* Viewport & Track */
.slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.slider-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slide-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: clamp(20px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide-media-box {
  position: relative;
  width: 100%;
  max-width: 880px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1.5px solid rgba(217, 173, 109, 0.25);
  box-shadow: 
    0 24px 65px -10px rgba(0, 0, 0, 0.95),
    inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.slide-media-box img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(380px, 62vh, 640px);
  object-fit: contain;
  background: #060504;
  transition: transform 0.6s var(--ease);
}

.slide-item:hover .slide-media-box img {
  transform: scale(1.015);
}

/* Slide Caption Plate */
.slide-plate {
  width: 100%;
  max-width: 880px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(217, 173, 109, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.slide-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--gold);
  white-space: nowrap;
  font-weight: 500;
}

.slide-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 220px;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0;
}

.slide-meta {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
}

.slide-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #0c0b09;
  background: linear-gradient(135deg, #f5dfbe 0%, #d9ad6d 60%, #b3814f 100%);
  padding: 9px 20px;
  border-radius: 100px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(217, 173, 109, 0.35);
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.slide-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(217, 173, 109, 0.55);
  filter: brightness(1.08);
}

.slide-action svg {
  width: 15px;
  height: 15px;
}

/* Nav Buttons (Next / Prev) */
.slider-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: clamp(42px, 4.5vw, 54px);
  height: clamp(42px, 4.5vw, 54px);
  border-radius: 50%;
  background: rgba(14, 12, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(217, 173, 109, 0.45);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.slider-nav-btn:hover {
  background: var(--gold);
  color: #0c0b09;
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 30px rgba(217, 173, 109, 0.5);
}

.slider-nav-btn svg {
  width: 22px;
  height: 22px;
}

.slider-nav-btn.prev-btn {
  left: 14px;
}

.slider-nav-btn.next-btn {
  right: 14px;
}

/* Slider Controls Toolbar (Bottom) */
.slider-toolbar {
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(217, 173, 109, 0.18);
  background: rgba(10, 8, 7, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.slider-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(217, 173, 109, 0.12);
  border: 1px solid rgba(217, 173, 109, 0.28);
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-play-btn:hover {
  background: rgba(217, 173, 109, 0.24);
  border-color: var(--gold);
  color: #fff;
}

.slider-play-btn svg {
  width: 12px;
  height: 12px;
}

/* Dots Pagination */
.slider-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 550px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background: rgba(217, 173, 109, 0.65);
  transform: scale(1.25);
}

.slider-dot.active {
  width: 24px;
  border-radius: 100px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(217, 173, 109, 0.65);
}

.slide-indicator {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .slider-stage-section {
    padding: 0 12px;
    margin-bottom: 40px;
  }
  .slide-item {
    padding: 16px 12px 20px;
  }
  .slider-nav-btn {
    width: 38px;
    height: 38px;
  }
  .slider-nav-btn.prev-btn {
    left: 8px;
  }
  .slider-nav-btn.next-btn {
    right: 8px;
  }
  .slider-toolbar {
    padding: 12px 14px;
    flex-direction: column;
    gap: 12px;
  }
  .slider-dots {
    order: 2;
  }
  .slider-toolbar-left {
    order: 1;
  }
  .slider-toolbar-right {
    order: 3;
  }
}

/* ---------- Closing Section ---------- */
.closing {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(60px, 9vh, 90px) 24px clamp(50px, 7vh, 70px);
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(217, 173, 109, 0.16), transparent 55%),
    transparent;
  border-top: 1px solid var(--line);
}

.closing .mark {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 62px);
  font-weight: 400;
  margin: 0 0 18px;
  line-height: 1.1;
}

.closing .mark em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.closing p {
  color: var(--ivory-dim);
  max-width: 480px;
  margin: 0 0 40px;
  line-height: 1.7;
  font-size: 15px;
}

.closing-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  transition: all 0.35s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.gold {
  background: var(--gold);
  color: var(--black);
}

.btn.gold:hover {
  background: var(--ivory);
  box-shadow: 0 8px 24px -6px rgba(217, 173, 109, 0.6);
  transform: translateY(-2px);
}

.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(22, 17, 13, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ivory);
}

.btn.ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

footer.lookbook-footer {
  padding: 32px 24px 44px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  opacity: 0.55;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   MOBILE LUXURY EXPERIENCE (Lookbook Editorial on Mobile)
   ========================================================================== */
@media (max-width: 680px) {
  header.lookbook-header {
    padding: 12px 14px;
  }

  .wordmark {
    font-size: 12px;
    letter-spacing: 0.16em;
    gap: 8px;
  }

  .wordmark .year {
    display: none;
  }

  .hdr-right {
    gap: 10px;
  }

  .counter {
    font-size: 11px;
    min-width: 44px;
    letter-spacing: 0.1em;
  }

  .dl-btn {
    font-size: 9.5px;
    padding: 7px 12px;
    letter-spacing: 0.08em;
    gap: 5px;
  }

  .hero {
    min-height: auto;
    padding: 95px 16px 36px;
  }

  .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.22em;
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: 34px;
    margin-bottom: 14px;
    line-height: 1.08;
  }

  .hero p.sub {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 8px;
  }

  .hero-filter-tabs {
    gap: 8px;
    margin-bottom: 24px;
  }

  .lookbook-tab {
    padding: 7px 14px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero-meta-bar {
    gap: 14px;
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .spread {
    min-height: auto;
    padding: 32px 14px;
  }

  .frame-media-box {
    border-radius: 14px;
    box-shadow: 0 20px 48px -15px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(217, 173, 109, 0.25);
  }

  .frame img {
    max-height: 65vh;
  }

  .plate {
    margin-top: 14px;
    padding-top: 12px;
    gap: 10px;
  }

  .plate .num {
    font-size: 13px;
  }

  .plate .cap-info {
    min-width: 150px;
  }

  .plate .cap-title {
    font-size: 14.5px;
  }

  .plate .cap-meta {
    font-size: 9.5px;
  }

  .plate .cap-action {
    padding: 6px 12px;
    font-size: 10px;
  }

  .closing {
    min-height: auto;
    padding: 70px 18px 50px;
  }

  .closing .mark {
    font-size: 30px;
  }

  .closing p {
    font-size: 13.5px;
    margin-bottom: 28px;
  }

  .closing-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .frame, .hero *, .scroll-cue {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
