/* ============================================
   Annamma.shop — Design System
   Warm terracotta · turmeric · cream · ink
   ============================================ */

:root {
  --cream: #faf6f0;
  --cream-dark: #f0e8dc;
  --paper: #fffdf9;
  --ink: #1c1410;
  --ink-soft: #3d3229;
  --muted: #7a6b5d;
  --line: rgba(28, 20, 16, 0.08);
  --terracotta: #c45c26;
  --terracotta-deep: #9a3f14;
  --turmeric: #d4a017;
  --turmeric-soft: #f0d78c;
  --rasam: #8b2942;
  --sambar: #b8860b;
  --leaf: #3d5a3a;
  --shadow: 0 20px 60px rgba(28, 20, 16, 0.1);
  --shadow-lg: 0 30px 80px rgba(28, 20, 16, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}
button { cursor: pointer; }
ul { list-style: none; }

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Grain */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* Typography helpers */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--terracotta);
}

.section-sub {
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-head--center {
  text-align: center;
}

.section-head--center .section-sub {
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 560;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(28, 20, 16, 0.18);
}

.btn--primary:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(196, 92, 38, 0.3);
}

.btn--ghost {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--paper);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.7rem 1.2rem;
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.is-scrolled {
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
}

.nav__logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--terracotta), var(--terracotta-deep));
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(196, 92, 38, 0.35);
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav__logo-dot {
  color: var(--terracotta);
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--terracotta);
}

.nav__cta {
  background: var(--ink) !important;
  color: var(--cream) !important;
  padding: 0.6rem 1.15rem !important;
  border-radius: 999px;
}

.nav__cta:hover {
  background: var(--terracotta) !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 2;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.hero__orb--1 {
  width: 420px;
  height: 420px;
  background: #e8b48a;
  top: -10%;
  right: 5%;
  animation: floatOrb 12s ease-in-out infinite;
}

.hero__orb--2 {
  width: 320px;
  height: 320px;
  background: #f0d78c;
  bottom: 10%;
  left: -5%;
  animation: floatOrb 15s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: #d4a090;
  top: 40%;
  left: 30%;
  opacity: 0.25;
  animation: floatOrb 18s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

.hero__canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: min(55%, 700px);
  height: 100%;
  pointer-events: none;
  opacity: 0.95;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  max-width: 620px;
  margin-left: max(calc((100% - 1180px) / 2 + 1.25rem), 1.25rem);
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.hero__title em {
  font-style: italic;
  color: var(--terracotta);
  background: linear-gradient(120deg, var(--terracotta), var(--sambar));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.hero__stat span {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
  display: block;
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: max(calc((100% - 1180px) / 2 + 1.25rem), 1.25rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}

.hero__scroll-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleX(0.7); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); }
}

/* ========== MARQUEE ========== */
.marquee {
  background: var(--ink);
  color: var(--cream);
  padding: 1rem 0;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.marquee__dot {
  color: var(--turmeric);
  opacity: 0.7;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ========== PRODUCTS ========== */
.products {
  padding: 7rem 0 5rem;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.product-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card--featured {
  border-color: rgba(184, 134, 11, 0.25);
  box-shadow: 0 0 0 1px rgba(184, 134, 11, 0.1), var(--shadow);
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: var(--turmeric);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.product-card__visual {
  position: relative;
  height: 260px;
  background: linear-gradient(160deg, var(--accent-soft), var(--paper) 70%);
  display: grid;
  place-items: center;
  perspective: 800px;
  overflow: hidden;
}

.product-card__jar {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* CSS 3D Jar */
.jar {
  position: relative;
  width: 110px;
  height: 150px;
  transform-style: preserve-3d;
  animation: jarFloat 5s ease-in-out infinite;
}

.product-card:nth-child(2) .jar { animation-delay: -1.5s; }
.product-card:nth-child(3) .jar { animation-delay: -3s; }

@keyframes jarFloat {
  0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(4deg); }
  50% { transform: translateY(-12px) rotateY(8deg) rotateX(-2deg); }
}

.jar__lid {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 18px;
  background: linear-gradient(180deg, #3a2f28, #1c1410);
  border-radius: 6px 6px 4px 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

.jar__lid::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.jar__body {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 130px;
  border-radius: 12px 12px 18px 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.15));
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 0 30px rgba(255, 255, 255, 0.25),
    0 12px 30px rgba(28, 20, 16, 0.15);
  overflow: hidden;
  backdrop-filter: blur(2px);
}

.jar--idly .jar__body {
  background: linear-gradient(160deg, rgba(245, 200, 160, 0.5), rgba(196, 92, 38, 0.25));
}
.jar--sambar .jar__body {
  background: linear-gradient(160deg, rgba(240, 215, 140, 0.55), rgba(184, 134, 11, 0.3));
}
.jar--rasam .jar__body {
  background: linear-gradient(160deg, rgba(230, 180, 190, 0.5), rgba(139, 41, 66, 0.28));
}

.jar__spice {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  opacity: 0.85;
}

.jar__spice--idly {
  background: linear-gradient(180deg, transparent, #c45c26 30%, #8b3a12);
}
.jar__spice--sambar {
  background: linear-gradient(180deg, transparent, #c9a227 30%, #8a6910);
}
.jar__spice--rasam {
  background: linear-gradient(180deg, transparent, #a33d58 30%, #6b1f35);
}

.jar__label {
  position: absolute;
  inset: 22% 10% auto;
  z-index: 2;
  background: rgba(255, 253, 249, 0.92);
  border-radius: 8px;
  padding: 0.55rem 0.4rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(28, 20, 16, 0.06);
}

.jar__brand {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.jar__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0.1rem 0;
}

.jar__tamil {
  display: block;
  font-size: 0.6rem;
  color: var(--terracotta);
  opacity: 0.85;
}

.jar__shadow {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 14px;
  background: radial-gradient(ellipse, rgba(28, 20, 16, 0.25), transparent 70%);
  filter: blur(4px);
}

.product-card__float {
  position: absolute;
  font-size: 1.2rem;
  animation: floatEmoji 4s ease-in-out infinite;
  opacity: 0.85;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.product-card__float--1 {
  top: 18%;
  right: 14%;
  animation-delay: 0.5s;
}

.product-card__float--2 {
  bottom: 22%;
  left: 12%;
  animation-delay: 1.2s;
  font-size: 0.9rem;
}

@keyframes floatEmoji {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(6deg); }
}

.product-card__body {
  padding: 1.5rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.product-card__tags span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.product-card__tagline {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.product-card__notes {
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-card__notes li {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}

.product-card__notes li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.product-card__price .price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  display: block;
  line-height: 1;
}

.product-card__price .weight {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Bundle */
.bundle {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #1c1410 0%, #3d2418 55%, #5a2e18 100%);
  color: var(--cream);
  border-radius: calc(var(--radius) + 8px);
  padding: 2.5rem 3rem;
  overflow: hidden;
  position: relative;
}

.bundle__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turmeric-soft);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.bundle h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.bundle p {
  color: rgba(250, 246, 240, 0.72);
  max-width: 42ch;
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.bundle__price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.bundle__price .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
}

.price-old {
  text-decoration: line-through;
  color: rgba(250, 246, 240, 0.4);
  font-size: 1.1rem;
}

.bundle__save {
  background: var(--turmeric);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bundle .btn--primary {
  background: var(--cream);
  color: var(--ink);
}

.bundle .btn--primary:hover {
  background: var(--turmeric);
}

.bundle__jars {
  position: relative;
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bundle__jar {
  width: 70px;
  height: 100px;
  border-radius: 10px 10px 16px 16px;
  position: absolute;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bundle__jar--1 {
  background: linear-gradient(160deg, #e8a070, #c45c26);
  left: 18%;
  bottom: 20px;
  transform: rotate(-12deg);
  z-index: 1;
}

.bundle__jar--2 {
  background: linear-gradient(160deg, #e8d070, #b8860b);
  left: 50%;
  transform: translateX(-50%);
  bottom: 35px;
  height: 120px;
  width: 80px;
  z-index: 3;
}

.bundle__jar--3 {
  background: linear-gradient(160deg, #d08090, #8b2942);
  right: 18%;
  bottom: 20px;
  transform: rotate(12deg);
  z-index: 2;
}

/* ========== STORY ========== */
.story {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story__frame {
  position: relative;
}

.story__image {
  aspect-ratio: 4/5;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(145deg, #2a1c14, #5a3420 50%, #c45c26);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.story__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(240, 215, 140, 0.25), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(196, 92, 38, 0.4), transparent 45%);
}

.story__image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  padding: 2rem;
}

.story__initial {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.story__image-inner p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  opacity: 0.85;
  line-height: 1.3;
}

.story__card--float {
  position: absolute;
  bottom: -1.25rem;
  right: -1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  max-width: 200px;
}

.story__card--float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.story__card--float span {
  font-size: 0.8rem;
  color: var(--muted);
}

.story__text p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.story__values {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.story__value {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.story__value:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.story__value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream-dark);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.story__value strong {
  display: block;
  font-size: 0.95rem;
}

.story__value span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ========== CRAFT ========== */
.craft {
  padding: 6rem 0;
}

.craft__steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.craft__step {
  flex: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.craft__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.craft__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--terracotta);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), background 0.3s;
}

.craft__icon svg {
  width: 32px;
  height: 32px;
}

.craft__step:hover .craft__icon {
  transform: scale(1.08) rotate(-4deg);
  background: var(--cream-dark);
}

.craft__step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.craft__step p {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 22ch;
  margin-inline: auto;
}

.craft__connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin-top: 5.5rem;
  flex-shrink: 0;
}

/* ========== SHOWCASE 3D ========== */
.showcase {
  padding: 5rem 0 6rem;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 92, 38, 0.25), transparent 70%);
  top: -10%;
  right: -5%;
  pointer-events: none;
}

.showcase .section-eyebrow {
  color: var(--turmeric-soft);
}

.showcase .section-title {
  color: var(--cream);
}

.showcase .section-title em {
  color: var(--turmeric);
  -webkit-text-fill-color: var(--turmeric);
}

.showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.showcase__text p {
  color: rgba(250, 246, 240, 0.65);
  max-width: 40ch;
  margin-bottom: 1.75rem;
}

.showcase__switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.showcase__btn {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 240, 0.15);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(250, 246, 240, 0.7);
  transition: 0.25s;
}

.showcase__btn:hover,
.showcase__btn.is-active {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.showcase__info h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.showcase__info p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.showcase__stage {
  position: relative;
  height: min(480px, 60vw);
  border-radius: calc(var(--radius) + 4px);
  background: radial-gradient(ellipse at 50% 60%, rgba(196, 92, 38, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.showcase__canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

.showcase__canvas:active {
  cursor: grabbing;
}

.showcase__hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.4);
  pointer-events: none;
}

/* ========== REVIEWS ========== */
.reviews {
  padding: 6rem 0;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.review-card__stars {
  color: var(--turmeric);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.review-card > p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 1.5rem;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--terracotta), var(--terracotta-deep));
  color: var(--cream);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.review-card strong {
  display: block;
  font-size: 0.9rem;
}

.review-card footer span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ========== ORDER ========== */
.order {
  padding: 4rem 0 7rem;
}

.order__card {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.order__content {
  padding: 2.75rem;
}

.order__content > p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  max-width: 48ch;
}

.order__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.order__form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.order__form label span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.order__form input,
.order__form select,
.order__form textarea {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.order__form input:focus,
.order__form select:focus,
.order__form textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.12);
}

.order__form textarea {
  resize: vertical;
  min-height: 70px;
}

.order__aside {
  background: linear-gradient(160deg, #2a1c14, #1c1410);
  color: var(--cream);
  padding: 2.75rem;
  display: flex;
  align-items: center;
}

.order__aside h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.order__aside ul {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.order__aside li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(250, 246, 240, 0.8);
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.2);
  color: var(--turmeric);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.order__contact p {
  font-size: 0.85rem;
  color: rgba(250, 246, 240, 0.5);
  margin-bottom: 0.75rem;
}

.order__aside .btn--ghost {
  border-color: rgba(250, 246, 240, 0.2);
  color: var(--cream);
}

.order__aside .btn--ghost:hover {
  background: rgba(250, 246, 240, 0.08);
  border-color: var(--cream);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--ink);
  color: rgba(250, 246, 240, 0.7);
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 32ch;
  line-height: 1.65;
}

.footer .nav__logo-text {
  color: var(--cream);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.footer__col a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--turmeric);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.footer__tamil {
  font-family: var(--font-display);
  color: var(--turmeric);
  font-style: italic;
}

/* ========== TOAST & CART ========== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--cream);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cart-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(196, 92, 38, 0.4);
  z-index: 150;
  transition: transform 0.3s var(--ease), background 0.25s;
}

.cart-fab:hover {
  transform: scale(1.08);
  background: var(--terracotta-deep);
}

.cart-fab__count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 180;
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 16, 0.4);
  opacity: 0;
  transition: opacity 0.35s;
}

.cart-drawer.is-open .cart-drawer__backdrop {
  opacity: 1;
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}

.cart-drawer.is-open .cart-drawer__panel {
  transform: none;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  transition: background 0.2s;
}

.cart-drawer__close:hover {
  background: var(--cream-dark);
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.cart-drawer__empty {
  color: var(--muted);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  gap: 1rem;
}

.cart-item__name {
  font-weight: 550;
  font-size: 0.95rem;
}

.cart-item__meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.cart-item__price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.cart-item__remove {
  font-size: 0.75rem;
  color: var(--terracotta);
  margin-top: 0.25rem;
  text-decoration: underline;
  cursor: pointer;
}

.cart-drawer__foot {
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid var(--line);
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.cart-drawer__total strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .products__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .product-card--featured {
    order: -1;
  }

  .hero__canvas {
    opacity: 0.35;
    width: 100%;
  }

  .hero__content {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .story__grid,
  .showcase__grid,
  .order__card,
  .bundle {
    grid-template-columns: 1fr;
  }

  .bundle__jars {
    height: 140px;
  }

  .craft__steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .craft__connector {
    display: none;
  }

  .craft__step {
    flex: 1 1 40%;
    min-width: 140px;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .story__card--float {
    right: 0.5rem;
  }
}

@media (max-width: 768px) {
  .nav__burger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }

  .nav__links.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links a {
    font-size: 1.35rem;
    font-family: var(--font-display);
  }

  .nav.is-open .nav__burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav.is-open .nav__burger span:nth-child(2) {
    opacity: 0;
  }
  .nav.is-open .nav__burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 5rem;
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 3.4rem);
  }

  .hero__scroll {
    display: none;
  }

  .products {
    padding: 4.5rem 0 3rem;
  }

  .bundle {
    padding: 2rem 1.5rem;
  }

  .order__content,
  .order__aside {
    padding: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story {
    padding: 4rem 0;
  }

  .showcase__stage {
    height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
