/* Lulutox — Botanical Editorial redesign */
:root {
  --ink: #0e241c;
  --ink-soft: #1a3a2e;
  --moss: #2d5a45;
  --leaf: #3f7a5c;
  --mist: #d8e6dc;
  --fog: #eef4ef;
  --paper: #f7faf7;
  --amber: #b86a1c;
  --amber-deep: #8f4f12;
  --steam: rgba(255, 255, 255, 0.55);
  --line: rgba(14, 36, 28, 0.12);
  --text: #1c2e26;
  --muted: #4a6358;
  --white: #ffffff;
  --radius: 2px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, padding 0.4s;
}

.site-header.is-scrolled {
  background: rgba(14, 36, 28, 0.88);
  backdrop-filter: blur(12px);
  padding: 0.65rem 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.logo span {
  font-weight: 300;
  opacity: 0.75;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: var(--amber);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.nav-cta:hover {
  background: var(--amber-deep);
  transform: translateY(-1px);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 36, 28, 0.35) 0%, rgba(14, 36, 28, 0.15) 35%, rgba(14, 36, 28, 0.82) 100%),
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(63, 122, 92, 0.35), transparent 60%);
  z-index: 1;
}

.hero__steam {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero__steam span {
  position: absolute;
  bottom: 22%;
  left: 42%;
  width: 90px;
  height: 140px;
  background: radial-gradient(ellipse, var(--steam), transparent 70%);
  filter: blur(18px);
  opacity: 0;
  animation: steamRise 6s ease-in-out infinite;
}

.hero__steam span:nth-child(2) {
  left: 48%;
  width: 70px;
  animation-delay: 2s;
  animation-duration: 7s;
}

.hero__steam span:nth-child(3) {
  left: 38%;
  width: 110px;
  animation-delay: 3.5s;
  animation-duration: 8s;
}

@keyframes steamRise {
  0% { opacity: 0; transform: translateY(40px) scaleX(0.6); }
  30% { opacity: 0.45; }
  100% { opacity: 0; transform: translateY(-120px) scaleX(1.4); }
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 0 0 4.5rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 7.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  animation: brandIn 1.1s var(--ease) both;
}

.hero__brand em {
  font-style: italic;
  font-weight: 300;
  opacity: 0.85;
}

@keyframes brandIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 400;
  max-width: 22ch;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  animation: brandIn 1.1s 0.15s var(--ease) both;
}

.hero__lead {
  font-size: 1.05rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.75rem;
  animation: brandIn 1.1s 0.28s var(--ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: brandIn 1.1s 0.4s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}

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

.btn--amber {
  background: var(--amber);
  color: var(--white);
}

.btn--amber:hover {
  background: var(--amber-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--full {
  width: 100%;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  right: max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
  z-index: 3;
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 0.85; transform: translateY(6px); }
}

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

.section--mist {
  background:
    linear-gradient(160deg, var(--fog) 0%, var(--mist) 45%, #cfe0d4 100%);
  position: relative;
}

.section--mist::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.section--paper {
  background: var(--paper);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.75rem;
}

.section--ink .eyebrow {
  color: #8fbf9f;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

.section--ink .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

/* —— Diet principles —— */
.principles {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .principle {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }

  .principle:nth-child(even) {
    direction: rtl;
  }

  .principle:nth-child(even) > * {
    direction: ltr;
  }
}

.principle__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.principle__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.principle:hover .principle__media img {
  transform: scale(1.04);
}

.principle__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--leaf);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.principle h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.principle p {
  color: var(--muted);
  max-width: 40ch;
}

/* —— Product split —— */
.product-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .product-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.product-split__visual {
  position: relative;
}

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

.product-split__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-split__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.product-split__copy p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
  max-width: 42ch;
}

.product-split__copy p + p {
  margin-bottom: 1.75rem;
}

/* —— Ingredients —— */
.ingredients-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .ingredients-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .ingredients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ingredient {
  background: var(--paper);
  padding: 1.75rem 1.5rem;
  transition: background 0.35s;
}

.ingredient:hover {
  background: var(--fog);
}

.ingredient__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.ingredient__latin {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--leaf);
  margin-bottom: 0.75rem;
}

.ingredient p {
  font-size: 0.92rem;
  color: var(--muted);
}

.ingredient--wide {
  grid-column: 1 / -1;
}

@media (min-width: 960px) {
  .ingredient--wide {
    grid-column: span 1;
  }
}

.more-ingredients {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 700px) {
  .more-ingredients {
    grid-template-columns: 1fr 1fr;
  }
}

.more-item {
  padding-left: 1.25rem;
  border-left: 2px solid var(--leaf);
}

.more-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.more-item p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* —— Quote —— */
.quote-block {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    linear-gradient(135deg, var(--ink-soft), var(--moss));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.quote-block::after {
  content: "";
  position: absolute;
  width: 40vw;
  height: 40vw;
  right: -10%;
  top: -20%;
  background: radial-gradient(circle, rgba(143, 191, 159, 0.2), transparent 65%);
  pointer-events: none;
}

.quote-block blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 400;
  line-height: 1.45;
  max-width: 38ch;
  font-style: italic;
}

.quote-block cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* —— Ritual —— */
.ritual {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .ritual {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 3.5rem;
  }
}

.ritual__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ritual-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.ritual-step:first-child {
  border-top: 1px solid var(--line);
}

.ritual-step__n {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
  width: 2rem;
}

.ritual-step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.ritual-step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.ritual__visual {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

/* —— Offer —— */
.offer {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 800px) {
  .offer {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.offer__price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.offer__old {
  font-size: 1.35rem;
  text-decoration: line-through;
  opacity: 0.45;
}

.offer__new {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  color: #f0c078;
}

.offer__save {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(240, 192, 120, 0.15);
  color: #f0c078;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.offer__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.offer__perks li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.offer__perks li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--amber);
}

.offer-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.25rem;
  max-width: 42ch;
}

/* —— Order form —— */
.order {
  scroll-margin-top: 5rem;
}

.order__layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .order__layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.order__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.order__intro p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.order__cod {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--moss);
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.order-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 24px 60px rgba(14, 36, 28, 0.06);
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 560px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--fog);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--leaf);
  background: var(--white);
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  margin-top: 0.2rem;
  accent-color: var(--moss);
}

.check a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--mist);
  color: var(--ink);
  font-size: 0.9rem;
}

.form-status.is-visible {
  display: block;
  animation: brandIn 0.5s var(--ease);
}

.supply-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* —— Sources & legal —— */
.sources {
  font-size: 0.85rem;
  color: var(--muted);
}

.sources h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.sources ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.sources a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.disclaimers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.disclaimers strong {
  color: var(--text);
  font-weight: 600;
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 3rem 0 2rem;
  font-size: 0.85rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__legal {
  line-height: 1.7;
  max-width: 60ch;
}

.footer__copy {
  margin-top: 1.5rem;
  opacity: 0.5;
  font-size: 0.8rem;
}

/* —— Ad label —— */
.ad-label {
  position: absolute;
  top: 5.5rem;
  left: max(1.25rem, calc((100% - var(--max)) / 2));
  z-index: 4;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 600px) {
  .hero__content {
    padding-bottom: 5.5rem;
  }

  .hero__scroll {
    display: none;
  }

  .ad-label {
    top: 4.5rem;
  }
}
