/* ── THE AYURVEDIC ALCHEMIST — Design System ───────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Josefin+Sans:wght@200;300;400&family=Cormorant:ital,wght@0,400;1,400&display=swap');

:root {
  --parchment: #F5F0E6;
  --parchment-dark: #EDE5D4;
  --ink: #1A1508;
  --ink-mid: #3A3020;
  --ink-soft: #6B5D48;
  --saffron: #C4881A;
  --saffron-pale: #F2E8D0;
  --saffron-deep: #9A6510;
  --sage: #5F7A50;
  --sage-pale: #DCE8D2;
  --terra: #A85028;
  --terra-pale: #F0DDD0;
  --rule: #CFC4A8;
  --rule-lt: #E4DDD0;
  --white: #FFFDF8;

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Cormorant', Georgia, serif;
  --f-ui: 'Josefin Sans', sans-serif;

  --nav-h: 72px;
  --max-w: 1160px;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' 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;
  z-index: 9999;
  opacity: 0.35;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 300; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

.eyebrow {
  font-family: var(--f-ui);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--saffron);
  flex-shrink: 0;
}

p { font-size: 1.05rem; color: var(--ink-mid); line-height: 1.8; }
p + p { margin-top: 1rem; }

.rule-h { width: 100%; height: 1px; background: var(--rule); border: none; margin: 0; }
.rule-saffron { width: 100%; height: 1px; background: var(--saffron); border: none; margin: 0; opacity: 0.4; }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

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

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(245, 240, 230, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-lt);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.nav-logo span { color: var(--saffron); }
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-family: var(--f-ui);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--saffron); }
.nav-links a.active { color: var(--ink); }
.nav-cta {
  font-family: var(--f-ui);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid var(--saffron);
  color: var(--saffron);
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--saffron); color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1px; background: var(--ink); transition: all 0.3s; }

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--parchment); border-bottom: 1px solid var(--rule); flex-direction: column; padding: 24px 20px; gap: 24px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 20px; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-ui);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: all 0.25s;
  cursor: pointer;
  background: transparent;
}
.btn:hover { background: var(--ink); color: var(--parchment); }
.btn-saffron { border-color: var(--saffron); color: var(--saffron); }
.btn-saffron:hover { background: var(--saffron); color: var(--white); }
.btn-fill { background: var(--ink); color: var(--parchment); }
.btn-fill:hover { background: var(--ink-mid); }

/* ── Hero (shared) ── */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  position: relative;
}

/* ── Product Card ── */
.product-card {
  background: var(--white);
  border: 1px solid var(--rule-lt);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,21,8,0.08); }
.product-card-img { aspect-ratio: 1/1; overflow: hidden; background: var(--parchment-dark); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body { padding: 24px 28px 28px; }
.product-card-tag {
  font-family: var(--f-ui);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}
.product-card-title { font-size: 1.35rem; font-weight: 400; margin-bottom: 10px; line-height: 1.25; }
.product-card-desc { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.65; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule-lt); padding-top: 16px; }
.product-price { font-family: var(--f-display); font-size: 1.5rem; font-weight: 400; color: var(--saffron); }

/* ── Blog Card ── */
.blog-card { border-bottom: 1px solid var(--rule-lt); padding: 40px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.blog-card:first-child { border-top: 1px solid var(--rule-lt); }
.blog-card-date { font-family: var(--f-ui); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.blog-card-title { font-size: 1.6rem; margin-bottom: 12px; }
.blog-card-excerpt { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 768px) { .blog-card { grid-template-columns: 1fr; } }

/* ── Divider ornament ── */
.ornament {
  text-align: center;
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: var(--saffron);
  letter-spacing: 0.4em;
  padding: 20px 0;
  opacity: 0.6;
}

/* ── Footer ── */
footer {
  background: var(--ink);
  color: var(--parchment);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--f-display); font-size: 1.3rem; font-weight: 300; color: var(--parchment); margin-bottom: 12px; }
.footer-brand span { color: var(--saffron); }
.footer-tagline { font-size: 0.9rem; color: rgba(245,240,230,0.5); line-height: 1.6; }
.footer-col h4 { font-family: var(--f-ui); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--saffron); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-family: var(--f-ui); font-size: 0.75rem; letter-spacing: 0.06em; color: rgba(245,240,230,0.55); line-height: 1; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--parchment); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: var(--f-ui); font-size: 0.6rem; letter-spacing: 0.1em; color: rgba(245,240,230,0.3); }
.social-links { display: flex; gap: 20px; }
.social-links a { font-family: var(--f-ui); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,240,230,0.4); transition: color 0.2s; }
.social-links a:hover { color: var(--saffron); }

/* ── Scroll reveal ── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.visible { opacity: 1; transform: none; }
.rv-delay-1 { transition-delay: 0.1s; }
.rv-delay-2 { transition-delay: 0.2s; }
.rv-delay-3 { transition-delay: 0.3s; }

/* ── Email form ── */
.email-form { display: flex; gap: 0; max-width: 440px; }
.email-form input[type=email] {
  flex: 1;
  padding: 13px 18px;
  border: 1px solid var(--rule);
  border-right: none;
  background: var(--white);
  font-family: var(--f-ui);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  outline: none;
}
.email-form input::placeholder { color: var(--ink-soft); opacity: 0.5; }
.email-form button {
  padding: 13px 22px;
  background: var(--saffron);
  border: 1px solid var(--saffron);
  color: var(--white);
  font-family: var(--f-ui);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.email-form button:hover { background: var(--saffron-deep); }

/* ── Lotus SVG decorative ── */
.lotus-mark {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}
