/* Luxurious Global — Silk Ribbon Atelier homepage
   Scoped to body.page-silk-home. Same section layout; new visual language. */

body.page-silk-home {
  --silk-ink: #121816;
  --silk-ink-soft: #3f4f48;
  --silk-teal: #1a4d4a;
  --silk-teal-bright: #2f7a74;
  --silk-saffron: #c9a227;
  --silk-saffron-deep: #9e7c14;
  --silk-berry: #9e3b4a;
  --silk-mist: #e4ece8;
  --silk-stone: #f2f5f3;
  --silk-paper: #f7f9f7;
  --silk-line: rgba(18, 24, 22, 0.12);
  --silk-display: 'Syne', 'Avenir Next', sans-serif;
  --silk-body: 'Outfit', 'Segoe UI', sans-serif;

  --plum: var(--silk-teal);
  --plum-dark: var(--silk-ink);
  --plum-light: var(--silk-teal-bright);
  --sage: var(--silk-teal-bright);
  --sage-light: #7eb5b0;
  --coral: var(--silk-berry);
  --coral-dark: #7f2e3a;
  --wheat: var(--silk-saffron);
  --wheat-pale: #f3e7b8;
  --lilac: var(--silk-mist);
  --ink: var(--silk-ink);
  --ink-soft: var(--silk-ink-soft);
  --muted: #6a7a73;
  --line: var(--silk-line);
  --cream: var(--silk-paper);
  --white: #ffffff;
  --sale: var(--silk-berry);
  --star: var(--silk-saffron);
  --green: var(--silk-teal);
  --green-dark: var(--silk-ink);
  --green-light: var(--silk-teal-bright);
  --green-pale: var(--silk-mist);
  --font-display: var(--silk-display);
  --font-body: var(--silk-body);
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 6px;
  --shadow: 0 8px 22px rgba(18, 24, 22, 0.07);
  --shadow-lg: 0 16px 36px rgba(18, 24, 22, 0.12);
  --gradient-a: linear-gradient(145deg, #121816 0%, #1a4d4a 55%, #2f7a74 100%);
  --gradient-b: linear-gradient(120deg, #c9a227 0%, #9e7c14 100%);
  --gradient-hero: linear-gradient(125deg, #0e1714 0%, #163836 48%, #1f5551 100%);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);

  background:
    radial-gradient(900px 420px at 92% -8%, rgba(201, 162, 39, 0.16), transparent 55%),
    radial-gradient(760px 380px at -5% 18%, rgba(47, 122, 116, 0.14), transparent 50%),
    linear-gradient(180deg, #f7f9f7 0%, #eef3f0 42%, #f7f9f7 100%);
  font-family: var(--silk-body);
  color: var(--silk-ink);
}

body.page-silk-home h1,
body.page-silk-home h2,
body.page-silk-home h3,
body.page-silk-home h4 {
  font-family: var(--silk-display);
  letter-spacing: -0.03em;
  font-weight: 700;
}

body.page-silk-home .page-main {
  position: relative;
  isolation: isolate;
}

/* Drifting ribbon atmosphere */
body.page-silk-home .page-main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0 34px,
      rgba(26, 77, 74, 0.035) 34px 36px,
      transparent 36px 70px,
      rgba(201, 162, 39, 0.04) 70px 71px
    );
  animation: silk-ribbon-drift 36s linear infinite;
}

body.page-silk-home .page-main::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(18, 24, 22, 0.06) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
}

@keyframes silk-ribbon-drift {
  from { background-position: 0 0; }
  to { background-position: 220px 140px; }
}

@keyframes silk-ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes silk-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes silk-sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ── Hero ── */
body.page-silk-home .pv-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: clamp(520px, 78vh, 720px);
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(700px 340px at 18% 20%, rgba(201, 162, 39, 0.18), transparent 60%),
    radial-gradient(640px 360px at 88% 70%, rgba(47, 122, 116, 0.28), transparent 55%),
    var(--gradient-hero);
  color: #f4f7f5;
}

body.page-silk-home .pv-hero::before {
  content: attr(data-brand);
  position: absolute;
  left: -2%;
  bottom: -8%;
  font-family: var(--silk-display);
  font-size: clamp(4.5rem, 16vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: rgba(244, 247, 245, 0.05);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  z-index: 0;
}

body.page-silk-home .pv-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 23, 20, 0.55) 0%, rgba(14, 23, 20, 0.18) 48%, transparent 68%),
    repeating-linear-gradient(
      105deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.025) 18px 19px
    );
  z-index: 1;
}

body.page-silk-home .pv-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(48px, 8vh, 88px) 0;
  gap: clamp(28px, 5vw, 56px);
}

body.page-silk-home .pv-hero-copy {
  animation: silk-rise 0.8s ease both;
}

body.page-silk-home .pv-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--silk-saffron);
  font-family: var(--silk-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.page-silk-home .pv-hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--silk-saffron), transparent);
}

body.page-silk-home .pv-hero-copy h1 {
  color: #f7faf8;
  font-size: clamp(2.1rem, 5.2vw, 3.55rem);
  line-height: 1.05;
  margin: 0 0 18px;
  max-width: 14ch;
  text-wrap: balance;
}

body.page-silk-home .pv-hero-copy p {
  color: rgba(244, 247, 245, 0.78);
  margin: 0 0 28px;
  max-width: 38ch;
  font-size: 1.02rem;
  line-height: 1.7;
}

body.page-silk-home .pv-hero-cta .btn-accent {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #d4ad2f 0%, #c9a227 40%, #b8921f 100%);
  background-size: 200% 200%;
  color: #121816;
  border-radius: 4px;
  padding: 15px 34px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--silk-display);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: none;
  border: 1px solid rgba(18, 24, 22, 0.12);
  transition: transform var(--transition), filter var(--transition);
  animation: silk-sheen 7s ease infinite alternate;
}

body.page-silk-home .pv-hero-cta .btn-accent:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  background: linear-gradient(120deg, #e0bb45 0%, #d4ad2f 50%, #c9a227 100%);
  color: #0d1210;
}

body.page-silk-home .pv-hero-dots {
  margin-top: 36px;
  gap: 10px;
}

body.page-silk-home .pv-dot {
  width: 28px;
  height: 3px;
  border-radius: 1px;
  background: rgba(244, 247, 245, 0.28);
  transform: none;
  transition: width var(--transition), background var(--transition);
}

body.page-silk-home .pv-dot.is-active {
  width: 46px;
  background: var(--silk-saffron);
  transform: none;
}

body.page-silk-home .pv-hero-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  animation: silk-rise 1s 0.12s ease both;
}

body.page-silk-home .pv-hero-visual::before {
  content: '';
  position: absolute;
  width: min(92%, 420px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(244, 247, 245, 0.22);
  transform: rotate(4deg) translate(12px, -8px);
  pointer-events: none;
}

body.page-silk-home .pv-hero-visual::after {
  content: '';
  position: absolute;
  width: min(78%, 340px);
  aspect-ratio: 1;
  border-radius: 50% 42% 55% 48%;
  background: radial-gradient(circle at 35% 30%, rgba(201, 162, 39, 0.28), transparent 62%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
  animation: silk-ribbon-drift 18s linear infinite reverse;
}

body.page-silk-home .pv-hero-slide {
  width: min(92%, 420px);
  aspect-ratio: 4 / 5;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  background: rgba(244, 247, 245, 0.06);
  border: 1px solid rgba(244, 247, 245, 0.16);
  overflow: hidden;
  z-index: 1;
}

body.page-silk-home .pv-hero-slide.is-active {
  position: relative;
}

body.page-silk-home .pv-hero-slide img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.02);
}

body.page-silk-home .pv-hero-slide.is-active img {
  animation: silk-ken 7s ease-in-out alternate infinite;
}

/* ── Section titles ── */
body.page-silk-home .pv-section-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 36px;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  color: var(--silk-ink);
}

body.page-silk-home .pv-section-title-left {
  justify-content: flex-start;
}

body.page-silk-home .pv-spark {
  color: var(--silk-saffron);
  font-size: 0.7em;
  margin: 0;
}

body.page-silk-home .pv-section-lead a {
  color: var(--silk-teal);
  position: relative;
  font-weight: 600;
}

body.page-silk-home .pv-section-lead a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform var(--transition);
}

body.page-silk-home .pv-section-lead a:hover::after {
  transform: scaleX(1);
}

/* ── Categories ── */
body.page-silk-home .pv-categories {
  padding: clamp(52px, 8vw, 84px) 0;
  background: transparent;
}

body.page-silk-home .pv-cat-scroll {
  gap: 22px 18px;
  max-width: 1100px;
}

body.page-silk-home .pv-cat-card {
  flex: 0 0 118px;
  width: 118px;
  transition: transform var(--transition);
}

body.page-silk-home .pv-cat-card:hover {
  transform: translateY(-8px) rotate(-1deg);
}

body.page-silk-home .pv-cat-icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 12px;
  border-radius: 28% 42% 30% 48% / 36% 28% 48% 34%;
  background:
    linear-gradient(145deg, rgba(26, 77, 74, 0.12), rgba(201, 162, 39, 0.14)),
    var(--silk-mist);
  box-shadow: none;
  border: 1px solid rgba(26, 77, 74, 0.12);
  overflow: hidden;
  transition: border-radius 0.5s ease, border-color var(--transition);
}

body.page-silk-home .pv-cat-card:hover .pv-cat-icon {
  border-radius: 42% 28% 48% 30% / 28% 42% 32% 48%;
  border-color: rgba(201, 162, 39, 0.45);
}

body.page-silk-home .pv-cat-icon img {
  transition: transform 0.55s ease;
}

body.page-silk-home .pv-cat-card:hover .pv-cat-icon img {
  transform: scale(1.08);
}

body.page-silk-home .pv-cat-card strong {
  font-family: var(--silk-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* ── Collections ── */
body.page-silk-home .pv-collection-grid {
  padding: clamp(40px, 7vw, 72px) 0;
  background:
    linear-gradient(180deg, rgba(228, 236, 232, 0.55), rgba(247, 249, 247, 0.2));
  border-block: 1px solid rgba(18, 24, 22, 0.06);
}

body.page-silk-home .pv-collection-cards {
  gap: 14px;
}

body.page-silk-home .pv-collection-card {
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(18, 24, 22, 0.08);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--card-bg) 70%, #fff), var(--card-bg));
  transition: transform var(--transition), border-color var(--transition);
}

body.page-silk-home .pv-collection-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(18, 24, 22, 0.72) 100%);
  pointer-events: none;
}

body.page-silk-home .pv-collection-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 77, 74, 0.35);
}

body.page-silk-home .pv-collection-card img {
  opacity: 1;
  transition: transform 0.7s ease;
}

body.page-silk-home .pv-collection-card:hover img {
  transform: scale(1.07);
}

body.page-silk-home .pv-collection-card span {
  z-index: 2;
  width: calc(100% - 20px);
  background: transparent;
  color: #f7faf8;
  border-radius: 0;
  padding: 0 0 4px;
  border-bottom: 2px solid var(--silk-saffron);
  font-family: var(--silk-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
}

/* ── Product tabs ── */
body.page-silk-home #productTabs.section-muted {
  background: transparent;
  padding: clamp(48px, 8vw, 80px) 0;
}

body.page-silk-home #productTabs .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 24, 22, 0.1);
}

body.page-silk-home #productTabs .pv-section-title {
  margin: 0;
}

body.page-silk-home .pv-tab-nav,
body.page-silk-home .gs-tab-nav {
  gap: 4px;
  background: rgba(26, 77, 74, 0.06);
  padding: 4px;
  border-radius: 8px;
}

body.page-silk-home .pv-tab-nav button,
body.page-silk-home .gs-tab-nav button {
  border-radius: 5px;
  padding: 10px 16px;
  color: var(--silk-ink-soft);
  font-family: var(--silk-body);
  font-weight: 600;
  font-size: 0.8rem;
  transition: background var(--transition), color var(--transition);
}

body.page-silk-home .pv-tab-nav button.is-active,
body.page-silk-home .gs-tab-nav button.is-active {
  background: var(--silk-teal);
  color: #f4f7f5;
}

body.page-silk-home .gs-tab-panel {
  padding: 28px 0 0;
  background: transparent;
}

body.page-silk-home .product-grid {
  gap: 18px;
}

body.page-silk-home .product-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 24, 22, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

body.page-silk-home .product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 77, 74, 0.28);
  background: #fff;
  box-shadow: var(--shadow);
}

body.page-silk-home .product-img {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(26, 77, 74, 0.06), rgba(201, 162, 39, 0.08));
}

body.page-silk-home .product-img img {
  transition: transform 0.65s ease;
}

body.page-silk-home .product-card:hover .product-img img {
  transform: scale(1.05);
}

body.page-silk-home .product-badge,
body.page-silk-home .product-sale {
  border-radius: 3px;
  font-family: var(--silk-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.65rem;
}

body.page-silk-home .product-badge {
  background: var(--silk-teal);
  color: #f4f7f5;
}

body.page-silk-home .product-sale {
  background: var(--silk-berry);
}

body.page-silk-home .product-body h3 {
  font-family: var(--silk-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

body.page-silk-home .product-cat {
  color: var(--silk-teal-bright);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

body.page-silk-home .product-card .btn-add {
  border-radius: 4px;
  background: transparent;
  color: var(--silk-ink);
  border: 1px solid rgba(18, 24, 22, 0.18);
  font-family: var(--silk-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

body.page-silk-home .product-card .btn-add:hover {
  background: var(--silk-ink);
  color: #f4f7f5;
  border-color: var(--silk-ink);
}

body.page-silk-home .stars {
  color: var(--silk-saffron-deep);
}

/* ── About strip ── */
body.page-silk-home .pv-about-strip {
  position: relative;
  padding: clamp(56px, 9vw, 96px) 0;
  background:
    linear-gradient(120deg, rgba(26, 77, 74, 0.94), rgba(18, 24, 22, 0.92)),
    var(--silk-teal);
  color: #f4f7f5;
  overflow: hidden;
}

body.page-silk-home .pv-about-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -16deg,
      transparent 0 26px,
      rgba(201, 162, 39, 0.05) 26px 27px
    );
}

body.page-silk-home .pv-about-grid {
  position: relative;
  z-index: 1;
  gap: clamp(28px, 5vw, 56px);
}

body.page-silk-home .pv-about-copy .pv-hero-eyebrow {
  color: var(--silk-saffron);
}

body.page-silk-home .pv-about-copy h2 {
  color: #f7faf8;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  max-width: 16ch;
  margin: 10px 0 20px;
}

body.page-silk-home .pv-about-copy p {
  color: rgba(244, 247, 245, 0.78);
  max-width: 46ch;
}

body.page-silk-home .pv-about-copy .btn-accent {
  margin-top: 8px;
  background: transparent;
  color: #f4f7f5;
  border: 1px solid rgba(244, 247, 245, 0.45);
  border-radius: 4px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--silk-display);
}

body.page-silk-home .pv-about-copy .btn-accent:hover {
  background: var(--silk-saffron);
  color: var(--silk-ink);
  border-color: var(--silk-saffron);
}

body.page-silk-home .pv-about-gallery {
  gap: 12px;
}

body.page-silk-home .pv-about-img {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 245, 0.18);
  transform-origin: center;
  transition: transform var(--transition);
}

body.page-silk-home .pv-about-img-1 {
  transform: rotate(-1.5deg);
}

body.page-silk-home .pv-about-img-2 {
  transform: rotate(2deg) translateY(8px);
}

body.page-silk-home .pv-about-img-3 {
  transform: rotate(-2deg);
}

body.page-silk-home .pv-about-img:hover {
  transform: rotate(0deg) scale(1.02);
  z-index: 2;
}

body.page-silk-home .pv-about-img img {
  transition: transform 0.7s ease;
}

body.page-silk-home .pv-about-img:hover img {
  transform: scale(1.05);
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.page-silk-home .page-main::before,
  body.page-silk-home .pv-hero-slide.is-active img,
  body.page-silk-home .pv-hero-visual::after,
  body.page-silk-home .pv-hero-cta .btn-accent {
    animation: none !important;
  }
}

/* Responsive — keep layout, tighten expression */
@media (max-width: 980px) {
  body.page-silk-home .pv-hero {
    min-height: 0;
  }

  body.page-silk-home .pv-hero-inner {
    padding: 40px 0 48px;
  }

  body.page-silk-home .pv-hero-copy h1 {
    max-width: none;
  }

  body.page-silk-home .pv-hero-visual {
    min-height: 280px;
  }

  body.page-silk-home .pv-hero-slide {
    width: min(100%, 360px);
    aspect-ratio: 5 / 4;
    clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  }
}

@media (max-width: 720px) {
  body.page-silk-home .pv-hero::before {
    font-size: 4.2rem;
    bottom: auto;
    top: 4%;
    opacity: 0.7;
  }

  body.page-silk-home #productTabs .section-head {
    align-items: stretch;
  }

  body.page-silk-home .pv-tab-nav,
  body.page-silk-home .gs-tab-nav {
    width: 100%;
    overflow-x: auto;
  }

  body.page-silk-home .pv-about-img-1,
  body.page-silk-home .pv-about-img-2,
  body.page-silk-home .pv-about-img-3 {
    transform: none;
  }
}
