:root {
  --ink: #191316;
  --muted: #6f6065;
  --paper: #fffafa;
  --panel: #ffffff;
  --red: #b80f2d;
  --berry: #7e1028;
  --pink: #f4a0b1;
  --lavender: #9480db;
  --nude: #c9a89a;
  --line: rgba(25, 19, 22, 0.12);
  --shadow: 0 22px 70px rgba(91, 25, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff7f8 0%, #fffafa 34%, #ffffff 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 250, 250, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #d91f45, #55101d);
  border-radius: 50%;
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(184, 15, 45, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 0.5rem;
}

nav a {
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  color: #3b3034;
  font-size: 0.92rem;
  font-weight: 700;
}

nav a:hover {
  background: rgba(184, 15, 45, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.72fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-height: 42rem;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem) 3.25rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.04;
}

h1 {
  max-width: 45rem;
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5.2vw, 4.75rem);
}

.hero-text {
  max-width: 39rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.primary-btn,
.secondary-btn,
.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
}

.primary-btn,
.buy-btn {
  color: #fff;
  background: #171113;
  box-shadow: 0 16px 34px rgba(23, 17, 19, 0.18);
}

.secondary-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.trust-row span {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #49383d;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-panel {
  position: relative;
  padding: 1.2rem;
  border: 1px solid rgba(25, 19, 22, 0.1);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.hero-panel-top strong {
  color: var(--red);
}

.featured-product {
  display: grid;
  grid-template-columns: minmax(10rem, 0.88fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.featured-product h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.featured-product p:not(.brand-name) {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.hero-product-art {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.85), transparent 8.5rem),
    linear-gradient(145deg, #fafafa, #ffe0e5);
}

.lipstick,
.product-lipstick {
  position: absolute;
  width: 7.4rem;
  height: 22rem;
}

.lipstick.tall {
  left: 23%;
  bottom: 4rem;
}

.lipstick.lavender {
  right: 17%;
  bottom: 5rem;
  transform: scale(0.86);
}

.bullet,
.metal,
.tube,
.cap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.bullet {
  top: 0;
  width: 4.15rem;
  height: 7.4rem;
  background: linear-gradient(90deg, #8f0921, #ee3757 45%, #9e0b24);
  border-radius: 3rem 3rem 1rem 1rem;
  clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
}

.metal {
  top: 6.3rem;
  width: 5.6rem;
  height: 6.5rem;
  background: linear-gradient(90deg, #c9c9c9, #fff 40%, #a4a4a4 72%, #e8e8e8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.65rem;
}

.tube {
  bottom: 0;
  width: 6.5rem;
  height: 10rem;
  background: linear-gradient(90deg, #171717, #383234 48%, #0d0d0d);
  border-radius: 1.05rem 1.05rem 1.8rem 1.8rem;
}

.lavender .bullet,
.blush .bullet {
  background: linear-gradient(90deg, #c72762, #ff719b 45%, #b31d51);
}

.lavender .metal,
.blush .metal {
  background: linear-gradient(90deg, #b9c4df, #f6fbff 48%, #9aa8cb);
}

.lavender .tube,
.blush .tube,
.lavender .cap {
  background: linear-gradient(90deg, #7761cf, #c7b3ff 52%, #7358c1);
}

.cap {
  bottom: 1rem;
  width: 6rem;
  height: 14.5rem;
  border-radius: 2rem;
}

.swatch {
  position: absolute;
  width: 11rem;
  height: 3.8rem;
  border-radius: 999px;
  filter: blur(0.1px);
  transform: rotate(-13deg);
}

.swatch.one {
  right: -1rem;
  top: 3.5rem;
  background: rgba(184, 15, 45, 0.82);
}

.swatch.two {
  left: -2rem;
  bottom: 4.5rem;
  background: rgba(126, 16, 40, 0.8);
}

.hero-product-art .product-lipstick {
  left: 50%;
  bottom: -1.35rem;
  transform: translateX(-50%) scale(0.78);
}

.mini-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: #fff;
  background: var(--red);
  font-size: 0.92rem;
  font-weight: 800;
}

.shade-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.shade {
  height: 0.55rem;
  border-radius: 999px;
}

.shade.red {
  background: #b80f2d;
}

.shade.pink {
  background: #d84f72;
}

.shade.wine {
  background: #731528;
}

.shade.nude {
  background: #c9a89a;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: #fff;
  background: #171113;
}

.intro-band p {
  max-width: 58rem;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.6;
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.mini-stats span {
  min-width: 6.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.mini-stats strong {
  display: block;
  color: #ffb6c4;
  font-size: 1.1rem;
}

.products {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 4vw, 4rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  display: flex;
  min-height: 37rem;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(25, 19, 22, 0.08);
}

.product-card.featured {
  transform: translateY(-0.8rem);
}

.product-art {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
}

.product-art::before {
  position: absolute;
  inset: 1.2rem;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.product-art.mac {
  background: linear-gradient(145deg, #fafafa, #ffe2e7);
}

.product-art.maybelline {
  background: linear-gradient(145deg, #f0ebff, #ffe1eb);
}

.product-art.pout {
  background: linear-gradient(145deg, #fff4ef, #f7dfd4);
}

.product-art .product-lipstick {
  left: 50%;
  bottom: -1rem;
  transform: translateX(-50%) scale(0.82);
}

.product-lipstick.nude .tube,
.product-lipstick.nude .metal {
  background: linear-gradient(90deg, #b89283, #efd0c4 48%, #b18a7b);
}

.product-lipstick.nude .cap.side {
  left: 20%;
  bottom: 0.2rem;
  height: 8.5rem;
  border-radius: 0.75rem 0.75rem 1.4rem 1.4rem;
  background: linear-gradient(90deg, #b89283, #d4b3a6 50%, #ad8677);
}

.product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.45rem;
}

.brand-name {
  margin-bottom: 0.55rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.18;
}

.product-content p:not(.brand-name) {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: auto 0 1.2rem;
  padding-top: 1rem;
}

.tags span {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4c3b40;
  background: #fff8f9;
  font-size: 0.82rem;
  font-weight: 700;
}

.buy-btn {
  width: 100%;
  border-radius: 0.9rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 940px) {
  .hero,
  .intro-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .featured-product {
    grid-template-columns: 1fr;
  }

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

  .product-card {
    min-height: auto;
  }

  .product-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
  }

  nav a {
    flex: 1;
    text-align: center;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  .hero-panel {
    padding: 0.9rem;
  }

  .hero-product-art {
    min-height: 18rem;
  }

  .intro-band,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
