/* ============================================================
   EMPRESS FARMS — style.css
   Design: Dark roastery aesthetic with gold amber accents
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: #1A0A00;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; }

:root {
  --espresso:    #0C0400;
  --roast:       #2D1810;
  --saddle:      #6B2D0A;
  --gold:        #C4922A;
  --gold-light:  #E8B84B;
  --cream:       #F5EDD7;
  --cream-dark:  #EAD9BB;
  --white:       #FFFFFF;
  --text-dark:   #1A0A00;
  --text-mid:    #5C3A1E;
  --text-muted:  #8A6848;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Source Sans 3', system-ui, sans-serif;

  --max-w: 1180px;
  --nav-h: 68px;

  --radius:    12px;
  --radius-sm: 8px;
  --trans:     0.3s ease;

  --shadow-sm:   0 2px 12px rgba(15,6,0,0.08);
  --shadow-card: 0 4px 28px rgba(15,6,0,0.10);
  --shadow-lift: 0 10px 40px rgba(15,6,0,0.18);
}

h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.12; }

.section-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.section-eyebrow.light { color: var(--gold-light); }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-title em { font-style: italic; color: var(--saddle); }
.section-title.light { color: var(--cream); }
.section-title.light em { color: var(--gold-light); }
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 52px;
  line-height: 1.75;
}
.section-header { text-align: center; margin-bottom: 48px; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 3px;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--trans);
  border: 2px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--gold);
  color: var(--espresso);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196,146,42,0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245,237,215,0.45);
}
.btn-ghost:hover {
  background: rgba(245,237,215,0.08);
  border-color: var(--cream);
}

/* ----- Navigation ----- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 0 24px; transition: background 0.45s ease, box-shadow 0.45s ease;
}
.nav.scrolled {
  background: rgba(12,4,0,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.nav-logo-main {
  font-family: var(--ff-display); font-size: 1.35rem; font-weight: 700;
  color: var(--cream); letter-spacing: 0.01em;
}
.nav-logo-est {
  font-family: var(--ff-body); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-family: var(--ff-body); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,237,215,0.8); transition: color var(--trans);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links .nav-cta {
  padding: 9px 22px; background: var(--gold); color: var(--espresso) !important;
  border-radius: 3px;
}
.nav-links .nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 8px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: var(--trans); }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-image-wrap { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(12,4,0,0.88) 0%, rgba(12,4,0,0.55) 55%, rgba(12,4,0,0.15) 100%);
}
.hero-content { position: relative; z-index: 1; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: var(--nav-h) 24px 0; }
.hero-text-block { max-width: 580px; }
.hero-eyebrow {
  font-family: var(--ff-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px; display: block;
}
.hero-headline {
  font-size: clamp(3rem, 6.5vw, 5.2rem); font-weight: 700;
  color: var(--cream); line-height: 1.03; margin-bottom: 22px;
}
.hero-headline em { font-style: italic; color: var(--gold-light); display: block; }
.hero-sub {
  font-size: 1.05rem; color: rgba(245,237,215,0.8);
  line-height: 1.75; margin-bottom: 38px; max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ----- Coffee Bean 3D Toggle ----- */
.bean-toggle {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 5; background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: 30px; outline: none;
}
.bean-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.bean-svg { width: 32px; height: 46px; display: block; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.55)); animation: beanFloat 2.8s ease-in-out infinite; transition: filter 0.4s ease; }
@keyframes beanFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.bean-label { font-family: var(--ff-body); font-size: 0.54rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(245,237,215,0.42); line-height: 1; transition: color 0.35s ease; }
.bean-toggle:hover .bean-svg { filter: drop-shadow(0 0 6px rgba(196,146,42,0.55)) drop-shadow(0 4px 10px rgba(0,0,0,0.45)); animation-play-state: paused; }
.bean-toggle:hover .bean-label { color: var(--gold); }
.bean-toggle.active .bean-svg { filter: drop-shadow(0 0 9px rgba(232,184,75,1)) drop-shadow(0 0 22px rgba(196,146,42,0.65)) drop-shadow(0 4px 10px rgba(0,0,0,0.4)); animation: beanPulse 2s ease-in-out infinite; }
.bean-toggle.active .bean-crease { stroke: #D4A020; stroke-width: 3; }
.bean-toggle.active .bean-label { color: var(--gold-light); }
@keyframes beanPulse { 0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 9px rgba(232,184,75,0.9)) drop-shadow(0 0 22px rgba(196,146,42,0.55)) drop-shadow(0 4px 10px rgba(0,0,0,0.38)); } 50% { transform: translateY(-4px); filter: drop-shadow(0 0 16px rgba(255,215,75,1)) drop-shadow(0 0 36px rgba(196,146,42,0.8)) drop-shadow(0 8px 16px rgba(0,0,0,0.42)); } }

/* ----- Mode Flash Overlay ----- */
.mode-flash-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 9997; background: radial-gradient(ellipse at 50% 42%, rgba(196,146,42,0.13) 0%, transparent 68%); animation: modeFlash 0.8s ease forwards; }
@keyframes modeFlash { 0% { opacity: 0; transform: scale(0.88); } 38% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.06); } }

/* ----- Global 3D Mode ----- */
body.mode-3d .section-title { transform: perspective(900px) translateZ(12px); transition: transform 0.7s cubic-bezier(0.34,1.56,0.64,1); }
body.mode-3d .section-eyebrow { transform: perspective(900px) translateZ(7px); transition: transform 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.06s; }
body.mode-3d .section-sub { transform: perspective(900px) translateZ(4px); transition: transform 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.1s; }
body.mode-3d .hero-img { transform: scale(1.07); transition: transform 0.12s linear; }
body.mode-3d .hero-content { transition: transform 0.12s linear; }
body.mode-3d .product-card { cursor: crosshair; will-change: transform; }
body.mode-3d .brew-card { transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.38s ease, background var(--trans); }
body.mode-3d .brew-card:hover { transform: perspective(750px) translateY(-14px) translateZ(34px) !important; box-shadow: 0 28px 58px rgba(0,0,0,0.30), 0 0 0 1px rgba(196,146,42,0.22) !important; }
body.mode-3d .why-card { transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.38s ease, background var(--trans), border-color var(--trans); }
body.mode-3d .why-card:hover { transform: perspective(750px) translateY(-14px) translateZ(32px) !important; background: rgba(196,146,42,0.15) !important; border-color: rgba(196,146,42,0.48) !important; box-shadow: 0 24px 52px rgba(0,0,0,0.52) !important; }
body.mode-3d .buy-card:not(.buy-card--disabled) { transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.38s ease; }
body.mode-3d .buy-card:not(.buy-card--disabled):hover { transform: perspective(750px) translateY(-10px) translateZ(22px) !important; box-shadow: 0 20px 48px rgba(0,0,0,0.18) !important; }

/* 3D Brew Icon crossfade */
body.mode-3d .brew-icon { opacity: 0; max-height: 0; margin-bottom: 0; transition: color var(--trans), opacity 0.18s ease, max-height 0.3s ease 0.06s, margin-bottom 0.3s ease 0.06s; }
body.mode-3d .brew-icon-3d { grid-template-rows: 1fr; opacity: 1; margin-bottom: 14px; transition: grid-template-rows 0.46s ease 0.1s, opacity 0.42s ease 0.22s, margin-bottom 0.42s ease 0.1s; }
body.mode-3d .brew-icon-3d svg { animation: brewIconGlow 2.6s ease-in-out infinite; }
@keyframes brewIconGlow { 0%, 100% { filter: drop-shadow(0 0 5px rgba(232,184,75,0.72)) drop-shadow(0 0 14px rgba(196,146,42,0.38)); } 50% { filter: drop-shadow(0 0 10px rgba(255,220,80,1)) drop-shadow(0 0 24px rgba(196,146,42,0.62)); } }
body.mode-3d .brew-card:hover .brew-icon-3d { color: var(--gold-light); }
body.mode-3d .brew-card:hover .brew-icon-3d svg { animation: brewIconGlowHover 1.55s ease-in-out infinite; }
@keyframes brewIconGlowHover { 0%, 100% { filter: drop-shadow(0 0 8px rgba(255,220,80,0.95)) drop-shadow(0 0 22px rgba(232,184,75,0.68)); } 50% { filter: drop-shadow(0 0 16px rgba(255,235,100,1)) drop-shadow(0 0 40px rgba(232,184,75,0.92)); } }

/* ----- Trust Bar ----- */
.trust-bar { background: var(--espresso); border-top: 1px solid rgba(196,146,42,0.2); border-bottom: 1px solid rgba(196,146,42,0.2); }
.trust-inner { max-width: var(--max-w); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-family: var(--ff-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.trust-item svg { flex-shrink: 0; }

/* ----- Products ----- */
.products { padding: 96px 0; background: var(--cream); }

.product-tabs { display: flex; justify-content: center; margin: 0 auto 52px; width: fit-content; background: var(--white); border-radius: 40px; border: 1.5px solid var(--cream-dark); overflow: hidden; }
.tab-btn { padding: 12px 34px; background: none; font-family: var(--ff-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); transition: var(--trans); }
.tab-btn.active { background: var(--espresso); color: var(--gold); }
.tab-btn:not(.active):hover { background: var(--cream-dark); color: var(--text-dark); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-content.tab-entering { animation: tabPanelIn 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
@keyframes tabPanelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 28px; }
.product-grid--single { grid-template-columns: min(420px, 100%); justify-content: center; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--trans), box-shadow var(--trans); }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); }
.product-card--featured .product-info { padding: 28px; }

.product-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--espresso); font-family: var(--ff-body); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
.product-badge--green { background: #2E7D4F; color: #fff; }
.product-info { padding: 20px 22px 22px; }
.product-variant { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.product-name { font-size: 1.2rem; font-weight: 700; color: var(--espresso); margin-bottom: 4px; }
.product-weight { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.product-desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 14px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tags span { font-size: 0.7rem; font-weight: 600; padding: 4px 11px; border-radius: 20px; background: var(--cream); color: var(--saddle); letter-spacing: 0.04em; }

/* ----- RATINGS & REVIEWS (NEW SECTION) ----- */
.reviews { padding: 96px 0; background: var(--white); border-bottom: 1px solid var(--cream-dark); }
.reviews-overview { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 56px; padding: 24px; background: var(--cream); border-radius: var(--radius); border: 1px solid var(--cream-dark); }
.rating-summary { display: flex; flex-direction: column; gap: 12px; min-width: 200px; }
.rating-main { display: flex; align-items: baseline; gap: 10px; }
.rating-num { font-family: var(--ff-display); font-size: 3.2rem; font-weight: 700; color: var(--espresso); line-height: 1; }
.rating-star { font-size: 2rem; color: var(--gold); }
.rating-label { font-size: 0.9rem; font-weight: 600; color: var(--text-mid); background: rgba(196,146,42,0.1); padding: 4px 12px; border-radius: 20px; }
.rating-meta { font-size: 0.85rem; color: var(--text-muted); }
.rating-meta strong { color: var(--text-dark); }
.trust-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.trust-badge { padding: 6px 18px; background: var(--white); border-radius: 20px; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-sm); font-size: 0.78rem; font-weight: 700; color: var(--text-dark); }
.trust-logo { font-family: var(--ff-body); }
.feature-chips-wrap { flex: 1; min-width: 200px; }
.chips-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-chips .chip { padding: 8px 18px; background: var(--white); border-radius: 20px; font-size: 0.85rem; font-weight: 500; color: var(--text-dark); box-shadow: var(--shadow-sm); }
.feature-chips .chip strong { color: var(--gold); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card { background: var(--white); padding: 24px; border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.04); box-shadow: var(--shadow-card); transition: transform var(--trans), box-shadow var(--trans); position: relative; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.review-header { display: flex; justify-content: space-between; margin-bottom: 12px; }
.reviewer-info { display: flex; align-items: center; gap: 12px; }
.avatar-placeholder { width: 40px; height: 40px; background: var(--gold-light); color: var(--espresso); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.reviewer-name { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.stars { font-size: 0.85rem; color: var(--gold); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verified-badge { font-size: 0.7rem; font-weight: 600; color: #2E7D4F; background: #E8F5E9; padding: 2px 10px; border-radius: 12px; }
.review-title { font-size: 1rem; font-weight: 700; color: var(--espresso); margin-bottom: 6px; }
.review-excerpt { font-size: 0.95rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 12px; }
.review-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--text-muted); }
.review-prod-img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); margin-top: 12px; border: 1px solid var(--cream-dark); }

body.mode-3d .review-card { transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.38s ease; }
body.mode-3d .review-card:hover { transform: perspective(750px) translateY(-10px) translateZ(28px) !important; box-shadow: 0 24px 48px rgba(0,0,0,0.18) !important; border-color: var(--gold) !important; }

/* ----- Journey / Coffee Story ----- */
.journey { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.journey-image-wrap { position: absolute; inset: 0; }
.journey-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.1s linear; will-change: transform; }

.coffee-story { position: relative; min-height: 850px; height: auto; padding-top: 120px; padding-bottom: 160px; overflow: hidden; }
.coffee-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.coffee-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.coffee-dark { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .80), rgba(0, 0, 0, .45), rgba(0, 0, 0, .10)); z-index: 2; }
.coffee-inner { position: relative; z-index: 3; max-width: 620px; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-left: 8%; padding-top: 120px; padding-bottom: 80px; color: white; }
.coffee-inner h2 { font-size: clamp(52px, 5vw, 82px); line-height: 0.95; margin: 12px 0 28px; font-family: serif; font-weight: 500; }
.coffee-inner h2 em { color: #D5A43A; font-style: italic; display: block; margin-top: 8px; }
.coffee-inner p { font-size: 18px; line-height: 2; max-width: 760px; color: #ececec; margin-bottom: 30px; }
.story-stats { display: flex; justify-content: flex-start; align-items: flex-start; gap: 28px; margin-top: 18px; flex-wrap: nowrap; }
.story-stats>div { width: 120px; flex-shrink: 0; }
.story-stats span { display: block; font-size: 56px; line-height: 1; margin-bottom: 12px; white-space: nowrap; }
.story-stats small { display: block; width: 120px; font-size: 11px; line-height: 1.35; letter-spacing: 2px; text-transform: uppercase; white-space: normal; word-break: keep-all; }

/* ----- Brew Guide ----- */
.brew { padding: 96px 0; background: var(--white); }
.brew-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.brew-card { background: var(--cream); border-radius: var(--radius); padding: 34px 26px; border-left: 4px solid var(--gold); transition: background var(--trans), box-shadow var(--trans), transform var(--trans); }
.brew-card:hover { background: var(--espresso); transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.brew-icon { margin-bottom: 18px; color: var(--gold); max-height: 54px; overflow: hidden; transition: color var(--trans), opacity 0.32s ease 0.26s, max-height 0.38s ease 0.08s, margin-bottom 0.38s ease 0.08s; }
.brew-icon-3d { color: var(--gold); display: grid; grid-template-rows: 0fr; overflow: hidden; opacity: 0; margin-bottom: 0; transition: grid-template-rows 0.32s ease, opacity 0.18s ease, margin-bottom 0.3s ease; }
.brew-icon-3d svg { min-height: 0; height: 86px; width: auto; display: block; margin: 0 auto; }
.brew-method { font-size: 1.2rem; font-weight: 700; color: var(--espresso); margin-bottom: 20px; transition: color var(--trans); }
.brew-steps { display: flex; flex-direction: column; gap: 11px; }
.brew-steps li { display: flex; gap: 10px; font-size: 0.88rem; color: var(--text-mid); align-items: flex-start; transition: color var(--trans); }
.brew-steps span { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saddle); min-width: 66px; padding-top: 2px; flex-shrink: 0; transition: color var(--trans); }
.brew-card:hover .brew-method { color: var(--cream); }
.brew-card:hover .brew-steps li { color: rgba(245,237,215,0.75); }
.brew-card:hover .brew-steps span { color: var(--gold); }
.brew-card:hover .brew-icon { color: var(--gold-light); }

/* ----- Why Us ----- */
.why { padding: 96px 0; background: var(--espresso); }
.why .section-header { margin-bottom: 56px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 20px; }
.why-card { text-align: center; padding: 38px 20px; border-radius: var(--radius); border: 1px solid rgba(245,237,215,0.07); background: rgba(245,237,215,0.03); transition: background var(--trans), border-color var(--trans), transform var(--trans); }
.why-card:hover { background: rgba(196,146,42,0.09); border-color: rgba(196,146,42,0.3); transform: translateY(-5px); }
.why-icon { display: flex; justify-content: center; margin-bottom: 16px; color: var(--gold); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gold-light); margin-bottom: 12px; }
.why-card p { font-size: 0.88rem; color: rgba(245,237,215,0.65); line-height: 1.72; }

/* ----- Buy Now ----- */
.buy { padding: 96px 0; background: var(--cream); }
.buy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 18px; }
.buy-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 34px 20px 28px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); transition: transform var(--trans), box-shadow var(--trans); gap: 10px; }
.buy-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.buy-logo-wrap { display: flex; align-items: baseline; gap: 1px; }
.buy-logo { font-family: var(--ff-body); font-weight: 800; font-size: 1.35rem; line-height: 1; }
.amazon { color: #FF9900; }
.amazon-in { color: #FF9900; font-weight: 700; font-size: 0.9rem; }
.flipkart { color: #2874F0; }
.meesho { color: #9E0CF3; }
.jiomart { color: #0052A3; }
.bigbasket { color: #84C225; }
.buy-card p { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.04em; }
.buy-arrow { font-size: 1.1rem; color: var(--gold); font-weight: 700; transition: transform var(--trans); line-height: 1; }
.buy-card:hover .buy-arrow { transform: translateX(5px); }

/* ----- Footer ----- */
.footer { background: var(--roast); padding: 72px 0 32px; }
.footer-top { max-width: var(--max-w); margin: 0 auto; padding: 0 24px 56px; display: flex; justify-content: space-between; gap: 56px; flex-wrap: wrap; border-bottom: 1px solid rgba(245,237,215,0.1); margin-bottom: 32px; }
.footer-logo { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 700; color: var(--cream); margin-bottom: 8px; line-height: 1; }
.footer-tagline { font-style: italic; font-size: 0.95rem; color: var(--gold-light); margin-bottom: 6px; }
.footer-since { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,237,215,0.45); margin-bottom: 4px; }
.footer-compliance { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.footer-compliance span { font-size: 0.72rem; letter-spacing: 0.07em; color: rgba(196,146,42,0.55); font-family: var(--ff-body); }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--ff-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.88rem; color: rgba(245,237,215,0.6); transition: color var(--trans); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.78rem; color: rgba(245,237,215,0.35); }

/* ----- Buy Extras ----- */
.buy-card--disabled { opacity: 0.6; cursor: default; pointer-events: none; }
.coming-soon-badge { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; background: var(--cream-dark); color: var(--text-muted); border: 1px dashed var(--text-muted); }
.buy-card--whatsapp { border: 2px solid rgba(37,211,102,0.25); }
.buy-card--whatsapp:hover { border-color: #25D366; box-shadow: 0 10px 32px rgba(37,211,102,0.15); }
.buy-card--whatsapp .buy-logo-wrap { gap: 8px; align-items: center; }
.whatsapp { font-size: 1.2rem !important; }
.footer-whatsapp-link { display: flex; align-items: center; gap: 6px; color: #4dde8a !important; font-weight: 600; }
.footer-whatsapp-link:hover { color: #25D366 !important; }
.footer-phone { font-size: 0.88rem; color: rgba(245,237,215,0.6) !important; letter-spacing: 0.04em; }
.footer-phone:hover { color: var(--gold-light) !important; }
.footer-link-soon { font-size: 0.88rem; color: rgba(245,237,215,0.35); }
.footer-link-soon em { font-style: italic; font-size: 0.78rem; color: rgba(245,237,215,0.25); }

/* ----- Floating WhatsApp ----- */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 900; display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 14px 20px; border-radius: 50px; box-shadow: 0 6px 28px rgba(37,211,102,0.45); font-family: var(--ff-body); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.04em; transition: transform var(--trans), box-shadow var(--trans); text-decoration: none; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 36px rgba(37,211,102,0.55); }
.whatsapp-float svg { flex-shrink: 0; }
.whatsapp-float-label { white-space: nowrap; }
.whatsapp-float::before { content: ''; position: absolute; inset: -4px; border-radius: 50px; border: 2px solid rgba(37,211,102,0.65); pointer-events: none; animation: waPulse 2.6s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.72; } 65% { transform: scale(1.18); opacity: 0; } 100% { transform: scale(1.18); opacity: 0; } }

/* ----- Scroll Reveal ----- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.32s; }
.reveal-delay-4 { transition-delay: 0.44s; }

/* ----- Mobile Responsiveness (Tablet & Mobile) ----- */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); right: 0; width: 280px; height: calc(100vh - var(--nav-h));
    background: rgba(12,4,0,0.97); flex-direction: column; align-items: flex-start;
    justify-content: flex-start; padding: 36px 28px; gap: 28px;
    transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(10px); border-left: 1px solid rgba(196,146,42,0.15);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
  .nav-links .nav-cta { width: 100%; text-align: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .brew-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-stats { gap: 32px; }
  .reviews-overview { flex-direction: column; align-items: stretch; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }
  .hero-headline { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .trust-inner { gap: 20px; justify-content: flex-start; }
  .trust-item { font-size: 0.7rem; }
  .products { padding: 64px 0; }
  .product-tabs { flex-direction: column; border-radius: var(--radius-sm); }
  .tab-btn { padding: 12px 20px; }
  .product-grid { grid-template-columns: 1fr; }
  .journey { min-height: auto; }
  .journey-content { padding: 64px 24px; }
  .stat-num { font-size: 2.2rem; }
  .journey-stats { gap: 24px; }
  .brew { padding: 64px 0; }
  .brew-grid { grid-template-columns: 1fr; }
  .why { padding: 64px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .buy { padding: 64px 0; }
  .buy-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-links { gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .review-grid { grid-template-columns: 1fr; }
  .whatsapp-float { bottom: 20px; right: 16px; padding: 12px 16px; }
  .whatsapp-float-label { display: none; }
  .whatsapp-float { border-radius: 50%; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .whatsapp-float::before { border-radius: 50%; }
}

@media (max-width: 400px) {
  .buy-grid { grid-template-columns: 1fr; }
}

/* ----- Intro Overlay ----- */
#intro-overlay { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 38%, #240e00 0%, #130600 45%, #080200 100%); overflow: hidden; }
#intro-overlay.is-dismissing { animation: introOut 0.9s cubic-bezier(0.65, 0, 1, 0.45) forwards; pointer-events: none; }
@keyframes introOut { 0% { opacity: 1; transform: scale(1); } 35% { opacity: 0.85; transform: scale(1.02); } 100% { opacity: 0; transform: scale(1.07); } }

.intro-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.i-p { position: absolute; border-radius: 50%; background: var(--gold); animation: iPDrift linear infinite; opacity: 0; }
.i-p:nth-child(1) { width:3px; height:3px; left:8%; bottom:0; animation-duration:9s; animation-delay:0s; }
.i-p:nth-child(2) { width:5px; height:5px; left:18%; bottom:0; animation-duration:12s; animation-delay:1.3s; }
.i-p:nth-child(3) { width:2px; height:2px; left:33%; bottom:0; animation-duration:8.5s; animation-delay:2.6s; }
.i-p:nth-child(4) { width:4px; height:4px; left:50%; bottom:0; animation-duration:11s; animation-delay:0.7s; }
.i-p:nth-child(5) { width:3px; height:3px; left:62%; bottom:0; animation-duration:9.8s; animation-delay:3.2s; }
.i-p:nth-child(6) { width:5px; height:5px; left:75%; bottom:0; animation-duration:13s; animation-delay:1.9s; }
.i-p:nth-child(7) { width:2px; height:2px; left:85%; bottom:0; animation-duration:7.5s; animation-delay:4.1s; }
.i-p:nth-child(8) { width:4px; height:4px; left:92%; bottom:0; animation-duration:10.5s; animation-delay:0.4s; }
.i-p:nth-child(9) { width:3px; height:3px; left:42%; bottom:0; animation-duration:8s; animation-delay:5s; }
@keyframes iPDrift { 0% { transform: translateY(0) scale(1); opacity: 0; } 8% { opacity: 0.6; } 88% { opacity: 0.28; } 100% { transform: translateY(-100vh) scale(0.5); opacity: 0; } }

.intro-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0; }
.intro-bean-wrap { position: relative; width: 108px; height: 152px; opacity: 0; animation: iBeanEntry 0.65s cubic-bezier(0.34,1.56,0.64,1) 0.2s forwards; will-change: transform; }
@keyframes iBeanEntry { from { opacity: 0; transform: scale(0.25) translateY(40px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.intro-half { position: absolute; inset: 0; will-change: transform; transition: transform 0.72s cubic-bezier(0.34,1.56,0.64,1); }
.intro-half--left { clip-path: inset(0 50% 0 0); transform-origin: 50% 88%; }
.intro-half--right { clip-path: inset(0 0 0 50%); transform-origin: 50% 88%; }
.intro-half svg { width: 100%; height: 100%; display: block; }
.intro-bean-wrap.is-glowing .intro-half svg { animation: iPreGlow 0.55s ease-in-out 4 alternate; }
@keyframes iPreGlow { from { filter: drop-shadow(0 0 8px rgba(232,184,75,0.65)) drop-shadow(0 0 20px rgba(196,146,42,0.3)); } to { filter: drop-shadow(0 0 20px rgba(255,220,80,1)) drop-shadow(0 0 44px rgba(196,146,42,0.85)); } }
.intro-bean-wrap.is-open .intro-half--left { transform: translateX(-30px) rotate(-9deg); }
.intro-bean-wrap.is-open .intro-half--right { transform: translateX(30px) rotate(9deg); }
.intro-crack { position: absolute; left: 50%; top: 5%; height: 90%; width: 0; transform: translateX(-50%); overflow: visible; pointer-events: none; transition: width 0s; }
.intro-crack-ray { position: absolute; left: 50%; top: 0; height: 100%; width: 3px; transform: translateX(-50%); background: linear-gradient(to bottom, transparent 0%, rgba(255,210,70,0.8) 18%, rgba(255,240,140,1) 50%, rgba(255,210,70,0.8) 82%, transparent 100%); border-radius: 3px; filter: blur(2px); opacity: 0; transition: opacity 0.35s ease 0.2s; }
.intro-bean-wrap.is-open .intro-crack-ray { opacity: 1; }
.intro-bean-wrap.is-wide .intro-crack-ray { width: 72px; opacity: 0; filter: blur(22px); background: radial-gradient(ellipse at 50% 50%, rgba(255,230,100,0.85) 0%, transparent 70%); transition: width 0.55s ease, opacity 0.55s ease, filter 0.35s ease; }

.intro-text { text-align: center; padding: 0 28px; max-width: 520px; opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34,1.56,0.64,1); margin-top: 10px; }
.intro-text.is-visible { opacity: 1; transform: translateY(0); }
.intro-eyebrow { display: block; font-family: var(--ff-body); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); opacity: 0.72; margin-bottom: 14px; }
.intro-title { font-family: var(--ff-head); font-size: clamp(2rem, 5.5vw, 3.5rem); font-weight: 400; color: var(--cream); line-height: 1.1; margin: 0 0 14px; }
.intro-title-line { display: block; opacity: 0.88; }
.intro-brand { display: block; font-style: normal; font-weight: 700; color: var(--gold); letter-spacing: 0.04em; animation: iBrandGlow 2.4s ease-in-out infinite; text-shadow: 0 0 24px rgba(232,184,75,0.9), 0 0 60px rgba(196,146,42,0.5); }
@keyframes iBrandGlow { 0%, 100% { text-shadow: 0 0 24px rgba(232,184,75,0.9), 0 0 60px rgba(196,146,42,0.5); } 50% { text-shadow: 0 0 38px rgba(255,230,80,1), 0 0 90px rgba(196,146,42,0.9), 0 0 140px rgba(196,146,42,0.4); } }
.intro-tagline { font-family: var(--ff-body); font-size: 0.9rem; color: rgba(245,237,215,0.58); letter-spacing: 0.055em; margin: 0 0 34px; }
.intro-cta { display: inline-flex; align-items: center; gap: 10px; padding: 15px 38px; background: var(--gold); color: var(--espresso); font-family: var(--ff-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; border: none; border-radius: 3px; cursor: pointer; position: relative; opacity: 0; transform: translateY(12px) scale(0.94); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34,1.56,0.64,1), background 0.25s ease, box-shadow 0.25s ease; }
.intro-cta::before { content: ''; position: absolute; inset: -4px; border-radius: 5px; border: 1.5px solid rgba(196,146,42,0.5); opacity: 0; animation: iCtaRing 2.2s ease-in-out infinite; }
.intro-cta.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.intro-cta.is-visible::before { opacity: 1; }
@keyframes iCtaRing { 0%, 100% { transform: scale(1); opacity: 0.55; } 55% { transform: scale(1.07); opacity: 0; } }
.intro-cta:hover { background: var(--gold-light); box-shadow: 0 8px 36px rgba(196,146,42,0.55), 0 0 0 1px rgba(196,146,42,0.3); }
.intro-cta svg { transition: transform 0.25s ease; }
.intro-cta:hover svg { transform: translateX(5px); }

.hero-glow-entry .hero-headline { animation: heroGlowIn 2.8s ease forwards; }
.hero-glow-entry .hero-eyebrow { animation: heroGlowIn 2.8s ease 0.18s forwards; }
.hero-glow-entry .hero-actions .btn-primary { animation: ctaGlowPulse 1.8s ease-in-out 2; }
@keyframes heroGlowIn { 0% { text-shadow: none; } 20% { text-shadow: 0 0 40px rgba(196,146,42,0.75), 0 0 90px rgba(196,146,42,0.35); } 60% { text-shadow: 0 0 28px rgba(196,146,42,0.5), 0 0 65px rgba(196,146,42,0.2); } 100% { text-shadow: none; } }
@keyframes ctaGlowPulse { 0%, 100% { box-shadow: none; } 50% { box-shadow: 0 0 28px rgba(196,146,42,0.7), 0 8px 24px rgba(196,146,42,0.45); } }

@media (max-width: 480px) {
  .intro-bean-wrap { width: 84px; height: 118px; }
  .intro-bean-wrap.is-open .intro-half--left { transform: translateX(-22px) rotate(-7deg); }
  .intro-bean-wrap.is-open .intro-half--right { transform: translateX(22px) rotate(7deg); }
}

/* ----- Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bean-svg { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ----- Scroll Progress ----- */
#scroll-progress { position: fixed; top: 0; left: 0; height: 2.5px; width: 0%; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%); background-size: 200% 100%; z-index: 10000; pointer-events: none; will-change: width; animation: progressShimmer 2.2s linear infinite; }
@keyframes progressShimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.btn-primary { will-change: transform; }
.bean-toggle.bean-attention .bean-svg { animation: beanAttention 0.62s cubic-bezier(0.34,1.56,0.64,1) 4 !important; }
@keyframes beanAttention { 0%, 100% { transform: scale(1) translateY(0); filter: drop-shadow(0 3px 8px rgba(0,0,0,0.55)); } 50% { transform: scale(1.24) translateY(-8px); filter: drop-shadow(0 0 14px rgba(255,220,80,1)) drop-shadow(0 0 28px rgba(196,146,42,0.82)); } }
/* ============================================================
   OUR STORY (Coffee Story) - MOBILE FIXES
   ============================================================ */

@media (max-width: 900px) {
  .coffee-story {
    min-height: auto;
    /* Removes the giant empty space below */
    padding: 80px 0;
    /* Reduces top/bottom spacing for tablets */
  }

  .coffee-inner {
    max-width: 100%;
    /* Let text expand to fill the screen width */
    padding: 0 5%;
    /* Safe padding on the sides */
    align-items: flex-start;
  }

  .coffee-inner h2 {
    font-size: 48px;
    /* Keeps the heading bold and readable */
  }

  .story-stats {
    gap: 24px;
    /* Space between the grid items */
  }
}

@media (max-width: 600px) {
  .coffee-story {
    padding: 60px 0;
    /* Compact padding for phones */
  }

  .coffee-inner {
    padding: 0 20px;
    /* Perfectly aligns with your mobile container padding */
    max-width: 100%;
  }

  .coffee-inner h2 {
    font-size: clamp(32px, 10vw, 40px);
    /* Dynamic scaling, never too small */
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .coffee-inner h2 em {
    margin-top: 4px;
    /* Keeps "Roasting Excellence" close */
  }

  .coffee-inner p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 100%;
    /* Ensures paragraph text doesn't escape */
  }

  /* --- STATS: Turn into a clean 2x2 Grid --- */
  .story-stats {
    display: flex;
    flex-wrap: wrap;
    /* Allow items to drop to the next row */
    justify-content: flex-start;
    gap: 20px 10px;
    /* 20px vertical gap, 10px horizontal gap */
    width: 100%;
  }

  .story-stats>div {
    width: 45%;
    /* Two items per row (2x2 grid) */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    /* No bottom border, clean grid */
  }

  .story-stats span {
    font-size: 32px;
    /* Large, prominent number */
    line-height: 1;
    margin-bottom: 4px;
    /* Small gap between Number and Label */
    white-space: nowrap;
  }

  .story-stats small {
    width: 100%;
    /* Let the label take available width */
    font-size: 10px;
    /* Compact, uppercase label */
    line-height: 1.2;
    text-align: left;
    /* Align label directly beneath the number */
  }
}