/* ==========================================================================
   SoulPhul — design tokens
   ========================================================================== */
:root {
  --forest: #103d27;
  --forest-dark: #0b2c1c;
  --sage: #55794c;
  --sage-muted: #65745e;
  --olive: #b9c96b;
  --cream: #fffdf8;
  --panel: #f3f6f1;
  --panel-warm: #e5ebd8;
  --gold: #f4e6c2;
  --ink: #1c2620;
  --line: rgba(16, 61, 39, 0.12);

  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 60px -30px rgba(16, 61, 39, 0.35);
  --shadow-card: 0 12px 32px -18px rgba(16, 61, 39, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section {
  padding: 96px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--olive);
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--sage-muted);
  font-size: 18px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 14px 28px -14px rgba(16, 61, 39, 0.55);
}

.btn-primary:hover {
  background: var(--forest-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn-light {
  background: var(--cream);
  color: var(--forest);
}

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

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg {
  width: 30px;
  height: auto;
}

.logo span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav ul {
  display: flex;
  gap: 34px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--sage);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.main-nav a[aria-current="page"] {
  color: var(--forest);
  font-weight: 600;
}

.nav-cta-item {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -7px;
}

.nav-toggle span::after {
  position: absolute;
  top: 7px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 72px 0 100px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  margin-bottom: 22px;
}

.hero-copy .lede {
  font-size: 19px;
  color: var(--sage-muted);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 14px;
  color: var(--sage-muted);
}

.hero-steps {
  display: flex;
  gap: 26px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero-step {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--sage);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero-image-wrap .badge {
  position: absolute;
  z-index: 2;
  top: 5%;
  right: -8%;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--forest);
  font-size: 14px;
  line-height: 1.25;
  padding: 10px;
  box-shadow: var(--shadow-card);
}

.hero-visual .glow {
  position: absolute;
  inset: -10% -10% -10% -10%;
  background: radial-gradient(circle at 50% 30%, rgba(85, 121, 76, 0.18), transparent 60%);
  z-index: 0;
  border-radius: 50%;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   Promise / feature grids
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 30px;
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--sage);
}

.feature-card .icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--sage-muted);
  font-size: 15.5px;
  margin: 0;
}

.section-alt {
  background: var(--panel);
}

/* ==========================================================================
   Ritual steps
   ========================================================================== */
.ritual-band {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 40px;
  align-items: center;
}

.ritual-band .lead {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ritual-band .lead .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ritual-band .lead .icon svg {
  width: 24px;
  height: 24px;
  color: var(--olive);
}

.ritual-band .lead h3 {
  color: var(--cream);
  font-size: 18px;
  margin: 0;
}

.ritual-step {
  display: flex;
  gap: 16px;
}

.ritual-step .num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}

.ritual-step h4 {
  color: var(--cream);
  font-size: 16px;
  margin: 0 0 6px;
}

.ritual-step p {
  color: rgba(255, 253, 248, 0.78);
  font-size: 14.5px;
  margin: 0;
}

/* ==========================================================================
   Ingredient spotlight
   ========================================================================== */
.ingredient-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 56px;
}

.ingredient-visual {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, var(--gold), var(--panel-warm));
  display: flex;
  align-items: center;
  justify-content: center;
}

.ingredient-visual svg {
  width: 46%;
  height: 46%;
  color: var(--forest);
}

.ingredient-visual.photo {
  overflow: hidden;
}

.ingredient-visual.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.ingredient-copy .tag {
  display: inline-block;
  background: var(--panel-warm);
  color: var(--sage);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.ingredient-copy h2 {
  font-size: 32px;
}

.respect-box {
  margin-top: 28px;
  padding: 26px 28px;
  border-left: 3px solid var(--sage);
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  color: var(--sage-muted);
}

.respect-box strong {
  color: var(--forest);
}

.claims-list {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.claims-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink);
}

.claims-list svg {
  width: 18px;
  height: 18px;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Benefits row
   ========================================================================== */
.benefit {
  text-align: center;
}

.benefit .icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--sage);
}

.benefit .icon svg {
  width: 22px;
  height: 22px;
}

.benefit h4 {
  font-size: 15.5px;
  color: var(--forest);
  margin-bottom: 6px;
}

.benefit p {
  font-size: 13.5px;
  color: var(--sage-muted);
  margin: 0;
}

/* ==========================================================================
   Promise pillars (Our Story)
   ========================================================================== */
.pillar {
  display: flex;
  gap: 20px;
}

.pillar .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sage);
}

.pillar .icon svg {
  width: 20px;
  height: 20px;
}

.pillar h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.pillar p {
  color: var(--sage-muted);
  font-size: 15px;
  margin: 0;
}

/* ==========================================================================
   Story / mission
   ========================================================================== */
.story-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-quote {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--forest);
  line-height: 1.4;
  margin: 0;
}

.story-quote::before {
  content: "\201C";
  color: var(--olive);
}

.story-quote::after {
  content: "\201D";
  color: var(--olive);
}

.story-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.name-story {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}

.name-story .word {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--sage);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px 28px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--forest);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--sage);
}

.faq-item summary .plus::before {
  width: 10px;
  height: 1.5px;
}

.faq-item summary .plus::after {
  width: 1.5px;
  height: 10px;
  transition: transform 0.2s ease;
}

.faq-item[open] summary .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item .answer {
  padding: 0 0 24px;
  color: var(--sage-muted);
  font-size: 15.5px;
}

/* ==========================================================================
   Waitlist / CTA
   ========================================================================== */
.waitlist {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 72px 60px;
  text-align: center;
  color: var(--cream);
}

.waitlist .eyebrow {
  color: var(--olive);
  justify-content: center;
}

.waitlist .eyebrow::before {
  display: none;
}

.waitlist h2 {
  color: var(--cream);
  font-size: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist p {
  color: rgba(255, 253, 248, 0.75);
  max-width: 520px;
  margin: 0 auto 32px;
}

.waitlist-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.waitlist-form input[type="email"] {
  flex: 1 1 260px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 248, 0.25);
  background: rgba(255, 253, 248, 0.08);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
}

.waitlist-form input::placeholder {
  color: rgba(255, 253, 248, 0.55);
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--olive);
}

.waitlist-note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 253, 248, 0.55);
}

/* ==========================================================================
   Responsible use callout
   ========================================================================== */
.callout {
  background: var(--panel-warm);
  border-radius: var(--radius-md);
  padding: 36px 40px;
}

.callout .eyebrow {
  color: var(--sage);
}

.callout h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.callout p {
  color: var(--sage-muted);
  margin: 0;
}

.callout p + p {
  margin-top: 10px;
}

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero {
  padding: 64px 0 24px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(34px, 4.2vw, 50px);
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--sage-muted);
  font-size: 18px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--sage-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--sage);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--forest);
  color: rgba(255, 253, 248, 0.82);
  padding: 72px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
}

.footer-brand .logo span {
  color: var(--cream);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14.5px;
  color: rgba(255, 253, 248, 0.62);
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: rgba(255, 253, 248, 0.78);
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 253, 248, 0.7);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   404
   ========================================================================== */
.not-found {
  padding: 140px 0;
  text-align: center;
}

.not-found .mark {
  width: 64px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .ritual-band {
    grid-template-columns: 1fr;
  }

  .ritual-band .lead {
    margin-bottom: 8px;
  }

  .ingredient-panel {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .ingredient-visual {
    max-width: 280px;
    margin: 0 auto;
  }

  .story-hero {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  section {
    padding: 64px 0;
  }

  .main-nav ul,
  .nav-actions .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  body.nav-open .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    padding: 32px 28px;
    z-index: 90;
  }

  body.nav-open .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  body.nav-open .main-nav a {
    display: block;
    padding: 16px 4px;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .nav-actions .btn-outline {
    display: none;
  }

  body.nav-open .main-nav .nav-cta-item {
    display: block;
    margin-top: 20px;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-wrap .badge {
    width: 92px;
    height: 92px;
    font-size: 11px;
    right: -4%;
  }

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

  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ritual-band {
    padding: 40px 28px;
  }

  .name-story {
    grid-template-columns: 1fr;
  }

  .waitlist {
    padding: 52px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}
