/* =========================================
   M'PALATH — DESIGNER STUDIO
   Luxury Fashion CSS Design System
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #E2D0D2;
  --lavender-mist: #DCCACE;
  --deep-plum: #1A0A2E;
  --purple: #6B2FB8;
  --purple-light: #9A6EE0;
  --warm-white: #EAD8DA;
  --ink: #1C1A21;
  --gray-mid: #6E6878;
  --gray-light: #C8C0D4;
  --border: rgba(107, 47, 184, 0.12);
  --shadow: rgba(26, 10, 46, 0.08);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;

  --nav-h: 76px;
  --section-pad: clamp(80px, 10vw, 140px);
  --side-pad: clamp(24px, 6vw, 80px);
  --transition: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--purple);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.5s cubic-bezier(0.25, 1, 0.25, 1), height 0.5s cubic-bezier(0.25, 1, 0.25, 1), background 0.5s ease;
  will-change: left, top;
}

#cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(107, 47, 184, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.4s ease;
  will-change: left, top;
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor {
  width: 20px;
  height: 20px;
}

/* ── Loader ── */
#loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #FFF3EF;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.7) 0%, rgba(246, 183, 169, 0.15) 100%);
  transition: opacity 1s ease, visibility 1s ease;
}

.loader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wordmark-container {
  position: relative;
  display: inline-block;
  padding: 20px 40px;
}

.wordmark-base {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 90px);
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.04);
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.wordmark-reveal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo-img {
  height: clamp(60px, 10vw, 100px);
  width: auto;
  /* Dark logo on light loader background — keep naturally dark */
  filter: brightness(0) saturate(100%);
  display: block;
}

.loader-subtitle {
  margin-top: 2rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 12px;
  font-weight: 300;
  color: #6E4A8A;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  text-align: center;
}

.needle-wrapper {
  position: absolute;
  top: 0;
  left: 40px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

.needle-svg {
  position: absolute;
  top: 60px;
  left: 0;
  width: 50px;
  height: 50px;
  filter: drop-shadow(-2px 4px 4px rgba(0, 0, 0, 0.3));
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side-pad);
  z-index: 900;
  mix-blend-mode: multiply;
  transition: background var(--transition), box-shadow var(--transition);
}

nav.scrolled {
  background: rgba(250, 247, 244, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  mix-blend-mode: normal;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  /* The SVG uses currentColor — on light nav it should be dark */
  filter: brightness(0) saturate(100%);
  transition: opacity 0.3s ease;
  display: block;
}

.nav-logo-img:hover {
  opacity: 0.75;
}

.nav-menu-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--deep-plum);
  background: transparent;
  border: 1px solid var(--deep-plum);
  border-radius: 100px;
  padding: 10px 22px;
  cursor: none;
  transition: all var(--transition);
}

.nav-menu-btn:hover {
  background: var(--deep-plum);
  color: var(--cream);
}

/* Full-screen overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--deep-plum);
  z-index: 950;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--section-pad) var(--side-pad);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay .overlay-close {
  position: absolute;
  top: 28px;
  right: var(--side-pad);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 10px 22px;
  cursor: none;
  transition: color var(--transition), border-color var(--transition);
}

.nav-overlay .overlay-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.overlay-nav-links {
  list-style: none;
  margin-top: 40px;
}

.overlay-nav-links li {
  overflow: hidden;
  padding: 8px 0;
}

.overlay-nav-links a {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: inline-block;
  transform: translateY(100%);
  transition: color var(--transition), transform var(--transition);
}

.nav-overlay.open .overlay-nav-links a {
  transform: translateY(0);
}

.overlay-nav-links a:hover {
  color: #fff;
}

.overlay-nav-links li:nth-child(1) a {
  transition-delay: 0.05s;
}

.overlay-nav-links li:nth-child(2) a {
  transition-delay: 0.10s;
}

.overlay-nav-links li:nth-child(3) a {
  transition-delay: 0.15s;
}

.overlay-nav-links li:nth-child(4) a {
  transition-delay: 0.20s;
}

.overlay-nav-links li:nth-child(5) a {
  transition-delay: 0.25s;
}

.overlay-footer {
  position: absolute;
  bottom: 40px;
  left: var(--side-pad);
  right: var(--side-pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.overlay-footer span {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* ── Hero Section ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 20px var(--side-pad) 0;
  background: linear-gradient(155deg, #E2D0D2 0%, #DCCACE 60%, #D5C1C8 100%);
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease 0.3s, transform 0.9s ease 0.3s;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 500;
  line-height: 1.12;
  color: var(--deep-plum);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease 0.5s, transform 0.9s ease 0.5s;
}

.hero-headline em {
  font-style: italic;
  color: var(--purple);
}

.hero-subtext {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-mid);
  max-width: 340px;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease 0.7s, transform 0.9s ease 0.7s;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease 0.9s, transform 0.9s ease 0.9s;
}

.btn-primary {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--purple);
  border: none;
  border-radius: 100px;
  padding: 16px 32px;
  cursor: none;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--deep-plum);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(107, 47, 184, 0.3);
}

.btn-outline {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-plum);
  background: transparent;
  border: 1px solid rgba(26, 10, 46, 0.3);
  border-radius: 100px;
  padding: 15px 28px;
  cursor: none;
  text-decoration: none;
  transition: all var(--transition);
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.ticker-track .dot {
  color: var(--purple);
  letter-spacing: 0;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

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

/* Hero Right Image */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100vh;
  padding-top: 20px;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 1s ease 0.6s, transform 1s ease 0.6s;
}

.hero-image-frame {
  width: 88%;
  height: 78vh;
  border-radius: 28px 28px 28px 60px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 40px 80px rgba(26, 10, 46, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.hero-image-frame img,
.hero-image-frame .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-image-frame .hero-slide.active {
  opacity: 1;
}




.hero-image-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(26, 10, 46, 0.55);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-image-label span {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-image-label .label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

/* Animated state = visible */
.hero-visible .hero-eyebrow,
.hero-visible .hero-headline,
.hero-visible .hero-subtext,
.hero-visible .hero-cta-row,
.hero-visible .hero-right {
  opacity: 1;
  transform: translate(0);
}

/* Bottom info row */
.hero-bottom-row {
  position: absolute;
  bottom: 44px;
  left: var(--side-pad);
  right: var(--side-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-bottom-row span {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

/* ── About Section ── */
#about {
  padding: var(--section-pad) var(--side-pad);
  background: var(--warm-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 28px;
}

.about-headline {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--deep-plum);
  margin-bottom: 32px;
}

.about-headline em {
  font-style: italic;
  color: var(--purple);
}

.about-text {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-mid);
  font-weight: 300;
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.stat-block {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 500;
  color: var(--deep-plum);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.about-right {
  position: relative;
  padding-top: 60px;
}

.about-image-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-quote-card {
  position: absolute;
  bottom: 24px;
  right: -24px;
  left: auto;
  background: rgba(30, 26, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 24px 32px;
  max-width: 290px;
  box-shadow: 0 24px 48px rgba(30, 26, 29, 0.15);
  z-index: 2;
}

.about-quote-card p {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 12px;
}

.about-quote-card cite {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  font-style: normal;
}

/* ── Collections Section ── */
#collections {
  padding: var(--section-pad) var(--side-pad);
  background: var(--cream);
}

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

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  color: var(--deep-plum);
  line-height: 1.1;
}

.section-title em {
  font-style: italic;
  color: var(--purple);
}

.section-link {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-plum);
  text-decoration: none;
  border-bottom: 1px solid var(--deep-plum);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.section-link:hover {
  color: var(--purple);
  border-color: var(--purple);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.collection-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: none;
  background: var(--gray-light);
}

.collection-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.25, 1);
}

/* Card 1: Main vertical feature */
.collection-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.collection-card:nth-child(1) .collection-card-img {
  min-height: 700px;
}

/* Card 2: Top Inner */
.collection-card:nth-child(2) {
  grid-column: 3 / 4;
  grid-row: 1;
}

/* Card 3: Top Outer */
.collection-card:nth-child(3) {
  grid-column: 4 / 5;
  grid-row: 1;
}

/* Card 4: Bottom Inner */
.collection-card:nth-child(4) {
  grid-column: 3 / 4;
  grid-row: 2;
}

/* Card 5: Bottom Outer */
.collection-card:nth-child(5) {
  grid-column: 4 / 5;
  grid-row: 2;
}

.collection-card:nth-child(2) .collection-card-img,
.collection-card:nth-child(3) .collection-card-img,
.collection-card:nth-child(4) .collection-card-img,
.collection-card:nth-child(5) .collection-card-img {
  min-height: 342px;
}

.collection-card:hover .collection-card-img {
  transform: scale(1.04);
}

.collection-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 26, 29, 0.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--transition);
}

.collection-card:hover .collection-card-overlay {
  opacity: 1;
}

.collection-card-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 8px;
}

.collection-card-name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
}

.collection-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(30, 26, 29, 0.6) 0%, transparent 100%);
}

.collection-card-info .tag {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
  display: block;
}

.collection-card-info .name {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #fff;
}

/* ── Services / Tailoring Section ── */
#services {
  padding: var(--section-pad) var(--side-pad);
  background: var(--deep-plum);
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 80px;
  align-items: start;
}

.services-left {
  position: sticky;
  top: 25vh;
}

.services-left .section-label {
  color: rgba(255, 255, 255, 0.45);
}

.services-left .section-title {
  color: #fff;
  margin-bottom: 24px;
}

.services-left p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  margin-bottom: 36px;
}

.services-left .btn-primary {
  background: var(--purple);
}

.services-right {
  padding-top: 8px;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  cursor: none;
  transition: padding-left var(--transition);
  position: relative;
  overflow: hidden;
}

.service-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:hover {
  padding-left: 12px;
}

.service-item-left {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.service-num {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  min-width: 32px;
}

.service-name {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.service-item:hover .service-name {
  color: #fff;
}

.service-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.service-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.5;
  transition: transform var(--transition), stroke var(--transition);
}

.service-item:hover .service-arrow {
  background: var(--purple);
  border-color: var(--purple);
}

.service-item:hover .service-arrow svg {
  stroke: #fff;
  transform: translate(3px, -3px);
}

/* ── Process Section ── */
#process {
  padding: var(--section-pad) var(--side-pad);
  background: var(--lavender-mist);
}

.process-header {
  text-align: center;
  margin-bottom: 72px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.process-step {
  background: var(--warm-white);
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition);
}

.process-step:hover {
  background: var(--deep-plum);
}

.process-step:hover .step-num,
.process-step:hover .step-title,
.process-step:hover .step-desc {
  color: rgba(255, 255, 255, 0.85);
}

.process-step:hover .step-title {
  color: #fff;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 400;
  color: rgba(26, 10, 46, 0.08);
  line-height: 1;
  margin-bottom: 20px;
  transition: color var(--transition);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--deep-plum);
  margin-bottom: 16px;
  transition: color var(--transition);
}

.step-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray-mid);
  font-weight: 300;
  transition: color var(--transition);
}

/* ── Testimonials ── */
#testimonials {
  padding: var(--section-pad) var(--side-pad);
  background: var(--cream);
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  text-align: left;
}

.testimonial-card {
  background: var(--warm-white);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px var(--shadow);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars span {
  color: var(--purple);
  font-size: 14px;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: var(--deep-plum);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lavender-mist);
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--deep-plum);
}

.author-detail {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}

/* ── Contact/CTA Banner ── */
#contact-cta {
  padding: clamp(80px, 12vw, 160px) var(--side-pad);
  background: var(--deep-plum);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#contact-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 47, 184, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 28px;
  display: block;
}

.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.cta-headline em {
  font-style: italic;
  color: var(--purple-light);
}

.cta-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  margin-bottom: 52px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-plum);
  background: #fff;
  border: none;
  border-radius: 100px;
  padding: 16px 40px;
  cursor: none;
  text-decoration: none;
  transition: all var(--transition);
  display: inline-block;
}

.btn-white:hover {
  background: var(--purple-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(107, 47, 184, 0.4);
}

.btn-ghost-white {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 15px 32px;
  cursor: none;
  text-decoration: none;
  transition: all var(--transition);
  display: inline-block;
}

.btn-ghost-white:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* ── Footer ── */
footer {
  background: #0E0718;
  padding: var(--section-pad) var(--side-pad) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-slogan {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  margin-top: 24px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.footer-slogan em {
  font-style: italic;
  font-weight: 500;
  color: var(--purple-light);
}

.footer-brand p {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  max-width: 280px;
  margin-top: 16px;
  margin-bottom: 28px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  /* Invert to white for dark footer background */
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 4px;
  display: block;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
  font-weight: 400;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul li a {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition);
  font-weight: 300;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-social-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 8px 16px;
  transition: all var(--transition);
}

.footer-social-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom span {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.08em;
}

.footer-wordmark {
  width: 100%;
  overflow: hidden;
  padding: 0 0 0;
  margin-top: 24px;
}

.footer-wordmark svg {
  width: 100%;
  display: block;
}

.footer-wordmark-text {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 0.5;
  font-family: var(--font-serif);
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

.reveal-delay-4 {
  transition-delay: 0.6s;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  #hero {
    grid-template-columns: 1fr;
    padding-bottom: 100px;
  }

  .hero-right {
    height: 60vw;
    padding-top: 0;
  }

  .hero-image-frame {
    width: 100%;
    height: 100%;
    border-radius: 20px;
  }

  .hero-bottom-row {
    display: none;
  }

  #about {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-right {
    padding-top: 0;
  }

  .about-quote-card {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    margin-top: -40px;
    margin-left: 20px;
    margin-right: 20px;
    max-width: none;
  }

  #services {
    grid-template-columns: 1fr;
  }

  .services-left {
    position: relative;
    top: auto;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .collections-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .collection-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .collection-card:nth-child(1) .collection-card-img {
    min-height: 500px;
  }

  .collection-card:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .collection-card:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: auto;
  }

  .collection-card:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .collection-card:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: auto;
  }

  .collection-card:nth-child(2) .collection-card-img,
  .collection-card:nth-child(3) .collection-card-img,
  .collection-card:nth-child(4) .collection-card-img,
  .collection-card:nth-child(5) .collection-card-img {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  :root {
    --side-pad: 20px;
    --section-pad: 60px;
  }

  body {
    cursor: auto;
  }

  #cursor,
  #cursor-follower {
    display: none;
  }

  .nav-menu-btn,
  .btn-primary,
  .btn-outline,
  .btn-white,
  .btn-ghost-white,
  .collection-card,
  .service-item,
  .nav-overlay .overlay-close {
    cursor: pointer;
  }

  nav {
    mix-blend-mode: normal;
  }

  .nav-menu-btn {
    letter-spacing: 0.14em;
    padding: 10px 16px;
  }

  .nav-overlay {
    justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 28px);
    overflow-y: auto;
  }

  .overlay-nav-links {
    margin-top: 20px;
  }

  .overlay-nav-links a {
    font-size: clamp(34px, 11vw, 52px);
    line-height: 1.08;
  }

  .overlay-footer {
    position: static;
    margin-top: 30px;
    padding-top: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  #hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 24px);
    padding-bottom: 84px;
    gap: 28px;
  }

  .hero-left {
    padding-right: 0;
  }

  .hero-headline {
    margin-bottom: 20px;
  }

  .hero-subtext {
    max-width: none;
    margin-bottom: 30px;
  }

  .hero-right {
    height: min(72vw, 460px);
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  .collection-card:nth-child(1),
  .collection-card:nth-child(2),
  .collection-card:nth-child(3),
  .collection-card:nth-child(4),
  .collection-card:nth-child(5) {
    grid-column: span 1;
  }

  .collection-card:nth-child(1) .collection-card-img,
  .collection-card:nth-child(2) .collection-card-img,
  .collection-card:nth-child(3) .collection-card-img,
  .collection-card:nth-child(4) .collection-card-img,
  .collection-card:nth-child(5) .collection-card-img {
    min-height: 340px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .service-item {
    align-items: flex-start;
    gap: 16px;
  }

  .service-item-left {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .service-arrow {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .gallery-modal-content {
    width: 94%;
    height: 74vh;
  }

  .gallery-close-btn {
    top: -34px;
    font-size: 34px;
  }

  .gallery-item {
    max-width: 86vw;
  }

  .wordmark-base,
  .wordmark-reveal {
    font-size: 40px;
  }
}

/* ── Gallery Modal ── */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 7, 24, 0.85);
  /* deep plum translucent base */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-modal-content {
  position: relative;
  width: 90%;
  max-width: 1400px;
  height: 80vh;
  z-index: 2;
  display: flex;
  align-items: center;
}

.gallery-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 40px;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
  z-index: 3;
}

.gallery-close-btn:hover {
  color: var(--purple-light);
  transform: rotate(90deg);
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  height: 100%;
  width: 100%;
  padding-bottom: 20px;
  /* space for scrollbar */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar {
  height: 6px;
}

.gallery-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: var(--purple-light);
  border-radius: 10px;
}

.gallery-item {
  scroll-snap-align: center;
  flex: 0 0 auto;
  height: 100%;
  max-width: 80vw;
}

.gallery-item img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
