/* Clayborne Hair Co. — Premium artisan hair care */

:root {
  --cream: #F5F0E8;
  --warm-white: #FDFBF7;
  --terracotta: #B85C38;
  --terracotta-dark: #8B4228;
  --forest: #2D4A3E;
  --forest-light: #3D6652;
  --stone: #6B6358;
  --stone-light: #9C9185;
  --sand: #D4C4AE;
  --deep-earth: #1E1510;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--warm-white); color: var(--deep-earth); font-family: var(--font-body); font-weight: 400; line-height: 1.6; font-size: 16px; }

/* Nav */
.nav {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 2rem 3rem;
  border-bottom: 1px solid var(--sand);
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--deep-earth);
}
.nav__tag {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--stone);
  letter-spacing: 0.05em;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  min-height: 85vh;
  border-bottom: 1px solid var(--sand);
}
.hero__content {
  padding: 5rem 4rem 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--deep-earth);
}
.hero__lede {
  font-size: 1.15rem;
  color: var(--stone);
  max-width: 520px;
  line-height: 1.7;
}
.hero__attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--stone-light);
  text-transform: uppercase;
}
.hero__attributes .divider { color: var(--sand); }
.hero__visual {
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero__clay-block {
  width: 280px;
  height: 280px;
  position: relative;
}
.clay-texture {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 40% 35%, #7A5C48 0%, #4A3225 40%, #2A1E15 100%);
  border-radius: 50% 40% 60% 50% / 45% 55% 40% 60%;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), inset 0 -20px 40px rgba(0,0,0,0.3), inset 0 20px 40px rgba(255,255,255,0.05);
}
.clay-label {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}
.clay-label span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}
.clay-label span:first-child { font-size: 0.6rem; color: var(--stone-light); }

/* Philosophy */
.philosophy { background: var(--cream); }
.philosophy__inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 4rem 3rem;
  border-bottom: 1px solid var(--sand);
  max-width: 900px;
}
.philosophy__inner--alt {
  margin-left: auto;
  border-left: 3px solid var(--terracotta);
  padding-left: 2.5rem;
}
.philosophy__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--sand);
  line-height: 1;
  padding-top: 0.3rem;
}
.philosophy__inner--alt .philosophy__number { color: var(--terracotta); }
.philosophy__text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--deep-earth);
  margin-bottom: 1rem;
}
.philosophy__text p {
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.75;
}

/* Ingredients */
.ingredients {
  padding: 6rem 3rem;
  background: var(--warm-white);
}
.ingredients__header {
  margin-bottom: 4rem;
  max-width: 600px;
}
.ingredients__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.75rem;
}
.ingredients__header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--deep-earth);
  line-height: 1.2;
}
.ingredients__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  border: 1px solid var(--sand);
}
.ingredient {
  padding: 2rem;
  border: 1px solid var(--sand);
  background: var(--warm-white);
  transition: background 0.2s;
}
.ingredient:hover { background: var(--cream); }
.ingredient__icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.ingredient h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--deep-earth);
  margin-bottom: 0.6rem;
}
.ingredient p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.65;
}

/* How It Works */
.howitworks {
  background: var(--deep-earth);
  padding: 6rem 3rem;
}
.howitworks__inner { max-width: 700px; }
.howitworks__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.howitworks__inner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 3rem;
}
.comparison { display: flex; flex-direction: column; gap: 1.75rem; }
.comparison__item { display: flex; flex-direction: column; gap: 0.75rem; }
.comparison__bar {
  height: 6px;
  border-radius: 3px;
  background: var(--forest-light);
  position: relative;
  overflow: hidden;
}
.comparison__bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; height: 100%;
  border-radius: 3px;
  background: var(--terracotta);
}
.comparison__bar--rinses::after { width: 30%; background: var(--stone-light); }
.comparison__bar--stays::after { width: 95%; background: var(--terracotta); }
.comparison__bar span {
  position: absolute;
  right: 0; top: -1.4rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-light);
}
.comparison__item:last-child .comparison__bar span { color: var(--terracotta); }
.comparison__item p {
  font-size: 0.9rem;
  color: var(--stone-light);
  line-height: 1.65;
}
.comparison__item:last-child p { color: var(--cream); }

/* Closing */
.closing {
  background: var(--cream);
  padding: 7rem 3rem;
  border-top: 1px solid var(--sand);
}
.closing__inner { max-width: 800px; }
.closing__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  color: var(--deep-earth);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.closing__inner > p {
  font-size: 1.1rem;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 3rem;
}
.closing__editions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--sand);
}
.edition h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.edition p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.65;
}

/* Footer */
.footer {
  background: var(--forest);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__brand { display: flex; flex-direction: column; gap: 0.3rem; }
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
}
.footer__tagline {
  font-size: 0.75rem;
  color: var(--sand);
  letter-spacing: 0.05em;
}
.footer__meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}

/* Mobile */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__visual { min-height: 50vw; }
  .hero__content { padding: 3rem 1.5rem; }
  .philosophy__inner { grid-template-columns: 50px 1fr; gap: 1.25rem; padding: 3rem 1.5rem; }
  .philosophy__inner--alt { margin-left: 0; border-left: none; border-top: 3px solid var(--terracotta); padding-left: 1.5rem; }
  .closing__editions { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .nav { padding: 1.5rem; }
  .ingredients { padding: 4rem 1.5rem; }
  .howitworks { padding: 4rem 1.5rem; }
  .closing { padding: 4rem 1.5rem; }
}

/* Nav links */
.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__link:hover { color: var(--deep-earth); }
.nav__cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--terracotta);
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--terracotta-dark); }

/* Testimonials */
.testimonials {
  background: var(--cream);
  padding: 6rem 3rem;
  border-top: 1px solid var(--sand);
}
.testimonials__inner { max-width: 900px; margin: 0 auto; }
.testimonials__header { margin-bottom: 3rem; }
.testimonials__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}
.testimonials__header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--deep-earth);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  padding: 2rem;
}
.testimonial--featured { border-color: var(--terracotta); }
.testimonial__stars {
  color: var(--terracotta);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--stone);
  margin-bottom: 1.25rem;
}
.testimonial__author {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--stone-light);
  letter-spacing: 0.05em;
}

/* Checkout */
.checkout {
  background: var(--warm-white);
  padding: 6rem 3rem;
  border-top: 1px solid var(--sand);
}
.checkout__inner { max-width: 800px; margin: 0 auto; }
.checkout__header { text-align: center; margin-bottom: 3rem; }
.checkout__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.75rem;
}
.checkout__header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--deep-earth);
  margin-bottom: 0.75rem;
}
.checkout__sub { font-size: 1rem; color: var(--stone); }
.checkout__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.checkout__card {
  position: relative;
  border: 1px solid var(--sand);
  padding: 2.5rem 2rem;
  background: var(--warm-white);
}
.checkout__card-badge {
  position: absolute;
  top: -1px;
  left: 2rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--terracotta);
  color: var(--cream);
  padding: 0.3rem 0.75rem;
}
.checkout__card--alt { background: var(--cream); }
.checkout__card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--deep-earth);
  margin-bottom: 1rem;
}
.checkout__price { margin-bottom: 1.5rem; }
.checkout__price-main {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--deep-earth);
}
.checkout__price-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--stone-light);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}
.checkout__features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.checkout__features li {
  font-size: 0.9rem;
  color: var(--stone);
}
.checkout__guarantee {
  text-align: center;
  font-size: 0.85rem;
  color: var(--stone-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.checkout__guarantee-icon { font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--terracotta);
  color: var(--cream);
  width: 100%;
}
.btn--primary:hover { background: var(--terracotta-dark); }
.btn--secondary {
  background: var(--forest);
  color: var(--cream);
  width: 100%;
}
.btn--secondary:hover { background: var(--forest-light); }
.btn--outline-light {
  border: 1px solid var(--sand);
  color: var(--stone);
  background: transparent;
}
.btn--outline-light:hover { border-color: var(--deep-earth); color: var(--deep-earth); }

/* Wholesale */
.wholesale {
  background: var(--forest);
  padding: 5rem 3rem;
  border-top: 1px solid var(--forest-light);
}
.wholesale__inner { max-width: 700px; margin: 0 auto; text-align: center; }
.wholesale__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.5rem;
}
.wholesale__headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.wholesale__body {
  font-size: 1rem;
  color: var(--sand);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.wholesale__details {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.wholesale__detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.wholesale__detail-label {
  font-size: 0.8rem;
  color: var(--stone-light);
  letter-spacing: 0.05em;
}
.wholesale__detail-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
}
.wholesale__detail-retail {
  font-size: 0.75rem;
  color: var(--stone-light);
  text-decoration: line-through;
}

/* Mobile */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__visual { min-height: 50vw; }
  .hero__content { padding: 3rem 1.5rem; }
  .philosophy__inner { grid-template-columns: 50px 1fr; gap: 1.25rem; padding: 3rem 1.5rem; }
  .philosophy__inner--alt { margin-left: 0; border-left: none; border-top: 3px solid var(--terracotta); padding-left: 1.5rem; }
  .closing__editions { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .nav { padding: 1.5rem; }
  .ingredients { padding: 4rem 1.5rem; }
  .howitworks { padding: 4rem 1.5rem; }
  .closing { padding: 4rem 1.5rem; }
  .nav__links { display: none; }
  .testimonials { padding: 4rem 1.5rem; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .checkout { padding: 4rem 1.5rem; }
  .checkout__cards { grid-template-columns: 1fr; }
  .wholesale { padding: 4rem 1.5rem; }
}

@media (max-width: 600px) {
  .hero__headline { font-size: 2.4rem; }
  .ingredients__grid { grid-template-columns: 1fr; }
  .wholesale__details { flex-direction: column; gap: 1.25rem; }
}