/* ==========================================================================
   PARAS POINT — "Modern Mandi"
   Mobile first. All animation uses transform/opacity only.
   --------------------------------------------------------------------------
   1. Tokens
   2. Base & utilities
   3. Textures, stitches, stamps
   4. Buttons
   5. Header & nav
   6. Hero
   7. Rate board ticker
   8. Category strip
   9. Product cards & grid
   10. Why us / counters
   11. How to order
   12. Product detail page
   13. Forms, about, contact
   14. Footer, toast, 404
   15. Animations & reveal
   16. Responsive
   17. Reduced motion
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --jute:      #F3E9D2;
  --jute-dark: #E7D9BC;
  --green:     #1F4D36;
  --green-dk:  #163726;
  --turmeric:  #E8A917;
  --chilli:    #C0392B;
  --ink:       #231F1A;
  --ink-soft:  #5B5346;
  --paper:     #FBF6EA;

  --display: 'Stardos Stencil', 'Oswald', Impact, sans-serif;
  --slab:    'Oswald', 'Stardos Stencil', sans-serif;
  --body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --r-sm: 4px;
  --r-md: 10px;

  --sh-1: 0 2px 6px rgba(35,31,26,.10);
  --sh-2: 0 10px 28px rgba(35,31,26,.16);
  --sh-3: 0 18px 44px rgba(35,31,26,.22);

  --ease: cubic-bezier(.22,.78,.3,1);
  --header-h: 68px;
}

/* ---------- 2. Base & utilities ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* The mobile menu lives off-canvas to the right; clip it so the page never
     scrolls sideways. `clip` (unlike `hidden`) keeps position:sticky working. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--jute);
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--chilli); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
  margin: 0 0 .5em;
  text-transform: uppercase;
}

h1 { font-size: clamp(1.75rem, 5.4vw, 3.5rem); overflow-wrap: break-word; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.6rem); }
h3 { font-size: clamp(1.05rem, 2.4vw, 1.35rem); }

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; list-style: none; }

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

.section { padding: clamp(2.5rem, 7vw, 5.5rem) 0; position: relative; }

.section__head { margin-bottom: 2rem; }
.section__head p { color: var(--ink-soft); max-width: 60ch; margin: 0; }

.eyebrow {
  font-family: var(--slab);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--chilli);
  font-weight: 600;
  display: block;
  margin-bottom: .5rem;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; }

/* ---------- 3. Textures, stitches, stamps ---------- */

/* Subtle jute / burlap weave, pure CSS. */
.jute {
  background-color: var(--jute);
  background-image:
    repeating-linear-gradient(90deg,
      rgba(140,106,31,.055) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(0deg,
      rgba(140,106,31,.055) 0 2px, transparent 2px 5px),
    radial-gradient(circle at 20% 30%, rgba(232,169,23,.07), transparent 60%);
}

.jute--dark {
  background-color: var(--jute-dark);
  background-image:
    repeating-linear-gradient(90deg, rgba(90,66,20,.08) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(0deg,  rgba(90,66,20,.08) 0 2px, transparent 2px 5px);
}

.jute--green {
  background-color: var(--green);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.035) 0 2px, transparent 2px 5px);
  color: var(--paper);
}
.jute--green h2, .jute--green h3 { color: var(--paper); }

/* Stitched sack-seam borders. */
.stitch        { border: 2px dashed rgba(31,77,54,.4); }
.stitch--top   { border-top: 2px dashed rgba(31,77,54,.4); }
.stitch--light { border-top: 2px dashed rgba(243,233,210,.35); }

.seam {
  height: 0;
  border-top: 2px dashed rgba(31,77,54,.35);
  margin: 0;
}

/* Round rubber-stamp badge. */
.stamp {
  display: inline-block;
  font-family: var(--slab);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--chilli);
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: .4rem .9rem;
  transform: rotate(-4deg);
  opacity: .9;
  background: transparent;
}
.stamp--light { color: var(--turmeric); }
.stamp--green { color: var(--green); }

/* Fallback image tile: category colour + stencil product name. */
.img-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  text-align: center;
  padding: 1rem;
  color: #fff;
  background-color: var(--fb, var(--green));
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,.10) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(0deg,  rgba(0,0,0,.10) 0 2px, transparent 2px 6px),
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.18), transparent 65%);
}
.img-fallback__name {
  font-family: var(--display);
  font-size: clamp(.95rem, 2.4vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.15;
  text-shadow: 0 2px 0 rgba(0,0,0,.2);
}
.img-fallback__cat {
  font-family: var(--slab);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,.65);
  border-radius: 999px;
  padding: .18rem .6rem;
}

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: var(--slab);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .72rem 1.3rem;
  border: 2px solid var(--green);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--sm  { padding: .5rem .9rem; font-size: .76rem; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--green); }
.btn--ghost:hover { --btn-fg: var(--paper); background: var(--green); }

.btn--stamp {
  --btn-bg: var(--turmeric);
  --btn-fg: var(--ink);
  border-color: var(--ink);
}

/* Turmeric fill sweeps across on hover. */
.btn--buy { --btn-bg: var(--green); --btn-fg: var(--paper); width: 100%; }
.btn--buy::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--turmeric);
  transform: translateX(-101%);
  transition: transform .42s var(--ease);
  z-index: -1;
}
.btn--buy:hover { color: var(--ink); }
.btn--buy:hover::before { transform: translateX(0); }

.btn--copy {
  --btn-bg: transparent;
  --btn-fg: var(--green);
  border-style: dashed;
  padding: .5rem .7rem;
  font-size: .68rem;
  letter-spacing: .06em;
}
.btn--copy:hover { --btn-bg: var(--green); --btn-fg: var(--paper); }

.btn--light { border-color: var(--paper); --btn-bg: transparent; --btn-fg: var(--paper); }
.btn--light:hover { --btn-bg: var(--paper); --btn-fg: var(--green); }

/* ---------- 5. Header & nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* NOTE: no backdrop-filter here on purpose — it would make this element the
     containing block for the position:fixed mobile menu, which would then be
     clipped to the header's own height instead of covering the screen. */
  background: var(--jute);
  border-bottom: 2px dashed rgba(31,77,54,.3);
  transition: padding .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-shrunk { box-shadow: var(--sh-1); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  transition: min-height .3s var(--ease);
}
.site-header.is-shrunk .site-header__inner { min-height: 54px; }

.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand__mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--paper);
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--turmeric);
  flex: 0 0 auto;
  transition: transform .3s var(--ease), width .3s var(--ease), height .3s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-10deg) scale(1.06); }
.site-header.is-shrunk .brand__mark { width: 34px; height: 34px; font-size: .95rem; }
.brand__logo { border-radius: 50%; object-fit: cover; }

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__tag {
  font-family: var(--slab);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Mobile slide-in menu. */
.nav {
  position: fixed;
  inset: 0 0 0 28%;
  background: var(--green);
  padding: calc(var(--header-h) + 1.5rem) 1.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(101%);
  transition: transform .38s var(--ease);
  box-shadow: var(--sh-3);
  z-index: 99;
}
.nav.is-open { transform: translateX(0); }

.nav__list { display: flex; flex-direction: column; gap: .35rem; }
.nav__link {
  display: block;
  font-family: var(--slab);
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
  padding: .6rem 0;
  border-bottom: 1px dashed rgba(243,233,210,.25);
}
.nav__link:hover, .nav__link.is-active { color: var(--turmeric); }
.nav__cta { display: flex; flex-wrap: wrap; gap: .5rem; }
.nav .btn--ghost { --btn-fg: var(--paper); border-color: var(--paper); }
.nav .btn--ghost:hover { --btn-bg: var(--paper); --btn-fg: var(--green); }

.burger {
  width: 44px; height: 40px;
  display: grid; place-content: center; gap: 5px;
  background: transparent;
  border: 2px solid var(--green);
  border-radius: var(--r-sm);
  cursor: pointer;
  z-index: 101;
}
.burger span {
  display: block; width: 20px; height: 2px;
  background: var(--green);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* With the green panel open, the burger turns into a light X so it stays
   visible against it. */
body.nav-open .burger { border-color: var(--paper); }
body.nav-open .burger span { background: var(--paper); }

body.nav-open { overflow: hidden; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.hero::after {
  /* faint sack-stack silhouette in the corner */
  content: '';
  position: absolute;
  right: -8%; bottom: -12%;
  width: 46vw; height: 46vw;
  max-width: 520px; max-height: 520px;
  background: radial-gradient(circle, rgba(31,77,54,.07), transparent 65%);
  pointer-events: none;
}

.hero__grid { display: grid; gap: 2rem; align-items: center; }

.hero__title { margin-bottom: .6rem; }
.hero__title .word {
  /* JS wraps each word so a word never breaks across lines */
  display: inline-block;
  white-space: nowrap;
}
.hero__title .ink {
  /* each letter is wrapped by JS for the stamp-in effect */
  display: inline-block;
  will-change: transform, opacity;
}
.hero__title .line2 { display: block; color: var(--green); }

.hero__lead {
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 1.4rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.2rem; }
.hero__badges  { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Asymmetric collage shaped like stacked sacks / crates. */
.collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  aspect-ratio: 1 / 1;
  gap: 10px;
  position: relative;
}
.collage__item {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--jute);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  background: var(--jute-dark);
  will-change: transform, opacity;
}
.collage__item > img,
.collage__item > .img-fallback {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.collage__item:hover > img { transform: scale(1.07); }

/* sack-like staggered placement */
.collage__item:nth-child(1) { grid-area: 1 / 1 / 4 / 4; border-radius: 48% 48% 14% 14% / 22% 22% 10% 10%; }
.collage__item:nth-child(2) { grid-area: 1 / 4 / 3 / 7; }
.collage__item:nth-child(3) { grid-area: 3 / 4 / 6 / 7; border-radius: 40% 40% 12% 12% / 20% 20% 8% 8%; }
.collage__item:nth-child(4) { grid-area: 4 / 1 / 7 / 4; }
.collage__item:nth-child(5) { grid-area: 6 / 4 / 7 / 7; display: grid; place-items: center; border: 0; box-shadow: none; background: transparent; }

.collage__note {
  font-family: var(--slab);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- 7. Rate board ticker ---------- */
.ticker {
  background: var(--green-dk);
  color: var(--paper);
  border-top: 3px solid var(--turmeric);
  border-bottom: 3px solid var(--turmeric);
  padding: .55rem 0;
  overflow: hidden;
  position: relative;
}
.ticker__label {
  position: absolute; left: 0; top: 0; bottom: 0;
  display: none;
  align-items: center;
  padding: 0 1rem;
  background: var(--turmeric);
  color: var(--ink);
  font-family: var(--slab);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  z-index: 2;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track { animation-play-state: paused; }

.ticker__group { display: flex; flex: 0 0 auto; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0 1.1rem;
  font-family: var(--slab);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px dashed rgba(243,233,210,.25);
}
.ticker__item b { color: var(--turmeric); font-weight: 600; }
.ticker__item span { color: rgba(243,233,210,.75); font-size: .72rem; letter-spacing: .12em; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 8. Category strip ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1rem;
}
.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  text-align: center;
  color: var(--ink);
}
.cat__ring {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--jute);
  outline: 2px dashed rgba(31,77,54,.4);
  outline-offset: 5px;
  box-shadow: var(--sh-1);
  background: var(--jute-dark);
}
.cat__ring > img,
.cat__ring > .img-fallback {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.cat__ring::after {
  /* looking down into an open sack */
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 14px 28px rgba(35,31,26,.38);
  pointer-events: none;
}
.cat:hover .cat__ring > img,
.cat:focus-visible .cat__ring > img { transform: scale(1.14) rotate(5deg); }
.cat:hover .cat__ring { box-shadow: var(--sh-2); }

.cat__name {
  font-family: var(--display);
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.2;
}
.cat__count {
  font-family: var(--slab);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cat:hover .cat__name { color: var(--chilli); }

/* ---------- 9. Product cards & grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 2px solid rgba(35,31,26,.14);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  transform-style: preserve-3d;
}
.card:hover {
  transform: translateY(-6px) rotate(-.6deg);
  box-shadow: var(--sh-3);
}

.card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--jute-dark);
  border-bottom: 2px dashed rgba(35,31,26,.2);
}
.card__img, .card__media > .img-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card__img { transform: scale(1.09); }

.card__stamp {
  position: absolute;
  top: .55rem; right: .55rem;
  font-family: var(--slab);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--stamp, var(--green));
  border: 1.5px solid rgba(255,255,255,.8);
  border-radius: 999px;
  padding: .22rem .55rem;
  transform: rotate(-8deg) scale(.9);
  opacity: .92;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.card:hover .card__stamp { transform: rotate(4deg) scale(1.04); opacity: 1; }

.card__body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .85rem .8rem 1rem;
  flex: 1;
}
.card__title { font-size: 1rem; margin: 0; line-height: 1.15; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--chilli); }

.card__desc {
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.chip {
  font-family: var(--slab);
  font-size: .62rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(31,77,54,.08);
  border: 1px dashed rgba(31,77,54,.35);
  border-radius: 999px;
  padding: .18rem .5rem;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip--more { background: var(--turmeric); border-style: solid; color: var(--ink); }

.card__rate {
  font-family: var(--slab);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--chilli);
  margin: auto 0 0;
}

.card__actions {
  display: flex;
  flex-wrap: wrap;          /* on a narrow card the two buttons stack */
  gap: .4rem;
  align-items: stretch;
}
.card__actions .btn--buy  { flex: 1 1 110px; min-width: 0; }
.card__actions .btn--copy { flex: 1 1 86px;  min-width: 0; }
.card__actions .btn { overflow: hidden; text-overflow: ellipsis; }

/* Filter tabs */
.tabs {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.tab {
  flex: 0 0 auto;
  font-family: var(--slab);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem .85rem;
  border: 2px dashed rgba(31,77,54,.4);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.tab:hover { transform: translateY(-2px); }
.tab.is-active {
  background: var(--green);
  color: var(--paper);
  border-style: solid;
}

.toolbar {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: 1.5rem;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search input {
  width: 100%;
  font-family: var(--body);
  font-size: .95rem;
  padding: .75rem 2.4rem .75rem .9rem;
  border: 2px solid rgba(35,31,26,.2);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
}
.search input:focus { border-color: var(--green); outline: none; }
/* hide the browser's own clear button — the page provides its own */
.search input::-webkit-search-cancel-button,
.search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search__clear {
  position: absolute; right: .4rem;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 0; background: transparent;
  font-size: 1.2rem; line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}

.result-count {
  font-family: var(--slab);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border: 2px dashed rgba(31,77,54,.35);
  border-radius: var(--r-md);
}

/* Cards animate out/in when the filter changes. */
.card.is-hidden { display: none; }
.card.is-shuffling { animation: shuffle .42s var(--ease) both; }
@keyframes shuffle {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 10. Why us / counters ---------- */
.why { display: grid; gap: 2rem; }

.why__points { display: grid; gap: 1rem; }
.point {
  display: flex;
  gap: .9rem;
  padding: 1rem;
  background: rgba(251,246,234,.6);
  border-left: 4px solid var(--turmeric);
  border-radius: var(--r-sm);
}
.point__no {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--turmeric);
  line-height: 1;
  flex: 0 0 auto;
}
.point h3 { font-size: .98rem; margin-bottom: .25rem; }
.point p  { font-size: .86rem; margin: 0; color: var(--ink-soft); }
.jute--green .point { background: rgba(255,255,255,.06); }
.jute--green .point p { color: rgba(243,233,210,.8); }

.counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.counter {
  text-align: center;
  padding: 1.2rem .6rem;
  border: 2px dashed rgba(243,233,210,.4);
  border-radius: var(--r-md);
}
.counter__num {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 6vw, 2.9rem);
  line-height: 1;
  color: var(--turmeric);
}
.counter__label {
  font-family: var(--slab);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243,233,210,.82);
}

/* ---------- 11. How to order ---------- */
.steps {
  display: grid;
  gap: 1.8rem;
  position: relative;
}
.steps::before {
  /* stitched line connecting the stamps */
  content: '';
  position: absolute;
  left: 34px; top: 40px; bottom: 40px;
  width: 0;
  border-left: 2px dashed rgba(31,77,54,.45);
  z-index: 0;
}
.step {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  z-index: 1;
}
.step__stamp {
  flex: 0 0 auto;
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 3px double var(--chilli);
  color: var(--chilli);
  background: var(--jute);
  font-family: var(--display);
  font-size: 1.5rem;
  transform: rotate(-6deg);
  transition: transform .4s var(--ease);
}
.step:hover .step__stamp { transform: rotate(6deg) scale(1.06); }
.step h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.step p  { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ---------- 12. Product detail page ---------- */
.crumbs {
  font-family: var(--slab);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 1rem 0 0;
}
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--chilli); }

.pd { display: grid; gap: 1.8rem; padding: 1.5rem 0 0; }

.pd__media {
  position: relative;
  border: 3px solid var(--paper);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-2);
  background: var(--jute-dark);
}
.pd__media img, .pd__media > .img-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.pd__media .card__stamp { top: .8rem; right: .8rem; font-size: .66rem; padding: .3rem .7rem; }

.pd__title { margin-bottom: .4rem; }
.pd__desc { font-size: 1.02rem; color: var(--ink-soft); }

.pd__rate {
  display: inline-block;
  font-family: var(--slab);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--chilli);
  padding: .4rem .9rem;
  border-radius: var(--r-sm);
  margin-bottom: 1.1rem;
}

.pd__block { margin-bottom: 1.4rem; }
.pd__label {
  font-family: var(--slab);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .5rem;
  display: block;
}

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: var(--paper);
  border: 2px solid rgba(35,31,26,.14);
  border-radius: var(--r-md);
  overflow: hidden;
}
.spec th, .spec td { padding: .7rem .85rem; text-align: left; vertical-align: top; }
.spec tr + tr { border-top: 1px dashed rgba(35,31,26,.2); }
.spec th {
  font-family: var(--slab);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  width: 42%;
  background: rgba(31,77,54,.05);
}

.pd__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.pd__actions .btn--buy { width: auto; min-width: 190px; }

/* ---------- 13. Forms, about, contact ---------- */
.form { display: grid; gap: .9rem; }
.field { display: grid; gap: .3rem; }
.field label {
  font-family: var(--slab);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: .95rem;
  padding: .7rem .85rem;
  border: 2px solid rgba(35,31,26,.2);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field--row { display: grid; gap: .9rem; }

.form__note { font-size: .8rem; color: var(--ink-soft); margin: 0; }

.panel {
  background: var(--paper);
  border: 2px dashed rgba(31,77,54,.35);
  border-radius: var(--r-md);
  padding: 1.3rem;
}

.map-placeholder {
  display: grid;
  place-items: center;
  gap: .5rem;
  text-align: center;
  min-height: 260px;
  border: 2px dashed rgba(31,77,54,.4);
  border-radius: var(--r-md);
  background:
    repeating-linear-gradient(45deg, rgba(31,77,54,.045) 0 10px, transparent 10px 20px),
    var(--jute-dark);
  padding: 1.5rem;
}
.map-placeholder p { font-size: .85rem; color: var(--ink-soft); margin: 0; max-width: 40ch; }
.map-embed { width: 100%; min-height: 320px; border: 0; border-radius: var(--r-md); display: block; }

.contact-list { display: grid; gap: 1rem; }
.contact-row { display: grid; gap: .15rem; }
.contact-row dt {
  font-family: var(--slab);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--chilli);
}
.contact-row dd { margin: 0; font-size: .95rem; }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 2rem; }
.prose ul { display: grid; gap: .5rem; margin: 0 0 1rem; }
.prose ul li { position: relative; padding-left: 1.4rem; }
.prose ul li::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px;
  background: var(--turmeric);
  transform: rotate(45deg);
}

.contact-strip { display: grid; gap: 1.2rem; align-items: center; }

/* ---------- 14. Footer, toast, 404 ---------- */
.site-footer {
  background: var(--green);
  color: rgba(243,233,210,.86);
  border-top: 3px dashed var(--turmeric);
  padding: 2.5rem 0 1.2rem;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.03) 0 2px, transparent 2px 5px);
}
.site-footer__grid { display: grid; gap: 2rem; }
.footer__h {
  font-size: 1rem;
  color: var(--turmeric);
  margin-bottom: .7rem;
}
.footer__text { font-size: .88rem; margin: 0 0 .7rem; }
.footer__address { line-height: 1.7; }
.footer__gst { font-family: var(--slab); letter-spacing: .08em; font-size: .78rem; }

.footer__links { display: grid; gap: .45rem; }
.footer__links a { color: rgba(243,233,210,.86); font-size: .88rem; }
.footer__links a:hover { color: var(--turmeric); }

.footer__contact { display: grid; gap: .7rem; margin-bottom: 1rem; }
.footer__contact a { color: rgba(243,233,210,.9); font-size: .9rem; word-break: break-word; }
.footer__contact a:hover { color: var(--turmeric); }
.footer__label {
  display: block;
  font-family: var(--slab);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(243,233,210,.55);
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px dashed rgba(243,233,210,.25);
  display: grid;
  gap: .3rem;
  font-size: .76rem;
  color: rgba(243,233,210,.6);
}
.site-footer__bottom p { margin: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 140%);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--slab);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--sh-3);
  z-index: 200;
  transition: transform .4s var(--ease);
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); }

.notfound { text-align: center; padding: clamp(3rem, 10vw, 6rem) 0; }
.notfound__code {
  font-family: var(--display);
  font-size: clamp(4rem, 18vw, 9rem);
  line-height: .9;
  color: rgba(31,77,54,.18);
  margin: 0;
}
.notfound p { color: var(--ink-soft); max-width: 48ch; margin: 0 auto 1.4rem; }

/* ---------- 15. Animations & reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Hero headline: letters stamp in with an ink-press squash. */
.stamp-in .ink {
  opacity: 0;
  animation: inkPress .5s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 38ms);
}
@keyframes inkPress {
  0%   { opacity: 0; transform: translateY(-16px) scale(1.5) rotate(-3deg); filter: blur(2px); }
  55%  { opacity: 1; transform: translateY(0) scale(.88) rotate(.5deg); filter: blur(0); }
  75%  { transform: translateY(0) scale(1.04); }
  100% { opacity: 1; transform: none; }
}

/* Collage photos drop in like sacks being stacked. */
.drop-in .collage__item {
  opacity: 0;
  animation: sackDrop .72s var(--ease) both;
  animation-delay: calc(.35s + var(--d, 0) * 130ms);
}
@keyframes sackDrop {
  0%   { opacity: 0; transform: translateY(-70px) rotate(-5deg) scale(.9); }
  62%  { opacity: 1; transform: translateY(6px) rotate(1deg) scale(1.01); }
  82%  { transform: translateY(-3px) rotate(-.5deg); }
  100% { opacity: 1; transform: none; }
}

/* ---------- 16. Responsive ---------- */
/* Small phones: keep the brand lock-up on one line. */
@media (max-width: 430px) {
  .brand { gap: .5rem; }
  .brand__mark { width: 36px; height: 36px; font-size: .9rem; }
  .brand__name { font-size: .95rem; }
  .brand__tag  { font-size: .5rem; letter-spacing: .1em; white-space: nowrap; }
  .wrap { padding: 0 14px; }
}

@media (min-width: 560px) {
  .counters { grid-template-columns: repeat(4, 1fr); }
  .field--row { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { grid-template-columns: 1fr auto; }
}

@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .ticker__label { display: flex; }
  .ticker__track { padding-left: 150px; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .toolbar .tabs { flex: 1 1 auto; }
  .search { flex: 0 0 260px; }
  .contact-strip { grid-template-columns: 1.3fr 1fr; }
  .pd { grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
  .card__title { font-size: 1.06rem; }

  /* stitched line runs horizontally across the three stamps */
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .steps::before {
    left: 12%; right: 12%; top: 34px;
    bottom: auto; width: auto;
    border-left: 0;
    border-top: 2px dashed rgba(31,77,54,.45);
  }
  .step { flex-direction: column; align-items: center; text-align: center; }
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .why { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .cats { gap: 1.8rem 1.4rem; }

  /* desktop nav sits inline, no slide-in panel */
  .burger { display: none; }
  .nav {
    position: static;
    inset: auto;
    transform: none;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav__list { flex-direction: row; gap: 1.3rem; }
  .nav__link {
    color: var(--ink);
    border: 0;
    padding: .3rem 0;
    font-size: .82rem;
    position: relative;
  }
  .nav__link::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -2px;
    border-bottom: 2px dashed var(--turmeric);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__link:hover, .nav__link.is-active { color: var(--green); }
  .nav .btn--ghost { --btn-fg: var(--green); border-color: var(--green); }
  .nav .btn--ghost:hover { --btn-bg: var(--green); --btn-fg: var(--paper); }
}

/* ---------- 17. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .stamp-in .ink, .drop-in .collage__item { opacity: 1; animation: none; }
  .ticker__track { animation: none; transform: none; }
  .card:hover { transform: none; }
}

/* ---------- 18. Wide photo band ---------- */
.band {
  position: relative;
  min-height: 230px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 3px dashed var(--turmeric);
  border-bottom: 3px dashed var(--turmeric);
}
.band__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* gentle, GPU-friendly drift — no scroll listeners */
  animation: bandDrift 26s var(--ease) infinite alternate;
}
@keyframes bandDrift {
  from { transform: scale(1.06) translate3d(-1%, 0, 0); }
  to   { transform: scale(1.14) translate3d(1%, -1%, 0); }
}
.band__veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(22,55,38,.92) 0%, rgba(22,55,38,.72) 48%, rgba(22,55,38,.25) 100%);
}
.band__inner { position: relative; padding: 2.4rem 0; }
.band h2 { color: var(--paper); margin-bottom: .4rem; }
.band p  { color: rgba(243,233,210,.88); max-width: 50ch; margin: 0 0 1rem; }

@media (prefers-reduced-motion: reduce) {
  .band__img { animation: none; transform: scale(1.06); }
}
