/* ============================================
   NowByNature — Design System
   Palette pulled from the e-book cover:
   sage green sunbursts on warm cream paper.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT@9..144,300..900,0..100&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  /* Greens — pulled from sunburst rays on the e-book cover */
  --sage-deep: #3F4E2C;
  --sage: #6F8657;
  --sage-mid: #8FA57A;
  --sage-light: #C4D0A8;
  --sage-mist: #E2E8D1;

  /* Warm neutrals — the cream/paper underneath the design */
  --paper: #FCFAF1;
  --cream: #F4ECD8;
  --cream-soft: #FAF5E6;
  --bone: #F8F2DC;

  /* Inks */
  --ink: #2A2E20;
  --ink-soft: #5A5F4D;
  --ink-mute: #8A8E7B;

  /* Accents — from the food photography in the book */
  --terracotta: #C97B4A;
  --terracotta-deep: #A85F31;
  --butter: #F1D67E;
  --berry: #7B5478;

  /* Shadows — soft, warm, never blue */
  --shadow-xs: 0 1px 2px rgba(63, 78, 44, 0.06);
  --shadow-sm: 0 4px 14px rgba(63, 78, 44, 0.08);
  --shadow-md: 0 10px 30px rgba(63, 78, 44, 0.12);
  --shadow-lg: 0 24px 60px rgba(63, 78, 44, 0.16);

  /* Layout */
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Type */
  --display: 'Fraunces', 'Times New Roman', serif;
  --body: 'Nunito', system-ui, sans-serif;
}

/* ===== Reset / base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Subtle paper grain — created with layered radial gradients */
  background-image:
    radial-gradient(circle at 25% 15%, rgba(241, 214, 126, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(111, 134, 87, 0.05) 0%, transparent 50%);
}

img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--sage); color: var(--paper); }

/* ===== Typography ===== */
.display {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--sage-deep);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  color: var(--sage-deep);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 700; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}

.kicker::before {
  content: '';
  width: 28px; height: 1.5px;
  background: var(--sage);
}

.lead {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}

em.italic-script {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'opsz' 14, 'SOFT' 100;
  font-weight: 500;
  color: var(--terracotta-deep);
}

/* ===== Layout helpers ===== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; color: var(--sage-mid);
  margin: 2rem 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1; max-width: 80px;
  height: 1px; background: currentColor;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--sage-deep);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--sage-deep);
  border-color: var(--sage-deep);
}
.btn-secondary:hover {
  background: var(--sage-deep);
  color: var(--paper);
}
.btn-inline {
  padding: 0.35rem 0.75rem;
  font-size: inherit;
  line-height: 1;
  border-radius: var(--radius-pill);
  min-width: 0;
}
.btn-terracotta {
  background: var(--terracotta);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn-terracotta:hover {
  background: var(--terracotta-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-arrow {
  font-family: var(--body);
  font-weight: 700;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--sage-deep);
  padding-bottom: 2px;
  transition: gap 0.2s;
}
.btn-arrow:hover { gap: 0.8rem; }

/* ===== Top navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 241, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(63, 78, 44, 0.08);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.05rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  font-size: 1.4rem;
  color: var(--sage-deep);
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 40px; height: 40px;
  background: var(--sage-deep);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand sub {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sage-deep); }
.nav-links a.active { color: var(--sage-deep); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}
.nav-cta { padding: 0.65rem 1.25rem; font-size: 0.9rem; }

.nav-toggle { display: none; }

/* ===== Hero (homepage) ===== */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  margin-bottom: 1.6rem;
}
.hero h1 .swoop {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  color: var(--terracotta-deep);
  font-weight: 400;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  margin-bottom: 2rem;
  color: var(--ink-soft);
  max-width: 52ch;
}
.hero-ctas {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.hero-trust {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(63, 78, 44, 0.2);
}
.hero-trust-item {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.88rem; color: var(--ink-soft); font-weight: 600;
}
.hero-trust-item svg { color: var(--sage); flex-shrink: 0; }

/* Sunburst — echoes the e-book cover */
.sunburst {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140%; height: 140%;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
}
.sunburst svg { width: 100%; height: 100%; }

/* ===== Image placeholders — designed, not ugly ===== */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(111, 134, 87, 0.04) 0px,
      rgba(111, 134, 87, 0.04) 12px,
      rgba(111, 134, 87, 0.08) 12px,
      rgba(111, 134, 87, 0.08) 24px
    ),
    var(--cream-soft);
  border: 1.5px dashed rgba(111, 134, 87, 0.4);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--sage-deep);
  overflow: hidden;
}
.ph::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(111, 134, 87, 0.15);
  pointer-events: none;
}
.ph-content { position: relative; z-index: 2; }
.ph-icon {
  width: 44px; height: 44px;
  background: var(--sage-deep);
  color: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 0.85rem;
}
.ph-icon svg { width: 22px; height: 22px; }
.ph-label {
  display: block;
  font-family: var(--display);
  font-variation-settings: 'opsz' 14, 'SOFT' 100;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--sage-deep);
  max-width: 24ch;
  margin-left: auto; margin-right: auto;
}
.ph-hint {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}
.ph-hero { aspect-ratio: 4 / 4.4; }
.ph-square { aspect-ratio: 1; }
.ph-tall { aspect-ratio: 3 / 4; }
.ph-wide { aspect-ratio: 16 / 10; }
.ph-book { aspect-ratio: 3 / 4; box-shadow: var(--shadow-md); }

/* ===== Problem / belief sections ===== */
.belief {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.belief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.belief h2 .accent {
  color: var(--terracotta-deep);
  font-style: italic;
  font-weight: 400;
}
.belief-list {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 1rem;
}
.belief-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.belief-list svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--terracotta);
}
.belief-list strong { color: var(--ink); font-weight: 700; }

/* ===== Mechanism / 15-Minute Bowl Method ===== */
.method {
  text-align: center;
  background: var(--sage-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.method::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(241, 214, 126, 0.09), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(196, 208, 168, 0.10), transparent 50%);
  pointer-events: none;
}
.method-inner { position: relative; z-index: 2; }
.method h2 { color: var(--cream); }
.method h2 .number {
  font-style: italic;
  color: var(--butter);
  font-weight: 400;
}
.method-lead {
  font-size: 1.18rem;
  color: rgba(244, 236, 216, 0.85);
  max-width: 55ch;
  margin: 1.2rem auto 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.step {
  text-align: left;
  padding: 2rem 1.8rem;
  background: rgba(252, 250, 241, 0.06);
  border: 1px solid rgba(196, 208, 168, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}
.step:hover {
  background: rgba(252, 250, 241, 0.10);
  transform: translateY(-3px);
}
.step-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--butter);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.step h3 {
  color: var(--paper);
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}
.step p {
  color: rgba(244, 236, 216, 0.78);
  font-size: 0.98rem;
}

/* ===== Recipe categories ===== */
.categories {
  background: var(--paper);
}
.cat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cat-card {
  background: var(--cream-soft);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid rgba(111, 134, 87, 0.12);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-mid);
}
.cat-card .ph {
  margin-bottom: 1.2rem;
}
.cat-card-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--sage-deep);
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin-bottom: 0.8rem;
}
.cat-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.cat-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--cream);
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}
.test-card {
  background: var(--paper);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(111, 134, 87, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
}
.test-card::before {
  content: '"';
  position: absolute;
  top: -10px; left: 18px;
  font-family: var(--display);
  font-size: 5rem;
  color: var(--terracotta);
  line-height: 1;
  font-variation-settings: 'opsz' 144;
}
.test-stars {
  color: var(--butter);
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
  letter-spacing: 2px;
}
.test-quote {
  font-family: var(--display);
  font-variation-settings: 'opsz' 14, 'SOFT' 100;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1.4rem;
  flex: 1;
  line-height: 1.55;
}
.test-author {
  display: flex; align-items: center; gap: 0.9rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(111, 134, 87, 0.25);
}
.test-author .ph {
  width: 48px; height: 48px;
  border-radius: 50%; padding: 0;
  flex-shrink: 0;
}
.test-author .ph::before { display: none; }
.test-author .ph-content { display: none; }
.test-author-text strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  margin-bottom: 2px;
}
.test-author-text span {
  font-size: 0.84rem;
  color: var(--ink-mute);
}

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--sage-deep);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(241, 214, 126, 0.10), transparent 70%);
}
.cta-banner-inner { position: relative; z-index: 2; }
.cta-banner h2 {
  color: var(--cream);
  margin-bottom: 1rem;
}
.cta-banner h2 em {
  color: var(--butter);
  font-style: italic;
  font-weight: 400;
}
.cta-banner p {
  color: rgba(244, 236, 216, 0.85);
  font-size: 1.1rem;
  max-width: 50ch;
  margin: 0 auto 2.2rem;
}
.cta-banner .btn-primary {
  background: var(--terracotta);
  color: var(--paper);
}
.cta-banner .btn-primary:hover { background: var(--terracotta-deep); }

/* ===== Footer ===== */
.footer {
  background: var(--paper);
  border-top: 1px solid rgba(63, 78, 44, 0.1);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 32ch;
}
.footer h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.2rem;
  font-weight: 800;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a {
  color: var(--ink-soft);
  font-size: 0.94rem;
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--sage-deep); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px dashed rgba(63, 78, 44, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
}
.socials { display: flex; gap: 0.8rem; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  color: var(--sage-deep);
  transition: all 0.2s;
}
.socials a:hover {
  background: var(--sage-deep);
  color: var(--paper);
  transform: translateY(-2px);
}

/* ===== Generic page header (about, product, contact) ===== */
.page-header {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
  text-align: center;
  background:
    radial-gradient(ellipse at top, var(--sage-mist), transparent 70%),
    var(--paper);
  position: relative;
  overflow: hidden;
}
.page-header h1 { max-width: 22ch; margin: 0 auto 1.2rem; }
.page-header h1 em {
  font-style: italic;
  color: var(--terracotta-deep);
  font-weight: 400;
}
.page-header .lead { margin: 0 auto; }

/* ===== About page specifics ===== */
.story {
  background: var(--paper);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.story-grid .ph { aspect-ratio: 4/5; }
.story p {
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.story p:first-of-type::first-letter {
  font-family: var(--display);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  font-size: 4.2rem;
  float: left;
  line-height: 0.85;
  padding: 6px 10px 0 0;
  color: var(--terracotta-deep);
  font-weight: 600;
}

.values {
  background: var(--cream);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
}
.value {
  text-align: left;
  padding: 2rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid rgba(111, 134, 87, 0.12);
}
.value-icon {
  width: 56px; height: 56px;
  background: var(--sage-mist);
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--sage-deep);
  margin-bottom: 1.2rem;
}
.value h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.value p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.gallery {
  background: var(--paper);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.gallery-grid .ph { aspect-ratio: 1; }
.gallery-grid .ph:nth-child(1) { aspect-ratio: 1 / 1.4; grid-row: span 2; }
.gallery-grid .ph:nth-child(4) { aspect-ratio: 1 / 1.4; grid-row: span 2; }

/* ===== Product page specifics ===== */
.product-hero {
  background:
    radial-gradient(ellipse at 80% 20%, var(--sage-mist), transparent 60%),
    var(--paper);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.product-hero .ph {
  aspect-ratio: 3 / 4;
  max-width: 420px;
  margin: 0 auto;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-lg);
}
.product-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--terracotta);
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
}
.product-hero h1 { margin-bottom: 1.2rem; }
.product-meta {
  display: flex;
  gap: 1.8rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}
.product-meta-item strong {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 2rem;
  color: var(--terracotta-deep);
  font-weight: 400;
  line-height: 1;
}
.product-meta-item span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.price-row .price {
  font-family: var(--display);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--sage-deep);
  line-height: 1;
}
.price-row .price-strike {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ink-mute);
  text-decoration: line-through;
}
.price-row .save {
  background: var(--butter);
  color: var(--sage-deep);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inside {
  background: var(--cream);
}
.inside-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.inside-item {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid rgba(111, 134, 87, 0.1);
  align-items: flex-start;
}
.inside-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--terracotta);
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  font-variation-settings: 'opsz' 144;
}
.inside-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.inside-item p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.guarantee {
  background: var(--paper);
  text-align: center;
}
.guarantee-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--cream-soft);
  border: 2px dashed var(--sage-mid);
  border-radius: var(--radius-lg);
  position: relative;
}
.guarantee-badge {
  width: 80px; height: 80px;
  margin: -3.5rem auto 1.5rem;
  background: var(--terracotta);
  color: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-md);
}
.guarantee h2 { margin-bottom: 0.8rem; }
.guarantee p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto;
}

/* ===== FAQ ===== */
.faq {
  background: var(--paper);
}
.faq-list {
  max-width: 820px;
  margin: 3rem auto 0;
}
.faq-item {
  border-bottom: 1px solid rgba(63, 78, 44, 0.12);
  padding: 1.6rem 0;
}
.faq-item summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--display);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--sage-deep);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--terracotta);
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  color: var(--ink-soft);
  margin-top: 0.9rem;
  line-height: 1.65;
  max-width: 70ch;
}

/* ===== Contact page specifics ===== */
.contact {
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-info {
  padding: 2.5rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  align-self: start;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.contact-channels { list-style: none; display: grid; gap: 1.2rem; }
.contact-channel {
  display: flex; gap: 1rem; align-items: center;
}
.contact-channel-icon {
  width: 44px; height: 44px;
  background: var(--paper);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--sage-deep);
  flex-shrink: 0;
}
.contact-channel strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2px;
  font-weight: 700;
}
.contact-channel a, .contact-channel span {
  color: var(--ink); font-weight: 600;
}

.form { display: grid; gap: 1.2rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.field input, .field textarea, .field select {
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1.5px solid rgba(111, 134, 87, 0.25);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: all 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(111, 134, 87, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero-grid,
  .belief-grid,
  .story-grid,
  .product-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .belief-grid .ph,
  .story-grid .ph { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
  .product-hero .ph { transform: none; }
  .steps,
  .cat-grid,
  .test-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid .ph:nth-child(1),
  .gallery-grid .ph:nth-child(4) {
    grid-row: auto;
    aspect-ratio: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .inside-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 8px;
    background: var(--cream);
  }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 1rem; }
  .product-meta { gap: 1.2rem; }
}

/* ===== Thank-you page elements ===== */
.confirm-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--sage-deep);
  color: var(--cream);
  display: grid;
  place-items: center;
  margin: 0 auto 1.6rem;
  box-shadow: 0 8px 24px rgba(63, 78, 44, 0.18);
  position: relative;
}
.confirm-badge::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(111, 134, 87, 0.35);
}
.confirm-help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
.confirm-help-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.confirm-help-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.4rem;
  border: 1px solid rgba(111, 134, 87, 0.18);
}
.confirm-help-card h3 {
  font-family: var(--display);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin: 0;
}
.confirm-help-card p {
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.confirm-help-card a:not(.btn-arrow) {
  color: var(--terracotta-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(201, 123, 74, 0.4);
  text-underline-offset: 3px;
}
.confirm-help-card .btn-arrow {
  margin-top: 0.4rem;
  align-self: flex-start;
}
@media (max-width: 720px) {
  .confirm-help-grid { grid-template-columns: 1fr; }
}

/* ===== Animations — used sparingly ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-grid > * {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-grid > *:nth-child(2) { animation-delay: 0.1s; }

/* ===== Real image content ===== */
/* Add `.has-img` to any `.ph` to swap the placeholder for a real <img> */
.ph.has-img {
  background: transparent;
  border-color: transparent;
  padding: 0;
}
.ph.has-img::before { display: none; }
.ph.has-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Brand mark — real circular logo image variant */
.brand-mark.brand-mark-img {
  background: var(--paper);
  width: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(63, 78, 44, 0.2);
  border: 2px solid rgba(244, 236, 216, 0.85);
}
.brand-mark.brand-mark-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.footer .brand-mark.brand-mark-img {
  border-color: rgba(244, 236, 216, 0.4);
}

/* Testimonial avatar — round image */
.test-author .ph.has-img {
  border-radius: 50%;
  overflow: hidden;
}
.test-author .ph.has-img img {
  border-radius: 50%;
}
