:root {
  --forest-950: #0b1813;
  --forest-900: #102820;
  --forest-800: #1c3c30;
  --forest-700: #244c38;
  --forest-600: #2f5e46;
  --leaf: #a0c460;
  --gold: #ac9850;
  --gold-light: #c4b06a;
  --gold-dim: #8a7840;
  --cream: #f4f4f0;
  --cream-dim: #e6e2d6;
  --ink: #102820;
  --muted-on-dark: #b7c2ba;
  --muted-on-light: #5a6e64;
  --line-dark: rgba(172, 152, 80, 0.35);
  --line-light: rgba(16, 40, 32, 0.12);
  --shadow: 0 24px 60px rgba(8, 20, 16, 0.35);
  --radius: 18px;
  --header-h: 4.5rem;
  --wrap: 1120px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-brand: "Cinzel", "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream);
  background: var(--forest-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--gold-light);
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--forest-900);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: calc(100% - 2.5rem);
  max-width: var(--wrap);
  margin-inline: auto;
}

.wrap-wide {
  width: calc(100% - 2.5rem);
  max-width: 1280px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.display-xl {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.display-lg {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

.display-md {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.7;
  max-width: min(40rem, 100%);
}

.muted {
  color: var(--muted-on-dark);
}

.theme-light {
  background: var(--cream);
  color: var(--ink);
}

.theme-light .muted {
  color: var(--muted-on-light);
}

.theme-light .eyebrow {
  color: var(--gold-dim);
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line-dark);
  margin: 0;
}

.theme-light .rule {
  background: var(--line-light);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(16, 40, 32, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
  background: rgba(11, 24, 19, 0.94);
}

.header-inner {
  width: calc(100% - 2rem);
  max-width: 1280px;
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.18rem;
}

.brand-primal {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  font-weight: 400;
}

.brand-helix {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--cream-dim);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--gold);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14' viewBox='0 0 22 14'%3E%3Cpath d='M0 1h22M0 7h22M0 13h22' stroke='%23c4b06a' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") center/18px 12px no-repeat;
  color: var(--gold-light);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle span {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--forest-900);
  font-weight: 500;
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--forest-900);
}

.btn-ghost {
  border-color: var(--gold);
  color: var(--gold-light);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(172, 152, 80, 0.12);
  color: var(--gold-light);
}

.theme-light .btn-ghost {
  color: var(--forest-800);
  border-color: var(--forest-700);
}

.btn-sm {
  min-height: 2.4rem;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.icon {
  width: 1.05em;
  height: 1.05em;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 40, 32, 0.55) 0%, rgba(11, 24, 19, 0.82) 58%, var(--forest-900) 100%),
    radial-gradient(1200px 500px at 50% 20%, rgba(28, 60, 48, 0.2), transparent 60%);
}

.hero-inner {
  text-align: center;
  padding: 4.5rem 0 5rem;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
}

.hero-inner > * {
  min-width: 0;
  max-width: 100%;
}

.hero-mark {
  width: 88px;
  height: auto;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.hero-wordmark {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.hero-primal {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-helix {
  font-family: var(--font-brand);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-helix::before,
.hero-helix::after {
  content: "";
  width: 3.2rem;
  height: 1px;
  background: var(--gold);
}

.hero-tag {
  font-family: var(--font-brand);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-size: 0.82rem;
  margin-top: 0.4rem;
}

.hero-product {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  font-weight: 500;
  line-height: 0.95;
  margin: 0.15rem 0 0.2rem;
}

.hero .lede {
  color: var(--cream-dim);
  margin: 0.4rem auto 0.6rem;
}

.scroll-cue {
  margin-top: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
  justify-items: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.footer-grid > *,
.pepper-row > * {
  min-width: 0;
}

.split-copy {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.photo-frame.portrait img {
  aspect-ratio: 4 / 5;
}

.photo-frame.tall img {
  aspect-ratio: 3 / 4;
}

.label-card {
  background: var(--forest-800);
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  padding: 0.7rem;
  box-shadow: var(--shadow);
  max-width: 100%;
  overflow: hidden;
}

.label-card img {
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
}

/* Pillars / cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.card {
  background: rgba(36, 76, 56, 0.28);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.55rem;
  display: grid;
  gap: 0.75rem;
}

.theme-light .card {
  background: #fff;
  border-color: var(--line-light);
  box-shadow: 0 10px 30px rgba(16, 40, 32, 0.05);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.icon-gold {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--gold);
}

.ingredient-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  isolation: isolate;
  display: grid;
  align-content: end;
  color: var(--cream);
  text-decoration: none;
}

.ingredient-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 0.7s var(--ease);
}

.ingredient-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 24, 19, 0.05) 20%, rgba(11, 24, 19, 0.88) 100%);
}

.ingredient-card:hover img {
  transform: scale(1.05);
}

.ingredient-card:hover {
  color: var(--cream);
}

.ingredient-card figcaption,
.ingredient-body {
  padding: 1.2rem 1.15rem 1.25rem;
  display: grid;
  gap: 0.25rem;
}

.ingredient-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.ingredient-card p {
  font-size: 0.88rem;
  color: var(--cream-dim);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.theme-light .badge {
  border-color: var(--line-light);
  color: var(--forest-700);
}

/* Facts table */
.facts {
  border: 1px solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
  background: var(--forest-800);
  color: var(--cream);
}

.facts-head {
  padding: 1.1rem 1.2rem 0.7rem;
  border-bottom: 3px solid var(--cream);
}

.facts-head h2 {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.facts-meta {
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.facts table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.facts th,
.facts td {
  padding: 0.7rem 1.2rem;
  text-align: left;
}

.facts thead th {
  font-size: 0.78rem;
  font-weight: 500;
  border-bottom: 1px solid var(--cream);
}

.facts tbody td {
  border-bottom: 1px solid rgba(244, 244, 240, 0.18);
}

.facts tbody tr:last-child td {
  border-bottom: 0;
}

.facts .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.facts-note {
  padding: 0.8rem 1.2rem 1.1rem;
  font-size: 0.82rem;
  color: var(--cream-dim);
}

.other-ings {
  margin-top: 1.1rem;
  font-size: 0.95rem;
}

.other-ings strong {
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--gold);
}

/* Product hero */
.product-hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 3rem;
}

.product-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
}

.product-title span {
  display: block;
}

/* Coming soon */
.soon-card {
  border: 1px solid var(--line-light);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px 1fr;
}

.soon-card .muted {
  color: var(--muted-on-light);
}

.soon-card .body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: grid;
  gap: 0.45rem;
}

.soon-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.soon-card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.split-soon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 220px;
}

.split-soon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.botanical {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
  color: var(--ink);
  display: grid;
}

.botanical img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.botanical .body {
  padding: 1.2rem 1.25rem 1.4rem;
  display: grid;
  gap: 0.45rem;
}

.botanical h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}

.pepper-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
}

.pepper-row img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

/* Use / warning */
.callout {
  display: grid;
  gap: 0.5rem;
  padding: 1.2rem 1.3rem;
  border-left: 2px solid var(--gold);
  background: rgba(172, 152, 80, 0.08);
}

.theme-light .callout {
  background: rgba(172, 152, 80, 0.12);
}

/* Footer */
.site-footer {
  background: var(--forest-950);
  color: var(--cream-dim);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: grid;
  gap: 0.8rem;
  justify-items: start;
}

.footer-brand img {
  width: 56px;
}

.footer-col h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.footer-col a,
.footer-col p {
  display: block;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: var(--cream-dim);
}

.disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #8f9d95;
  max-width: 70rem;
}

.legal-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(172, 152, 80, 0.18);
  font-size: 0.8rem;
}

/* Forms */
.form {
  display: grid;
  gap: 0.9rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.form input,
.form textarea {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form {
  position: relative;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.note {
  font-size: 0.85rem;
}

/* 404 */
.not-found {
  min-height: calc(100vh - var(--header-h) - 12rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

/* Amazon dock on product */
.amazon-dock {
  position: sticky;
  bottom: 0;
  z-index: 40;
  display: none;
  background: rgba(11, 24, 19, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
  padding: 0.7rem 1rem;
}

.amazon-dock .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Utilities */
.stack {
  display: grid;
  gap: 1rem;
}

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

.center {
  text-align: center;
}

.mt-s {
  margin-top: 0.5rem;
}

.reveal {
  animation: rise 0.9s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .split,
  .grid-3,
  .grid-4,
  .footer-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--forest-950);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 1.5rem 2rem;
    gap: 1.2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }

  .site-nav.is-open {
    transform: none;
  }

  .site-nav a {
    font-size: 1.2rem;
  }

  .amazon-dock {
    display: block;
  }

  body:has(.amazon-dock) {
    padding-bottom: 4.75rem;
  }

  .amazon-dock .wrap {
    flex-wrap: wrap;
  }

  .hero-primal {
    letter-spacing: 0.28em;
    text-indent: 0.28em;
  }
}

@media (max-width: 640px) {
  .grid-4,
  .split-soon,
  .pepper-row {
    grid-template-columns: 1fr;
  }

  .pepper-row img {
    width: 100%;
    height: 180px;
  }

  .wrap,
  .wrap-wide {
    width: calc(100% - 1.5rem);
  }

  .hero-inner {
    padding: 3rem 0 4rem;
    width: 100%;
  }

  .hero-tag {
    letter-spacing: 0.1em;
    font-size: 0.68rem;
    max-width: 100%;
    padding-inline: 0.4rem;
  }

  .hero-helix {
    letter-spacing: 0.28em;
    text-indent: 0.28em;
  }

  .hero-helix::before,
  .hero-helix::after {
    width: 1.5rem;
  }

  .lede {
    max-width: 18rem;
  }

  .hero-inner .lede {
    padding-inline: 0.75rem;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .hero-inner .btn-row,
  .product-hero .btn-row {
    flex-direction: column;
    width: 100%;
    max-width: 22rem;
  }

  .hero-inner .btn,
  .product-hero .btn {
    width: 100%;
  }

  .amazon-dock .wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .amazon-dock span {
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
