/* ══════════════════════════════════════════════════════════
   PAPA WEAVES — papaweaves.in
   Design system from Brand Identity Guidelines v1.0
   Signature motif: the running stitch
   ══════════════════════════════════════════════════════════ */

:root {
  --bark:     #3B1F0E;
  --chestnut: #7B4A1E;
  --jute:     #A0703A;
  --leaf:     #4A7C3F;
  --sprout:   #82B541;
  --cream:    #FAF6F0;
  --linen:    #F5EFE6;
  --ink:      #1A1A1A;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--cream);
}

/* ── Woven jute texture (pure CSS) ─────────────────────── */
.weave {
  background-color: var(--linen);
  background-image:
    repeating-linear-gradient(45deg,  rgba(160,112,58,.09) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgba(123,74,30,.09)  0 2px, transparent 2px 9px);
}

/* ── The running stitch — signature divider ─────────────── */
.stitch {
  border: none;
  height: 0;
  border-top: 2px dashed var(--jute);
  opacity: .55;
  margin: 0 auto;
  max-width: 160px;
  position: relative;
}
.stitch::after {          /* the needle knot */
  content: '';
  position: absolute;
  right: -5px; top: -5px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--leaf);
}
.stitch--wide { max-width: 100%; }

/* ── Layout helpers ─────────────────────────────────────── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--jute);
  margin-bottom: 18px;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--bark); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 22px; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }

p  { margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: var(--chestnut); }

/* underline that looks sewn */
.sewn {
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-color: var(--jute);
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}

/* ── Header / nav ───────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,240,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(160,112,58,.25);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand span {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.25rem; color: var(--bark);
}
nav.menu { display: flex; gap: 30px; }
nav.menu a {
  color: var(--bark); text-decoration: none;
  font-weight: 700; font-size: .92rem; letter-spacing: .04em;
  padding-bottom: 6px;
  border-bottom: 2px dashed transparent;
  transition: border-color .2s, color .2s;
}
nav.menu a:hover, nav.menu a:focus-visible { border-bottom-color: var(--jute); color: var(--chestnut); }
nav.menu a.active { border-bottom-color: var(--leaf); }

/* mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.7rem; color: var(--bark); }
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  nav.menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column; gap: 0;
    border-bottom: 2px dashed var(--jute);
  }
  nav.menu.open { display: flex; }
  nav.menu a { padding: 16px 24px; border-bottom: 1px solid var(--linen); }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 40px;
  font-weight: 700; font-size: .95rem;
  text-decoration: none;
  letter-spacing: .03em;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:focus-visible { outline: 3px solid var(--sprout); outline-offset: 3px; }
.btn-leaf { background: var(--leaf); color: #fff; }
.btn-leaf:hover { background: #3d6a34; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(74,124,63,.35); }
.btn-outline { border: 2px solid var(--jute); color: var(--chestnut); }
.btn-outline:hover { background: var(--jute); color: #fff; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 80px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero .tagline-note {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--jute);
  font-size: 1.1rem;
  margin-top: 26px;
}
.hero-logo-panel {
  padding: 44px;
  border: 2px dashed var(--jute);
  border-radius: 18px;
  text-align: center;
}
.hero-logo-panel img { max-width: 100%; height: auto; max-height: 360px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo-panel { order: -1; max-width: 340px; margin: 0 auto; }
}

/* ── Cards / product grid ───────────────────────────────── */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1.5px dashed var(--jute);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(59,31,14,.12); }
.card .ph {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--jute);
  font-family: var(--font-display); font-style: italic;
  font-size: .95rem;
}
.card .card-body { padding: 18px 20px 22px; }
.card .card-body h3 { font-size: 1.05rem; }
.card .card-body p { font-size: .9rem; color: var(--chestnut); margin: 0; }

/* value trio */
.value {
  text-align: center;
  padding: 34px 22px;
}
.value .dot {
  width: 52px; height: 52px; border-radius: 50%;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--leaf); color: #fff;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
}

/* ── Story timeline — a life on a thread ────────────────── */
.thread { position: relative; max-width: 760px; margin: 40px auto 0; }
.thread::before {
  content: '';
  position: absolute; left: 18px; top: 6px; bottom: 6px;
  border-left: 2px dashed var(--jute);
}
.knot {
  position: relative;
  padding: 0 0 44px 64px;
}
.knot::before {
  content: '';
  position: absolute; left: 10px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--leaf);
}
.knot:last-child { padding-bottom: 0; }
.knot .when {
  font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--jute); margin-bottom: 6px;
}
.knot h3 { margin-bottom: 8px; }
.knot p { margin: 0; }

/* ── Quote band ─────────────────────────────────────────── */
.quote-band { background: var(--bark); color: var(--cream); text-align: center; }
.quote-band blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  max-width: 800px; margin: 0 auto; line-height: 1.5;
}
.quote-band cite {
  display: block; margin-top: 20px;
  font-family: var(--font-body); font-style: normal;
  font-size: .85rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--jute);
}

/* ── Contact blocks ─────────────────────────────────────── */
.contact-card {
  background: #fff;
  border: 1.5px dashed var(--jute);
  border-radius: 14px;
  padding: 34px 30px;
  text-align: center;
}
.contact-card .big {
  font-size: 1.15rem; font-weight: 700; color: var(--bark);
  word-break: break-word;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--bark);
  color: var(--cream);
  padding: 56px 0 40px;
  border-top: 4px solid var(--leaf);
}
footer .foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 720px) { footer .foot-grid { grid-template-columns: 1fr; } }
footer h4 {
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--cream); margin-bottom: 14px;
}
footer a { color: var(--cream); text-decoration: none; opacity: .85; }
footer a:hover { opacity: 1; text-decoration: underline dashed var(--jute); text-underline-offset: 6px; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; font-size: .95rem; }
footer .tagline {
  font-family: var(--font-display); font-style: italic;
  color: var(--jute); margin-top: 6px;
}
footer .legal {
  border-top: 1px dashed rgba(250,246,240,.3);
  padding-top: 22px;
  font-size: .8rem; opacity: .7; text-align: center;
}

/* ── WhatsApp floating button ───────────────────────────── */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* page hero (inner pages) */
.page-hero { padding: 72px 0 56px; text-align: center; }
.page-hero p { max-width: 640px; margin: 14px auto 0; }

.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.section-linen { background: var(--linen); }
