/* PUNAN & SONS — site.css
   มือถือก่อน (390 px) แล้วขยายถึงคอม (1366 px)
   โทนตามถุง: กระดาษวาชิ · ดำสุมิ · แดงอิฐจุดเดียว */

@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/jost-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Thai"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-thai-thai-400-normal.woff2") format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "IBM Plex Sans Thai"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-thai-thai-500-normal.woff2") format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "IBM Plex Sans Thai"; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-thai-thai-600-normal.woff2") format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "IBM Plex Sans Thai"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-thai-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+0E3F; }
@font-face { font-family: "IBM Plex Sans Thai"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-thai-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+0E3F; }
@font-face { font-family: "IBM Plex Sans Thai"; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-thai-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+0E3F; }

:root {
  /* Brand System — สีหลัก */
  --sumi: #1C1B19;
  --washi: #F2EFE8;
  --kinari: #D6CEBF;
  --seal: #B83A2B;
  /* สีตามระดับคั่ว */
  --rose: #E2B1A8;  --cherry: #8E2C26;   /* First Light */
  --sage: #A9B89A;  --forest: #2F4A3A;   /* Forest Harmony */
  --cocoa: #9E7C67; --ember: #4A2C22;    /* Deep Ember */

  --paper: #F8F6F1;
  --tint: #E8E3D9;              /* kinari อ่อน สำหรับพื้นส่วน */
  --ink: var(--sumi);
  --ink-2: #45413B;
  --ink-3: #5F5951;              /* ตัวเทาที่ยังอ่านชัด (ใช้กับตัว 12 px ขึ้นไป) */
  --rule: rgba(28, 27, 25, .16);
  --rule-strong: rgba(28, 27, 25, .7);
  --red: var(--seal);
  --font: "IBM Plex Sans Thai", "Noto Sans Thai", system-ui, sans-serif;
  --latin: "Jost", "IBM Plex Sans Thai", "Futura", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
  --radius: 4px;
  --tabbar: 64px;
  --top: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 12px); }
body {
  margin: 0;
  background: var(--washi);
  color: var(--ink);
  font: 400 17px/1.75 var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.3; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--sumi); color: var(--washi); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sumi); color: var(--washi); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font: 500 12px/1.5 var(--latin);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 12px;
}

/* ---------- ปุ่ม (สูงอย่างน้อย 48 px) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--ink); border-radius: 999px;
  font: 500 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  background: transparent; color: var(--ink);
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn--ink { background: var(--sumi); color: var(--washi); border-color: var(--sumi); }
.btn--ink:hover { background: #000; }
.btn--ghost:hover { background: var(--sumi); color: var(--washi); }
.btn--paper { background: var(--washi); color: var(--sumi); border-color: var(--washi); }
.btn--paper:hover { background: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 56px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: inherit; font-size: inherit; min-height: 44px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: 10px 2px; }
.more .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.more:hover .icon { transform: translateX(3px); }
.icon { width: 22px; height: 22px; }

/* ---------- แถบบน ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(242, 239, 232, .93);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.topbar__in { display: flex; align-items: center; gap: 12px; height: var(--top); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__logo { width: 46px; height: auto; flex: none; color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font: 500 15px/1.2 var(--latin); letter-spacing: .2em; white-space: nowrap; }
.brand__sub { font: 500 9.5px/1.3 var(--latin); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.topnav { display: none; }
.topbar__order { display: none; }
.topbar__menu { display: none; }

/* ---------- แถบล่างแบบแอป (มือถือ) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(247, 245, 240, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule);
}
.tabbar a, .tabbar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 48px; border: 0; background: none; cursor: pointer;
  font-size: 12px; line-height: 1.2; color: var(--ink-2); text-decoration: none;
}
.tabbar .icon { width: 24px; height: 24px; }
.tabbar [aria-current="page"] { color: var(--ink); font-weight: 500; }
.tabbar__main { color: var(--ink) !important; }
.tabbar__main .icon { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--sumi); color: var(--washi); margin-top: -14px; box-shadow: 0 4px 14px rgba(28, 27, 25, .22); }

/* ---------- เมนูเต็มจอ ---------- */
.sheet {
  border: 0; padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92vh;
  background: var(--washi); color: var(--ink);
  border-radius: 18px 18px 0 0; overflow: auto;
}
.sheet::backdrop { background: rgba(28, 27, 25, .45); }
.sheet[open] { animation: sheet-up .32s var(--ease); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet__head .eyebrow { margin: 0; }
.sheet__close { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.sheet__nav { display: grid; margin-bottom: 20px; }
.sheet__nav a { display: grid; grid-template-columns: 32px 1fr auto; align-items: baseline; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; min-height: 48px; }
.sheet__num { font: 500 12px var(--latin); color: var(--ink-3); letter-spacing: .1em; }
.sheet__th { font-size: 18px; font-weight: 500; }
.sheet__en { font: 500 12px var(--latin); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.sheet__nav [aria-current="page"] .sheet__th { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- หัวข้อ ---------- */
.section { padding-block: 64px; }
.section--flush { padding-top: 8px; }
.section--tint { background: var(--tint); }
.shead { margin-bottom: 28px; max-width: 720px; }
.shead--row { display: flex; align-items: end; justify-content: space-between; gap: 16px; max-width: none; flex-wrap: wrap; }
.shead__title { font-size: clamp(24px, 6vw, 36px); font-weight: 500; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 36px 52px; }
.hero__in { display: grid; gap: 28px; }
.hero__title { font-size: clamp(31px, 8.6vw, 60px); line-height: 1.24; font-weight: 500; letter-spacing: -.005em; margin-bottom: 14px; }
.hero__en { font: 400 italic 18px/1.5 var(--latin); color: var(--ink-2); margin-bottom: 18px; }
.hero__lead { color: var(--ink-2); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__art { margin: 0; display: flex; justify-content: center; }
.hero__illus { width: min(92%, 480px); color: var(--ink); }
.hero__photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.vtext { display: none; }

/* ---------- สไลด์ ---------- */
.slider { position: relative; background: var(--sumi); color: var(--washi); }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; margin: 0; min-height: 78vh; display: flex; align-items: flex-end; }
.slide__img, .slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 27, 25, 0) 35%, rgba(28, 27, 25, .78)); }
.slide__cap { position: relative; z-index: 1; padding-block: 40px 70px; }
.slide__cap .eyebrow { color: rgba(242, 239, 232, .78); }
.slide__title { font-size: clamp(30px, 8vw, 58px); line-height: 1.22; margin-bottom: 10px; max-width: 760px; }
.slide__sub { max-width: 560px; color: rgba(242, 239, 232, .86); margin-bottom: 22px; }
.slider__dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; z-index: 2; }
.slider__dots button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.slider__dots button::before { content: ""; width: 18px; height: 2px; background: rgba(242, 239, 232, .45); transition: background .2s, width .2s; }
.slider__dots button[aria-current="true"]::before { background: var(--washi); width: 26px; }

/* ---------- 3 เหตุผล ---------- */
.pillars__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.pillar { padding: 24px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
.pillar > :not(.pillar__num) { grid-column: 2; }
.pillar__num { font: 400 13px/2 var(--latin); letter-spacing: .12em; color: var(--ink-3); grid-row: 1 / span 3; }
.pillar__title { font-size: 21px; margin-bottom: 6px; }
.pillar p { color: var(--ink-2); margin-bottom: 4px; }

/* ---------- แถบดำ ---------- */
.band--sumi { background: var(--sumi); color: var(--washi); padding-block: 64px; }
.band--sumi .eyebrow { color: rgba(242, 239, 232, .6); }
.band__in { display: grid; gap: 30px; align-items: center; }
.band__logo { width: min(62%, 280px); color: var(--washi); margin-inline: auto; }
.band__photo img { border-radius: var(--radius); }
.band__title { font-size: clamp(26px, 7vw, 42px); margin-bottom: 6px; }
.band__en { font: 400 italic 17px/1.5 var(--latin); color: rgba(242, 239, 232, .72); margin-bottom: 16px; }
.band__text p { color: rgba(242, 239, 232, .86); }
.band__text .btn { margin-top: 18px; }
.band__in--center { text-align: center; justify-items: center; }
.band__quote { font-size: clamp(22px, 6vw, 34px); line-height: 1.45; color: var(--washi) !important; max-width: 680px; margin: 0 auto 8px; }

/* ---------- ตาราง/การ์ด ---------- */
.grid { display: grid; gap: 22px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid--3 { grid-template-columns: 1fr; }

.pcard__link { display: block; text-decoration: none; height: 100%; }
.pcard__media { background: var(--tint); border-radius: var(--radius); padding: 22px 18% 26px; transition: background .3s; }
.pcard__link:hover .pcard__media { background: #dfdad0; }
.pcard__img img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.pcard__media:has(.pcard__img) { padding: 0; background: none; }
.pcard__body { padding-top: 16px; }
.pcard__body .eyebrow { margin-bottom: 6px; }
.pcard__name { font-size: 21px; }
.pcard__en { font: 400 14px var(--latin); letter-spacing: .04em; color: var(--ink-3); margin: 2px 0 8px; }
.pcard__notes { color: var(--ink-2); font-size: 15px; margin-bottom: 10px; }
.pcard__price { display: flex; align-items: center; justify-content: space-between; font: 500 18px var(--latin); border-top: 1px solid var(--rule); padding-top: 10px; }
.pcard__price .muted { font: 400 14px var(--font); }
.pcard__go .icon { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.pcard__link:hover .pcard__go .icon { transform: translateX(4px); }
.tag { display: inline-block; font: 500 12px var(--font); padding: 3px 10px; border: 1px solid var(--ink); border-radius: 99px; }

/* ถุงจำลอง (ขนาดตามกล่อง) */
.pouch { container-type: inline-size; max-width: 320px; margin-inline: auto; filter: drop-shadow(0 14px 22px rgba(28, 27, 25, .16)); }
.pouch__face {
  position: relative; aspect-ratio: 0.68; border-radius: 3cqw 3cqw 2cqw 2cqw;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; align-items: center;
  padding: 13cqw 9cqw 7cqw; overflow: hidden;
  border-top: 4.5cqw solid #e9e6df;
}
.pouch--sumi .pouch__face { background: #1f1d1c; color: #EFEDE7; border-top-color: #2a2726; }
.pouch__est { position: absolute; top: 6cqw; left: 8cqw; font: 500 3.1cqw/1 var(--latin); letter-spacing: .3em; }
.pouch__side { position: absolute; top: 6cqw; right: 3.6cqw; writing-mode: vertical-rl; font: 400 2.5cqw/1 var(--latin); letter-spacing: .3em; opacity: .8; white-space: nowrap; }
.pouch__logo { width: 44cqw; margin-top: 7cqw; color: currentColor; }
.pouch__rule { width: 58cqw; height: .7cqw; background: currentColor; margin: 0 0 6cqw; }
.pouch__name { font: 500 6.3cqw/1 var(--latin); letter-spacing: .24em; white-space: nowrap; padding-left: .24em; }
.pouch__sub { font: 500 3cqw/1 var(--latin); letter-spacing: .3em; margin-top: 3.5cqw; white-space: nowrap; }
.pouch__badge { margin-top: 6cqw; background: var(--red); color: #fff; font: 500 2.6cqw/1 var(--latin); padding: 2.6cqw 2.2cqw; letter-spacing: .02em; }
.pouch__spec { margin: auto 0 0; width: 100%; font: 400 2.6cqw/1 var(--latin); }
.pouch__spec div { display: flex; justify-content: space-between; gap: 2cqw; padding: 2.4cqw 0; border-top: .25cqw solid currentColor; opacity: .9; }
.pouch__spec dt { letter-spacing: .12em; opacity: .75; white-space: nowrap; }
.pouch__spec dd { margin: 0; letter-spacing: .06em; text-transform: uppercase; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* การ์ดสูตรชง */
.bcard { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--rule); }
.bcard__link { display: block; padding: 22px; text-decoration: none; height: 100%; }
.bcard__media { margin: -22px -22px 18px; }
.bcard__media img { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.bcard__title { font-size: 20px; margin-bottom: 6px; }
.bcard__sum { color: var(--ink-2); font-size: 15px; }
.nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 16px 0 0; border-top: 1px solid var(--rule); }
.nums div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.nums div:nth-child(odd) { padding-right: 10px; }
.nums dt { font-size: 12.5px; color: var(--ink-3); }
.nums dd { margin: 0; font: 500 17px/1.4 var(--latin); }
.nums--lg { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.nums--lg dd { font-size: 20px; }

/* การ์ดบทความ */
.jcard__link { display: block; text-decoration: none; }
.jcard__media { margin-bottom: 14px; }
.jcard__media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.jcard__ph { aspect-ratio: 4 / 3; background: var(--tint); border-radius: var(--radius); display: grid; place-items: center; }
.jcard__illus { width: 55%; color: var(--ink-2); opacity: .7; }
.jcard__title { font-size: 20px; margin-bottom: 6px; }
.jcard__ex { color: var(--ink-2); font-size: 15px; }
.jcard .eyebrow { margin-bottom: 4px; }

/* ติดตาม */
.follow__in { text-align: center; display: grid; justify-items: center; gap: 6px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 18px 0 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border: 1px solid var(--rule-strong); border-radius: 99px; text-decoration: none; font-weight: 500; }
.chip:hover { background: var(--sumi); color: var(--washi); }

/* ---------- หัวหน้าเพจ ---------- */
.phead { padding-block: 40px 36px; }
.phead__in { display: grid; gap: 28px; align-items: center; }
.phead__title { font-size: clamp(32px, 9vw, 58px); line-height: 1.22; margin-bottom: 8px; }
.phead__en { font: 400 italic 18px/1.5 var(--latin); color: var(--ink-2); margin-bottom: 18px; }
.phead__lead { font-size: 18px; color: var(--ink-2); max-width: 640px; }
.phead__art { display: flex; justify-content: center; }
.phead__illus { width: min(86%, 420px); }
.phead__art img { border-radius: var(--radius); }
.crumbs { font-size: 14px; color: var(--ink-3); padding-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-2); }

/* ---------- เรื่องของปู่ ---------- */
.scenes { border-top: 1px solid var(--rule); }
.scene { padding-block: 52px; border-bottom: 1px solid var(--rule); }
.scene__in { display: grid; gap: 26px; align-items: center; }
.scene__photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.scene__mark { aspect-ratio: 16 / 9; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
.scene__mark span { font: 400 clamp(64px, 20vw, 140px)/1 var(--latin); letter-spacing: .04em; color: var(--ink); }
.scene__title { font-size: clamp(26px, 7vw, 40px); margin-bottom: 14px; }
.scene__text p { color: var(--ink-2); font-size: 18px; }
.scene__en { font: 400 italic 16px/1.6 var(--latin) !important; color: var(--ink-3) !important; margin-top: 12px; }

/* ---------- ป่าและสวน ---------- */
.split { display: grid; gap: 44px; }
.spec { margin: 18px 0 0; border-top: 1px solid var(--rule-strong); }
.spec div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--ink-3); font-size: 15px; }
.spec dd { margin: 0; font-weight: 500; }
.spec--pouch dt { font: 400 12px/1.6 var(--latin); letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.timeline { list-style: none; padding: 0; margin: 18px 0 0; border-left: 1px solid var(--rule-strong); }
.timeline li { position: relative; padding: 0 0 22px 22px; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--washi); border: 1px solid var(--ink); }
.timeline__when { font-weight: 500; }
.timeline__what { color: var(--ink-2); }
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mosaic__item { margin: 0; }
.mosaic__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.mosaic__item figcaption { font-size: 13px; color: var(--ink-3); padding-top: 6px; }
.mosaic a { display: block; }

/* ---------- การคัดเมล็ด ---------- */
.ripe { display: flex; justify-content: center; gap: clamp(10px, 4vw, 34px); padding: 10px 0 20px; }
.ripe__item { display: grid; justify-items: center; gap: 12px; }
.ripe__dot { width: clamp(42px, 12vw, 84px); aspect-ratio: 1; border-radius: 50%; box-shadow: inset -6px -8px 0 rgba(0, 0, 0, .14), inset 5px 6px 0 rgba(255, 255, 255, .18); }
.ripe__label { font-size: 14px; color: var(--ink-3); }
.ripe__item--r1 .ripe__label, .ripe__item--r2 .ripe__label { color: var(--ink); font-weight: 600; }
.ripe__caption { text-align: center; font-size: clamp(20px, 5.4vw, 28px); line-height: 1.5; max-width: 720px; margin-inline: auto; }
.ripe__caption span { display: block; font: 400 italic 17px var(--latin); color: var(--ink-3); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 18px 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps__num { font: 400 14px/1.9 var(--latin); letter-spacing: .12em; color: var(--ink-3); }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { color: var(--ink-2); }

/* ---------- สินค้า ---------- */
.product { display: grid; gap: 30px; padding-block: 18px 56px; }
.product__media { background: var(--tint); border-radius: var(--radius); padding: 34px 16% 40px; }
.product__media:has(.product__img) { background: none; padding: 0; }
.product__img img { border-radius: var(--radius); width: 100%; }
.product__name { font-size: clamp(30px, 8vw, 46px); line-height: 1.22; }
.product__en { font: 400 15px var(--latin); letter-spacing: .08em; color: var(--ink-3); margin: 4px 0 14px; }
.product__sum { font-size: 18px; color: var(--ink-2); }
.product__price { font: 500 28px var(--latin); margin: 18px 0 16px; }
.product__price .muted { font: 400 16px var(--font); }
.product__note { font-size: 14px; color: var(--ink-3); margin: 10px 0 26px; text-align: center; }
.soldout { padding: 14px 16px; border: 1px solid var(--ink); border-radius: var(--radius); }
.orderinfo { display: grid; gap: 18px; margin-top: 40px; padding: 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.orderinfo > div { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.orderinfo p { color: var(--ink-2); font-size: 15.5px; }
.orderinfo strong { color: var(--ink); font-weight: 600; }
.empty { padding: 40px 0; color: var(--ink-2); font-size: 18px; }

/* ---------- วิธีชง ---------- */
.guide__head { padding-block: 22px 26px; }
.guide__media { margin-bottom: 26px; }
.guide__media img { width: 100%; border-radius: var(--radius); }
.guide__video { margin-bottom: 30px; }
.guide__h { font-size: 22px; margin-bottom: 12px; }
.guide { padding-bottom: 56px; }

/* ---------- บทความ ---------- */
.article__head { padding-block: 22px 28px; }
.article__cover { margin-bottom: 34px; }
.article__cover img { width: 100%; border-radius: var(--radius); max-height: 72vh; object-fit: cover; }
.article { padding-bottom: 60px; }
.prose { font-size: 18px; }
.prose h2 { font-size: 26px; margin: 1.7em 0 .5em; }
.prose h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.prose p, .prose ul { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--ink); font-size: 21px; color: var(--ink); }
.prose a { color: var(--ink); }
.prose .embed { margin: 1.6em 0; }

/* ---------- กล่องฝังวิดีโอ/แผนที่ (โหลดเมื่อยินยอม) ---------- */
.embed { position: relative; background: var(--sumi); color: var(--washi); border-radius: var(--radius); aspect-ratio: 16 / 9; display: grid; place-content: center; text-align: center; gap: 8px; padding: 20px; overflow: hidden; }
.embed--tiktok { aspect-ratio: 9 / 16; max-width: 340px; margin-inline: auto; }
.embed--facebook { aspect-ratio: auto; min-height: 280px; max-width: 360px; margin-inline: auto; }
.embed--map { aspect-ratio: 4 / 3; }
.embed__load { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; border-radius: 99px; border: 1px solid var(--washi); background: none; color: var(--washi); cursor: pointer; font-weight: 500; }
.embed__load:hover { background: var(--washi); color: var(--sumi); }
.embed__play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.embed__note { font-size: 13px; color: rgba(242, 239, 232, .7); margin: 0; }
.embed__note a { color: inherit; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed.is-loaded { background: #000; padding: 0; }
.embed--facebook.is-loaded { min-height: 500px; background: none; }

/* ---------- ขายส่ง ---------- */
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { display: grid; gap: 2px; padding: 14px 0 14px 32px; border-top: 1px solid var(--rule); position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 7px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.checks span { color: var(--ink-2); }
.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.panel__logo { width: 120px; margin: 0 auto 14px; }
.panel__title { font-size: 22px; margin-bottom: 8px; }
.panel p { color: var(--ink-2); }
.panel .btn { margin: 16px 0 6px; }
.panel__alt { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 0; }
.panel__alt .icon { width: 18px; height: 18px; }

/* ---------- หน้าลิงก์รวม ---------- */
.is-links .topbar { display: none; }
.linkhub { padding: 36px var(--gutter) 40px; }
.linkhub__in { max-width: 480px; margin-inline: auto; text-align: center; }
.linkhub__logo { width: 150px; margin: 0 auto 10px; }
.linkhub__name { font: 500 22px/1.2 var(--latin); letter-spacing: .24em; padding-left: .24em; }
.linkhub__sub { font: 500 12px var(--latin); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); margin: 8px 0 14px; }
.linkhub__lead { color: var(--ink-2); margin-bottom: 24px; }
.linkhub__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lbtn { display: grid; grid-template-columns: 26px 1fr 26px; align-items: center; gap: 12px; min-height: 60px; padding: 10px 18px; border: 1px solid var(--rule-strong); border-radius: 14px; background: var(--paper); text-decoration: none; text-align: left; transition: transform .2s var(--ease), background .2s; }
.lbtn::after { content: ""; }
.lbtn span { display: grid; font-weight: 500; line-height: 1.35; }
.lbtn small { font-weight: 400; font-size: 13px; color: var(--ink-3); }
.lbtn:hover { transform: translateY(-1px); background: #fff; }
.lbtn--ink { background: var(--sumi); color: var(--washi); border-color: var(--sumi); }
.lbtn--ink small { color: rgba(242, 239, 232, .7); }
.lbtn--ink:hover { background: #000; }
.linkhub__block { margin-top: 40px; text-align: left; }
.linkhub__h { font-size: 18px; margin-bottom: 14px; text-align: center; }
.contact { list-style: none; padding: 0; margin: 0 0 18px; }
.contact li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.contact .icon { width: 20px; height: 20px; margin-top: 4px; }

/* ---------- ชวนสั่งท้ายหน้า ---------- */
.cta { padding-block: 60px; border-top: 1px solid var(--rule); text-align: center; }
.cta__title { font-size: clamp(26px, 7vw, 40px); margin-bottom: 22px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.empty-page { padding-block: 70px; }
.empty-page__logo { width: 150px; margin: 0 auto 18px; }
.empty-page p { color: var(--ink-2); margin-bottom: 22px; }

/* ---------- ท้ายเว็บ ---------- */
.footer { background: var(--sumi); color: var(--washi); padding-top: 52px; }
.footer__in { display: grid; gap: 36px; }
.footer__logo { width: 110px; color: var(--washi); margin-bottom: 14px; }
.footer__name { font: 500 18px/1.2 var(--latin); letter-spacing: .24em; margin: 0; }
.footer__sub { font: 500 12px var(--latin); letter-spacing: .24em; text-transform: uppercase; color: rgba(242, 239, 232, .82); margin: 6px 0 14px; }
.footer__est { display: flex; align-items: center; gap: 10px; font: 500 12px var(--latin); letter-spacing: .24em; margin-bottom: 18px; }
.ps-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--red); color: #fff; font: 500 9px/1 var(--latin); letter-spacing: 0; }
.footer__text { color: rgba(242, 239, 232, .72); font-size: 15px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.footer__nav a { text-decoration: none; padding: 9px 0; border-bottom: 1px solid rgba(242, 239, 232, .12); font-size: 15px; color: rgba(242, 239, 232, .86); }
.footer__nav a:hover { color: #fff; }
.footer__contact { color: rgba(242, 239, 232, .78); font-size: 15px; }
.footer__contact p { margin-bottom: 6px; }
.social { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 18px; flex-wrap: wrap; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(242, 239, 232, .3); border-radius: 50%; }
.social a:hover { background: var(--washi); color: var(--sumi); }
.footer__base { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between; padding-block: 22px 26px; margin-top: 40px; border-top: 1px solid rgba(242, 239, 232, .14); font-size: 13px; color: rgba(242, 239, 232, .74); }
.footer__base a { color: inherit; }

/* ---------- คุกกี้ ---------- */
.consent { position: fixed; left: 10px; right: 10px; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 10px); z-index: 50; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 12px; padding: 16px; box-shadow: 0 12px 34px rgba(28, 27, 25, .2); font-size: 14.5px; }
.consent p { color: var(--ink-2); margin-bottom: 12px; }
.consent__btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- ไลต์บ็อกซ์ ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(20, 19, 18, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__img { max-width: 94vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { color: var(--washi); text-align: center; margin-top: 10px; font-size: 14px; }
.lightbox__close { position: fixed; top: 10px; right: 10px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(242, 239, 232, .12); color: var(--washi); cursor: pointer; display: grid; place-items: center; }

/* ---------- เคลื่อนไหวเบาๆ ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; animation: none !important; }
}

/* ================= แท็บเล็ต ================= */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .consent { left: auto; right: 20px; max-width: 420px; }
  .nums { grid-template-columns: repeat(4, 1fr); }
  .nums--lg { grid-template-columns: repeat(3, 1fr); }
}

/* ================= คอม ================= */
@media (min-width: 900px) {
  :root { --top: 76px; --tabbar: 0px; }
  body { padding-bottom: 0; font-size: 18px; }
  .tabbar { display: none; }
  .brand__logo { width: 58px; }
  .brand__name { font-size: 17px; }
  .brand__sub { font-size: 10px; }
  .topnav { display: flex; gap: 2px; margin-right: 8px; }
  .topnav a { text-decoration: none; padding: 10px 12px; font-size: 15px; color: var(--ink-2); border-radius: 99px; white-space: nowrap; }
  .topnav a:hover { color: var(--ink); background: var(--tint); }
  .topnav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); border-radius: 0; }
  .topbar__order { display: inline-flex; }
  .topbar__menu { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; }
  .sheet { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: 420px; border-radius: 0; padding-top: 28px; }
  .sheet[open] { animation: sheet-in .32s var(--ease); }
  @keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } }

  .section { padding-block: 104px; }
  .section--flush { padding-top: 12px; }
  .shead { margin-bottom: 44px; }

  .hero { padding-block: 64px 96px; }
  .hero__in { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px; }
  .hero__art { justify-content: flex-end; }
  .vtext { display: block; position: absolute; right: 22px; top: 70px; writing-mode: vertical-rl; font: 500 12px/1 var(--latin); letter-spacing: .3em; color: var(--ink-2); margin: 0; }
  .slide { min-height: 86vh; }
  .slide__cap { padding-bottom: 96px; }

  .pillars__list { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 40px; }
  .pillar { display: block; border-top: 1px solid var(--rule-strong); border-bottom: 0; padding-top: 22px; }
  .pillar__num { display: block; margin-bottom: 26px; }

  .band--sumi { padding-block: 110px; }
  .band__in { grid-template-columns: 5fr 7fr; gap: 80px; }
  .band__in--center { grid-template-columns: 1fr; gap: 30px; }
  .band__logo { width: min(100%, 340px); }

  .grid { gap: 32px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

  .phead { padding-block: 72px 64px; }
  .phead--art .phead__in { grid-template-columns: 1.15fr .85fr; gap: 60px; }
  .phead__lead { font-size: 20px; }

  .scene { padding-block: 92px; }
  .scene__in { grid-template-columns: 1fr 1fr; gap: 80px; }
  .scene--flip .scene__media { order: 2; }

  .split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .mosaic { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .product { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; padding-block: 24px 96px; }
  .product__media { position: sticky; top: calc(var(--top) + 24px); padding: 56px 18% 60px; }
  .product__info { padding-top: 10px; }
  .orderinfo { grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; padding: 28px 32px; }

  .footer__in { grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; }
  .consent { bottom: 20px; }
  .linkhub { padding-top: 64px; }
  .cta { padding-block: 96px; }
}

@media (min-width: 1240px) {
  .topnav a { padding: 10px 14px; }
}
.th { letter-spacing: 0; text-transform: none; }
.chunk { display: inline-block; }
@media (max-width: 899px) { .hero__title { font-size: clamp(27px, 7.5vw, 44px); } }
@media (max-width: 639px) {
  .consent { padding: 12px 14px; font-size: 13.5px; }
  .consent p { margin-bottom: 8px; line-height: 1.55; }
  .consent__btns .btn { flex: 1; }
}

/* ================= Brand System v2: โลโก้ / สี / ระดับคั่ว ================= */
/* โลโก้ Mark B: เส้น = color, หน้าและขอบขาว = fill */
.mk { fill: #fff; color: var(--sumi); overflow: visible; }
.band__logo, .footer__logo { fill: #fff; color: var(--sumi); }

/* ชุดสีตามระดับคั่ว */
.pal--first_light { --pal-light: var(--rose); --pal-dark: var(--cherry); }
.pal--forest      { --pal-light: var(--sage); --pal-dark: var(--forest); }
.pal--ember       { --pal-light: var(--cocoa); --pal-dark: var(--ember); }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--pal-dark); box-shadow: 0 0 0 3px var(--pal-light); flex: none; }
.swatch--pair { width: 26px; height: 14px; border-radius: 3px; box-shadow: none; display: inline-flex; overflow: hidden; }
.swatch--pair i { flex: 1; background: var(--pal-light); }
.swatch--pair i + i { background: var(--pal-dark); }

/* การ์ดสินค้า */
.pcard__tone { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 6px; font-size: 13px; }
.pcard__tone-name { font: 600 12px/1.4 var(--latin); letter-spacing: .12em; text-transform: uppercase; color: var(--pal-dark); }
.pcard__tone-th { color: var(--ink-2); }
.pcard__media { background: color-mix(in srgb, var(--pal-light, var(--kinari)) 38%, var(--washi)); position: relative; }
.pcard__link:hover .pcard__media { background: color-mix(in srgb, var(--pal-light, var(--kinari)) 55%, var(--washi)); }
.pcard__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--pal-dark); border-radius: 0 0 var(--radius) var(--radius); }
.pcard__media:has(.pcard__img)::after { bottom: 0; }
.pcard__price { border-top-color: color-mix(in srgb, var(--pal-dark, var(--sumi)) 35%, transparent); }

/* หน้าสินค้า */
.product__tone { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; font: 600 12px/1.4 var(--latin); letter-spacing: .12em; text-transform: uppercase; color: var(--pal-dark); }
.product__tone-th { font: 500 14px var(--font); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.product__media { background: color-mix(in srgb, var(--pal-light, var(--kinari)) 40%, var(--washi)); border-bottom: 5px solid var(--pal-dark, var(--sumi)); }
.product__media:has(.product__img) { border-bottom: 0; }
.product__img img { border-bottom: 5px solid var(--pal-dark, var(--sumi)); }
.product .btn--ink { background: var(--pal-dark, var(--sumi)); border-color: var(--pal-dark, var(--sumi)); }
.product .btn--ink:hover { background: var(--sumi); border-color: var(--sumi); }

/* ถุงจำลอง: ข้างถุงเป็นสีตามระดับคั่ว (เหมือนถุงจริง) */
.pouch__face { padding-right: 13cqw; }
.pouch__face::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 6cqw; background: var(--pal-dark, var(--sumi)); }
.pouch__side { right: 8cqw; }
.pouch--sumi .pouch__face { background: var(--sumi); color: var(--washi); }
.pouch--sumi .pouch__face::after { background: var(--pal-light, var(--kinari)); }
.pouch__logo { fill: #fff; color: var(--sumi); }
.pouch__badge { background: var(--seal); }
.pouch__est, .pouch__side { opacity: 1; }

/* ส่วนสีเขียวป่า (Forest Harmony) */
.section--forest { background: var(--forest); color: var(--washi); }
.section--forest .eyebrow { color: var(--sage); }
.section--forest .more { color: var(--washi); }
.section--forest .bcard { background: var(--washi); color: var(--ink); border-color: transparent; }
.section--forest .bcard .eyebrow { color: var(--forest); }

/* เส้นและพื้น */
.section--tint { background: var(--tint); }
.pillars__list { border-top-color: var(--sumi); }
.pillar__num { font-weight: 600; }
.pillar--0 .pillar__num { color: var(--forest); }
.pillar--1 .pillar__num { color: var(--cherry); }
.pillar--2 .pillar__num { color: var(--ember); }
.pillar--0 { --pillar: var(--sage); }
.pillar--1 { --pillar: var(--rose); }
.pillar--2 { --pillar: var(--cocoa); }
.pillar::before { content: ""; display: block; width: 28px; height: 3px; background: var(--pillar); grid-column: 1 / -1; margin-bottom: 14px; }

/* ภาพประกอบเขียวป่า */
.hero__illus, .phead__illus { color: var(--forest); }
.jcard__illus { color: var(--forest); opacity: .55; }
.jcard__ph { background: color-mix(in srgb, var(--sage) 30%, var(--washi)); }

/* การคัดเมล็ด: เขียว → ชมพู → แดง */
.ripe__item--forest .ripe__dot { background: var(--forest); }
.ripe__item--sage .ripe__dot { background: var(--sage); }
.ripe__item--rose .ripe__dot { background: var(--rose); }
.ripe__item--seal .ripe__dot { background: var(--seal); }
.ripe__item--cherry .ripe__dot { background: var(--cherry); }
.ripe__item--seal .ripe__label, .ripe__item--cherry .ripe__label { color: var(--cherry); font-weight: 600; }

/* ปฏิทิน / ขั้นตอน */
.timeline { border-left-color: var(--forest); }
.timeline li::before { border-color: var(--forest); background: var(--sage); }
.steps__num { color: var(--forest); font-weight: 600; }
.checks li::before { border-color: var(--forest); }
.spec { border-top-color: var(--sumi); }

/* ฉากเรื่องของปู่ที่ยังไม่มีรูป */
.scene__mark { background: color-mix(in srgb, var(--sage) 26%, var(--washi)); border-color: transparent; }
.scene__mark span { color: var(--forest); }
.scene--flip .scene__mark { background: color-mix(in srgb, var(--rose) 30%, var(--washi)); }
.scene--flip .scene__mark span { color: var(--cherry); }

/* แถบดำ + ป้ายตราประทับ */
.ps-badge { background: var(--seal); }
.band--sumi .btn--paper { background: var(--washi); border-color: var(--washi); }
.chip:hover { background: var(--forest); border-color: var(--forest); color: var(--washi); }
.tabbar__main .icon { background: var(--sumi); }
.lbtn--ink { background: var(--forest); border-color: var(--forest); }
.lbtn--ink:hover { background: var(--sumi); }
.cta { background: color-mix(in srgb, var(--kinari) 45%, var(--washi)); border-top: 0; }
.footer { background: var(--sumi); }

/* ภาษาไทย: ห้ามเว้นระยะตัวอักษรเด็ดขาด */
:lang(th) .th, .th { letter-spacing: 0 !important; }
