:root {
  --ink: #20231f;
  --muted: #6d7169;
  --paper: #f8f5ed;
  --cream: #eee8d8;
  --sage: #76816b;
  --deep: #384134;
  --line: rgba(32, 35, 31, .13);
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
}

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


/* =========================
   HEADER
========================= */

.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 237, .9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
}

nav a {
  transition: color .2s ease;
}

nav a:hover {
  color: var(--ink);
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: .25s ease;
}


/* =========================
   SHARED
========================= */

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--sage);
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

h1,
h2 {
  line-height: .95;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--deep);
  color: white;
}

.secondary {
  border: 1px solid var(--line);
}


/* =========================
   HERO
========================= */

.hero {
  min-height: calc(100vh - 78px);
  padding: 8vw 8vw 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5vw;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

h1 {
  font-size: clamp(64px, 9vw, 128px);
  letter-spacing: -.04em;
}

h1 em {
  color: var(--sage);
  font-style: italic;
}

.hero-text {
  max-width: 480px;
  margin: 30px 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.launch-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}

.hero-art {
  min-height: 540px;
  position: relative;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
}

.hero-product-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(420px, 85%);
  max-height: 600px;
  height: auto;
  margin: 0 auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(35, 40, 30, .16);
}




/* =========================
   PRODUCT PHOTO GALLERY
========================= */

.product-gallery {
  max-width: 900px;
  margin: 0 auto 35px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.product-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(35, 40, 30, .07);
}

.product-photo img {
  display: block;
  width: 100%;
  height: 330px;
  padding: 8px;
  object-fit: contain;
  background: var(--cream);
  transition: transform .3s ease;
}

.product-photo:hover img {
  transform: scale(1.025);
}

.product-photo figcaption {
  min-height: 48px;
  padding: 12px 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.product-order {
  margin: 0 auto 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.product-order p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}


/* =========================
   PRODUCT
========================= */

.intro {
  padding: 120px 8vw;
  background: var(--white);
  text-align: center;
}

h2 {
  font-size: clamp(42px, 6vw, 76px);
}

.lead {
  max-width: 680px;
  margin: 25px auto 38px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.feature-grid {
  max-width: 1050px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.feature-grid article {
  padding: 30px;
  border-top: 1px solid var(--line);
}

.feature-grid span {
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.feature-grid h3 {
  font-size: 28px;
  margin: 35px 0 10px;
}

.feature-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.product-status {
  max-width: 900px;
  margin: 65px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-status div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.product-status strong {
  font-size: 15px;
}

.product-status span {
  color: var(--muted);
  font-size: 12px;
}


/* =========================
   BENEFITS
========================= */

.benefits {
  padding: 120px 8vw;
  background: var(--deep);
  color: white;
}

.benefits .eyebrow {
  color: #c5ceb9;
}

.benefits-header {
  max-width: 750px;
}

.benefits h2 {
  max-width: 700px;
}

.benefit-list {
  max-width: 1050px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 60px;
  margin: 65px auto 0;
}

.benefit-item {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.benefit-number {
  color: #c5ceb9;
  font-size: 12px;
  font-weight: 700;
  min-width: 30px;
}

.benefit-item p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  line-height: 1.6;
}

.hair-types {
  max-width: 850px;
  margin: 50px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
}


/* =========================
   INGREDIENTS
========================= */

.ingredients {
  padding: 120px 8vw;
  background: var(--paper);
}

.ingredients-header {
  max-width: 760px;
  margin-bottom: 65px;
}

.ingredients-intro {
  max-width: 650px;
  margin-top: 25px;
  color: var(--muted);
  line-height: 1.7;
}

.ingredient-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ingredient-card {
  min-height: 190px;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(35, 40, 30, .08);
}

.ingredient-card span {
  display: block;
  margin-bottom: 35px;
  color: var(--sage);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

.ingredient-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.ingredient-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.full-ingredients {
  max-width: 900px;
  margin: 55px auto 0;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.full-ingredients h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
}

.full-ingredients p {
  margin: 0 0 15px;
}

.product-warning {
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
}


/* =========================
   STORY
========================= */

.story {
  padding: 120px 8vw;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 10vw;
  background: var(--cream);
}

.story-image {
  display: grid;
  place-items: center;
}

.story-image img {
  width: min(360px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.story-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
}

.story-signoff {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--ink) !important;
}


/* =========================
   LAUNCH
========================= */

.launch {
  text-align: center;
  padding: 130px 8vw;
  background: var(--white);
}

.launch p:not(.eyebrow) {
  color: var(--muted);
  max-width: 560px;
  margin: 25px auto 35px;
  line-height: 1.7;
}


/* =========================
   CONNECT
========================= */

.connect {
  padding: 110px 8vw;
  background: var(--paper);
  text-align: center;
}

.connect h2 {
  max-width: 750px;
  margin: auto;
}

.social-links {
  max-width: 900px;
  margin: 45px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  min-width: 180px;
  padding: 15px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: .2s ease;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.social-link span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.social-link:hover {
  background: var(--deep);
  color: white;
  transform: translateY(-2px);
}

.social-link:hover span {
  color: rgba(255, 255, 255, .7);
}


/* =========================
   FOOTER
========================= */

footer {
  padding: 35px 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

footer > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

footer span {
  color: var(--muted);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  transition: color .2s ease;
}

.footer-socials a:hover {
  color: var(--sage);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

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

}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    gap: 0;

    padding: 12px 6vw 20px;

    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }


  /* Hamburger → X */

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }


  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-art {
    min-height: 430px;
  }

  .feature-grid,
  .product-status,
  .story,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 18px;
  }

  .product-photo img {
    height: 360px;
  }

  .story {
    gap: 40px;
  }

  .benefit-list {
    gap: 0;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-socials {
    flex-wrap: wrap;
    gap: 15px;
  }

}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 520px) {

  .site-header {
    padding: 0 5vw;
  }

  .hero,
  .intro,
  .benefits,
  .ingredients,
  .story,
  .launch,
  .connect {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  h1 {
    font-size: clamp(54px, 16vw, 80px);
  }

  h2 {
    font-size: clamp(40px, 12vw, 60px);
  }

  .hero-art {
    min-height: 360px;
  }

  .hero-product-image {
    width: min(100%, 360px);
    max-height: 480px;
    border-radius: 20px;
  }

  .product-gallery {
    gap: 14px;
  }

  .product-photo img {
    height: 300px;
  }

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

  .feature-grid article {
    padding: 25px 0;
  }

  .social-links {
    flex-direction: column;
  }

  .social-link {
    width: 100%;
  }

  .footer-socials {
    flex-direction: column;
    gap: 10px;
  }

}