@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Outfit:wght@200;300;400;500&display=swap');

:root {
  --cream: #FAF6F0;
  --sand: #F0EAE0;
  --stone: #C8B9A8;
  --earth: #A6917E;
  --charcoal: #2A2725;
  --muted: #8A827C;
  --white: #fff;
  --warm: #E8DDD0;
  --gold: #C4A87C;
  --blush: #F5EDE6;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', sans-serif
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .02em
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity .4s
}

a:hover {
  opacity: .7
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover
}

.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px
}

.section-tag {
  font: 400 .72rem/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--earth);
  margin-bottom: 16px
}

.accent-line {
  width: 50px;
  height: 1px;
  background: var(--stone);
  margin: 20px 0
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(.25, .8, .25, 1), transform 1s cubic-bezier(.25, .8, .25, 1)
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

.d1 {
  transition-delay: .15s
}

.d2 {
  transition-delay: .3s
}

.d3 {
  transition-delay: .45s
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font: 400 .72rem/1 var(--sans);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color .5s
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--charcoal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s cubic-bezier(.77, 0, .18, 1);
  z-index: -1
}

.btn:hover {
  color: var(--cream);
  opacity: 1
}

.btn:hover::after {
  transform: scaleY(1);
  transform-origin: top
}

.btn--light {
  border-color: var(--white);
  color: var(--white)
}

.btn--light::after {
  background: var(--white)
}

.btn--light:hover {
  color: var(--charcoal)
}

.btn--fill {
  background: var(--charcoal);
  color: var(--cream)
}

.btn--fill::after {
  background: var(--stone)
}

.btn--fill:hover {
  color: var(--charcoal)
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 200;
  transition: all .6s cubic-bezier(.16, 1, .3, 1);
  background: transparent
}

.header.scrolled {
  padding: 16px 0;
  background: rgba(250, 246, 240, .98);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, .03)
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.logo img {
  height: 75px;
  width: auto;
  object-fit: contain
}

.nav {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center
}

.nav a {
  font: 400 .7rem/1 var(--sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--charcoal);
  transition: width .4s
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%
}

.nav a:hover {
  opacity: 1
}

.nav-utils {
  display: flex;
  align-items: center;
  gap: 20px
}

.nav-utils a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.nav-utils svg {
  width: 20px;
  height: 20px;
  stroke: var(--charcoal);
  fill: none;
  stroke-width: 1.5;
  transition: opacity .3s
}

.nav-utils a:hover svg {
  opacity: .5
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--earth);
  color: #fff;
  font-size: .6rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 500
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all .3s
}

/* Footer */
.footer {
  background: #514134;
  color: var(--cream);
  padding: 80px 0 40px
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 40px
}

.footer__brand {
  max-width: 300px
}

.footer__logo img {
  height: 82px;
  filter: brightness(0) invert(1);
  margin-bottom: 24px;
  width: auto;
  object-fit: contain
}

.footer__tagline {
  color: rgba(255, 255, 255, .5);
  font-size: .88rem;
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.1rem
}

.footer__newsletter {
  max-width: 400px
}

.footer__newsletter h5 {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--stone)
}

.footer__newsletter p {
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
  margin-bottom: 16px
}

.newsletter-form {
  display: flex;
  gap: 0
}

.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  border-right: none;
  color: #fff;
  font-family: var(--sans);
  font-size: .85rem;
  outline: none
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, .35)
}

.newsletter-form .btn {
  border-color: rgba(255, 255, 255, .3);
  padding: 14px 24px
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px
}

.footer h5 {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--stone)
}

.footer ul {
  list-style: none
}

.footer li {
  margin-bottom: 10px;
  font-size: .85rem
}

.footer a:hover {
  opacity: .6
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .75rem;
  color: rgba(255, 255, 255, .35)
}

.footer__legal {
  display: flex;
  gap: 24px
}

.footer__legal a {
  color: rgba(255, 255, 255, .35)
}

/* Hero Banner Refinement */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream)
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.hero__bg img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 70% center
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(250, 246, 240, .45) 0%, rgba(250, 246, 240, 0) 60%)
}

.hero__body {
  position: relative;
  z-index: 2;
  max-width: 620px;
  text-align: left;
  padding-left: 0;
  margin-left: -680px
}

.hero__leaf {
  font-size: 1.6rem;
  color: var(--earth);
  margin-bottom: 32px;
  display: block;
  opacity: .8
}

.hero__body h1 {
  font-size: 7.2rem;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -.01em;
  line-height: .82;
  color: var(--charcoal);
  text-transform: uppercase
}

.hero__subtitle {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  font-style: italic;
  color: #642502;
  margin-bottom: 32px;
  display: block;
  line-height: 1.1
}

.hero__body>p {
  color: var(--charcoal);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.6;
  opacity: .9
}

.hero__icons {
  display: flex;
  gap: 48px;
  margin-top: 20px
}

.hero__icon-item {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px
}

.hero__icon-item svg {
  width: 26px;
  height: 26px;
  color: var(--earth);
  stroke-width: 1
}

.hero__icon-item span {
  font: 500 .65rem/1.2 var(--sans);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--charcoal);
  max-width: 100px
}

/* Intro Grid (5 columns) */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--warm);
  border-top: 1px solid var(--sand)
}

.intro-col {
  padding: 40px 30px;
  border-right: 1px solid rgba(0, 0, 0, .05);
  display: flex;
  flex-direction: column;
  height: 100%
}

.intro-col:last-child {
  border-right: none
}

.intro-col__tag {
  font: 400 .65rem/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--earth);
  margin-bottom: 15px
}

.intro-col h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--charcoal)
}

.intro-col h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--charcoal)
}

.intro-col p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6
}

.intro-col__img {
  margin-top: auto;
  padding-top: 20px
}

.intro-col__img img {
  border-radius: 2px;
  filter: grayscale(20%)
}

.intro-col .value-list {
  list-style: none;
  margin-top: 15px
}

.intro-col .value-list li {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted)
}

.intro-col .value-list svg {
  width: 14px;
  height: 14px;
  color: var(--stone)
}

.intro-col__skintypes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px
}

.intro-type {
  text-align: center
}

.intro-type svg {
  width: 20px;
  height: 20px;
  color: var(--stone);
  margin-bottom: 6px
}

.intro-type span {
  display: block;
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted)
}

.intro-col__footer {
  margin-top: auto;
  padding-top: 30px;
  text-align: center
}

.intro-col__footer h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--charcoal)
}

/* Marquee */
.marquee {
  padding: 28px 0;
  background: var(--sand);
  overflow: hidden;
  white-space: nowrap
}

.marquee__track {
  display: inline-flex;
  gap: 50px;
  animation: scroll 25s linear infinite;
  font: 300 .75rem/1 var(--sans);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted)
}

.marquee__track span {
  opacity: .35;
  color: var(--stone)
}

@keyframes scroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* Mobile Nav */
@media(max-width:1024px) {
  .nav--open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--cream);
    z-index: 300;
    justify-content: center;
    align-items: center;
    gap: 28px;
    animation: fadeIn .3s ease
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px)
  }

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

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px)
  }

  .hero__body h1 {
    font-size: 4.5rem
  }

  .hero__subtitle {
    font-size: 2.2rem
  }

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

  .intro-col {
    border-bottom: 1px solid rgba(0, 0, 0, .05)
  }
}

@media(max-width:768px) {
  .hero__body h1 {
    font-size: 3.5rem
  }

  .hero__subtitle {
    font-size: 1.8rem
  }

  .hero__icons {
    gap: 20px
  }

  .intro-grid {
    grid-template-columns: 1fr
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}