:root {
  --bg: #050507;
  --bg-soft: #0d0c11;
  --surface: rgba(255,255,255,0.06);
  --surface-2: rgba(255,255,255,0.09);
  --line: rgba(255,255,255,0.12);
  --text: #f6f1eb;
  --muted: rgba(246,241,235,0.72);
  --pink: #f3a7c8;
  --rose: #b66f89;
  --nude: #b98a77;
  --cocoa: #6c3e30;
  --silver: #dce1e2;
  --red: #9b0b22;
  --shadow: 0 30px 80px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(243,167,200,0.16), transparent 25%),
    radial-gradient(circle at 80% 18%, rgba(108,62,48,0.18), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(220,225,226,0.08), transparent 25%),
    linear-gradient(180deg, #040405 0%, #09080c 35%, #050507 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.7) 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 80% 40%, rgba(255,255,255,0.6) 0 0.8px, transparent 1px),
    radial-gradient(circle at 40% 70%, rgba(255,255,255,0.7) 0 0.5px, transparent 0.9px);
  background-size: 180px 180px, 220px 220px, 160px 160px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(1400px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 14, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.3);
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
}
.logo {
  width: 150px;
  max-width: 32vw;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 0.95rem;
  color: var(--muted);
}
.nav-links a { transition: color .2s ease, opacity .2s ease; }
.nav-links a:hover { color: #fff; }

main {
  width: min(1400px, calc(100% - 28px));
  margin: 18px auto 40px;
}

.hero,
.collection,
.campaign,
.formula,
.shop-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero {
  padding: 48px;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.62);
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero h1 { font-size: clamp(4rem, 9vw, 7.4rem); max-width: 9ch; }
.hero-text,
.selection-copy p:last-child,
.formula-copy > p,
.shop-copy p { line-height: 1.8; color: var(--muted); }
.hero-text { max-width: 35rem; margin: 24px 0 30px; font-size: 1.04rem; }

.hero-actions,
.shop-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.button {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #12070d;
  background: linear-gradient(135deg, #f7d8e4 0%, #efadc8 40%, #d887a4 100%);
  box-shadow: 0 12px 40px rgba(233, 145, 184, 0.28);
}
.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 34px;
}
.hero-stats div,
.selection-copy,
.swatch-card,
.shop-panel,
.formula-copy,
.stack,
.campaign-card,
.product-stage {
  backdrop-filter: blur(14px);
}
.hero-stats div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}
.hero-stats strong { display: block; font-size: 1.05rem; margin-bottom: 5px; }
.hero-stats span { color: var(--muted); font-size: 0.88rem; }

.hero-visual {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  perspective: 1600px;
}
.hero-3d-card {
  width: min(74%, 620px);
  padding: 22px;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}
.hero-lineup {
  border-radius: 26px;
  transform: translateZ(50px);
  filter: drop-shadow(0 30px 70px rgba(0,0,0,0.4));
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  animation: float 9s ease-in-out infinite;
}
.orb-a { width: 340px; height: 340px; background: rgba(243,167,200,0.24); top: 6%; right: 0; }
.orb-b { width: 300px; height: 300px; background: rgba(108,62,48,0.26); bottom: 2%; left: 8%; animation-delay: -2s; }
.orb-c { width: 220px; height: 220px; background: rgba(220,225,226,0.16); top: 38%; left: 4%; animation-delay: -4s; }

.floating {
  position: absolute;
  width: 34%;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
}
.floating-red { top: 8%; left: -2%; transform: rotate(-7deg); animation: drift 8s ease-in-out infinite; }
.floating-pink { right: 0; bottom: 7%; transform: rotate(8deg); animation: drift 9s ease-in-out infinite reverse; }

.luxury-strip {
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.luxury-track {
  display: inline-flex;
  gap: 38px;
  min-width: 200%;
  padding: 16px 0;
  animation: marquee 22s linear infinite;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

.collection,
.campaign,
.formula,
.shop-panel { padding: 90px 34px; margin-top: 18px; }
.section-heading { margin-bottom: 34px; }
.section-heading.center { text-align: center; }
.section-heading h2 { font-size: clamp(2.8rem, 6vw, 5.3rem); }
.light .eyebrow { color: rgba(255,255,255,0.64); }

.collection-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: stretch;
}
.product-stage {
  position: relative;
  min-height: 760px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  overflow: hidden;
  display: grid;
  place-items: center;
}
.stage-gradient {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,167,200,0.45), transparent 65%);
  filter: blur(22px);
  transition: background .4s ease;
}
.stage-reflection {
  position: absolute;
  width: 82%;
  height: 120px;
  bottom: 70px;
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 68%);
  filter: blur(24px);
}
.main-product {
  width: min(62%, 400px);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.45));
  transform: translateY(-10px);
  transition: transform .35s ease, opacity .25s ease;
}
.selection-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.selection-copy {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
}
.selection-copy h3 { font-size: clamp(2rem, 3.2vw, 3.2rem); margin-bottom: 12px; }
.swatch-grid { display: grid; gap: 14px; }
.swatch-card {
  width: 100%;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  padding: 18px 18px;
  color: var(--text);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.swatch-card:hover,
.swatch-card.active {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.08);
}
.swatch-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06), inset 0 2px 8px rgba(255,255,255,0.3);
}
.swatch-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.swatch-meta small { color: rgba(255,255,255,0.5); letter-spacing: 0.18em; }
.swatch-meta strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.campaign {
  background:
    radial-gradient(circle at top center, rgba(155,11,34,0.12), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
}
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.campaign-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  min-height: 320px;
}
.campaign-card img {
  height: 100%;
  object-fit: cover;
}
.campaign-wide {
  grid-column: span 2;
  min-height: 430px;
}
.campaign-caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  right: 24px;
}
.campaign-caption span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.campaign-caption h3 { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 8ch; }

.formula {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
}
.formula-copy {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.formula-copy h2 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 18px; max-width: 8ch; }
.formula-points { display: grid; gap: 18px; margin-top: 28px; }
.formula-points h4 { font-size: 1.6rem; margin-bottom: 6px; }
.formula-points p { margin: 0; color: var(--muted); line-height: 1.7; }
.formula-visuals {
  position: relative;
  min-height: 640px;
}
.stack {
  position: absolute;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
}
.stack-left { width: 31%; left: 0; top: 18%; }
.stack-center { width: 43%; left: 28%; top: 2%; z-index: 2; }
.stack-right { width: 35%; right: 0; bottom: 0; }

.shop-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.shop-logo { width: 180px; margin-bottom: 16px; }
.shop-copy h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); max-width: 10ch; margin-bottom: 14px; }

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .9s ease forwards;
}
.tilt-card {
  transform-style: preserve-3d;
  transition: transform .18s ease;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-18px,0); }
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-16px) rotate(-5deg); }
}

@media (max-width: 1100px) {
  .hero,
  .collection-layout,
  .formula {
    grid-template-columns: 1fr;
  }
  .hero-visual,
  .product-stage,
  .formula-visuals { min-height: 560px; }
  .shop-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 780px) {
  .topbar { padding: 14px 16px; }
  .nav-links { display: none; }
  main, .topbar { width: min(100%, calc(100% - 18px)); }
  .hero, .collection, .campaign, .formula, .shop-panel { padding: 28px 18px; border-radius: 28px; }
  .hero { min-height: auto; }
  .hero-stats { grid-template-columns: 1fr; }
  .campaign-grid { grid-template-columns: 1fr; }
  .campaign-wide { grid-column: span 1; }
  .floating { display: none; }
  .product-stage { min-height: 520px; }
  .main-product { width: min(72%, 340px); }
  .formula-visuals { min-height: 500px; }
  .stack-left { width: 36%; top: 24%; }
  .stack-center { width: 52%; left: 24%; }
  .stack-right { width: 40%; }
}
