:root {
  --paper: #f6f0e3;
  --paper-deep: #ece3d0;
  --ink: #35261c;
  --ink-soft: #5c4e3f;
  --bronze: #85602f;
  --gold: #c9a66b;
  --on-dark: #f6f0e3;
  --on-dark-soft: #d3c7b3;
  --line: rgba(43, 33, 24, .16);
  --line-dark: rgba(246, 240, 227, .2);
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.75 "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.4; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 44px); }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.logo-mark { width: 22px; height: 22px; fill: currentColor; flex: none; }
.wrap { width: min(100%, calc(var(--wrap) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.eyebrow { display: inline-block; padding: 3px 14px; border: 1px solid currentColor; border-radius: 999px; color: var(--bronze); font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.lead { color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 19px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--ink); color: var(--on-dark); padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* ปุ่ม */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border: 1px solid transparent; border-radius: 8px;
  font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--bronze); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--ink); }
  .btn-ghost:hover { background: var(--ink); color: var(--on-dark); }
  .btn-gold:hover { background: var(--on-dark); }
}

/* แถบบน + หัวเว็บ */
.topbar { background: var(--ink); color: var(--on-dark-soft); font-size: 14px; display: none; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 28px; padding-block: 7px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar .icon { width: 16px; height: 16px; }
.topbar .logo-mark { width: 16px; height: 16px; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 600; letter-spacing: .16em; text-decoration: none; white-space: nowrap; }
.nav-desktop { display: none; align-items: center; gap: 28px; font-size: 16px; }
.nav-desktop a { text-decoration: none; padding-block: 6px; }
@media (hover: hover) { .nav-desktop a:hover, .topbar a:hover { color: var(--gold); } .nav-desktop a:hover { color: var(--bronze); } }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-inline: 10px; font-size: 15px; font-weight: 600; text-decoration: none; }
.header-cta { display: none; min-height: 44px; padding: 8px 18px; font-size: 15px; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }

/* เมนูมือถือเต็มจอ อยู่นอกหัวเว็บ */
.mobile-nav {
  position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column;
  padding: 12px var(--gutter) 32px; background: var(--ink); color: var(--on-dark);
  visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; overflow-y: auto;
}
body.nav-open .mobile-nav { visibility: visible; opacity: 1; }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.mobile-nav ul { margin-block: 28px auto; }
.mobile-nav li a { display: block; padding-block: 14px; border-bottom: 1px solid var(--line-dark); font-size: 24px; font-weight: 600; text-decoration: none; }
.mobile-nav .btn { margin-top: 28px; }

/* แบนเนอร์ */
.hero { position: relative; display: flex; align-items: center; min-height: min(70vh, 620px); overflow: hidden; background: var(--paper-deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% bottom; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(246, 240, 227, .97) 0%, rgba(246, 240, 227, .94) 50%, rgba(246, 240, 227, 0) 76%);
}
.hero { align-items: flex-start; }
.hero-copy { position: relative; z-index: 1; padding-block: 28px 200px; }
.nb { white-space: nowrap; }
@media (max-width: 767px) {
  .hero-actions .btn-ghost, .hero-copy .hero-phone { display: none; }
}
.hero h1 { font-size: clamp(32px, 5.2vw, 64px); max-width: 13em; }
.hero .lead { margin-top: 14px; max-width: 34em; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-weight: 600; text-decoration: none; }
.hero-phone .icon { width: 18px; height: 18px; }
.hero-actions-more { margin-top: 12px; }

/* จุดเด่น */
.pillars { border-bottom: 1px solid var(--line); }
.pillars ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pillars li { padding: 26px 16px 26px 0; }
.pillars .icon { color: var(--bronze); width: 28px; height: 28px; }
.pillars h2 { margin-top: 12px; font-size: 18px; }
.pillars p { margin-top: 4px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* เกี่ยวกับเรา */
.about-grid { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-grid h2 { margin-bottom: 20px; }
.about-grid p + p { margin-top: 16px; }
.about-img, .source-img { width: 100%; border-radius: 12px; }

/* พันธกิจ */
.purpose { background: var(--ink); color: var(--on-dark); }
.purpose .slogan { font-size: clamp(28px, 4.4vw, 52px); font-weight: 600; line-height: 1.4; letter-spacing: .02em; }
.purpose .slogan-sub { margin-top: 12px; color: var(--gold); font-size: clamp(18px, 2vw, 22px); }
.purpose-grid { display: grid; gap: 36px; margin-top: clamp(44px, 6vw, 72px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line-dark); }
.purpose h3 { color: var(--gold); font-size: 18px; margin-bottom: 10px; }
.purpose-grid p { color: var(--on-dark-soft); }

/* หมวดหมู่สินค้า */
.products-top { display: grid; gap: 28px; margin-bottom: clamp(36px, 5vw, 60px); }
.products-head { max-width: 46em; }
.products-head h2 { margin-bottom: 18px; }
.products-head p + p { margin-top: 12px; }
.products-head .eyebrow + h2 { margin-top: 0; }
.cat-count { display: flex; align-items: baseline; gap: 14px; color: var(--ink-soft); font-size: 16px; font-weight: 600; line-height: 1.5; }
.cat-count .count { color: var(--bronze); font-size: clamp(64px, 9vw, 120px); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }

.catalog { position: relative; border-top: 1px solid var(--line); }
.cat { border-bottom: 1px solid var(--line); }
.cat-title { font-size: inherit; line-height: inherit; }
.cat-head {
  position: relative; display: grid; grid-template-columns: 32px 26px minmax(0, 1fr) 24px; align-items: center; gap: 12px;
  width: 100%; min-height: 72px; padding: 14px 0; border: 0; background: none; color: inherit;
  font: inherit; font-size: 18px; font-weight: 600; line-height: 1.5; text-align: left; cursor: pointer;
}
.cat-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.cat-no { color: var(--bronze); font-size: 15px; font-variant-numeric: tabular-nums; }
.cat-head .icon { width: 26px; height: 26px; color: var(--bronze); transition: translate .25s var(--ease); }
.cat-head .cat-plus { width: 22px; height: 22px; color: var(--ink-soft); transition: rotate .25s var(--ease), opacity .2s; }
html:not(.js) .cat-plus { display: none; }
.cat.is-open .cat-plus { rotate: 45deg; }
.cat-big, .cat-icon-big, .cat-panel-name { display: none; }
.cat-desc { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.cat-cta { margin-block: 14px 22px; min-height: 48px; padding: 10px 20px; background: var(--bronze); color: #fff; font-size: 15px; }
/* มือถือ: แตะหัวข้อเพื่อเปิด-ปิด ถ้าไม่มี JS เนื้อหาเปิดอยู่ทั้งหมด */
.cat-body { display: grid; grid-template-rows: 1fr; }
.cat-panel { min-height: 0; overflow: hidden; }
.js .cat-body { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .32s var(--ease), visibility .32s; }
.js .cat.is-open .cat-body { grid-template-rows: 1fr; visibility: visible; }
@media (hover: hover) {
  .cat-head:hover::after { transform: scaleX(1); }
  .cat-head:hover .icon:not(.cat-plus) { translate: 4px 0; }
  .cat-cta:hover { background: var(--ink); color: var(--on-dark); }
}

.catalog-follow { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; font-size: 17px; font-weight: 600; line-height: 1.7; }
.catalog-follow .logo-mark { margin-top: 3px; color: var(--bronze); }
.catalog-follow a { padding-block: 8px; color: var(--bronze); overflow-wrap: anywhere; }

/* จัดหาสินค้า */
.source { background: var(--paper-deep); }
.source-grid { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
.source-grid h2 { margin-bottom: 18px; }
.source-grid p + p { margin-top: 14px; }
.source-grid .btn { margin-top: 26px; }
.source-tag { margin-top: 20px; color: var(--bronze); font-size: 16px; font-weight: 600; }
.steps { display: grid; gap: 28px; margin-top: clamp(48px, 7vw, 88px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line); counter-reset: step; }
.steps > h3 { font-size: clamp(22px, 2.6vw, 30px); }
/* เส้นความคืบหน้า: มือถือแนวตั้ง จอใหญ่แนวนอน */
.steps ol { --p: 1; position: relative; display: grid; gap: 28px; }
.steps ol::before, .steps ol::after { content: ""; position: absolute; top: 22px; bottom: 22px; left: 21px; width: 2px; }
.steps ol::before { background: var(--line); }
.steps ol::after { background: var(--bronze); transform: scaleY(var(--p)); transform-origin: top; }
.steps ol li { position: relative; z-index: 1; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; font-weight: 600; counter-increment: step; }
.steps ol li::before {
  content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--bronze); border-radius: 50%;
  background: var(--bronze); color: #fff; font-size: 16px; line-height: 1; font-variant-numeric: tabular-nums;
  transition: background-color .3s, color .3s, scale .4s var(--ease);
}
.steps ol.is-live li:not(.on)::before { background: var(--paper-deep); color: var(--bronze); scale: .86; }

/* คำถาม */
.faq-grid { display: grid; gap: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding-block: 14px; font-size: 18px; font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-soft); }

/* ติดต่อ */
.contact { background: var(--ink); color: var(--on-dark); }
.contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); }
.contact .eyebrow { color: var(--gold); }
.contact .lead { color: var(--on-dark-soft); }
.contact .btn { margin-top: 26px; }
.channels { display: grid; gap: 12px; grid-column: 1 / -1; }
.channels a {
  position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; align-items: center; height: 100%; min-height: 92px;
  padding: 16px 20px; border: 1px solid var(--line-dark); border-radius: 12px; overflow: hidden; text-decoration: none;
  transition: border-color .2s, translate .2s var(--ease), color .2s;
}
.channels a::before { content: ""; position: absolute; inset: 0; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 166, 107, .24), transparent 70%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.channels span { display: block; color: var(--on-dark-soft); font-size: 14px; line-height: 1.5; }
.channels strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.channels-note { display: flex; align-items: center; padding: 16px 20px; color: var(--gold); font-size: 16px; line-height: 1.65; }
.channels-info { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; align-items: start; height: 100%; padding: 20px; border: 1px solid var(--line-dark); border-radius: 12px; }
.channels-info .icon { margin-top: 2px; color: var(--gold); }
.channels-info p { margin-top: 6px; color: var(--on-dark-soft); font-size: 15px; line-height: 1.65; }
.channels a.map-link { display: inline-flex; gap: 8px; width: fit-content; height: auto; min-height: 44px; margin-top: 12px; padding: 8px 16px; border-color: var(--gold); border-radius: 999px; color: var(--gold); font-size: 15px; font-weight: 600; }
.channels a.map-link .icon { width: 18px; height: 18px; margin-top: 0; }
@media (hover: hover) {
  .channels a:hover { border-color: var(--gold); color: var(--gold); translate: 0 -3px; }
  .channels a:hover::before { opacity: 1; }
}

/* ท้ายเว็บ */
.site-footer { background: var(--ink); color: var(--on-dark-soft); border-top: 1px solid var(--line-dark); padding-block: 32px 104px; font-size: 15px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.site-footer .brand { color: var(--on-dark); }
.footer-legal { display: flex; flex-direction: column; gap: 4px; }

/* ปุ่มลอยมือถือ */
.float-bar { position: fixed; inset: auto 0 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr; height: 56px; background: var(--ink); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom); box-sizing: content-box; }
.float-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--on-dark); font-size: 16px; font-weight: 600; text-decoration: none; }
.float-bar a + a { border-left: 1px solid var(--line-dark); }

/* เนื้อหาปรากฏตอนเลื่อนถึง */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .wipe { clip-path: inset(0 0 100% 0 round 12px); transition: clip-path .9s var(--ease); }
.js .wipe.in { clip-path: inset(0 0 0 0 round 12px); }

/* แถบบอกความคืบหน้าการเลื่อน */
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 40; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.site-header { transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(43, 33, 24, .45); }
.nav-desktop a { position: relative; }
.nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-desktop a.is-current { color: var(--bronze); }
.nav-desktop a.is-current::after { transform: scaleX(1); }

/* แบนเนอร์เปิดตัว */
.hero-img { scale: 1.02; }
.js .hero-img { animation: hero-settle 1.6s var(--ease) both; }
.nb { display: inline-block; }
.js .hero-copy > .eyebrow, .js .hero-copy .nb, .js .hero-copy > .lead, .js .hero-copy > .hero-actions, .js .hero-copy > .hero-phone { animation: rise .7s var(--ease) both; }
.js .hero-copy .nb:nth-child(1) { animation-delay: 80ms; }
.js .hero-copy .nb:nth-child(2) { animation-delay: 160ms; }
.js .hero-copy > .lead { animation-delay: 240ms; }
.js .hero-copy > .hero-actions { animation-delay: 320ms; }
.js .hero-copy > .hero-phone { animation-delay: 400ms; }
@keyframes hero-settle { from { scale: 1.09; } to { scale: 1.02; } }
@keyframes rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

/* แถบสโลแกนเลื่อนตามการเลื่อนจอ */
.marquee { overflow: hidden; background: var(--ink); color: var(--on-dark); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-set { display: flex; flex: none; }
.marquee-set span { display: inline-flex; align-items: center; gap: 28px; padding: 14px 0 14px 28px; font-size: clamp(16px, 1.7vw, 20px); font-weight: 600; line-height: 1.5; white-space: nowrap; }
.marquee-set span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.marquee-set span:nth-child(even) { color: var(--gold); }

/* ไอคอนจุดเด่นวาดเส้นตอนปรากฏ */
.pillars li { position: relative; }
.pillars li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.pillars .icon { transition: translate .25s var(--ease), stroke-dashoffset 1.1s ease .15s; }
.js .pillars .icon { stroke-dasharray: 130; stroke-dashoffset: 130; }
.js .pillars .in .icon { stroke-dashoffset: 0; }
@media (hover: hover) {
  .pillars li:hover::after { transform: scaleX(1); }
  .pillars li:hover .icon { translate: 0 -4px; }
  .btn-primary:hover, .btn-gold:hover, .btn-ghost:hover { translate: 0 -2px; }
  .btn { transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), translate .2s var(--ease); }
}

/* สโลแกนและลูกโลก */
.purpose-top { display: grid; gap: 28px; align-items: center; }
.purpose .slogan { text-wrap: balance; }
.slogan .word { display: inline-block; transition: opacity .2s linear; }
.purpose .slogan-th { margin-top: 12px; font-size: clamp(22px, 3vw, 32px); font-weight: 600; line-height: 1.5; }
.purpose .slogan-en { margin-top: 20px; color: var(--gold); font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
.purpose .slogan-en + .slogan-sub { margin-top: 2px; }
.globe { display: block; width: min(100%, 420px); height: auto; margin-inline: auto; overflow: visible; fill: none; }
.globe-orbit { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 2 12; stroke-linecap: round; transform-origin: 240px 240px; }
.globe-grid { stroke: rgba(246, 240, 227, .2); stroke-width: 1; }
.globe-arc { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.globe-dot { fill: var(--on-dark); transform-box: fill-box; transform-origin: center; transition: opacity .3s, transform .4s var(--ease); }
.globe.is-live .globe-dot:not(.on) { opacity: 0; transform: scale(.2); }
.globe-pin { fill: var(--gold); }
.globe-ping { fill: var(--gold); transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.globe-label { fill: var(--on-dark); stroke: var(--ink); stroke-width: 6px; paint-order: stroke; font: 600 24px "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif; }
@keyframes ping { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(3.4); } }

/* คำถาม: เปิดแบบลื่นในเบราว์เซอร์ที่รองรับ */
@supports selector(::details-content) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .3s var(--ease), content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .wipe { clip-path: none; transition: none; }
  .js .pillars .icon { stroke-dasharray: none; stroke-dashoffset: 0; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* หน้า 404 */
.notfound { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 48px var(--gutter); }
.notfound h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.notfound .btn { margin-top: 24px; }

@media (min-width: 768px) {
  .pillars ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pillars li { padding-inline: 24px; border-left: 1px solid var(--line); }
  .pillars li:first-child { padding-left: 0; border-left: 0; }
  .about-grid, .source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); }
  .products-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
  .cat-count { flex-direction: column; gap: 4px; }
  .purpose-top { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; }
  .steps ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .steps ol::before, .steps ol::after { top: 21px; bottom: auto; left: 22px; right: 0; width: auto; height: 2px; }
  .steps ol::after { transform: scaleX(var(--p)); transform-origin: left; }
  .steps ol li { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn { flex: 0 1 auto; }
  .hero::after { background: linear-gradient(90deg, rgba(246, 240, 227, .96) 0%, rgba(246, 240, 227, .8) 36%, rgba(246, 240, 227, 0) 58%); }
  .hero { min-height: min(78vh, 760px); align-items: center; }
  .hero-img { object-position: 70% center; }
  .hero-copy { padding-block: 72px; }
  .hero .lead { max-width: 26em; }
  .hero h1 { max-width: 9.5em; }
  .faq-grid { grid-template-columns: 1fr 2fr; gap: 64px; }
  .float-bar { display: none; }
  .site-footer { padding-bottom: 32px; }
  .footer-legal { text-align: right; }
}
/* จอคอม: รายการซ้าย แผงรายละเอียดด้านขวา (ติดจอตอนเลื่อน) */
@media (min-width: 1024px) {
  .about-grid { align-items: start; }
  .about-img { position: sticky; top: 112px; }
  .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .channels-info-wide { grid-column: span 2; }
  .js .catalog { padding-right: calc(46% + 48px); }
  .js .cat-plus { display: none; }
  .js .cat-head { grid-template-columns: 32px 26px minmax(0, 1fr); }
  .js .cat.is-active .cat-head::after { transform: scaleX(1); }
  .js .cat.is-active .cat-no, .js .cat.is-active .cat-name { color: var(--bronze); }
  .js .cat-body, .js .cat.is-open .cat-body { position: absolute; top: 0; right: 0; bottom: 0; display: block; width: 46%; padding-top: 24px; visibility: hidden; pointer-events: none; transition: none; }
  .js .cat.is-active .cat-body { visibility: visible; pointer-events: auto; }
  .js .cat-panel {
    position: sticky; top: 112px; display: flex; flex-direction: column; align-items: flex-start; min-height: 440px; padding: 36px 40px 40px; overflow: hidden;
    border-radius: 12px; background: radial-gradient(120% 90% at 100% 0%, #4a3728 0%, var(--ink) 62%); color: var(--on-dark);
    opacity: 0; translate: 0 14px; transition: opacity .3s ease, translate .4s var(--ease);
  }
  .js .cat.is-active .cat-panel { opacity: 1; translate: 0 0; }
  .js .cat-big { display: block; position: absolute; top: 4px; right: 28px; color: rgba(246, 240, 227, .09); font-size: 112px; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; pointer-events: none; }
  .js .cat-icon-big { display: block; width: 68px; height: 68px; color: var(--gold); stroke-width: .9; stroke-dasharray: 130; stroke-dashoffset: 130; }
  .js .cat.is-active .cat-icon-big { stroke-dashoffset: 0; transition: stroke-dashoffset .9s ease; }
  .js .cat-panel-name { display: block; margin-top: 24px; font-size: 26px; font-weight: 600; line-height: 1.45; text-wrap: balance; }
  .js .cat-desc { margin-top: 12px; color: var(--on-dark-soft); font-size: 17px; }
  .js .cat-cta { margin: auto 0 0; background: var(--gold); color: var(--ink); }
  .js .cat-desc + .cat-cta { position: relative; top: 0; }
}
@media (min-width: 1024px) and (hover: hover) {
  .js .cat-cta:hover { background: var(--on-dark); color: var(--ink); }
}
@media (min-width: 1100px) {
  .topbar { display: block; }
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .brand { font-size: 18px; }
}
