:root {
  --kraft: #c9a26d;
  --kraft-dark: #b38a55;
  --label: #f5ecd9;
  --sticker: #fbf7ee;
  --ink: #2a1a10;
  --green: #2e3b22;
  --gold: #a9833f;
  --rust: #b85c2a;
  --rule: rgba(42, 26, 16, .22);
  --display: "Tiro Bangla", Georgia, serif;
  --body: "Hind Siliguri", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Hind Siliguri", monospace;
  --pad: clamp(18px, 5vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink);
  background-color: var(--kraft);
  /* kraft paper: long fibres plus fine grain over a flat tan */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02 .9' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .14 0 0 0 0 .05 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .1 0 0 0 0 .03 0 0 0 .3 -.08'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--label); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--pad) 0; }
.mono { font-family: var(--mono); }
.kicker { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; opacity: .8; margin-bottom: 18px; }
:lang(bn) .kicker[data-en] { letter-spacing: .04em; font-size: .92rem; font-family: var(--body); font-weight: 600; }
h1, h2 { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.9rem); line-height: 1.22; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.3; max-width: 20ch; }
:lang(en) h1 { line-height: 1.05; letter-spacing: -.01em; }
:lang(en) h2 { line-height: 1.12; }
.green { color: var(--green); }
.head { margin-bottom: clamp(28px, 4vw, 48px); }
.sub { max-width: 52ch; margin-top: 14px; font-size: 1.08rem; opacity: .85; }

/* ---------- Pouch seal & header ---------- */
.seal {
  height: 30px;
  background: repeating-linear-gradient(90deg, rgba(42, 26, 16, .16) 0 2px, transparent 2px 7px), var(--kraft-dark);
  box-shadow: inset 0 -2px 0 rgba(42, 26, 16, .18);
}
.tear { display: flex; align-items: center; gap: 12px; padding: 8px var(--pad) 0; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; opacity: .7; }
.tear i { flex: 1; border-top: 1.5px dashed var(--ink); }
.tear i:first-of-type { flex: 0 0 40px; }
.tear b { font-weight: 500; }

.top { display: flex; align-items: center; gap: 28px; padding: 18px var(--pad); max-width: 1368px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: #f5e8d6 url("assets/logo.jpg") 44% 18% / 179% auto no-repeat;
  box-shadow: 0 0 0 1.5px var(--ink);
}
.brand-name { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.brand-name small { display: block; font-family: var(--mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 5px; opacity: .75; }
.top-nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; }
.top-nav a { text-decoration: none; padding: 4px 0; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.top-nav a:hover { background-size: 100% 1.5px; }
.lang { display: flex; border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden; }
.lang button { padding: 6px 12px; font-size: .88rem; font-weight: 600; transition: background .25s, color .25s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--label); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
  background: var(--ink); color: var(--label); text-decoration: none; font-weight: 600;
  border-radius: 10px; box-shadow: 4px 4px 0 var(--gold);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--gold); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--gold); }
.btn svg { width: 20px; height: 20px; flex: none; }
.link { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

/* ---------- Label & spec rows ---------- */
.label {
  position: relative; background: var(--label); border-radius: 16px;
  border: 1.5px solid var(--ink);
  box-shadow: inset 0 0 0 5px var(--label), inset 0 0 0 6px var(--gold), 0 22px 30px -22px rgba(60, 30, 0, .65);
}
.spec > div { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.spec > div:last-child { border-bottom: 0; }
.spec dt { font-weight: 700; }
.spec dt::after { content: ":"; }

.banner { position: relative; display: inline-block; padding: 7px 22px; color: var(--label); font-family: var(--display); font-size: 1.25rem; letter-spacing: .04em; isolation: isolate; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); filter: url(#rough); }
:lang(en) .banner { text-transform: uppercase; letter-spacing: .1em; font-size: 1.05rem; }

/* Print-in: rows wipe in one after another, like a label coming off the printer */
.js .print .spec > div, .js .print.steps > li, .js .print .ticks > li {
  clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms);
}
.js .print.is-in .spec > div, .js .print.is-in.steps > li, .js .print.is-in .ticks > li { clip-path: inset(0 0 0 0); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-top: clamp(24px, 4vw, 56px); }
.rise { display: block; overflow: hidden; padding-top: .12em; }
.js .rise > span { display: inline-block; animation: rise 1s var(--ease) both; }
.js .rise:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(110%); } }
.lede { max-width: 48ch; font-size: 1.12rem; margin: 22px 0 26px; }
.hero-label { max-width: 520px; padding: 14px 24px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 30px; }

.pouch { position: relative; justify-self: center; width: min(100%, 430px); rotate: var(--tilt, 3deg); transition: rotate .2s linear; }
.pouch img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 1.5px solid var(--ink); border-top: 0; border-radius: 0 0 14px 14px; box-shadow: 0 34px 40px -26px rgba(50, 25, 0, .8); }
.pouch-top { height: 34px; border: 1.5px solid var(--ink); border-radius: 8px 8px 0 0; background: repeating-linear-gradient(90deg, rgba(42, 26, 16, .2) 0 2px, transparent 2px 6px), var(--kraft-dark); }
.net { position: absolute; left: -18px; bottom: 34px; background: var(--green); color: var(--label); padding: 6px 16px; border: 1.5px solid var(--label); outline: 1.5px solid var(--green); font-size: .85rem; font-weight: 600; rotate: -6deg; }
.stamp { position: absolute; right: -34px; top: 12%; width: clamp(104px, 12vw, 150px); color: var(--rust); rotate: 14deg; }
.stamp svg { display: block; overflow: visible; background: rgba(245, 236, 217, .9); border-radius: 50%; }
.stamp text { fill: currentColor; font-family: var(--mono); font-size: 13.5px; font-weight: 600; letter-spacing: .08em; }
.stamp .stamp-big { font-family: var(--display); font-size: 34px; letter-spacing: 0; }
.stamp .stamp-small { font-size: 13px; letter-spacing: .2em; }
.js .stamp { opacity: 0; transform: scale(1.9) rotate(-24deg); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) .5s, opacity .2s linear .5s; }
.js .stamp.is-in { opacity: 1; transform: none; }

/* ---------- Catalogue ---------- */
.feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); overflow: hidden; }
.feature-photo { position: relative; min-height: 420px; border-right: 1.5px solid var(--ink); margin: 11px 0 11px 11px; border-radius: 8px 0 0 8px; overflow: hidden; }
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 82%; }
.feature-body { padding: clamp(22px, 3.4vw, 44px); }
.feature-body .banner { font-size: 1.5rem; margin-bottom: 14px; }
:lang(en) .feature-body .banner { font-size: 1.3rem; }
.feature-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.pill { font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .1em; padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 6px; }
:lang(bn) .pill { font-family: var(--body); letter-spacing: 0; font-size: .92rem; }
.pill.solid { background: var(--green); border-color: var(--green); color: var(--label); }
.feature-foot .btn { margin-left: auto; }

.sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 26px; }
.sheet { display: flex; flex-direction: column; overflow: hidden; transition: transform .35s var(--ease); }
.sheet:nth-child(odd) { rotate: -.6deg; }
.sheet:nth-child(even) { rotate: .5deg; }
.sheet:hover { transform: translateY(-6px) rotate(.4deg); }
.sheet-photo { margin: 11px 11px 0; border-radius: 8px 8px 0 0; overflow: hidden; aspect-ratio: 4 / 3; border-bottom: 1.5px solid var(--ink); }
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sheet:hover .sheet-photo img { transform: scale(1.06); }
.sheet-body { padding: 16px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.sheet .banner { align-self: flex-start; margin: -34px 0 12px -6px; rotate: -2deg; }
.sheet .spec { font-size: .95rem; }
.sheet .spec > div { grid-template-columns: minmax(84px, 34%) 1fr; padding: 7px 0; }
.sheet-order { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-weight: 600; text-decoration: none; }
.sheet-order svg { width: 18px; height: 18px; flex: none; }
.sheet-order span { text-decoration: underline; text-underline-offset: 4px; }
.sheet-order i { font-style: normal; margin-left: auto; transition: transform .3s var(--ease); }
.sheet:hover .sheet-order i { transform: translateX(6px); }

/* ---------- Torn green panel ---------- */
.torn { position: relative; isolation: isolate; color: var(--label); padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 60px); }
.torn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green); filter: url(#rough); }
.ticks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ticks li { padding-left: 38px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border: 1.5px solid #d9b877; color: #d9b877; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; }
.ticks b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: #e6c98d; }
.ticks span { font-size: .95rem; opacity: .85; }

/* ---------- Brew guide ---------- */
.brew { padding: clamp(22px, 3.4vw, 44px); }
.steps { margin-top: 12px; }
.steps li { display: grid; grid-template-columns: 44px minmax(120px, 190px) 1fr auto; gap: 8px 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.steps .n { font-size: 1.5rem; font-weight: 500; color: var(--rust); }
.steps b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.steps em { font-style: normal; font-size: .85rem; font-weight: 600; padding: 4px 10px; border: 1.5px solid var(--ink); border-radius: 6px; white-space: nowrap; }
.calc { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: 26px; }
.calc-title { font-family: var(--display); font-size: 1.35rem; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; }
.stepper button { width: 46px; height: 46px; font-size: 1.4rem; transition: background .2s, color .2s; }
.stepper button:hover { background: var(--ink); color: var(--label); }
.stepper output { min-width: 54px; text-align: center; font-size: 1.2rem; font-weight: 600; }
.calc-out { display: flex; gap: 30px; margin-left: auto; }
.calc-out dt { font-size: .82rem; font-weight: 600; opacity: .7; }
.calc-out dd { font-size: 1.5rem; font-weight: 600; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: minmax(180px, 340px) 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.story-logo { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--ink); box-shadow: 0 26px 34px -24px rgba(50, 25, 0, .8); rotate: -4deg; }
.story-text { font-family: var(--display); font-size: clamp(1.35rem, 2.5vw, 2.1rem); line-height: 1.5; }
:lang(en) .story-text { line-height: 1.3; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; font-size: .82rem; font-weight: 600; }
.pillars li { padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 6px; }
:lang(bn) .pillars { font-family: var(--body); font-size: .95rem; }
.thanks { margin-top: 26px; font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--rust); }

/* ---------- Order: shipping label ---------- */
.order { padding-bottom: clamp(60px, 8vw, 110px); }
.ship { max-width: 760px; background: var(--sticker); border-radius: 6px; padding: 0 clamp(20px, 4vw, 40px) clamp(22px, 3vw, 34px); rotate: -1.2deg; box-shadow: 0 1px 0 rgba(42, 26, 16, .3), 0 30px 40px -26px rgba(50, 25, 0, .8); }
.ship-bar { width: 96px; height: 20px; background: var(--rust); translate: 0 22px; }
.ship .spec { padding-top: 34px; font-size: 1.05rem; }
.ship .spec a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ship .to { font-family: var(--display); font-size: 1.7rem; line-height: 1.2; }
.ship-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1.5px dashed var(--ink); }
.barcode { width: 190px; height: 52px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 9px, var(--ink) 9px 12px, transparent 12px 14px, var(--ink) 14px 15px, transparent 15px 17px); }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; max-width: none; margin: 0 var(--pad); padding: 22px 0 30px; font-size: .78rem; border-top: 1.5px dashed var(--ink); }
.foot a { text-underline-offset: 4px; }
:lang(bn) .foot [data-en] { font-family: var(--body); font-size: .92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticks { grid-template-columns: repeat(2, 1fr); }
  .top-nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .pouch { width: min(78%, 360px); margin-top: 10px; }
  .feature { grid-template-columns: 1fr; }
  .feature-photo { min-height: 0; aspect-ratio: 4 / 3; margin: 11px 11px 0; border-right: 0; border-bottom: 1.5px solid var(--ink); border-radius: 8px 8px 0 0; }
  .feature-foot .btn { margin-left: 0; }
  .steps li { grid-template-columns: 34px 1fr auto; }
  .steps p { grid-column: 2 / -1; }
  .story { grid-template-columns: 1fr; }
  .story-logo { width: 200px; }
  .calc-out { margin-left: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .sheets, .ticks { grid-template-columns: 1fr; }
  .sheet { rotate: none !important; }
  .brand-name small { display: none; }
  .brand-mark { width: 44px; height: 44px; }
  .stamp { right: -18px; }
  .net { left: -10px; }
  .steps li { grid-template-columns: 30px 1fr; }
  .steps em { grid-column: 2; justify-self: start; }
  .ship { rotate: none; }
  .ship .spec > div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .print .spec > div, .js .print.steps > li, .js .print .ticks > li { clip-path: none; }
  .js .stamp { opacity: 1; transform: none; }
}
