/* ============================================================
   TANU FARMS — tanufarms.ws
   Pacific Grown Botanical | Shared stylesheet
   ============================================================ */

:root {
  --cream: #f6f1e7;
  --cream-deep: #efe8da;
  --green: #17382a;
  --green-dark: #0f2a1f;
  --pink: #d6938b;
  --pink-deep: #c47f77;
  --pink-light: #f2dbd6;
  --ink: #33312b;
  --muted: #6f6a5e;
  --line: #ddd4c4;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
}

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

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; color: var(--ink); }

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-badge { width: 46px; height: 46px; flex-shrink: 0; }

.brand-text { line-height: 1.05; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--ink);
}

.brand-tag {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

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

.main-nav a {
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
}

.main-nav a:hover { color: var(--pink-deep); }

.main-nav a.active { border-bottom-color: var(--pink); }

.main-nav a.btn {
  border-bottom: none;
  padding: 13px 30px;
}

.main-nav a.btn-green { color: #fff; }
.main-nav a.btn-green:hover { color: #fff; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 13px 30px;
  border: none;
  cursor: pointer;
  transition: background .25s, transform .2s, box-shadow .25s;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }

.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-deep); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: center;
}

.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink);
  transition: .3s;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,35,25,.62) 0%, rgba(15,35,25,.30) 45%, rgba(15,35,25,0) 75%);
}

.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 90px 0; }

.hero-content h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.12;
  font-weight: 500;
}

.hero-content p {
  margin: 22px 0 34px;
  font-size: 1.05rem;
  max-width: 520px;
  color: rgba(255,255,255,.92);
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }

.section-title {
  text-align: center;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin-bottom: 14px;
}

.section-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 10px 0 44px;
  color: var(--muted);
}

.section-ornament::before,
.section-ornament::after {
  content: '';
  width: 90px; height: 1px;
  background: var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 20px; }

.two-col p { color: var(--muted); margin-bottom: 14px; max-width: 52ch; }

.rounded-img { border-radius: 4px; box-shadow: 0 20px 50px rgba(30,40,30,.14); }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 10px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 46% 54%;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(30,40,30,.08);
}

.product-card .p-img { height: 100%; min-height: 300px; }

.product-card .p-img img { width: 100%; height: 100%; object-fit: cover; }

.product-card .p-body { padding: 34px 30px; display: flex; flex-direction: column; }

.product-card h3 { font-size: 1.7rem; line-height: 1.2; }

.product-card .p-sub { font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin: 6px 0 18px; }

.check-list { list-style: none; margin-bottom: 26px; }

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .95rem;
}

.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 12px; height: 12px;
  background: var(--pink);
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 16%, 86% 2%, 38% 70%);
}

.product-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Why choose ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 8px;
}

.why-item .icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}

.why-item .icon svg { width: 30px; height: 30px; }

.why-item p { font-size: .88rem; color: var(--ink); font-weight: 400; line-height: 1.45; }

/* ---------- Founding band (home) ---------- */
.founding-band {
  background: var(--pink-light);
  display: grid;
  grid-template-columns: 55% 45%;
  overflow: hidden;
}

.founding-band .fb-body { padding: 64px 56px; }

.founding-band h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 18px; }

.founding-band p { color: #7a5a55; margin-bottom: 22px; max-width: 48ch; }

.founding-band .check-list li { color: #6d4f4a; }

.founding-band .check-list li::before { background: var(--pink-deep); }

.founding-band .fb-img { min-height: 320px; }

.founding-band .fb-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  margin-top: 10px;
}

.testi-grid blockquote {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}

.testi-grid cite {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-style: normal;
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 56px;
  margin-top: 70px;
}

.newsletter h3 { font-size: 1.8rem; margin-bottom: 8px; }

.newsletter p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }

.news-form { display: flex; max-width: 480px; }

.news-form input {
  flex: 1;
  border: 1px solid var(--line);
  background: #fff;
  padding: 13px 18px;
  font-family: var(--sans);
  font-size: .9rem;
  outline: none;
}

.news-form input:focus { border-color: var(--green); }

.news-form .btn { white-space: nowrap; }

.newsletter .n-img img { border-radius: 4px; box-shadow: 0 14px 34px rgba(30,40,30,.14); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #e8e2d5;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: rgba(232,226,213,.65); }
.site-footer .brand-badge circle,
.site-footer .brand-badge path { stroke: #e8e2d5; }

.footer-mid { text-align: center; font-size: .85rem; letter-spacing: 1.5px; line-height: 1.9; }

.footer-mid a:hover { color: var(--pink); }

.footer-right { text-align: right; font-size: .85rem; letter-spacing: 1px; }

.socials { display: flex; gap: 12px; justify-content: flex-end; margin-top: 10px; }

.socials a {
  width: 34px; height: 34px;
  border: 1px solid rgba(232,226,213,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s;
}

.socials a:hover { background: var(--pink); border-color: var(--pink); }

.socials svg { width: 15px; height: 15px; fill: #e8e2d5; }

/* ---------- Page hero (story / founding) ---------- */
.page-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.page-hero .hero-bg::after {
  background: rgba(15,35,25,.42);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 500;
}

.page-hero .sub {
  margin-top: 14px;
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,.92);
}

.hero-ornament { margin-top: 26px; display: flex; justify-content: center; }

/* ---------- Story page ---------- */
.vintage-frame {
  background: #fff;
  padding: 14px 14px 42px;
  box-shadow: 0 22px 50px rgba(30,40,30,.2);
  transform: rotate(2.4deg);
  border: 1px solid var(--line);
}

.vintage-frame img { filter: sepia(.45) contrast(.95); }

.legacy-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.legacy-col { padding: 10px 44px; text-align: center; }

.legacy-col + .legacy-col { border-left: 1px solid var(--line); }

.legacy-col .icon {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  color: var(--green);
}

.legacy-col .icon svg { width: 100%; height: 100%; }

.legacy-col h3 { font-size: 1.55rem; margin-bottom: 16px; line-height: 1.25; }

.legacy-col p { font-size: .92rem; color: var(--muted); margin-bottom: 12px; }

.stats-band {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 54px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat .icon {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  color: var(--green);
}

.stat .icon svg { width: 100%; height: 100%; }

.stat .num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
  line-height: 1.1;
}

.stat .lbl { font-size: .82rem; letter-spacing: 1px; color: var(--muted); margin-top: 4px; }

/* ---------- Founding page ---------- */
.founding-hero {
  background: var(--pink-light);
  overflow: hidden;
}

.founding-hero .two-col { gap: 48px; padding: 64px 0; }

.founding-hero h1 { font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1.15; }

.founding-hero .sub { color: #7a5a55; margin-top: 22px; max-width: 46ch; }

.founding-hero img { border-radius: 4px; box-shadow: 0 22px 55px rgba(120,70,60,.22); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 56px;
  max-width: 980px;
  margin: 0 auto;
}

.benefit { display: flex; gap: 18px; align-items: flex-start; }

.benefit .icon { width: 40px; height: 40px; flex-shrink: 0; color: var(--green); }

.benefit .icon svg { width: 100%; height: 100%; }

.benefit p { font-size: .95rem; color: var(--ink); font-weight: 400; line-height: 1.45; }

.limited-band {
  background: var(--pink-light);
  padding: 64px 0;
}

.limited-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}

.limited-inner h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 16px; }

.limited-inner p { color: #7a5a55; max-width: 46ch; }

.stamp {
  width: 250px; height: 250px;
  margin: 0 auto;
  border: 3px double var(--pink-deep);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  color: var(--pink-deep);
  transform: rotate(-6deg);
  background: rgba(255,255,255,.35);
  position: relative;
}

.stamp .big { font-family: var(--serif); font-size: 3.4rem; line-height: 1; }

.stamp .small {
  font-size: .72rem; letter-spacing: 3px;
  text-transform: uppercase; margin-top: 8px; line-height: 1.8;
}

.stamp::before, .stamp::after {
  content: '✦';
  position: absolute;
  font-size: .7rem;
}

.stamp::before { top: 26px; }
.stamp::after { bottom: 26px; }

.join-form {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 48px 52px;
  box-shadow: 0 16px 44px rgba(30,40,30,.08);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }

.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus { border-color: var(--green); }

.join-form textarea { resize: vertical; min-height: 120px; margin-bottom: 24px; }

.join-form .btn { width: 100%; padding: 17px; }

.form-note {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  background: #e9f3ec;
  border: 1px solid #b7d8c2;
  color: var(--green);
  font-size: .9rem;
  text-align: center;
}

.form-note.show { display: block; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .legacy-cols { grid-template-columns: 1fr; }
  .legacy-col + .legacy-col { border-left: none; border-top: 1px solid var(--line); }
  .legacy-col { padding: 34px 20px; }
}

@media (max-width: 820px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; text-align: center; padding: 16px; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin: 14px; }
  .nav-toggle { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .founding-band { grid-template-columns: 1fr; }
  .founding-band .fb-img { min-height: 240px; order: -1; }
  .testi-grid { grid-template-columns: 1fr; gap: 32px; }
  .newsletter { grid-template-columns: 1fr; }
  .newsletter .n-img { max-width: 320px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 26px; }
  .limited-inner { grid-template-columns: 1fr; text-align: center; }
  .limited-inner p { margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .join-form { padding: 34px 24px; }
  .founding-band .fb-body { padding: 44px 28px; }
  .section { padding: 60px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
  .socials { justify-content: center; }
}

/* ---------- Brand logo image ---------- */
.brand-logo { height: 64px; width: auto; }
.site-footer .brand-logo { height: 76px; }

@media (max-width: 820px) {
  .brand-logo { height: 54px; }
}
