/* ===== Tokens ===== */
:root {
  --ink: #241C15;         /* near-black roasted brown, base background */
  --ink-soft: #342718;    /* slightly lifted panel on ink */
  --paper: #F1E6D2;       /* warm tan paper, not cream-default */
  --paper-dim: #DCCBA8;
  --gold: #D9A22D;        /* turmeric */
  --gold-soft: #E8C36B;
  --paprika: #B23A2E;     /* dried red chili/onion skin */
  --paprika-soft: #C9584B;
  --green: #45532F;       /* natural/pure accent */
  --line: rgba(241,230,210,0.14);
  --line-strong: rgba(241,230,210,0.28);

  --font-display: "Fraunces", serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--paper);
  margin: 0 0 0.4em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--paper-dim); }

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

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

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 0.9em;
}
.eyebrow-light { color: var(--gold-soft); }

/* Grain texture overlay for warmth */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

.text-link {
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.text-link:hover { border-bottom-color: var(--gold); }

/* ===== Topbar ===== */
.topbar {
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  color: var(--paper-dim);
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-contact { display: flex; gap: 22px; }
.topbar-tag { color: var(--gold-soft); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(36, 28, 21, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { color: var(--gold); display: flex; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--paper);
}
.logo-text em { color: var(--gold-soft); font-style: normal; font-weight: 400; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.9rem;
  color: var(--paper-dim);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--gold-soft); }
.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 9px 18px;
  border-radius: 2px;
  color: var(--paper) !important;
}
.nav-cta:hover { border-color: var(--gold); background: rgba(217,162,45,0.1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--paper); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 0;
  background: radial-gradient(ellipse at 75% 20%, rgba(178,58,46,0.22), transparent 60%);
}
.hero-rings {
  position: absolute;
  right: -120px;
  top: -60px;
  color: var(--gold);
  opacity: 0.16;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; padding-bottom: 90px; }
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  margin-bottom: 0.35em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lede {
  font-size: 1.08rem;
  max-width: 560px;
  color: var(--paper-dim);
}
.hero-actions { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }

.hero-stats { border-top: 1px solid var(--line); background: var(--ink-soft); }
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 30px 28px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-soft);
  font-weight: 600;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--paper-dim);
  font-family: var(--font-mono);
}

/* ===== About ===== */
.about { padding: 100px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.about-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
}
.about-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.about-features li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.about-features li:last-child { border-bottom: 1px solid var(--line); }
.feat-index {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.85rem;
  padding-top: 3px;
}
.about-features h3 { font-size: 1.05rem; margin-bottom: 0.25em; }
.about-features p { margin: 0; font-size: 0.92rem; }

/* ===== Process ===== */
.process {
  background: var(--ink-soft);
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  max-width: 600px;
}
.process-steps {
  list-style: none;
  margin: 50px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.process-steps li {
  background: var(--ink-soft);
  padding: 34px 30px;
}
.step-num {
  display: block;
  font-family: var(--font-mono);
  color: var(--paprika-soft);
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.process-steps h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.process-steps p { font-size: 0.9rem; margin: 0; }

/* ===== Products ===== */
.products { padding: 100px 0; }
.products h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  max-width: 600px;
}
.product-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  border: 1px solid var(--line);
  padding: 0 0 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.product-media {
  height: 170px;
  margin-bottom: 20px;
  position: relative;
}
.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(241,230,210,0.12), transparent 55%);
}
.product-media--onion-red { background: linear-gradient(135deg, #7A2A21, #B23A2E 55%, #D9A22D); }
.product-media--onion-white { background: linear-gradient(135deg, #4A4130, #C9BFA0 55%, #E8C36B); }
.product-media--onion-pink { background: linear-gradient(135deg, #7A3A4A, #C9584B 55%, #E8C36B); }
.product-media--garlic { background: linear-gradient(135deg, #3A3325, #DCCBA8 55%, #F1E6D2); }
.product-media--masala { background: linear-gradient(135deg, #45532F, #D9A22D 55%, #B23A2E); }
.product-card h3 { font-size: 1.05rem; margin: 0 18px 0.25em; }
.product-card p { font-size: 0.86rem; margin: 0 18px; }

/* ===== Certifications ===== */
.certifications {
  background: var(--ink-soft);
  padding: 90px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.certifications h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.cert-lede { max-width: 560px; margin: 0 auto 40px; }
.cert-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.cert-badge {
  border: 1px solid var(--line-strong);
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--gold-soft);
}

/* ===== Gallery ===== */
.gallery { padding: 100px 0 0; }
.gallery h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); max-width: 600px; }
.gallery-strip {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.gallery-tile {
  aspect-ratio: 3/4;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-tile span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--paper);
  position: relative;
}
.gallery-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55));
}
.gallery-tile--1 { background: linear-gradient(160deg, #45532F, #6B7A4A); }
.gallery-tile--2 { background: linear-gradient(160deg, #7A2A21, #B23A2E); }
.gallery-tile--3 { background: linear-gradient(160deg, #6B4A1E, #D9A22D); }
.gallery-tile--4 { background: linear-gradient(160deg, #3A3325, #8A7A55); }
.gallery-tile--5 { background: linear-gradient(160deg, #7A3A4A, #C9584B); }

/* ===== Contact ===== */
.contact {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(217,162,45,0.14), transparent 60%);
}
.contact-rings {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--paprika);
  opacity: 0.14;
  pointer-events: none;
}
.contact-inner { position: relative; max-width: 640px; margin: 0 auto; }
.contact h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.contact-lede { margin: 0 auto 32px; }
.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  font-size: 0.94rem;
  color: var(--paper);
}
.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 4px;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.85rem; color: var(--paper-dim); }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-copy { font-size: 0.8rem; color: var(--paper-dim); margin: 0; font-family: var(--font-mono); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .gallery-tile:nth-child(4), .gallery-tile:nth-child(5) { display: none; }
}

@media (max-width: 640px) {
  .topbar-contact { gap: 14px; }
  .topbar-tag { display: none; }
  .nav { display: none; }
  .nav.nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink-soft);
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .nav-toggle { display: flex; }
  .about-features li { gap: 14px; }
  .process-steps { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); padding: 24px 20px; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-details { gap: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
