/* =========================
   Natural Soap Outpost — Homepage
   Brand: deep green / gold / cream, Anton headlines, Inter text.
   All classes are prefixed hx- so nothing here leaks into other pages.
   ========================= */

:root {
  --hx-deep: #16402A;
  --hx-deep-2: #0F2E1E;
  --hx-green: #2E6E3E;
  --hx-blue: #1E426C;
  --hx-rust: #70281A;
  --hx-gold: #F5C442;
  --hx-gold-2: #FFD45E;
  --hx-cream: #FCF5E0;
  --hx-paper: #FBF8F0;
  --hx-sand: #F3EEDF;
  --hx-ink: #16231B;
  --hx-body: #3A4A40;
  --hx-muted: #4A5A50;
  --hx-line: #E5DEC8;
  --hx-wrap: 1240px;
  --hx-display: "Anton", Impact, "Arial Narrow", sans-serif;
}

/* ---------- Layout ---------- */
.hx-wrap {
  max-width: var(--hx-wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.hx-section {
  padding: 88px 0 96px;
}

.hx-section--tight {
  padding: 64px 0;
}

.hx-section--dark {
  background-color: var(--hx-deep);
  color: var(--hx-cream);
}

.hx-section--tint {
  background: #FFFFFF;
}

.hx-section--sand {
  background-color: var(--hx-sand);
}

.hx-section--gold {
  background: var(--hx-gold);
  color: var(--hx-deep);
}

.hx-topo-light {
  background-image: url("../../images/home/topo_light.166295d536e6.png");
  background-size: 1200px auto;
  background-repeat: repeat;
}

.hx-topo-dark {
  background-image: url("../../images/home/topo_dark.c77106aee3f4.png");
  background-size: 1200px auto;
  background-repeat: repeat;
}

.hx-center {
  text-align: center;
}

.hx-muted {
  color: var(--hx-muted);
}

/* ---------- Type ---------- */
.hx-display {
  font-family: var(--hx-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
}

.hx-h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 1;
  color: var(--hx-deep);
}

.hx-h2--xl {
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: .95;
}

.hx-section--dark .hx-h2 {
  color: var(--hx-cream);
}

.hx-section--dark .hx-h2 span {
  color: var(--hx-gold);
}

.hx-section--gold .hx-h2 span {
  color: var(--hx-rust);
}

.hx-eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hx-green);
  margin-bottom: 10px;
}

.hx-eyebrow--gold {
  color: var(--hx-gold);
}

.hx-eyebrow--rust {
  color: var(--hx-rust);
}

.hx-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hx-eyebrow-row .hx-eyebrow {
  margin-bottom: 0;
}

.hx-lede {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--hx-body);
  max-width: 34rem;
}

.hx-sub {
  margin: 12px 0 0;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--hx-body);
  max-width: 40rem;
}

.hx-textlink {
  font-weight: 700;
  color: var(--hx-deep);
  padding: 12px 0;
}

.hx-textlink:hover {
  color: var(--hx-green);
}

/* ---------- Tags & buttons ---------- */
.hx-tag {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.hx-tag--gold {
  background: var(--hx-gold);
  color: var(--hx-deep);
}

.hx-tag--rust {
  background: var(--hx-rust);
  color: var(--hx-cream);
}

.hx-tag--outline {
  color: var(--hx-deep);
  box-shadow: inset 0 0 0 1.5px var(--hx-deep);
}

.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.hx-btn:hover {
  transform: translateY(-1px);
}

.hx-btn--lg {
  min-height: 56px;
  padding: 0 30px;
  font-size: 1rem;
  font-weight: 800;
}

.hx-btn--gold {
  background: var(--hx-gold);
  color: var(--hx-deep);
}

.hx-btn--gold:hover {
  background: var(--hx-gold-2);
  color: var(--hx-deep);
}

.hx-btn--dark {
  background: var(--hx-deep);
  color: var(--hx-cream);
}

.hx-btn--dark:hover {
  background: var(--hx-deep-2);
  color: var(--hx-cream);
}

.hx-btn--line {
  color: var(--hx-deep);
  box-shadow: inset 0 0 0 2px var(--hx-deep);
}

.hx-btn--line:hover {
  background: var(--hx-deep);
  color: var(--hx-cream);
}

.hx-btn--line-light {
  color: var(--hx-cream);
  box-shadow: inset 0 0 0 2px var(--hx-cream);
}

.hx-btn--line-light:hover {
  background: var(--hx-cream);
  color: var(--hx-rust);
}

.hx-btn--cream {
  background: var(--hx-cream);
  color: var(--hx-ink);
}

.hx-btn--cream:hover {
  background: #FFFFFF;
  color: var(--hx-ink);
}

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

/* ---------- Section head ---------- */
.hx-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 40px;
}

.hx-head__copy {
  max-width: 44rem;
}

/* ---------- Hero ---------- */
.hx-hero {
  padding: 56px 0 72px;
  background: var(--hx-paper);
}

.hx-hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.hx-hero__copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hx-hero__title {
  margin: 0;
  font-size: clamp(4rem, 8.2vw, 7.4rem);
  color: var(--hx-deep);
}

.hx-hero__title span {
  color: var(--hx-green);
}

.hx-checks {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--hx-body);
}

.hx-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hx-checks li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E6E3E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

.hx-hero__art {
  flex: 1 1 520px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border-radius: 28px;
  background-color: var(--hx-deep);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 20px 36px;
}

.hx-hero__pouches {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 560px;
}

.hx-hero__pouch {
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35));
}

.hx-hero__pouch--left {
  width: 34%;
  transform: rotate(7deg) translateX(14%);
}

.hx-hero__pouch--mid {
  width: 40%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .4));
}

.hx-hero__pouch--right {
  width: 36%;
  transform: rotate(-7deg) translateX(-14%);
}

.hx-burst {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 3;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--hx-gold);
  color: var(--hx-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-10deg);
}

.hx-burst span {
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hx-burst strong {
  font-family: var(--hx-display);
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 1;
}

/* ---------- Ingredient strip ---------- */
.hx-strip {
  background: var(--hx-gold);
  color: var(--hx-deep);
}

.hx-strip__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 26px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-family: var(--hx-display);
  font-size: 1.6rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- Mzima collection cards ---------- */
.hx-collection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.hx-pcard {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 var(--hx-line);
}

.hx-pcard__media {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 22px;
}

.hx-pcard__media--green { background-color: var(--hx-green); }
.hx-pcard__media--blue  { background-color: var(--hx-blue); }
.hx-pcard__media--rust  { background-color: var(--hx-rust); }

.hx-pcard__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
}

.hx-pcard__media img {
  position: relative;
  z-index: 1;
  height: 280px;
  width: auto;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .35));
  transition: transform .3s ease;
}

.hx-pcard:hover .hx-pcard__media img {
  transform: translateY(-4px);
}

.hx-pcard__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hx-pcard__title {
  margin: 0;
  font-size: 1.9rem;
  color: var(--hx-deep);
}

.hx-pcard__meta {
  margin: 0;
  font-size: .95rem;
  color: var(--hx-muted);
}

.hx-pcard__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.hx-pcard__price {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--hx-ink);
}

/* ---------- Refill split ---------- */
.hx-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.hx-split__copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.hx-split__copy .hx-eyebrow {
  margin-bottom: 0;
}

.hx-split__media {
  flex: 1 1 440px;
  min-width: 0;
}

.hx-split__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
}

.hx-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hx-steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.hx-steps__num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hx-gold);
  color: var(--hx-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hx-display);
  font-size: 1.35rem;
}

.hx-steps strong {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
}

.hx-steps span:not(.hx-steps__num) {
  display: block;
  padding-top: 2px;
  font-size: 1rem;
  color: #CFD8CB;
}

.hx-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.hx-stat {
  background: rgba(252, 245, 224, .08);
  border-radius: 18px;
  padding: 20px;
}

.hx-stat strong {
  display: block;
  font-family: var(--hx-display);
  font-weight: 400;
  font-size: 1.75rem;
  text-transform: uppercase;
  color: var(--hx-gold);
}

.hx-stat span {
  display: block;
  padding-top: 6px;
  font-size: .95rem;
  color: #CFD8CB;
}

/* ---------- Catalog grid ---------- */
.hx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hx-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--hx-deep);
  box-shadow: inset 0 0 0 1.5px var(--hx-line);
  background: #FFFFFF;
}

.hx-chip:hover {
  box-shadow: inset 0 0 0 1.5px var(--hx-deep);
}

.hx-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px 24px;
}

.hx-prod {
  display: flex;
  flex-direction: column;
}

.hx-prod__media {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--hx-sand);
  margin-bottom: 14px;
}

.hx-prod__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.hx-prod:hover .hx-prod__media img {
  transform: scale(1.035);
}

.hx-prod__fallback {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--hx-muted);
}

.hx-prod__type {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hx-muted);
  margin-bottom: 4px;
}

.hx-prod__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.hx-prod__title a {
  color: var(--hx-ink);
}

.hx-prod__title a:hover {
  color: var(--hx-green);
}

.hx-prod__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.hx-prod__price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--hx-deep);
}

.hx-prod__stock {
  font-size: .84rem;
  font-weight: 700;
}

.hx-prod__stock--in {
  color: var(--hx-green);
}

.hx-prod__stock--out {
  color: #B42318;
}

.hx-more {
  margin: 32px 0 0;
  text-align: center;
}

/* ---------- Bar soap (coming soon) ---------- */
.hx-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.hx-bar {
  position: relative;
  background: var(--hx-paper);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 var(--hx-line);
}

.hx-bar img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hx-bar__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: .66rem;
  padding: 5px 10px;
}

.hx-bar__name {
  padding: 16px 18px 18px;
  font-size: 1.5rem;
  color: var(--hx-ink);
}

/* ---------- Reviews ---------- */
.hx-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.hx-review {
  margin: 0;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hx-review__stars {
  color: #C98A0B;
  font-size: 1.25rem;
  letter-spacing: 3px;
}

.hx-review blockquote {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--hx-ink);
}

.hx-review figcaption {
  font-size: .95rem;
  font-weight: 700;
  color: var(--hx-muted);
}

/* ---------- Visit ---------- */
.hx-visit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 56px;
}

.hx-visit__copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hx-visit__copy .hx-eyebrow {
  margin-bottom: 0;
}

.hx-visit__addr {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hx-deep);
}

.hx-visit__note {
  margin: 0;
  font-size: 1rem;
  color: #3A3015;
}

/* ---------- Wholesale ---------- */
.hx-wholesale {
  background-color: var(--hx-rust);
  color: var(--hx-cream);
  border-radius: 28px;
  padding: 44px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}

.hx-wholesale > div {
  flex: 1 1 520px;
  min-width: 0;
}

.hx-wholesale__title {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1;
}

.hx-wholesale p {
  margin: 0;
  font-size: 1.06rem;
  color: #F3DCD2;
}

/* ---------- Long-form SEO copy ---------- */
.hx-seo-section {
  background: #FFFFFF;
  border-top: 1px solid var(--hx-line);
}

.hx-seo__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--hx-deep);
}

.hx-seo__h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--hx-deep);
}

.hx-seo__lede {
  margin: 0;
  color: var(--hx-body);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hx-seo__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 48px;
}

.hx-seo__item {
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--hx-line);
}

.hx-seo__num {
  display: block;
  font-family: var(--hx-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--hx-rust);
  margin-bottom: 14px;
}

.hx-seo__item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.3;
  color: var(--hx-deep);
}

.hx-seo__item p {
  margin: 0;
  color: var(--hx-body);
  line-height: 1.65;
  font-size: .94rem;
}

.hx-seo a {
  color: var(--hx-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--hx-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hx-seo a:hover {
  color: var(--hx-green);
}

.hx-seo__close {
  margin: 36px 0 0;
  max-width: 80ch;
  color: var(--hx-muted);
  line-height: 1.7;
  font-size: .94rem;
}

@media (max-width: 980px) {
  .hx-seo__head {
    grid-template-columns: 1fr;
  }

  .hx-seo__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

@media (max-width: 640px) {
  .hx-seo__grid {
    grid-template-columns: 1fr;
  }

  .hx-seo__item {
    padding: 28px 0 30px;
  }
}

/* ---------- Small screens ---------- */
@media (max-width: 680px) {
  .hx-section {
    padding: 64px 0 72px;
  }

  .hx-hero {
    padding: 32px 0 48px;
  }

  .hx-hero__art {
    min-height: 400px;
    border-radius: 22px;
  }

  .hx-burst {
    width: 104px;
    height: 104px;
    top: 16px;
    right: 16px;
  }

  .hx-burst strong {
    font-size: 2.1rem;
  }

  .hx-strip__row {
    font-size: 1.2rem;
    gap: 4px 14px;
  }

  .hx-pcard__media {
    height: 320px;
  }

  .hx-pcard__media img {
    height: 230px;
  }

  .hx-stats {
    grid-template-columns: 1fr;
  }

  .hx-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hx-bar__name {
    font-size: 1.15rem;
    padding: 12px 14px 14px;
  }

  .hx-bar__tag {
    top: 10px;
    left: 10px;
  }

  .hx-wholesale {
    padding: 32px 24px;
  }

  .hx-btn--lg {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hx-btn,
  .hx-pcard__media img,
  .hx-prod__media img {
    transition: none;
  }

  .hx-btn:hover,
  .hx-pcard:hover .hx-pcard__media img,
  .hx-prod:hover .hx-prod__media img {
    transform: none;
  }
}
