/* ============================================================
   Sanaazluxury — The Golden Thread (light, enhanced)
   ============================================================ */

.sz-thread.saanaz-about-thread {
  --th-bg: #fcf9f5;
  --th-ink: #121212;
  --th-muted: #6b6864;
  --th-gold: #c9a962;
  --th-gold-light: #a88b3d;
  --th-surface: #ffffff;
  --th-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  padding: clamp(5rem, 11vw, 8rem) 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(201, 169, 98, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f6f3ee 42%, var(--th-bg) 100%);
  color: var(--th-ink);
  overflow: hidden;
}

/* Ambient */
.sz-thread-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sz-thread-grain {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.sz-thread-glow--center {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 55%;
  height: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(90px);
  background: radial-gradient(circle, rgba(201, 169, 98, 0.12) 0%, transparent 70%);
}

.sz-thread-watermark {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 98, 0.1);
  user-select: none;
  white-space: nowrap;
}

/* Header */
.sz-thread .saanaz-about-thread-head {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.sz-thread .saanaz-about-thread-title {
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--th-ink);
  margin: 0.5rem 0 0.75rem;
}

.sz-thread .saanaz-about-thread-title em {
  font-style: italic;
  color: var(--th-gold);
}

.sz-thread .saanaz-about-thread-sub {
  max-width: 520px;
  margin: 0 auto;
  color: var(--th-muted);
  line-height: 1.65;
  font-size: 1rem;
}

.sz-thread-head-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.sz-thread-head-rule span {
  display: block;
  height: 1px;
  background: rgba(201, 169, 98, 0.35);
}

.sz-thread-head-rule span:nth-child(1),
.sz-thread-head-rule span:nth-child(3) {
  width: 48px;
}

.sz-thread-head-rule span:nth-child(2) {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--th-gold);
  box-shadow: 0 0 12px rgba(201, 169, 98, 0.45);
}

/* Stage */
.sz-thread .saanaz-about-thread-stage {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sz-thread .saanaz-about-thread-svg {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  transform: translateX(-50%);
  overflow: visible;
}

.sz-thread .saanaz-about-thread-path-bg {
  fill: none;
  stroke: rgba(201, 169, 98, 0.18);
  stroke-width: 3;
  stroke-linecap: round;
}

.sz-thread .saanaz-about-thread-path {
  fill: none;
  stroke: url(#sz-thread-gold-gradient);
  stroke: var(--th-gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(201, 169, 98, 0.35));
  transition: stroke-dashoffset 0.15s linear;
}

.sz-thread .saanaz-about-thread-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

/* Steps */
.sz-thread .saanaz-about-step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  opacity: 0.5;
  transition: opacity 0.55s var(--th-ease);
}

.sz-thread .saanaz-about-step.is-active {
  opacity: 1;
}

.sz-thread .saanaz-about-step:nth-child(odd) .saanaz-about-step-card {
  grid-column: 1;
  text-align: right;
}

.sz-thread .saanaz-about-step:nth-child(even) .saanaz-about-step-card {
  grid-column: 3;
  text-align: left;
}

.sz-thread .saanaz-about-step-node {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--th-gold);
  border: 1px solid rgba(201, 169, 98, 0.45);
  border-radius: 50%;
  background: var(--th-surface);
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.08);
  z-index: 2;
  transition: background 0.45s var(--th-ease), color 0.45s, box-shadow 0.45s, transform 0.45s var(--th-ease);
}

.sz-thread-node-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.25);
  opacity: 0;
  transition: opacity 0.45s;
}

.sz-thread .saanaz-about-step.is-active .sz-thread-node-pulse {
  opacity: 1;
  animation: sz-thread-pulse 2.4s ease-out infinite;
}

@keyframes sz-thread-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

.sz-thread .saanaz-about-step.is-active .saanaz-about-step-node {
  background: var(--th-gold);
  color: #ffffff;
  border-color: var(--th-gold);
  box-shadow:
    0 0 0 6px rgba(201, 169, 98, 0.12),
    0 16px 40px rgba(201, 169, 98, 0.28);
  transform: scale(1.06);
}

.sz-thread .saanaz-about-step-card {
  position: relative;
  grid-row: 1;
  padding: 1.35rem 1.6rem 1.35rem 1.75rem;
  border: 1px solid rgba(201, 169, 98, 0.2);
  background: var(--th-surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 44px rgba(18, 18, 18, 0.07);
  transition:
    border-color 0.45s var(--th-ease),
    transform 0.45s var(--th-ease),
    box-shadow 0.45s var(--th-ease);
  overflow: hidden;
}

.sz-thread .saanaz-about-step-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--th-gold), rgba(201, 169, 98, 0.25));
  opacity: 0;
  transition: opacity 0.45s var(--th-ease);
}

.sz-thread .saanaz-about-step:nth-child(odd) .saanaz-about-step-card::before {
  left: auto;
  right: 0;
}

.sz-thread .saanaz-about-step.is-active .saanaz-about-step-card {
  border-color: rgba(201, 169, 98, 0.45);
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 28px 56px rgba(18, 18, 18, 0.11);
}

.sz-thread .saanaz-about-step.is-active .saanaz-about-step-card::before {
  opacity: 1;
}

.sz-thread-step-tag {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--th-gold);
  margin-bottom: 0.5rem;
}

.sz-thread .saanaz-about-step:nth-child(odd) .sz-thread-step-tag {
  text-align: right;
}

.sz-thread .saanaz-about-step-card h3 {
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 400;
  color: var(--th-ink);
  margin: 0 0 0.5rem;
}

.sz-thread .saanaz-about-step-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--th-muted);
}

/* Responsive */
@media (max-width: 991px) {
  .sz-thread .saanaz-about-step {
    grid-template-columns: auto 1fr;
    gap: 1.15rem;
  }

  .sz-thread .saanaz-about-step .saanaz-about-step-card {
    grid-column: 2 !important;
    text-align: left !important;
  }

  .sz-thread .saanaz-about-step:nth-child(odd) .sz-thread-step-tag {
    text-align: left;
  }

  .sz-thread .saanaz-about-step:nth-child(odd) .saanaz-about-step-card::before {
    left: 0;
    right: auto;
  }

  .sz-thread .saanaz-about-step-node {
    grid-column: 1;
    width: 46px;
    height: 46px;
    font-size: 0.9rem;
  }

  .sz-thread .saanaz-about-thread-svg {
    left: 23px;
  }

  .sz-thread-watermark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sz-thread-node-pulse {
    animation: none !important;
  }

  .sz-thread .saanaz-about-step.is-active .saanaz-about-step-card,
  .sz-thread .saanaz-about-step.is-active .saanaz-about-step-node {
    transform: none;
  }
}
