/* studio.happyerp.la — ໜ້າຕະຫຼາດ AI Studio (ອອກແບບໃໝ່ທັງໝົດ 3/10/2026)
   ໂລກ «ປ້າຍລະຫັດໄລຟ໌» ຂອງ happyerp.la: ຮາວ 8px · ເຊືອກ + ຮູເຈາະ · ເຈ້ຍສີ + ໝຶກອັນດຽວ · ມຸມສາກ · ປຸ່ມ = ປ້າຍລາຄາ · ເງົາເຈ້ຍອັນດຽວ
   ສີ Studio = ເຈ້ຍເຫຼືອງ (ERP ແດງ · AI ຟ້າ · Studio ເຫຼືອງ · /care ຂຽວ)
   ຕົວແປສີ/ຟອນ ຢູ່ assets/tokens.css (ສຳເນົາຈາກ erp) · ລຳດັບໂຫຼດ: fonts.css → tokens.css → studio.css
   CSP: style-src 'self' ⇒ ບໍ່ມີ style="" ໃນ HTML — ຄ່າ --drop/--tilt ຕັ້ງຢູ່ class */

:root {
  --wrap: 1180px;
  --gut: clamp(18px, 4vw, 40px);
  --pad-x: max(var(--gut), calc((100% - var(--wrap)) / 2));
  --ink-2: rgba(20, 20, 20, .78);   /* ຕົວໜັງສືຮອງ ເທິງເຈ້ຍ (ໝຶກຈາງ ບໍ່ແມ່ນສີເທົາ) */
  --sec-y: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 16.5px/1.75 var(--font-body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 900; line-height: 1.38; text-wrap: balance; }
p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--paper-y); color: var(--ink); }
:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
[hidden] { display: none !important; }
.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main p a:not(.btn), main dd a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--paper-y); color: var(--ink); font-weight: 800; text-decoration: none; transition: top .12s ease; }
.skip:focus { top: 8px; outline: 3px solid var(--ink); }

/* ---------- ປຸ່ມ = ປ້າຍລາຄາ (ຫົວແຫຼມຊ້າຍ + ຮູ) ≡ erp/assets/brand.css ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 10px 24px 10px 40px;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
  position: relative; isolation: isolate; text-decoration: none; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 1.3;
  transition: transform .2s var(--ease-out), background .2s var(--ease-out);
}
.btn::before { content: ""; position: absolute; left: 17px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--hole, var(--ground)); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .4); }
.btn:hover { transform: rotate(-1.5deg); }
.btn:active { transform: none; }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--ink); }
.btn-y { background: var(--paper-y); color: var(--ink); }
.btn-y:hover { background: color-mix(in srgb, var(--paper-y) 88%, #000); }
.btn-ghost { background: var(--ink); color: var(--ink); }
.btn-ghost::after { content: ""; position: absolute; z-index: -1; inset: 2px; background: var(--fill, var(--paper-w)); clip-path: polygon(14.5px 0, 100% 0, 100% 100%, 14.5px 100%, 1.6px 50%); }
.btn-ghost:focus-visible::after { box-shadow: inset 0 0 0 3px var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-ink:focus-visible { box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--ink); }
.btn-s { min-height: 44px; padding: 8px 18px 8px 34px; font-size: 15px; }
.btn-s::before { left: 14px; }
.btn-xl { min-height: 62px; padding: 14px 36px 14px 54px; font-size: 19px; }
.btn-xl::before { left: 22px; width: 11px; height: 11px; margin-top: -5.5px; }
.btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- ຫົວເວັບ + ຮາວ 8px (ປ້າຍໃນໜ້າທຳອິດຫ້ອຍຈາກຮາວນີ້) ---------- */
.head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 10px var(--pad-x); background: var(--ground-deep); border-bottom: 8px solid var(--rail);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand-logo { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.brand-name b { font-weight: 900; color: var(--live-text); }
.brand-sub { font-family: var(--font-display); font-weight: 900; font-size: 13.5px; line-height: 1.6; padding: 1px 9px; background: var(--paper-y); color: var(--ink); }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text-dim); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.head-act { display: flex; align-items: center; gap: 16px; flex: none; }
.head-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.head .btn { --hole: var(--ground-deep); }

/* ---------- ໜ້າທຳອິດ ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 60px); align-items: start;
  padding: 0 var(--pad-x) 40px;
}
.hero-copy { padding-top: clamp(48px, 6.5vw, 92px); }
h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.34; letter-spacing: -.005em; }
.h1-b { display: block; }
h1 em { font-style: normal; background: linear-gradient(transparent 58%, var(--paper-y) 58%, var(--paper-y) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { max-width: 33em; margin-top: 22px; color: var(--text-dim); font-size: clamp(16.5px, 1.3vw, 18.5px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-note { margin-top: 14px; color: var(--text-dim); font-size: 15px; }
.cta-note a { color: var(--text); font-weight: 700; }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 26px 0 0; padding: 0; color: var(--text-dim); font-size: 14.5px; }
.proof li { position: relative; padding-left: 22px; }
.proof li::before { content: ""; position: absolute; left: 0; top: .5em; width: 15px; height: 15px; background: var(--text);
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath d="M2.5 8.5l3.5 3.5 7.5-8" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E') center/contain no-repeat;
          mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath d="M2.5 8.5l3.5 3.5 7.5-8" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E') center/contain no-repeat; }

/* ສາກ: 3 ປ້າຍຫ້ອຍຈາກຮາວ — ພິມ (ເຈ້ຍຂາວ) → ຮູບ (ເຈ້ຍຟ້າ) → ຄລິບ (ເຈ້ຍເຫຼືອງ ໃຫຍ່ສຸດ) */
.scene { position: relative; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, .9fr) minmax(0, 1.28fr); gap: clamp(10px, 1.5vw, 20px); align-items: start; padding-bottom: 46px; }
.tg, .wk, .pt { position: relative; padding-top: var(--drop); transform: rotate(var(--tilt)); transform-origin: 50% 0; filter: var(--sh-paper); transition: transform .5s var(--ease-out); }
.tg::before, .wk::before, .pt::before { content: ""; position: absolute; left: 50%; top: 0; z-index: 2; width: 2px; height: calc(var(--drop) + 20px); margin-left: -1px; background: var(--string); }
.tg:hover, .wk:hover, .pt:hover { transform: rotate(calc(var(--tilt) * -1)); }
.tg-b, .wk-b, .pt-b { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 44px 16px 18px; background: var(--paper-w); color: var(--ink); clip-path: var(--tag-shape); line-height: 1.45; }
.tg-b::before, .wk-b::before, .pt-b::before { content: ""; position: absolute; left: 50%; top: 13px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--hole, var(--ground)); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .45); }
.tg-prompt { --drop: 70px; --tilt: -2.5deg; }
.tg-photo { --drop: 176px; --tilt: 2deg; }
.tg-photo .tg-b { background: var(--paper-b); }
.tg-clip { --drop: 24px; --tilt: -1deg; }
.tg-clip .tg-b { background: var(--paper-y); padding-inline: 14px; }
.tg-l { font-family: var(--font-display); font-weight: 900; font-size: 12.5px; color: var(--ink-2); }
.prompt { min-height: calc(1.65em * 5); margin: 2px 0 12px; font-size: 15.5px; line-height: 1.65; }
.typed::after { content: ""; display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -.2em; background: var(--ink); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.tg-go { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; transition: transform .2s var(--ease-out); }
.tg-go b { font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--paper-y); }
.tg-go:hover { transform: scale(1.03); }
.tg-go:active { transform: scale(.97); }
.tg-go:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--paper-y); }
.tg-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 5px solid #fff; margin-bottom: 8px; }
.tg-k { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -.02em; }
.tg-n { font-size: 13.5px; font-weight: 700; }
.tg-s { margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.vid { position: relative; margin-bottom: 10px; background: var(--ink); }
.vid video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.vbtn { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); color: var(--paper-y); }
.vbtn svg { width: 20px; height: 20px; fill: currentColor; }
.vbtn .i-pause, .vbtn.on .i-play { display: none; }
.vbtn.on .i-pause { display: block; }
.vbtn:focus-visible { outline: 3px solid var(--paper-y); outline-offset: -3px; }
.scene-tag { position: absolute; right: 0; bottom: 0; padding: 1px 8px; border: 1px dashed var(--line); color: var(--text-faint); font-size: 12px; }

/* ຈັງຫວະດຽວຂອງໜ້າ: ພິມຄຳສັ່ງ → ປ້າຍຮູບຕົກລົງແກວ່ງ → ປ້າຍຄລິບຕົກລົງແກວ່ງ + ຫຼິ້ນ (studio.js · ຂ້າມເມື່ອ reduced-motion) */
.scene.js .tg-photo:not(.in), .scene.js .tg-clip:not(.in) { opacity: 0; transform: translateY(-28px) rotate(calc(var(--tilt) + 6deg)); transition: none; }
.scene.js .tg.in { animation: tg-in .95s var(--ease-out); }
@keyframes tg-in {
  0% { opacity: 0; transform: translateY(-28px) rotate(calc(var(--tilt) + 8deg)); }
  35% { opacity: 1; }
  58% { transform: translateY(0) rotate(calc(var(--tilt) - 4deg)); }
  80% { transform: rotate(calc(var(--tilt) + 1.5deg)); }
  100% { transform: rotate(var(--tilt)); }
}

/* ---------- ຫົວພາກ ---------- */
.sec-h { max-width: 780px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-h h2 { font-size: clamp(28px, 3.2vw, 44px); }
.sec-h p { max-width: 40em; margin-top: 12px; color: var(--text-dim); font-size: 17px; }

/* ---------- ຜົນງານຈິງ: ພາກເຫຼືອງ + ຮາວໝຶກ ---------- */
.works { --hole: var(--paper-y); padding: var(--sec-y) var(--pad-x); background: var(--paper-y); color: var(--ink); }
.works .sec-h h2 { color: var(--ink); }
.works .sec-h p { color: var(--ink-2); }
.rack { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 40px); align-items: start; margin: 0; padding: 0 0 12px; border-top: 8px solid var(--rail); }
.wk-film { --drop: 36px; --tilt: -1.2deg; }
.wk-mv { --drop: 84px; --tilt: 1deg; }
.wk-edit { --drop: 50px; --tilt: -.6deg; }
.wk-b { gap: 6px; padding: 44px 18px 24px; }
.wk-media { position: relative; }
.wk-media video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }
.wk-play { left: 50%; top: 50%; right: auto; width: 68px; height: 68px; margin: -34px 0 0 -34px; transition: transform .2s var(--ease-out); }
.wk-play svg { width: 30px; height: 30px; }
.wk-play:hover { transform: scale(1.06); }
.wk-price { margin-top: 12px; font-size: 14px; font-weight: 700; }
.wk-price b { margin-right: 4px; font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.wk-b h3 { font-size: 21px; line-height: 1.45; }
.wk-kind { width: fit-content; padding: 1px 9px; background: var(--paper-y); font-family: var(--font-display); font-weight: 800; font-size: 13px; }
.wk-b > p:last-child { margin-top: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.ba { position: relative; }
.ba-after img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ba-before { position: absolute; left: 10px; top: 10px; width: 44%; border: 4px solid #fff; transform: rotate(-3deg); filter: drop-shadow(0 6px 8px rgba(20, 20, 30, .3)); }
.ba figcaption { position: absolute; left: 0; bottom: 0; padding: 0 7px; background: var(--paper-w); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 11.5px; }
.ba-after figcaption { left: 8px; bottom: 8px; }

/* ---------- ວິທີໃຊ້: ເສັ້ນເວລາ (ຮາວໝຶກ 3px + ຂໍ້ເຫຼືອງ ≡ .timeline ໜ້າຫຼັກ) · ແຕ່ລະຂັ້ນມີສິ່ງຂອງຈິງ ---------- */
.how { padding: var(--sec-y) var(--pad-x); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; left: 10px; top: 12px; bottom: 40px; width: 3px; background: var(--rail); }
.step { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 64px); align-items: start; padding: 0 0 clamp(44px, 5vw, 72px) 56px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 2px; top: 9px; width: 19px; height: 19px; border-radius: 50%; background: var(--paper-y); box-shadow: 0 0 0 3px var(--rail); }
.step-t h3 { font-size: clamp(22px, 2.2vw, 28px); }
.step-t p { max-width: 34em; margin-top: 10px; color: var(--text-dim); font-size: 16.5px; }
/* ໜ້າຈໍຕົວຢ່າງ: ພື້ນ panel-2 + ເສັ້ນປຸ 3px ເທິງ + ປ້າຍ «ຂໍ້ມູນຕົວຢ່າງ» */
.mock, .ask { position: relative; padding: 26px 26px 46px; background: var(--panel-2); border-top: 3px dashed var(--line); }
.mock .scene-tag, .ask .scene-tag { right: 12px; bottom: 12px; }
.shop { max-width: 400px; padding: 16px 16px 14px; background: var(--paper-w); color: var(--ink); filter: var(--sh-paper); }
.shop-h { font-family: var(--font-display); font-weight: 900; font-size: 13px; color: var(--ink-2); }
.shop-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid #e3e6ee; }
.shop-row img { grid-row: 1 / span 2; width: 56px; height: 56px; object-fit: cover; }
.shop-name { font-weight: 800; font-size: 15px; }
.shop-p { grid-column: 2; font-size: 14px; }
.shop-p s { color: rgba(20, 20, 20, .6); font-weight: 600; }
.shop-p b { font-weight: 900; }
.shop-off { grid-column: 3; grid-row: 1 / span 2; padding: 2px 8px; background: var(--paper-r); font-weight: 900; font-size: 14px; }
.shop-go { margin-top: 12px; padding: 10px; background: var(--ink); color: #fff; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 14.5px; }
.scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 170px)); gap: 14px; }
.scenes figure { position: relative; background: var(--ink); filter: var(--sh-paper); }
.scenes img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.scenes figcaption { position: absolute; left: 0; top: 0; padding: 1px 8px; background: var(--paper-y); color: var(--ink); font-family: var(--font-display); font-weight: 900; font-size: 12.5px; }
.redo { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 8px 6px; background: var(--ink); color: #fff; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; box-shadow: inset 0 0 0 2px var(--paper-y); }
.routes { display: grid; gap: 14px; filter: var(--sh-paper); }
.route { padding: 18px 20px 18px; background: var(--paper-w); color: var(--ink);
  -webkit-mask: radial-gradient(circle at 6px 0, transparent 4px, #000 4.5px) -6px 0 / 12px 100% repeat-x;
          mask: radial-gradient(circle at 6px 0, transparent 4px, #000 4.5px) -6px 0 / 12px 100% repeat-x; }
.route dt { font-family: var(--font-display); font-weight: 900; font-size: 16px; }
.route dd { margin-top: 4px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- ເຄື່ອງມື: ແຖບ + ໜ້າຈໍຈິງ ---------- */
.tools { padding: var(--sec-y) var(--pad-x); background: var(--ground-deep); }
.tl { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.tl-list { display: flex; flex-direction: column; border-top: 2px solid var(--text); }
.tl-list [role="tab"] {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 10px 6px 10px 16px; border-bottom: 1px solid var(--line); text-align: left;
  font-family: var(--font-head); font-weight: 900; font-size: 18.5px; line-height: 1.4;
  transition: background .2s var(--ease-out);
}
.tl-list [role="tab"]:hover { background: var(--panel-2); }
.tl-list [role="tab"][aria-selected="true"] { padding-left: 40px; background: var(--paper-y); color: var(--ink); clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); }
.tl-list [role="tab"][aria-selected="true"]::before { content: ""; position: absolute; left: 18px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--ground-deep); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .4); }
.tl-list [role="tab"]:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--text); }
.chip { flex: none; padding: 1px 9px; background: var(--panel-2); color: var(--text); font-family: var(--font-display); font-weight: 900; font-size: 13px; line-height: 1.7; }
.chip.free { background: var(--paper-g); color: var(--ink); }
[aria-selected="true"] .chip { background: var(--paper-w); color: var(--ink); }
.tl-p { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: center; }
.ph { padding: 9px; background: #101114; border-radius: 34px; filter: var(--sh-paper); }   /* ກອບໂທລະສັບ = ຂໍ້ຍົກເວັ້ນມຸມມົນ */
.ph img { width: 100%; border-radius: 26px; }
.tl-t h3 { font-size: clamp(24px, 2.4vw, 32px); }
.tl-t p { margin-top: 12px; color: var(--text-dim); font-size: 17px; }

/* ---------- ລາຄາ: ປ້າຍລາຄາຫ້ອຍຮາວ + ໃບບິນ ---------- */
.cost { padding: var(--sec-y) var(--pad-x); }
.prices { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); align-items: start; margin: 0; padding: 0; border-top: 8px solid var(--rail); }
.pt-free { --drop: 30px; --tilt: -1.5deg; }
.pt-img { --drop: 58px; --tilt: 1.2deg; }
.pt-mv { --drop: 22px; --tilt: -.8deg; }
.pt-vid { --drop: 46px; --tilt: 1.6deg; }
.pt-b { gap: 2px; padding: 46px 18px 22px; background: var(--paper-y); }
.pt-free .pt-b { background: var(--paper-g); }
.pt-k { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -.02em; }
.pt-n { margin-top: 4px; font-size: 16px; font-weight: 800; }
.pt-b small { margin-top: 4px; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.bill { max-width: 640px; margin-top: 56px; padding: 26px 28px 22px; background: var(--paper-w); color: var(--ink); filter: var(--sh-paper);
  -webkit-mask: radial-gradient(circle at 6px 0, transparent 4px, #000 4.5px) -6px 0 / 12px 100% repeat-x;
          mask: radial-gradient(circle at 6px 0, transparent 4px, #000 4.5px) -6px 0 / 12px 100% repeat-x; }
.bill-h { font-family: var(--font-head); font-weight: 900; font-size: 19px; }
.bill dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 11px 0; border-bottom: 1px dashed #c9cdd8; }
.bill dl > div:last-child { border-bottom: 0; }
.bill dt { font-weight: 600; }
.bill dd { font-weight: 900; text-align: right; }
.bill dd span { font-family: var(--font-body); font-weight: 400; color: var(--ink-2); }

/* ---------- ຖາມ-ຕອບ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; padding: var(--sec-y) var(--pad-x); background: var(--ground-deep); }
.faq .sec-h { position: sticky; top: 110px; }
.faq .sec-h p a { color: var(--text); font-weight: 700; }
.faq-list { border-top: 2px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 44px 20px 0; list-style: none; cursor: pointer; font-family: var(--font-head); font-weight: 900; font-size: 19px; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: linear-gradient(var(--text), var(--text)) center / 100% 2.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 2.5px 100% no-repeat; transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq details p { max-width: 62ch; padding-bottom: 20px; color: var(--text-dim); font-size: 16px; }
.faq details p + p { margin-top: -8px; }

/* ---------- ປິດ: ແຖບເຫຼືອງເຕັມພາກ ---------- */
.close { --hole: var(--paper-y); --fill: var(--paper-y); padding: clamp(72px, 9vw, 128px) var(--pad-x); background: var(--paper-y); color: var(--ink); }
.close h2 { max-width: 15em; color: var(--ink); font-size: clamp(32px, 4.4vw, 58px); line-height: 1.36; }
.close h2 span { display: inline-block; margin-top: 6px; padding: 0 14px; background: var(--paper-w); transform: rotate(-1.2deg); }
.close p { max-width: 38em; margin-top: 22px; color: var(--ink-2); font-size: 18px; }
.close-cta { margin-top: 32px; }
.close .btn:focus-visible { box-shadow: inset 0 0 0 3px var(--ink); }
.close .btn-ink:focus-visible { box-shadow: inset 0 0 0 3px var(--paper-y), inset 0 0 0 5px var(--ink); }
.contact { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; padding: 0; }

/* ---------- ທ້າຍໜ້າ ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 28px var(--pad-x) 36px; background: var(--ground-deep); border-top: 8px solid var(--rail); color: var(--text-dim); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 600; }
.foot p { margin-left: auto; }

/* ---------- ຈໍແຄບ ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 0 8px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .head-act { margin-left: auto; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 32px; }
  .hero-copy { padding-top: 34px; }
  h1 { font-size: clamp(32px, 8.6vw, 46px); }
  .lede { margin-top: 16px; }
  .cta { margin-top: 24px; }
  .cta .btn { flex: 1 1 auto; padding-inline: 16px 14px; padding-left: 34px; }
  .cta .btn::before { left: 14px; }
  .proof { margin-top: 20px; }
  /* ສາກໃນມືຖື: ຮາວຂອງຕົນເອງ · ປ້າຍຮູບ ຫ້ອຍຕໍ່ຈາກປ້າຍພິມ (ສາຍໂສ້ ພິມ → ຮູບ) · ຄລິບ ສູງເຕັມຂວາ */
  .scene { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-rows: auto 1fr; gap: 0 14px; margin: 34px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 44px; border-top: 8px solid var(--rail); }
  .tg-prompt { grid-column: 1; grid-row: 1; --drop: 30px; --tilt: -2deg; }
  .tg-photo { grid-column: 1; grid-row: 2; --drop: 26px; --tilt: 2.5deg; justify-self: center; width: 86%; }
  .tg-clip { grid-column: 2; grid-row: 1 / span 2; --drop: 18px; --tilt: -1deg; }
  .prompt { min-height: calc(1.6em * 6); font-size: 14.5px; line-height: 1.6; }
  .tg-go span { display: none; }
  .tg-k { font-size: 36px; }
  .sec-h p { font-size: 16px; }
  .rack { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 30px; border-top: 0;
    background: linear-gradient(var(--rail), var(--rail)) top / 100% 8px no-repeat; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
  .prices { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 30px; border-top: 0;
    background: linear-gradient(var(--rail), var(--rail)) top / 100% 8px no-repeat; scrollbar-width: thin; scrollbar-color: var(--text) transparent; }
  .wk, .pt { margin-top: 8px; scroll-snap-align: center; }
  .wk { flex: 0 0 min(80vw, 330px); }
  .pt { flex: 0 0 min(60vw, 230px); }
  .wk::before, .pt::before { top: -8px; height: calc(var(--drop) + 28px); }
  .steps::before { left: 8px; bottom: 0; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-left: 40px; }
  .step::before { left: 0; width: 17px; height: 17px; }
  .mock, .ask { padding: 20px 14px 44px; }
  .tl { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tl-list { flex-direction: row; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 8px; border-top: 0; scrollbar-width: none; }
  .tl-list::-webkit-scrollbar { display: none; }
  .tl-list [role="tab"] { flex: none; min-height: 48px; padding: 6px 12px; border: 1.5px solid var(--text); font-size: 16px; gap: 8px; }
  .tl-list [role="tab"][aria-selected="true"] { padding-left: 34px; border-color: transparent; }
  .tl-list [role="tab"][aria-selected="true"]::before { left: 15px; }
  .tl-p { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; }
  .ph { width: min(72vw, 270px); }
  .tl-t { justify-self: stretch; }
  .bill { padding: 22px 18px 18px; }
  .bill dd { text-align: left; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .faq .sec-h { position: static; }
  .faq summary { font-size: 17.5px; padding: 16px 40px 16px 0; }
  .close p { font-size: 17px; }
  .close-cta .btn, .contact .btn { width: 100%; }
  .contact { flex-direction: column; gap: 10px; }
  .foot p { margin-left: 0; }
}
@media (max-width: 560px) {
  .head { gap: 12px; padding-block: 8px; }
  .head-link { display: none; }
  .brand { gap: 8px; }
  .brand-logo { width: 30px; height: 30px; }
  .brand-name { font-size: 16.5px; }
  .brand-sub { font-size: 12.5px; padding: 0 7px; }
  .head .btn { padding: 8px 14px 8px 30px; font-size: 14.5px; }
  .head .btn::before { left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tg:hover, .wk:hover, .pt:hover { transform: rotate(var(--tilt)); }
  .btn:hover, .tg-go:hover { transform: none; }
  .typed::after { animation: none; }
}
@media print {
  .head { position: static; }
  .vbtn, .tg-go, .skip { display: none !important; }
  .works, .close { background: #fff; }
}

/* ---------- ລາຄາ: ໃບບິນ + ໜ້າຢືນຢັນຕົວຢ່າງ (HTML · aria-hidden · ເສັ້ນປຸ 3px ເທິງ ≡ ໜ້າຈໍຕົວຢ່າງຂອງໜ້າຫຼັກ) ---------- */
.cost-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 56px; }
.cost-row .bill { max-width: none; margin-top: 0; }
.ask-d { display: flex; flex-direction: column; gap: 2px; max-width: 340px; margin-inline: auto; padding: 22px 22px 18px; background: var(--paper-w); color: var(--ink); filter: var(--sh-paper); }
.ask-h { font-family: var(--font-head); font-weight: 900; font-size: 18px; line-height: 1.5; }
.ask-s, .ask-n { color: var(--ink-2); font-size: 14px; }
.ask-c { margin-top: 10px; font-weight: 700; }
.ask-c b { margin-right: 4px; font-size: 40px; font-weight: 900; line-height: 1; }
.ask-b { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 14px; font-family: var(--font-display); font-weight: 800; font-size: 14.5px; text-align: center; }
.ask-b span { padding: 10px 6px; border: 1.5px solid var(--ink); }
.ask-b span + span { border-color: var(--paper-y); background: var(--paper-y); }
@media (max-width: 860px) {
  .cost-row { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .ask { padding: 24px 16px 44px; }
}
