/* ================================================================
   MERCY CHILI PRODUCTS — Design tokens
   Display: Fraunces (warm, characterful serif)
   Body:    Manrope (clean geometric sans)
   Utility: JetBrains Mono (label / ingredient-list vernacular)
   ================================================================ */
:root {
  --espresso: #17120F;
  --espresso-2: #221B16;
  --parchment: #FBF4E8;
  --parchment-2: #F3E9D8;
  --chili-red: #C81E2C;
  --chili-red-2: #A5141F;
  --maroon: #4A1218;
  --mango-gold: #EFA93D;
  --mango-gold-2: #D4901F;
  --bilimbi-green: #5E7A2A;
  --eggplant: #4B2545;
  --cream: #F5EFE2;
  --ink: #211812;
  --ink-soft: rgba(33, 24, 18, 0.68);
  --cream-soft: rgba(245, 239, 226, 0.72);

  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-lg: 26px;
  --radius-md: 16px;
  --ease: cubic-bezier(.22,.9,.32,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--parchment);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* subtle film-grain overlay for texture, ties to hand-labeled bottles */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.035; mix-blend-mode: multiply;
  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");
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); }
p { line-height: 1.65; color: var(--ink-soft); font-weight: 400; }

.section { padding: 110px 0; position: relative; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chili-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-weight: 500;
}
.section-tag::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--chili-red);
  display: inline-block;
}
.section-header { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-header h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-header p.section-sub { font-size: 1.02rem; }
.section-header.light h2, .section-header.light .section-sub { color: var(--cream); }
.section-header.light p { color: var(--cream-soft); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: 100px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--chili-red); color: var(--cream); box-shadow: 0 10px 30px rgba(200,30,44,0.35); }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(200,30,44,0.45); }
.btn-outline-light { border-color: rgba(245,239,226,0.4); color: var(--cream); }
.btn-outline-light:hover { background: rgba(245,239,226,0.1); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-whatsapp { background: var(--espresso); color: var(--cream); width: 100%; justify-content: center; }
.btn-whatsapp:hover { background: var(--bilimbi-green); }
.btn-gold { background: var(--mango-gold); color: var(--espresso); box-shadow: 0 10px 30px rgba(239,169,61,0.3); }
.btn-gold:hover { background: var(--mango-gold-2); }
.btn-large { padding: 19px 38px; font-size: 0.88rem; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(23,18,15,0.85);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo-wrapper { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--cream); }
.brand-name em { font-style: italic; color: var(--mango-gold); font-weight: 500; }
.main-nav .nav-list { display: flex; align-items: center; gap: 34px; }
.main-nav a { color: var(--cream-soft); font-size: 0.92rem; font-weight: 500; transition: color 0.25s ease; }
.main-nav a:hover { color: var(--mango-gold); }
.nav-cta {
  background: var(--chili-red); color: var(--cream) !important;
  padding: 10px 20px; border-radius: 100px; display: flex; align-items: center; gap: 8px;
}
.nav-cta:hover { background: var(--bilimbi-green) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 1001; }
.hamburger .bar { width: 26px; height: 2px; background: var(--cream); transition: all 0.3s ease; }
.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--espresso);
  overflow: hidden;
  perspective: 1400px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.1);
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(23,18,15,0.96) 32%, rgba(23,18,15,0.62) 68%, rgba(23,18,15,0.4) 100%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px;
  padding-top: 100px; padding-bottom: 60px;
}
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mango-gold); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
}
.dot-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--mango-gold); box-shadow: 0 0 0 4px rgba(239,169,61,0.2); }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--cream); letter-spacing: -0.01em; }
.hero-title span { color: var(--mango-gold); font-style: italic; font-weight: 500; }
.hero-sub { color: var(--cream-soft); font-size: 1.08rem; max-width: 460px; margin: 26px 0 38px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stage { position: relative; height: 560px; transform-style: preserve-3d; }
.hero-tilt {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.2s ease-out;
  display: flex; align-items: center; justify-content: center;
}
.hero-bottle-img {
  width: 88%; max-width: 420px; border-radius: 22px; object-fit: cover;
  height: 520px;
  box-shadow: 0 50px 90px -20px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.06);
  transform: translateZ(40px);
}
.floating-tag {
  position: absolute;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--cream); padding: 9px 16px; border-radius: 100px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  animation: floaty 6s ease-in-out infinite;
  transform: translateZ(90px);
  white-space: nowrap;
}
.tag-red { background: rgba(200,30,44,0.85); top: 8%; left: -6%; animation-delay: 0s; }
.tag-green { background: rgba(94,122,42,0.88); bottom: 20%; left: -10%; animation-delay: 1.4s; }
.tag-purple { background: rgba(75,37,69,0.9); top: 42%; right: -10%; animation-delay: 0.7s; }
@keyframes floaty {
  0%, 100% { transform: translateZ(90px) translateY(0px); }
  50% { transform: translateZ(90px) translateY(-14px); }
}

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(245,239,226,0.4); border-radius: 20px; z-index: 3;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 3px; background: var(--mango-gold);
  animation: scrollcue 1.8s ease infinite;
}
@keyframes scrollcue { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 22px; } }

/* ===================== TICKER ===================== */
.ticker-strip {
  background: var(--chili-red); overflow: hidden; padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,0.15); border-bottom: 1px solid rgba(0,0,0,0.15);
}
.ticker-track {
  display: flex; align-items: center; gap: 18px; white-space: nowrap;
  width: max-content;
  animation: ticker 26s linear infinite;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.08em;
  color: var(--cream);
}
.ticker-track .sep { color: var(--mango-gold); font-size: 0.7rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===================== TILT CARDS (shared 3D mechanism) ===================== */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.tilt-card {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s var(--ease);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(23,18,15,0.35);
}
.tilt-card img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== ABOUT ===================== */
.about-section { background: var(--parchment); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.about-image .tilt-card { aspect-ratio: 3/4; }
.about-text p { margin-bottom: 18px; font-size: 1.02rem; }
.about-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 20px; }

/* ===================== PRODUCTS ===================== */
.products-section { background: var(--parchment-2); }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.product-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 45px -18px rgba(23,18,15,0.22);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 0.25s var(--ease), box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 34px 60px -18px rgba(23,18,15,0.32); }
.card-cap { height: 7px; width: 100%; }
.cap-red { background: linear-gradient(90deg, var(--chili-red), var(--chili-red-2)); }
.cap-purple { background: linear-gradient(90deg, var(--eggplant), #6a3763); }
.cap-maroon { background: linear-gradient(90deg, var(--maroon), #7a1f28); }
.product-image { aspect-ratio: 3/4; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.06) translateZ(0); }
.product-body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body h3 { font-size: 1.3rem; }
.product-desc { font-size: 0.92rem; flex: 1; }
.ingredients-line { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; }
.ingredients-line i { color: var(--chili-red); }

/* ===================== KITCHEN ===================== */
.kitchen-section { background: var(--parchment); }
.kitchen-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.kitchen-image { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(23,18,15,0.3); }
.kitchen-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.kitchen-text > p { margin-bottom: 30px; font-size: 1.02rem; }
.mini-card {
  display: flex; gap: 22px; align-items: center;
  background: var(--cream); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 14px 34px rgba(23,18,15,0.08);
}
.mini-card img { width: 150px; height: 150px; object-fit: cover; flex-shrink: 0; }
.mini-card div { padding: 18px 22px 18px 0; }
.mini-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.mini-card p { font-size: 0.86rem; }

/* ===================== STOCKISTS ===================== */
.stockists-section { position: relative; background: var(--espresso); overflow: hidden; }
.stockists-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.22; }
.stockists-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,18,15,0.7), rgba(23,18,15,0.94)); }
.stockists-section .container { position: relative; z-index: 1; }
.stockists-gallery { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; margin-bottom: 40px; }
.stockist-shot { aspect-ratio: 16/11; }
.stockist-shot:nth-child(2) { aspect-ratio: 16/11; }
.stockist-cta { text-align: center; color: var(--cream-soft); font-size: 1rem; }
.stockist-cta a { color: var(--mango-gold); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.stockist-cta a:hover { color: var(--cream); }

/* ===================== CATERING ===================== */
.catering-section { background: var(--parchment-2); }
.catering-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: 480px; margin-bottom: 50px;
  box-shadow: 0 34px 70px -20px rgba(23,18,15,0.35);
}
.catering-banner img { width: 100%; height: 100%; object-fit: cover; }
.catering-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(23,18,15,0.9) 32%, rgba(23,18,15,0.15) 85%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 56px; max-width: 620px;
}
.catering-banner-overlay h2 { color: var(--cream); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.catering-banner-overlay p { color: var(--cream-soft); margin-bottom: 26px; }
.catering-banner-overlay .btn { align-self: flex-start; }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.service-pill {
  background: var(--cream); border-radius: 100px; padding: 16px 10px; text-align: center;
  font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.02em;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: 0 10px 26px rgba(23,18,15,0.08);
  transition: transform 0.3s var(--ease);
}
.service-pill:hover { transform: translateY(-6px); }
.service-pill i { color: var(--chili-red); font-size: 1.15rem; }

/* ===================== TESTIMONIALS ===================== */
.testimonial-section { background: var(--parchment); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card {
  background: var(--cream); border-radius: var(--radius-md); padding: 34px 28px;
  box-shadow: 0 16px 40px rgba(23,18,15,0.08);
}
.testimonial-card i { color: var(--mango-gold); font-size: 1.3rem; margin-bottom: 16px; display: block; }
.testimonial-card p { font-style: italic; margin-bottom: 18px; color: var(--ink); font-size: 0.98rem; }
.testimonial-card cite { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; color: var(--chili-red); font-style: normal; }

/* ===================== FINAL CTA ===================== */
.final-cta { background: var(--espresso); text-align: center; position: relative; overflow: hidden; }
.final-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.14; }
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { color: var(--cream); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.final-cta p { color: var(--cream-soft); max-width: 480px; margin: 0 auto 34px; }

/* ===================== CONTACT ===================== */
.contact-section { background: var(--parchment-2); }
.contact-card {
  background: var(--espresso); border-radius: var(--radius-lg); padding: 64px 56px;
  text-align: center; max-width: 780px; margin: 0 auto;
  box-shadow: 0 40px 80px -20px rgba(23,18,15,0.35);
}
.contact-card h2 { color: var(--cream); margin-bottom: 16px; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.contact-card > p { color: var(--cream-soft); max-width: 520px; margin: 0 auto 30px; }
.contact-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-bottom: 34px; }
.contact-details li { font-family: var(--font-mono); font-size: 0.85rem; color: var(--cream-soft); display: flex; align-items: center; gap: 9px; }
.contact-details i { color: var(--mango-gold); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { color: var(--cream-soft); margin-top: 14px; font-size: 0.9rem; }
.logo-img-footer { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.footer-links h4 { color: var(--mango-gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; font-family: var(--font-mono); font-weight: 500; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: var(--cream-soft); font-size: 0.92rem; display: flex; align-items: center; gap: 8px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--mango-gold); }
.footer-bottom {
  border-top: 1px solid rgba(245,239,226,0.1);
  padding: 24px 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  max-width: 1200px; margin: 0 auto;
}
.footer-bottom p { color: rgba(245,239,226,0.45); font-size: 0.82rem; }
.footer-bottom a { color: var(--mango-gold); }

/* ===================== SCROLL REVEAL ===================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .main-nav.mobile-open {
    display: flex; position: fixed; inset: 0; top: 0; background: var(--espresso);
    flex-direction: column; align-items: center; justify-content: center; z-index: 999;
  }
  .main-nav.mobile-open .nav-list { flex-direction: column; gap: 30px; }
  .main-nav.mobile-open a { font-size: 1.3rem; }

  .hero-grid { grid-template-columns: 1fr; padding-top: 130px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-buttons { justify-content: center; }
  .hero-stage { height: 380px; margin-top: 20px; }
  .hero-bottle-img { height: 340px; }
  .floating-tag { display: none; }

  .about-grid, .kitchen-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image .tilt-card { aspect-ratio: 4/3; max-width: 420px; margin: 0 auto; }

  .product-grid { grid-template-columns: 1fr 1fr; }
  .stockists-gallery { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .catering-banner { height: 420px; }
  .catering-banner-overlay { padding: 0 28px; background: linear-gradient(180deg, rgba(23,18,15,0.4), rgba(23,18,15,0.94) 60%); align-items: flex-start; }

  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mini-card { flex-direction: column; align-items: flex-start; }
  .mini-card img { width: 100%; height: 160px; }
  .mini-card div { padding: 0 20px 20px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { padding: 44px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catering-banner { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .floating-tag, .scroll-cue span { animation: none !important; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
}
