/* ==========================================================================
   MAJIDA AMEER TEXTILES — LUXURY PAKISTANI LIFESTYLE & FASHION BRAND
   Typography System:
     - Title: Alex Brush / Pinyon Script (Fluid Luxury Joint Cursive Calligraphy)
     - Headings, Badges, Categories: Cinzel (Regal Roman Haute Couture Serif)
     - Narrative Statement: Cormorant Garamond (Italian/French Editorial Serif Italic)
     - Base Body & Descriptions: Outfit (Crisp Contemporary Luxury Sans)
   Categories: Bedding Decor, Western Wear, Modern Wear
   ========================================================================== */

:root {
  /* Atelier Color Palette */
  --color-obsidian: #0e0e11;
  --color-charcoal: #1c1c20;
  --color-graphite: #38383f;
  --color-silk-cream: #faf9f7;
  --color-ivory: #f5f3ef;
  --color-pure-white: #ffffff;
  
  /* Champagne & Metallic Gold Accents */
  --color-gold-light: #f7e7c4;
  --color-gold: #cba358;
  --color-gold-deep: #a87e32;
  --color-gold-burnished: #805e22;
  
  /* Glassmorphism & Specular Gradients */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(203, 163, 88, 0.32);
  --glass-border-subtle: rgba(0, 0, 0, 0.08);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
  --glass-shadow-elevated: 0 30px 70px rgba(168, 126, 50, 0.14), 0 10px 20px rgba(0, 0, 0, 0.05);

  /* High Fashion Elevated Typography Scale */
  --font-script: 'Alex Brush', 'Pinyon Script', cursive;
  --font-serif: 'Cinzel', Georgia, serif;
  --font-editorial: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions & Timing */
  --ease-couture: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-silk-cream);
  color: var(--color-obsidian);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  cursor: default;
}

/* Custom High Fashion Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s ease, opacity 0.2s ease, width 0.3s ease, height 0.3s ease;
  box-shadow: 0 0 10px rgba(203, 163, 88, 0.8);
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(203, 163, 88, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-couture), height 0.3s var(--ease-couture), border-color 0.3s ease;
}

body.cursor-hover .custom-cursor {
  width: 14px;
  height: 14px;
  background-color: var(--color-gold-light);
}

body.cursor-hover .custom-cursor-follower {
  width: 64px;
  height: 64px;
  border-color: var(--color-gold);
  background: rgba(203, 163, 88, 0.06);
  backdrop-filter: blur(2px);
}

/* Hide default cursor on desktops */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }

  a,
  button,
  [data-tilt],
  .brand-logo {
    cursor: none !important;
  }
}

@media (hover: none) or (pointer: coarse) {
  .custom-cursor,
  .custom-cursor-follower {
    display: none;
  }
}

/* ==========================================================================
   LIVING FABRIC BACKGROUND LAYER
   ========================================================================== */

.silk-background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.silk-image {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center center;
  filter: contrast(102%) brightness(101%);
  animation: fabricBreath 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes fabricBreath {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.04) translate(-1%, 1%);
  }

  100% {
    transform: scale(1.02) translate(1%, -1%);
  }
}

.silk-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(250, 249, 247, 0.7) 55%,
      rgba(242, 238, 230, 0.94) 100%);
}

/* Continuous Subtle Diagonal Sheen Sweep */
.silk-light-sweep {
  position: absolute;
  top: -150%;
  left: -150%;
  width: 400%;
  height: 400%;
  background: linear-gradient(45deg,
      transparent 42%,
      rgba(255, 255, 255, 0.5) 48%,
      rgba(247, 231, 196, 0.35) 50%,
      rgba(255, 255, 255, 0.5) 52%,
      transparent 58%);
  animation: lightSweep 14s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes lightSweep {
  0% {
    transform: translateY(-20%) rotate(25deg);
  }

  50% {
    transform: translateY(20%) rotate(25deg);
  }

  100% {
    transform: translateY(-20%) rotate(25deg);
  }
}

.ambient-threads-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.85;
}

/* ==========================================================================
   ARCHITECTURAL ATELIER FRAMING (Couture Registration Marks)
   ========================================================================== */

.atelier-frame {
  position: fixed;
  inset: 20px;
  pointer-events: none;
  z-index: 50;
}

.frame-line {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(203, 163, 88, 0.25), transparent);
}

.frame-line-left {
  left: 0;
  top: 40px;
  bottom: 40px;
  width: 1px;
}

.frame-line-right {
  right: 0;
  top: 40px;
  bottom: 40px;
  width: 1px;
}

.frame-line-top {
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(203, 163, 88, 0.25), transparent);
}

.frame-line-bottom {
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(203, 163, 88, 0.25), transparent);
}

.frame-mark {
  position: absolute;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-gold);
  line-height: 1;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.mark-tl {
  top: -6px;
  left: -4px;
}

.mark-tr {
  top: -6px;
  right: -4px;
}

.mark-bl {
  bottom: -6px;
  left: -4px;
}

.mark-br {
  bottom: -6px;
  right: -4px;
}

.frame-cross {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: var(--color-gold);
  opacity: 0.5;
}

.cross-top {
  top: -6px;
}

.cross-bottom {
  bottom: -6px;
}

/* ==========================================================================
   MAIN EXPERIENCE WRAPPER
   ========================================================================== */

.experience-container {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 36px 18px;
}

/* ==========================================================================
   HEADER / STATUS BAR (Clean, Regal, Poised)
   ========================================================================== */

.atelier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 16px;
  border-bottom: 1px solid rgba(203, 163, 88, 0.2);
  gap: 15px;
}

.header-col {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-graphite);
}

.atelier-tag {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--color-obsidian);
  letter-spacing: 0.26em;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid rgba(203, 163, 88, 0.35);
  box-shadow: 0 4px 15px rgba(203, 163, 88, 0.12);
}

.pulsing-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold);
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(203, 163, 88, 0.7);
  }

  70% {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(203, 163, 88, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(203, 163, 88, 0);
  }
}

.status-text {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-obsidian);
}

.dispatch-badge {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--color-gold-deep);
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 15px;
  border-radius: 20px;
  border: 1px solid rgba(203, 163, 88, 0.3);
}

/* ==========================================================================
   HERO SHOWCASE SECTION
   ========================================================================== */

.hero-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 20px 20px;
  position: relative;
}

/* Brand Logo (Refined, floating cleanly without background) */
.brand-logo-container {
  position: relative;
  margin-bottom: 22px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: block;
  max-width: 175px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.5s var(--ease-couture), filter 0.5s ease;
  animation: logoFloat 7s ease-in-out infinite alternate;
}

.brand-logo:hover {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 6px 16px rgba(168, 126, 50, 0.3));
}

@keyframes logoFloat {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-5px);
  }
}

/* ==========================================================================
   CONTINUOUS ANIMATED "COMING SOON" HEADLINE (JOINT CURSIVE SCRIPT)
   ========================================================================== */

.headline-block {
  max-width: 1020px;
  margin: 0 auto;
}

.eyebrow-container {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.gold-line {
  width: 45px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.hero-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  color: var(--color-gold-deep);
  font-weight: 600;
  text-transform: uppercase;
}

/* The Animated Coming Soon Title in Connected Joint Script */
.hero-title.script-title {
  font-family: var(--font-script);
  font-size: clamp(4.6rem, 11vw, 8.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: none;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding: 8px 0;
}

.script-word {
  display: inline-block;
  position: relative;
  background: linear-gradient(
    135deg,
    #0e0e11 0%,
    #2c2a27 18%,
    #cba358 46%,
    #fbf5e6 52%,
    #cba358 58%,
    #1c1c20 85%,
    #0e0e11 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    scriptShimmer 8s linear infinite,
    scriptWave 5s ease-in-out infinite;
  filter: drop-shadow(0 4px 14px rgba(203, 163, 88, 0.45));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 4px;
}

.script-word:nth-child(2) {
  animation-delay: 0.4s;
}

.script-word:hover {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 6px 18px rgba(203, 163, 88, 0.7));
}

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

  100% {
    background-position: -100% 0%;
  }
}

@keyframes scriptWave {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(-0.5deg);
  }
}

/* Poetic Editorial Narrative Statement */
.hero-statement {
  font-family: var(--font-editorial);
  font-size: clamp(1.1rem, 2vw, 1.34rem);
  line-height: 1.85;
  font-style: italic;
  letter-spacing: 0.03em;
  color: #38373e;
  max-width: 800px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* ==========================================================================
   ORBITING HAUTE COUTURE SEAL (Pakistan Focused)
   ========================================================================== */

.orbit-seal-wrapper {
  position: absolute;
  right: 4%;
  top: 8%;
  pointer-events: auto;
}

.orbit-seal {
  position: relative;
  width: 135px;
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(203, 163, 88, 0.4);
  box-shadow: 0 10px 30px rgba(203, 163, 88, 0.15);
  transition: transform 0.4s var(--ease-couture);
}

.orbit-seal:hover {
  transform: scale(1.08) rotate(15deg);
  border-color: var(--color-gold);
  box-shadow: 0 15px 40px rgba(203, 163, 88, 0.28);
}

.seal-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateOrbit 24s linear infinite;
  transform-origin: center center;
}

@keyframes rotateOrbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.seal-curved-text {
  font-family: var(--font-serif);
  font-size: 9.6px;
  letter-spacing: 0.24em;
  fill: var(--color-obsidian);
  text-transform: uppercase;
  font-weight: 600;
}

.seal-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
}

.seal-monogram {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: 0.14em;
  color: var(--color-gold-deep);
  font-weight: 700;
  line-height: 1;
}

.seal-sub {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--color-graphite);
  margin-top: 2px;
  font-weight: 500;
}

/* ==========================================================================
   CATEGORY CARDS: BEDDING DECOR, WESTERN WEAR, MODERN WEAR
   ========================================================================== */

.curated-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
  max-width: 1140px;
  margin: 10px auto 10px;
}

.pillar-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(203, 163, 88, 0.3);
  border-radius: 4px;
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.4s var(--ease-couture), border-color 0.3s ease, box-shadow 0.4s ease;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(203, 163, 88, 0.7);
  box-shadow: 0 24px 50px rgba(168, 126, 50, 0.18);
}

.pillar-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(247, 231, 196, 0.45) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.pillar-card:hover .pillar-glow {
  opacity: 1;
}

.pillar-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--color-gold-deep);
  margin-bottom: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  color: var(--color-obsidian);
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pillar-desc {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.75;
  color: #48464f;
  letter-spacing: 0.02em;
  font-weight: 300;
}

.pillar-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  transition: width 0.4s var(--ease-couture);
}

.pillar-card:hover .pillar-accent {
  width: 100%;
}

/* ==========================================================================
   CONTINUOUS FLOATING KINETIC MARQUEE STRIP
   ========================================================================== */

.couture-marquee-strip {
  width: 100%;
  overflow: hidden;
  padding: 16px 0;
  margin: 30px 0 10px;
  border-top: 1px solid rgba(203, 163, 88, 0.25);
  border-bottom: 1px solid rgba(203, 163, 88, 0.25);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: continuousMarquee 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes continuousMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  color: var(--color-obsidian);
  font-weight: 600;
  text-transform: uppercase;
}

.m-dot {
  color: var(--color-gold);
  font-size: 0.6rem;
}

/* ==========================================================================
   MINIMALIST EDITORIAL FOOTER (Zero Contact Info)
   ========================================================================== */

.atelier-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 5px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--color-graphite);
  gap: 15px;
}

.edition-badge {
  font-family: var(--font-serif);
  color: var(--color-gold-deep);
  font-weight: 600;
  letter-spacing: 0.22em;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .experience-container {
    padding: 22px 22px 14px;
  }

  .curated-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 600px;
  }

  .orbit-seal-wrapper {
    position: static;
    margin: 10px auto 20px;
  }

  .orbit-seal {
    width: 115px;
    height: 115px;
  }

  .brand-logo {
    max-width: 170px;
  }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  .atelier-frame {
    inset: 10px;
  }

  .experience-container {
    padding: 16px 14px 12px;
  }

  .atelier-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-bottom: 14px;
    text-align: center;
  }

  .header-col {
    font-size: 0.65rem;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .status-indicator {
    padding: 5px 12px;
    gap: 6px;
    margin: 0 auto;
    justify-content: center;
    white-space: nowrap;
    max-width: 100%;
  }

  .status-text {
    font-size: clamp(0.48rem, 2.3vw, 0.62rem);
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-align: center;
  }

  .dispatch-badge {
    text-align: center;
    margin: 0 auto;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .brand-logo {
    max-width: 150px;
  }

  .hero-title.script-title {
    font-size: clamp(3.4rem, 14vw, 5.2rem);
    line-height: 1;
    gap: 6px 18px;
    margin-bottom: 24px;
  }

  .gold-line {
    width: 24px;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }

  .hero-statement {
    font-size: 0.95rem;
    padding: 0 10px;
    margin-bottom: 25px;
  }

  .pillar-card {
    padding: 24px 20px;
  }

  .atelier-footer {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* Very Small Screens (max-width: 420px) */
@media (max-width: 420px) {
  .hero-title.script-title {
    font-size: 3rem;
  }

  .brand-logo {
    max-width: 135px;
  }

  .status-indicator {
    padding: 4px 8px;
    gap: 5px;
  }

  .status-text {
    font-size: clamp(0.44rem, 2.6vw, 0.52rem);
    letter-spacing: 0.05em;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .silk-image {
    animation: none;
  }

  .script-word {
    animation: none;
  }

  .seal-svg {
    animation: none;
  }

  .marquee-track {
    animation: none;
  }

  .brand-logo {
    animation: none;
  }
}