/*
Theme Name: LNS Hair Products
Theme URI: https://lnshairproducts.co.za/
Author: Naharah
Description: Custom lightweight website theme for LNS Hair Products.
Version: 1.0.9
Text Domain: lns-hair-products
*/

:root {
  --root-charcoal: #171412;
  --ink: #24211f;
  --cream: #f8f4ea;
  --paper: #fffdf7;
  --herb: #637247;
  --clay: #b6774e;
  --gold: #c89b52;
  --mist: #e7e5de;
  --muted: #746f68;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(23, 20, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.site-shell {
  overflow: visible;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 244, 234, 0.98);
  border-bottom: 1px solid rgba(36, 33, 31, 0.08);
  backdrop-filter: blur(16px);
  transition: background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  background: rgba(248, 244, 234, 0.78);
  border-bottom-color: rgba(36, 33, 31, 0.06);
  box-shadow: 0 12px 34px rgba(23, 20, 18, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  width: 164px;
  padding: 8px 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--root-charcoal);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  padding: 10px 0;
}

.button,
.nav-cta {
  display: inline-flex;
  min-height: 44px;
  min-width: 112px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--herb);
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 8px 22px rgba(99, 114, 71, 0.22);
}

.nav .nav-cta {
  padding: 0 24px;
  line-height: 1;
}

.nav-cta-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button.secondary {
  background: var(--clay);
}

.button.light {
  background: var(--cream);
  color: var(--root-charcoal);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: stretch;
  background: var(--root-charcoal);
  color: var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  align-items: stretch;
  min-height: calc(100vh - 78px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 7vw 72px max(7vw, 40px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6.2vw, 6.7rem);
}

h2 {
  font-size: clamp(2.4rem, 4.7vw, 4.9rem);
}

h3 {
  font-size: 1.5rem;
}

.hero-copy p {
  max-width: 570px;
  margin: 24px 0 0;
  color: rgba(248, 244, 234, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 52px;
}

.trust-pill {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(248, 244, 234, 0.08);
  color: rgba(248, 244, 234, 0.92);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: clamp(20px, 4vw, 54px);
  bottom: clamp(20px, 4vw, 54px);
  width: min(320px, calc(100% - 40px));
  padding: 22px;
  background: rgba(248, 244, 234, 0.96);
  color: var(--root-charcoal);
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  color: var(--herb);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.hero-card span {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
  line-height: 1.15;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-ready.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-ready.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-ready.reveal-delay-3 {
  transition-delay: 230ms;
}

.section {
  padding: clamp(62px, 7vw, 92px) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 46px;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.product-band {
  background: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.product-image {
  background: var(--cream);
  box-shadow: var(--shadow);
}

.product-image img {
  width: 100%;
  aspect-ratio: 4 / 4.45;
  object-fit: cover;
}

.product-copy h2 {
  color: var(--root-charcoal);
}

.product-copy .lead {
  margin: 24px 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: start;
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.routine {
  background: var(--herb);
  color: var(--cream);
}

.routine .section-intro p {
  color: rgba(248, 244, 234, 0.78);
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.routine-step {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(248, 244, 234, 0.22);
  background: rgba(248, 244, 234, 0.08);
}

.routine-step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--root-charcoal);
  font-weight: 900;
}

.routine-step h3 {
  margin-top: 24px;
}

.routine-step p {
  margin: 12px 0 0;
  color: rgba(248, 244, 234, 0.82);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 60px;
  align-items: center;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.value {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--mist);
}

.value strong {
  display: block;
  margin-bottom: 8px;
  color: var(--herb);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.guide-band {
  background: var(--root-charcoal);
  color: var(--cream);
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  min-height: 230px;
  padding: 26px;
  background: rgba(248, 244, 234, 0.08);
  border: 1px solid rgba(248, 244, 234, 0.16);
}

.guide-card h3 {
  color: var(--gold);
}

.guide-card p {
  color: rgba(248, 244, 234, 0.8);
}

.contact-band {
  background: var(--paper);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 44px;
  padding: clamp(32px, 5vw, 56px);
  background: var(--cream);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow);
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-item {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mist);
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item strong {
  display: block;
  color: var(--herb);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.contact-item span,
.contact-item a {
  display: block;
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.site-footer {
  padding: 38px 0;
  background: var(--cream);
  border-top: 1px solid var(--mist);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  width: 158px;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(248, 244, 234, 0.54);
  border-radius: 999px;
  background: rgba(99, 114, 71, 0.92);
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
  box-shadow: 0 12px 30px rgba(23, 20, 18, 0.16);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--root-charcoal);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (max-width: 940px) {
  .header-inner {
    align-items: center;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    text-align: center;
  }

  .nav-cta {
    margin-left: 0;
  }

  .hero-grid,
  .product-grid,
  .section-intro,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 620px;
    padding: 64px 28px;
  }

  .hero-media {
    min-height: 520px;
  }

  .routine-grid,
  .guide-list,
  .values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .brand-link {
    width: 188px;
  }

  .nav {
    font-size: 0.78rem;
    gap: 10px 20px;
  }

  .nav-cta {
    min-width: 104px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.78rem;
  }

  .nav .nav-cta {
    padding: 0 14px;
  }

  .nav-cta-icon {
    width: 14px;
    height: 14px;
  }

  .hero-copy {
    min-height: auto;
    padding: 52px 18px;
  }

  h1 {
    font-size: 3.15rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}
