/* ─── home.css: ส่วนเฉพาะบทของหน้าแรก (ใช้ร่วมกันระหว่างหน้าไทยและหน้าอังกฤษ) ─── */
/* แยกจาก web-home-reference.html (2026-09-28): hero โทรศัพท์, แนวคิด, หนึ่งวัน, bento, สำหรับใคร, ความไว้ใจ, CTA
   ต้องโหลดคู่กับ site.css เสมอ (ใช้ token/ตัวแปรร่วมจากที่นั่น) */

 /* ─── บท 1: hero, spot=top ─────────────────────────────────────
    รูปแบบ Aerium: ข้อความจัดกลางด้านบน ใต้ข้อความเป็นกรอบโทรศัพท์หนึ่งเครื่องกลางจอ ส่วนล่างถูกขอบล่างของบทตัดไว้
    หน้าจอในเครื่องเว้นว่างรอ Mobile App Design (ช่อง .app-screen แทนที่ด้วย img/picture 9:19.5 ได้ทันที) */
 /* หนึ่งจอ: ระยะและขนาดอุปกรณ์ทั้งหมดลื่นตาม svh (แทนตัวเลขตายตัวต่อ breakpoint) ให้ hero พอดี 100svh
    ที่ความสูงจอใดก็ได้ตั้งแต่ 640px ขึ้นไป ไม่ใช่แค่ 900/720 สองจุดที่เคยตรวจ */
 .ch-hero { text-align: center; padding: calc(var(--nav-h) + var(--rhy-3)) 0 0; overflow: hidden; }
 /* max-width เป็น px ไม่ใช่ em: em ของ .hero-copy อ้างขนาดตัวอักษรของ .hero-copy เอง (16px) ไม่ใช่ของ h1 (80px)
    ค่าเดิม 42em = 672px แคบไปสำหรับ h1 บรรทัดเดียวที่ 1440px ทำให้ตัดเป็นสามบรรทัดโดยไม่ตั้งใจ */
 .hero-copy { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
 .hero-copy .eyebrow { margin-bottom: var(--rhy-4); }
 .hero-copy h1 { margin-bottom: var(--rhy-5); }
 .hero-copy .lede { max-width: 34em; margin: 0 auto var(--rhy-6); }
 /* เครื่องอยู่ใน flow ต่อจากปุ่ม ระยะจากปุ่มมาจาก margin-top เดียว ส่วนที่ยาวเลยขอบล่างบทถูก overflow:hidden ของบทตัด */
 /* กล่องแคบเท่าตัวเครื่อง เพื่อให้ calc(100% - 24px) ของแผงลอยอ้างอิงขอบเครื่องจริง */
 .hero-device {
   position: relative; width: fit-content; margin: var(--cs-space-8) auto 0; z-index: 0;
   display: flex; align-items: flex-start; justify-content: center;
 }
 /* กรอบตัดเฉพาะตัวเครื่อง: ความสูง fallback (ก่อน JS คำนวณจริง) กว้างเท่าของเดิม (ไม่ใหญ่ขึ้น)
    ความสูงจริงถูก JS (sizeHeroDevice ใน measure()) ตั้งทับเป็น inline style ให้พอดีจากขอบบนเครื่องถึงขอบล่างบทเป๊ะทุกความสูงจอ
    เพื่อให้ mask จางหายพอดีขอบล่างบท ไม่ใช่ถูกตัดขอบแข็งเหมือนตอนที่ความสูงคงที่ตายตัวไม่สัมพันธ์กับพื้นที่ที่เหลือจริง */
 .device-crop {
   position: relative; z-index: 1; width: min(260px, 54vw); height: clamp(240px, 58svh, 460px);
   overflow: hidden; border-radius: var(--cs-radius-xl) var(--cs-radius-xl) 0 0;
   box-shadow: var(--cs-elevation-3);
   /* โทรศัพท์จางหายด้านล่างแทนถูกตัดขอบทันที: mask ที่กรอบตัดเอง (ไม่ใช่ .device) เพราะกรอบตัดคือกรอบที่มองเห็นจริง
      ทึบถึง 65% ของกรอบ (เกินการ์ดชาร์จในภาพ ซึ่งจบราว 0.57 ของเครื่อง เมื่อกรอบสูง 0.9 ของเครื่อง) แล้วจางจนหายพอดีขอบล่าง (100% = ขอบล่างจอ) แผงกระจกสองแผงอยู่นอกกรอบนี้จึงไม่ถูก mask */
   -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
           mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
 }
 .device {
   position: relative; width: 100%; aspect-ratio: 9 / 19.5;
   border-radius: var(--cs-radius-xl) var(--cs-radius-xl) 0 0;
   background: var(--cs-surface-elevated);
   /* ขอบตัวเครื่องบางๆ ให้อ่านออกว่าเป็นโทรศัพท์ ระหว่างที่หน้าจอยังว่างรอ Mobile App Design (พื้นเข้มบนพื้นเข้มจึงกลืนหาย) */
   box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18);
 }
 .app-screen { position: absolute; inset: 6px 6px 0; border-radius: calc(var(--cs-radius-xl) - 4px) calc(var(--cs-radius-xl) - 4px) 0 0; background: var(--cs-surface-default); }
 /* แผงกระจกลอย: width:max-content กันตัดกลางคำ, เหลื่อมเข้าขอบเครื่องได้ไม่เกิน 24px (ไม่ใช่ตำแหน่ง absolute เดา px แบบเดิม) */
 .device-panel {
   position: relative; z-index: 2; width: max-content; max-width: 300px;
   box-shadow: var(--cs-shadow-glass);
 }
 /* แผงลอยวางด้วยพิกัดจากขอบบนของเครื่อง ไม่ใช่ปลายล่างของกล่อง: กล่อง .hero-device ยาวเลยขอบล่างจอ
    align-self: flex-end เดิมจึงส่งแผงขวาไปอยู่นอกจอ */
 .hero-device .device-panel-left {
   position: absolute; right: calc(100% - 24px); top: min(clamp(40px, 7svh, 72px), calc(100% - 68px)); margin: 0;
   --dpy: clamp(0px, 0.9svh, 12px); --dpx: 0px; translate: var(--dpx) var(--dpy);
 }
 .hero-device .device-panel-right {
   position: absolute; left: calc(100% - 24px); top: min(clamp(104px, 17svh, 160px), calc(100% - 68px)); margin: 0;
   --dpy: clamp(-12px, -0.9svh, 0px); --dpx: 0px; translate: var(--dpx) var(--dpy);
 }
 /* ท่าเข้า hero: โทรศัพท์เลื่อนขึ้นจากขอบล่าง 28px, แผงกระจกสองแผงลอยเข้าจากข้างของมันเอง (ซ้ายจากซ้าย ขวาจากขวา) 16px
    หลังโทรศัพท์เข้าแล้วเล็กน้อย (delay สูงกว่า) เล่นซ้ำได้ทุกครั้งที่บทเข้าจอผ่าน [data-active] เดียวกับระบบอื่น */
 html.js:not([data-motion="still"]) .hero-device {
   opacity: 0; translate: 0 28px;
   transition: opacity var(--cs-duration-slower) var(--cs-ease-decelerate), translate var(--cs-duration-slower) var(--cs-ease-decelerate);
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="1"][data-active] .hero-device { opacity: 1; translate: 0 0; }
 html.js:not([data-motion="still"]) .device-panel-left, html.js:not([data-motion="still"]) .device-panel-right {
   opacity: 0;
   transition: opacity var(--cs-duration-slower) var(--cs-ease-decelerate) 160ms, translate var(--cs-duration-slower) var(--cs-ease-decelerate) 160ms;
 }
 /* แผงขวาต้องไม่ยื่นเข้าใต้แถบจุดขวา (ซ้ายของแถบ = 100vw - 58px เว้น 16px): ความกว้างสูงสุดเท่าที่เหลือจากขอบเครื่อง (ที่ 768px ราว 204px
    ข้อความตัดบรรทัดในแผง) จอ >= 1100px เท่าเดิม 300px */
 @media (min-width: 720px) { .hero-device .device-panel-right { max-width: clamp(170px, calc(50vw - 180px), 300px); } }
 html.js:not([data-motion="still"]) .device-panel-left { --dpx: -16px; }
 html.js:not([data-motion="still"]) .device-panel-right { --dpx: 16px; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="1"][data-active] .device-panel-left,
 html.js:not([data-motion="still"]) .chapter[data-ch-index="1"][data-active] .device-panel-right { opacity: 1; --dpx: 0px; }
 @media (max-width: 719.98px) {
   .ch-hero { padding-top: calc(var(--nav-h) + var(--cs-space-8)); }
   .hero-device .device-panel { display: none; }
   .device-crop { width: min(220px, 56vw); height: clamp(260px, 46vh, 340px); }
 }

 /* ─── บท 2: แนวคิด ─── สองคอลัมน์บนจอกว้าง (ซ้ายหัวเรื่อง ขวา bullet สามข้อ) เรียงลงบนมือถือ
    ประโยคเผยทีละคำครั้งเดียวตอนเข้าจอ (~1.2s) เหมือนเดิม แสงยังอยู่หลังหัวเรื่อง (data-spot left) */
 .chapter[data-ch-index="2"] { display: grid; place-items: center; padding: calc(var(--nav-h) + var(--rhy-6)) 0 var(--rhy-6); }
 .concept-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--cs-space-12); align-items: center; }
 .pin { text-align: left; }
 .statement { font-size: clamp(22px, 2.6vw + 2svh, 48px); max-width: 21em; margin: 0; }
 /* ลดระยะห่างจาก rhy-5 เป็น rhy-3: จาก 3 ข้อเป็น 5 ข้อ ต้องยังพอดีจอทุกขนาดที่ตรวจ */
 .concept-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--rhy-3); }
 .concept-bullet { display: flex; align-items: flex-start; gap: var(--cs-space-4); }
 /* ไอคอนวงกลมกระจกสี primary 40px */
 .concept-icon {
   flex: none; width: 40px; height: 40px; border-radius: 50%;
   display: grid; place-items: center;
   background: color-mix(in srgb, var(--cs-action-primary) 16%, transparent);
   -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
   box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cs-action-primary) 30%, transparent);
   color: var(--cs-content-brand);
 }
 .concept-icon .ic { width: var(--cs-icon-md); height: var(--cs-icon-md); }
 .concept-bullet strong { display: block; font-family: var(--cs-font-thai); font-weight: var(--cs-weight-semibold); font-size: var(--cs-size-thai); color: var(--cs-content-primary); }
 .concept-bullet p { margin: var(--cs-space-1) 0 0; font-size: var(--cs-size-thai-dense); line-height: var(--cs-leading-relaxed); color: var(--cs-content-secondary); max-width: 32em; }
 /* bullet เข้าทีละข้อหลังหัวเรื่องเผยไปแล้วราวครึ่งเดียว (คำในหัวเรื่องรวมเผยจบราว 464ms จึงเริ่มที่ ~240ms = ครึ่งทาง
    ไม่ต้องรอจบคำสุดท้าย): stagger 60ms duration 400ms ต่อข้อ รวมทั้งบทจบที่ 360+400=760ms ไม่เกิน ~0.9s ตามที่สั่ง */
 html.js:not([data-motion="still"]) .concept-bullet {
   opacity: 0; translate: 0 12px;
   transition: opacity 400ms var(--cs-ease-decelerate), translate 400ms var(--cs-ease-decelerate);
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="2"][data-active] .concept-bullet:nth-child(1) { transition-delay: 240ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="2"][data-active] .concept-bullet:nth-child(2) { transition-delay: 300ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="2"][data-active] .concept-bullet:nth-child(3) { transition-delay: 360ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="2"][data-active] .concept-bullet:nth-child(4) { transition-delay: 420ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="2"][data-active] .concept-bullet:nth-child(5) { transition-delay: 480ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="2"][data-active] .concept-bullet { opacity: 1; translate: 0 0; }
 @media (max-width: 719.98px) {
   .statement { max-width: none; }
   .concept-grid { grid-template-columns: 1fr; gap: var(--cs-space-8); }
 }

 /* ─── บท 3: หนึ่งวันของคุณ, dawn ─────────────────────────────── */
 /* place-items:center กันบั๊กจอว่าง: เนื้อหาสั้นกว่า 100vh ต้องอยู่กลางจอ ไม่ใช่ชิดบนแล้วเหลือช่องว่างล้วนด้านล่าง */
 .ch-day { display: grid; place-items: center; padding: calc(var(--nav-h) + var(--rhy-5)) 0 var(--rhy-6); }
 /* spot=right: header ชิดขวา (สั่งเปลี่ยนจากกึ่งกลางเดิม) เส้นเวลาด้านล่างยังเต็มความกว้างเหมือนเดิม
    ระยะใต้หัวเรื่องลื่นตาม svh เพื่อพอดีหนึ่งจอที่ความสูงใดก็ได้ตั้งแต่ 640px */
 .ch-day .head { text-align: right; margin: 0 0 var(--rhy-3) auto; max-width: 34em; }
 .ch-day .head .lede { margin: var(--rhy-3) 0 0; max-width: 34em; }
 .ch-day .head h2 { font-size: clamp(24px, 2vw + 1.8svh, 60px); }
 /* มือถือชิดขวาแบบจอใหญ่ (เจ้าของงานกำหนด) */
 @media (max-width: 719.98px) { .ch-day .head { text-align: right; margin: 0 0 var(--cs-space-10) auto; max-width: none; } .ch-day .head .lede { margin-left: auto; } }
 .day-timeline { list-style: none; margin: 0; padding: 0; }
 .day-time { display: block; font-family: var(--cs-font-mono); font-size: var(--cs-size-mono-lg); font-weight: var(--cs-weight-regular); color: var(--cs-content-tertiary); }
 .day-time .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); margin-right: var(--cs-space-2); vertical-align: -3px; color: var(--cs-content-accent); }
 .day-scene { margin: var(--cs-space-1) 0 0; font-family: var(--cs-font-thai); font-weight: var(--cs-weight-semibold); font-size: var(--cs-size-body); color: var(--cs-content-primary); }
 /* หัวข้อแผงห้ามตัดบรรทัด: แผงขยายความกว้างตามเนื้อหาได้ (width:max-content) ไม่ใช่ยึดความกว้างคอลัมน์ 1fr เดิมที่แคบเกินจนตัดคำ
    .day-panel-wrap เป็น flex+justify-content:center (เพิ่มด้านล่างในสื่อจอกว้าง) ให้แผงยังอยู่กึ่งกลางคอลัมน์แม้กว้างกว่าคอลัมน์เอง */
 /* ห้ามแผงหด: ให้หัวข้อ nowrap อยู่บรรทัดเดียวแล้วล้นคอลัมน์แทน */
 .day-panel { align-items: flex-start; width: max-content; max-width: min(90vw, 320px); flex-shrink: 0; }
 .day-panel .msg { display: block; white-space: nowrap; }
 /* content-primary แทน secondary: บนกระจกใสมาก (ดูหมายเหตุคอนทราสต์ที่ .tile p) secondary/tertiary ไม่ผ่าน 4.5:1 */
 .day-panel .sub { display: block; margin-top: 2px; font-size: var(--cs-size-thai-dense); font-weight: var(--cs-weight-regular); color: var(--cs-content-primary); }
 .day-note { margin: var(--rhy-3) 0 0; text-align: center; font-size: var(--cs-size-thai-dense); color: var(--cs-content-secondary); }
 /* desktop: เส้นเวลาแนวนอนกลางพื้นที่ วงกลมที่จุดเวลาแต่ละจุด แผงสลับบน/ล่างของเส้น (li เป็น display:contents
    ให้ลูกกลายเป็น grid item ตรงของ .day-timeline เอง จัดคอลัมน์ด้วย --col ที่สืบทอดจาก li ลงมา) */
 @media (min-width: 720px) { .day-line-mobile, .day-carousel { display: none; } }
 @media (min-width: 720px) {
   /* minmax(0,1fr): ให้คอลัมน์แคบกว่าแผงที่ nowrap ได้ แผงล้นคอลัมน์ตัวเองแทนการดันทั้งกริดให้กว้างเกิน .wrap */
   .day-timeline {
     display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto auto;
     column-gap: var(--cs-space-4); position: relative; align-items: center;
   }
   /* .day-item ใช้ display:contents ให้ลูกกลายเป็น grid item ตรง แต่ .day-handoff (li สัญลักษณ์ส่งต่อ) ไม่ใช้:
      ตัว li เองเป็น grid item (จัดตำแหน่งด้วย grid-row/justify-self) และเป็น flex container ให้ลูกสองตัว (จุด+ป้าย) ในตัวเดียวกัน */
   .day-item { display: contents; }
   /* เส้นเวลาเป็นเส้นเดียวสี primary ต่อเนื่อง (ทั้งบทนี้เป็น Cresive แอปเดียว ไม่มีการสลับสีตามแอปอีกต่อไป): ตำแหน่งกึ่งกลางแถวจุดเวลา
      (แถว 2 ของกริด) เล่นซ้ำได้ทุกครั้งที่บทเข้าจอ สัญลักษณ์ส่งต่อ (arrow-right-left) ยังอยู่ สื่อการส่งต่อระหว่างบ้าน/ที่ทำงาน/การเดินทาง */
   .day-timeline::before {
     content: ""; grid-column: 1 / -1; grid-row: 2; align-self: center; height: 1px; width: 100%;
     background: var(--cs-action-primary);
     transform-origin: left center; transform: scaleX(1);
   }
   html.js:not([data-motion="still"]) .day-timeline::before {
     transform: scaleX(0);
     transition: transform 900ms var(--cs-ease-decelerate);
   }
   html.js:not([data-motion="still"]) .chapter[data-ch-index="3"][data-active] .day-timeline::before { transform: scaleX(1); }
   /* .day-point เป็นกรอบของวงกลมอย่างเดียว เพื่อให้กึ่งกลางวงตรงแกนเส้น ป้ายเวลาและชื่อฉากแยกเป็น .day-point-label แบบ absolute */
   .day-point { grid-column: var(--col); grid-row: 2; align-self: center; justify-self: center; position: relative; z-index: 1; }
   .day-point-label {
     position: absolute; left: 50%; translate: -50% 0;
     display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap;
   }
   /* เวลา/ชื่อช่วงอยู่ฝั่งตรงข้ามกับการ์ดเสมอ: การ์ดอยู่บนเส้น (data-pos=above, แผงอยู่ row1) > เวลาอยู่ใต้จุด, การ์ดอยู่ล่างเส้น
      (data-pos=below, แผงอยู่ row3) > เวลาอยู่เหนือจุด ระยะจากจุดเท่ากันทุกจุด (rhy-3 ทั้งสองทิศ) */
   .day-item[data-pos="above"] .day-point-label { top: 100%; margin-top: var(--rhy-3); }
   .day-item[data-pos="below"] .day-point-label { bottom: 100%; margin-bottom: var(--rhy-3); }
   /* สัญลักษณ์ส่งต่อกลางเส้น ระหว่าง 07:10>08:55 (คอลัมน์ 1-2) และ 17:40>18:30 (คอลัมน์ 3-4): justify-self:center
      บน grid-column แบบ span สองคอลัมน์เท่ากัน = จุดกึ่งกลางตรงเส้นแบ่งคอลัมน์พอดี = กึ่งกลางจริงระหว่างวงกลมสองจุด */
   .day-handoff { display: flex !important; grid-column: var(--col) / span 2; grid-row: 2; justify-self: center; z-index: 2;
     flex-direction: column; align-items: center; gap: 4px; }
   .day-handoff-dot {
     width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center;
     background: var(--cs-surface-canvas); color: var(--cs-content-primary);
     box-shadow: inset 0 0 0 1px var(--cs-border-subtle);
   }
   .day-handoff-dot .ic { width: 12px; height: 12px; }
   .day-handoff-lbl { font-size: 11px; font-weight: var(--cs-weight-medium); color: var(--cs-content-tertiary); white-space: nowrap; }
   html.js:not([data-motion="still"]) .day-handoff { opacity: 0; transition: opacity 400ms var(--cs-ease-decelerate); }
   html.js:not([data-motion="still"]) .chapter[data-ch-index="3"][data-active] .day-handoff { opacity: 1; transition-delay: 620ms; }
   /* จุดแสงวิ่งช้าๆ เป็นระยะซ้ำต่อเนื่อง (แทนวิ่งครั้งเดียวเดิม): รอบละ 10s = วิ่ง 4s (0-40% ของคาบ) แล้วพัก 6s (40-100%)
      วนเฉพาะตอนบท active จริง (คุมด้วย selector .chapter[data-ch-index="3"][data-active] ล้วนๆ ไม่ใช้ JS: พอ data-active หลุดก็หยุดวิ่งทันทีเพราะกฎไม่ตรงแล้ว)
      และเฉพาะตอนแท็บมองเห็นอยู่ (คุมด้วย html[data-tab-hidden] paused ที่ JS toggle ตาม document.hidden) */
   .day-spark {
     display: block !important; grid-row: 2; grid-column: 1 / -1; align-self: center; position: relative; height: 0;
     pointer-events: none; z-index: 3;
   }
   .day-spark::before {
     content: ""; position: absolute; top: 0; left: 0%; translate: -50% -50%;
     width: 7px; height: 7px; border-radius: 50%; background: var(--cs-content-primary);
     box-shadow: 0 0 10px 3px var(--cs-action-primary); opacity: 0;
   }
   html.js:not([data-motion="still"]) .chapter[data-ch-index="3"][data-active] .day-spark::before {
     animation: day-spark-loop 10s var(--cs-ease-standard) infinite;
   }
   @keyframes day-spark-loop {
     0% { left: 0%; opacity: 0; }
     2% { opacity: 1; }
     38% { opacity: 1; }
     40% { left: 100%; opacity: 0; }
     100% { left: 100%; opacity: 0; }
   }
   /* วงกลมจุดเวลาเรืองขึ้นเล็กน้อยแล้วจาง ณ จังหวะที่แสงวิ่งผ่านพอดี (แปลงตำแหน่งคอลัมน์ 12.5/37.5/62.5/87.5% ของช่วงวิ่ง 4s
      เป็น delay ในคาบ 10s: 0.5s/1.5s/2.5s/3.5s = สูตร (var(--col)-1)*1s + 0.5s) */
   html.js:not([data-motion="still"]) .chapter[data-ch-index="3"][data-active] .day-item .day-circle {
     animation: day-circle-glow 10s var(--cs-ease-standard) infinite;
     animation-delay: calc((var(--col) - 1) * 1s + 0.5s);
   }
   @keyframes day-circle-glow {
     0%, 100% { box-shadow: none; }
     3% { box-shadow: 0 0 10px 4px color-mix(in srgb, var(--cs-action-primary) 70%, transparent); }
     8% { box-shadow: none; }
   }
   /* แท็บถูกซ่อน: หยุดทั้งแสงวิ่งและวงเรือง (JS toggle data-tab-hidden ตาม document.hidden) */
   html[data-tab-hidden] .day-spark::before, html[data-tab-hidden] .day-item .day-circle {
     animation-play-state: paused !important;
   }
   /* วงกลมเป็น <span> ต้องตั้ง display:block และ aspect-ratio:1 เอง ไม่งั้นไม่รับขนาดและไม่กลม */
   .day-circle {
     display: block; box-sizing: border-box; width: 16px; height: 16px; aspect-ratio: 1; border-radius: 50%; flex: none;
     border: 2px solid var(--cs-action-primary); background: var(--cs-surface-canvas);
     transform: scale(0.6); transition: transform 500ms var(--cs-ease-decelerate);
   }
   html.js:not([data-motion="still"]) .chapter[data-ch-index="3"][data-active] .day-circle { transform: scale(1); transition-delay: calc(var(--col) * 180ms); }
   .day-circle--filled { background: var(--cs-action-primary); }
   .day-panel-wrap { grid-column: var(--col); position: relative; display: flex; justify-content: center; }
   .day-item[data-pos="above"] .day-panel-wrap { grid-row: 1; align-self: end; margin-bottom: var(--rhy-3); }
   .day-item[data-pos="below"] .day-panel-wrap { grid-row: 3; align-self: start; margin-top: var(--rhy-3); }
   /* ก้านเส้นบางเชื่อมแผงกับวงกลม */
   .day-panel-wrap::after {
     content: ""; position: absolute; left: 50%; width: 1px; height: var(--rhy-3); background: var(--cs-border-subtle);
   }
   .day-item[data-pos="above"] .day-panel-wrap::after { top: 100%; }
   .day-item[data-pos="below"] .day-panel-wrap::after { bottom: 100%; }
   /* แผงจางเข้ามาจากฝั่งของมันเอง (บนจากบน ล่างจากล่าง) 12px หลังวงกลมขยายแล้ว */
   html.js:not([data-motion="still"]) .day-panel-wrap { opacity: 0; transition: opacity 500ms var(--cs-ease-decelerate), translate 500ms var(--cs-ease-decelerate); }
   /* คอลัมน์สุดท้าย: แผง nowrap กว้างกว่าคอลัมน์ในช่วงจอแคบ ล้นขวาไปทับแถบจุด ชิดขวาของคอลัมน์แทนกึ่งกลาง (ก้านเส้นยังอยู่กึ่งกลางคอลัมน์ ซึ่งยังอยู่ในแผง) */
   @media (max-width: 1347.98px) { .day-item[style*="--col:4"] .day-panel-wrap { justify-content: flex-end; } }
   .day-item[data-pos="above"] .day-panel-wrap { translate: 0 -12px; }
   .day-item[data-pos="below"] .day-panel-wrap { translate: 0 12px; }
   html.js:not([data-motion="still"]) .chapter[data-ch-index="3"][data-active] .day-panel-wrap {
     opacity: 1; translate: 0 0; transition-delay: calc(var(--col) * 180ms + 160ms);
   }
   .day-item[data-scene="arrive-home"] .day-panel { box-shadow: var(--cs-elevation-2); }
 }
 /* มือถือ: เส้นแนวตั้งซ้าย วงกลมบนเส้น แผงเรียงลงทางขวา */
 /* มือถือ: บังคับลำดับ เวลา > ชื่อช่วง > แผง เสมอ ด้วย flex order (DOM อาจสลับสำหรับรายการฝั่ง "above" บนจอกว้าง) */
 @media (max-width: 719.98px) {
   /* มือถือรอบนี้: เส้นเวลาแนวนอนคงที่อยู่บน (จุดสี่จุด+เวลาใต้จุด มองเห็นครบทุกจุดตลอด ไม่เลื่อน) แยกจากแผงเนื้อหาที่กลายเป็น
      carousel ปัดทีละแผงข้างล่าง จุดบนเส้นสว่างขึ้นตามแผงที่กำลังดูอยู่ (JS ผ่าน scroll+IntersectionObserver ของ carousel) */
   .ch-day { padding-top: var(--nav-h); padding-bottom: var(--rhy-4); display: block; }
   .day-timeline { display: none; }
   .day-line-mobile {
     display: flex; justify-content: space-between; list-style: none; margin: var(--rhy-5) 0 0; padding: 0 var(--cs-space-2);
     position: relative;
   }
   .day-line-mobile::before {
     content: ""; position: absolute; left: var(--cs-space-2); right: var(--cs-space-2); top: 6px; height: 1px;
     background: var(--cs-action-primary);
   }
   .day-line-mobile li { display: flex; flex-direction: column; align-items: center; gap: var(--cs-space-1); position: relative; z-index: 1; }
   .day-line-mobile .day-circle {
     display: block; width: 12px; height: 12px; border-radius: 50%; box-sizing: border-box;
     border: 2px solid var(--cs-action-primary); background: var(--cs-surface-canvas); flex: none;
     transition: background-color var(--cs-duration-base) var(--cs-ease-standard), box-shadow var(--cs-duration-base) var(--cs-ease-standard);
   }
   .day-line-mobile li[data-in-view] .day-circle {
     background: var(--cs-action-primary); box-shadow: 0 0 8px 2px color-mix(in srgb, var(--cs-action-primary) 60%, transparent);
   }
   .day-line-mobile .day-time { font-size: 12px; }
   /* carousel แผง: ปัดซ้ายขวาทีละใบ กว้าง 85% เห็นขอบแผงถัดไป */
   .day-carousel {
     display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
     gap: var(--cs-space-3); margin: var(--rhy-4) calc(-1 * var(--cs-space-4)) 0; padding: 0 var(--cs-space-4) var(--cs-space-2);
     list-style: none; scrollbar-width: none;
   }
   .day-carousel::-webkit-scrollbar { display: none; }
   .day-carousel li { flex: 0 0 85%; scroll-snap-align: center; min-width: 0; }
   .day-carousel .day-panel { width: 100%; max-width: none; }
   .day-note { margin-top: var(--rhy-3); }
   /* สัญลักษณ์ส่งต่อ+จุดแสงวิ่ง ออกแบบไว้เฉพาะเส้นแนวนอนแบบกริด 4 คอลัมน์ของจอกว้าง ซ่อนบนมือถือ (โครงสร้างต่างกัน) */
   .day-handoff, .day-spark { display: none; }
 }

 /* ─── บท 4: Bento, wide ──────────────────────────────────────── */
 /* ระยะและขนาดหัวเรื่องลื่นตาม svh (แทนตัวเลขตายตัว) เพื่อให้ทั้งบทพอดีหนึ่งจอที่ความสูงใดก็ได้ตั้งแต่ 640px:
    บทนี้เนื้อหาแน่นที่สุดในหน้า (การ์ดนำ + 2x2 การ์ดรอง) */
 .ch-bento { padding: calc(var(--nav-h) + var(--rhy-3)) 0 var(--rhy-4); }
 .ch-bento .head { text-align: center; margin-bottom: var(--rhy-3); }
 .ch-bento .head .lede { margin-top: var(--rhy-1); max-width: 32em; }
 .ch-bento .head h2 { font-size: clamp(22px, 1.8vw + 1.2svh, 60px); }
 /* สี่การ์ดรอง (bld/drv/nrg/apt) จัดเป็นตาราง 2x2 อยู่ข้างการ์ดนำ (lead) แทนการเรียงสามแถวแบบเดิม: ลดความสูงรวมของบทลงหนึ่งแถว
    position:relative เพื่อวางแสงคู่ประจำบทไว้ใต้กลุ่มการ์ด (::before ทอง ซ้าย, ::after เขียว ขวา) ให้กระจกมีสีให้เลือนผ่านจริง */
 /* .bento-list ไม่มีกล่องของตัวเองทุกขนาดจอ: การ์ดย่อยเป็น grid item ตรงของ .bento จึงวางตาม grid-area ได้ (ถ้ามีกล่อง จะกลายเป็น item เดียวในแถวแฝง ดันความสูงทั้ง grid) */
 .bento-list { display: contents; }
 .bento { display: grid; gap: var(--rhy-1); grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-areas: "lead lead lead lead lead lead bld bld bld drv drv drv" "lead lead lead lead lead lead nrg nrg nrg apt apt apt"; position: relative; }
 .bento::before, .bento::after {
   content: ""; position: absolute; top: 5%; bottom: 5%; width: 52%; z-index: 0; pointer-events: none;
   border-radius: 50%; filter: blur(60px); opacity: 0.35;
 }
 .bento::before { left: -4%; background: radial-gradient(closest-side, var(--cs-gold-300), transparent); }
 .bento::after { right: -4%; background: radial-gradient(closest-side, var(--cs-action-primary), transparent); }
 /* กระจก (DEC-234): พื้นโปร่งมาก ให้เห็นแสงคู่และเส้นตารางทะลุ ขอบ gradient ด้วย background-clip สองชั้น (mask-composite เรนเดอร์ผิด) เบราว์เซอร์ไม่รองรับ backdrop-filter ได้พื้นทึบ */
 .tile {
   position: relative; z-index: 1; margin: 0; border: 1px solid transparent;
   background-image:
     linear-gradient(color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent), color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent)),
     linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
   background-origin: border-box; background-clip: padding-box, border-box;
   -webkit-backdrop-filter: blur(3px) saturate(160%); backdrop-filter: blur(3px) saturate(160%);
   box-shadow: var(--cs-elevation-2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
   border-radius: var(--cs-radius-lg); padding: clamp(16px, 1vw + 1.6svh, 28px);
   /* blur ต่ำ (3px) ทำให้เห็นเส้นตารางชัดขึ้น: text-shadow บางมากกันตัวอักษรอ่านยากเวลาเส้นตารางผ่านใต้คำ (ไม่ใช่การเพิ่มความทึบการ์ด) */
   text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
   /* กรอบการ์ดขนาดคงที่เสมอ: ซูมเฉพาะเนื้อหาข้างใน (.tile-inner) ไม่ใช่ทั้งใบ overflow:hidden ตัดส่วนที่ล้นตอนซูม
      แสงตามเมาส์ (::before/::after จาก .hover-light) และขอบ gradient ยังอยู่ที่ .tile เอง (ไม่ได้อยู่ใน .tile-inner) จึงไม่ถูกซูมไปด้วย ยังแสดงเต็ม */
   overflow: hidden; transition: box-shadow var(--cs-duration-slow) var(--cs-ease-standard);
 }
 .tile-inner { transition: transform 560ms var(--cs-ease-decelerate); transform-origin: center center; }
 .tile[data-link-hover] .tile-inner, .tile[data-link-focus] .tile-inner { transform: scale(1.03); will-change: transform; }
 @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
   .tile { background-image: none; background-color: var(--cs-surface-elevated); }
 }
 /* ไอคอนอยู่บรรทัดเดียวกับหัวข้อ: icon 20 + gap 10 + หัวข้อ + chevron ต่อท้าย (แทนไอคอนลอยเหนือหัวข้อแบบเดิม) */
 .tile h3 {
   font-family: var(--cs-font-thai); font-size: var(--cs-size-thai); font-weight: var(--cs-weight-semibold);
   line-height: var(--cs-leading-tight); color: var(--cs-content-primary); margin: 0 0 var(--rhy-1);
 }
 .tile h3 a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
 /* กระจกใสมาก (6-10% alpha) ทำให้ content-secondary ไม่ผ่าน 4.5:1 กรณีเลวร้ายสุด (คำนวณจริง: 2.8-3.7:1)
    จึงใช้ content-primary แทนบนพื้นกระจกทุกจุด (ไม่ใช่เพิ่มความทึบการ์ด) ผ่าน 8.5-11:1 ทุกกรณี */
 .tile p { margin: 0; color: var(--cs-content-primary); font-size: var(--cs-size-thai-dense); line-height: var(--cs-leading-relaxed); max-width: 36em; }
 .tile .ic { color: var(--cs-content-accent); }
 .tile h3 .tile-icon { width: 20px; height: 20px; flex: none; }
 /* tile ทั้งใบเป็นลิงก์ไปหน้า solution ที่ตรงกัน: ใช้เทคนิค stretched link ที่หัวเรื่อง ไม่ต้องพันทั้งการ์ดด้วย <a> */
 .tile h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
 .tile h3 a:focus-visible { outline: none; }
 .tile[data-link-hover] { box-shadow: var(--cs-elevation-3); }
 .tile[data-link-focus] { box-shadow: var(--cs-elevation-2), var(--cs-focus-ring); }
 .tile-lead[data-link-hover] { box-shadow: var(--cs-elevation-2), 0 0 0 1px var(--cs-border-subtle); }
 .tile-lead[data-link-focus] { box-shadow: var(--cs-elevation-3), var(--cs-focus-ring); }
 .t-bld { grid-area: bld; } .t-drv { grid-area: drv; } .t-nrg { grid-area: nrg; } .t-apt { grid-area: apt; }
 /* ท่าเข้าบท 4: การ์ดนำเข้าก่อน แล้วการ์ดย่อยเข้าตามลำดับการอ่าน (bld > drv > nrg > apt) จาง+เลื่อนขึ้น 12px
    stagger ไม่เกิน 80ms ต่อใบ, มินิ UI ในแต่ละใบเล่นหลังการ์ดของมันเข้ามาแล้วเล็กน้อย */
 html.js:not([data-motion="still"]) .tile {
   opacity: 0; translate: 0 12px;
   transition: opacity var(--cs-duration-slower) var(--cs-ease-decelerate), translate var(--cs-duration-slower) var(--cs-ease-decelerate);
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .tile-lead { transition-delay: 0ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .t-bld { transition-delay: 70ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .t-drv { transition-delay: 130ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .t-nrg { transition-delay: 190ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .t-apt { transition-delay: 250ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .tile { opacity: 1; translate: 0 0; }
 html.js:not([data-motion="still"]) .mini-status, html.js:not([data-motion="still"]) .mini-progress, html.js:not([data-motion="still"]) .mini-compare {
   opacity: 0; transition: opacity var(--cs-duration-slower) var(--cs-ease-decelerate); transition-delay: 320ms;
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .mini-status,
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .mini-progress,
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .mini-compare { opacity: 1; }
 html.js:not([data-motion="still"]) .mini-progress .bar i {
   width: 0; transition: width 700ms var(--cs-ease-decelerate); transition-delay: 380ms;
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .mini-progress .bar i { width: 80%; }
 html.js:not([data-motion="still"]) .mini-compare .compare-track i {
   width: 0; transition: width 700ms var(--cs-ease-decelerate); transition-delay: 380ms;
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .mini-compare .compare-track i { width: var(--w); }

 /* ช่อง WizeHome (DEC-212): component เดิม สลับธีมเฉพาะช่องด้วย data-brand */
 .tile-lead {
   grid-area: lead; border-radius: var(--cs-radius-xl);
   padding: var(--rhy-6) var(--rhy-6) var(--rhy-4);
   display: flex; flex-direction: column; box-shadow: var(--cs-elevation-3);
 }
 /* .tile-inner ต้องขยายเต็มความสูงของ .tile-lead (ที่ถูกยืดจาก grid area) ด้วย flex:1 แล้วเป็น flex column เองต่อ
    ให้ trick margin-top:auto ของ .wh-status (ดันลงล่างสุด) ยังทำงานเหมือนก่อนห่อ wrapper */
 .tile-lead .tile-inner { flex: 1; display: flex; flex-direction: column; min-height: 0; }
 .tile-lead .wh-lockup svg { display: block; height: 30px; width: auto; }
 .tile-lead .display { font-size: clamp(22px, 1.6vw + 1.4svh, 36px); margin: var(--rhy-6) 0 var(--rhy-3); }
 .tile-lead .tile-inner > p { font-size: var(--cs-size-thai); }
 /* ธีม WizeHome (Teal + Indigo ตาม token override ใน [data-brand="wizehome"]): แสงเรืองในตัวการ์ด
    ทีลมุมบนซ้าย อินดิโกมุมล่างขวา จางๆ ซ้อนบนกระจกใสชั้นเดียวกับ .tile (แทนที่ background-image ทั้งชุด) */
 .tile-lead[data-brand="wizehome"] {
   background-image:
     radial-gradient(ellipse 70% 60% at 15% 10%, color-mix(in srgb, var(--cs-teal-500) 26%, transparent), transparent 70%),
     radial-gradient(ellipse 70% 60% at 90% 95%, color-mix(in srgb, var(--cs-indigo-500) 22%, transparent), transparent 70%),
     linear-gradient(color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent), color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent)),
     linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
   background-origin: border-box;
   background-clip: padding-box, padding-box, padding-box, border-box;
 }
 /* แผงสถานะบ้านจำลอง: ชิปสามอัน (ไฟ/พลังงาน/ประตู) + บรรทัดสถานะท้ายสุด + ลิงก์ไป WizeHome */
 .wh-status { margin-top: auto; }
 .wh-chips { display: flex; flex-wrap: wrap; gap: var(--cs-space-2); }
 .wh-chip {
   display: inline-flex; align-items: center; gap: var(--cs-space-2); min-height: 36px; padding: 0 var(--cs-space-3);
   border-radius: var(--cs-radius-full); background: color-mix(in srgb, var(--cs-teal-500) 14%, transparent);
   -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
   font-size: var(--cs-size-thai-dense); font-weight: var(--cs-weight-medium); color: var(--cs-content-primary);
 }
 .wh-chip .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); color: var(--cs-content-brand); }
 .wh-status-line { margin: var(--cs-space-3) 0 0; font-size: var(--cs-size-thai); font-weight: var(--cs-weight-semibold); color: var(--cs-content-primary); }
 .wh-link {
   display: inline-flex; align-items: center; margin-top: var(--cs-space-4);
   font-size: var(--cs-size-thai-dense); font-weight: var(--cs-weight-medium); color: var(--cs-content-brand);
   text-decoration: none;
 }
 .wh-link:hover { text-decoration: underline; text-underline-offset: 4px; }
 /* จัดเนื้อหาให้เต็มการ์ด (เจ้าของงานสั่ง 2026-09-29: "บางอย่างเบียดกันเกิน บางอย่างห่างกันเกิน")
    เดิมที่ว่างทั้งหมดไปกองอยู่ระหว่างคำอธิบายกับชิป ส่วนชิป สถานะ และลิงก์อัดกันอยู่ท้ายการ์ด
    ตอนนี้แบ่งที่ว่างเป็นสามส่วนเท่ากันด้วย margin auto: ใต้โลโก้, ก่อนกลุ่มสถานะ, ก่อนลิงก์
    กลุ่มสถานะอ่านจากบนลงล่าง: ประโยคสถานะก่อน แล้วชิปตามมา แยกจากคำอธิบายด้วยเส้นบาง */
 @media (min-width: 720px) {
  .tile-lead[data-brand="wizehome"] .display { margin-top: auto; padding-top: var(--rhy-5); }
  .tile-lead[data-brand="wizehome"] .wh-status {
    margin-top: auto; display: flex; flex-direction: column-reverse; gap: var(--cs-space-4);
    padding-top: var(--cs-space-5); border-top: var(--cs-border-hairline) solid var(--cs-border-subtle);
  }
  .tile-lead[data-brand="wizehome"] .wh-status-line { margin: 0; }
  .tile-lead[data-brand="wizehome"] .wh-link { margin-top: auto; padding-top: var(--cs-space-5); min-height: 40px; align-self: flex-start; }
 }
 /* มือถือ: คำอธิบายกับชิปไม่ชิดกัน, จอเตี้ย (360x640) หัวการ์ดกระชับลงเพื่อไม่ให้บทล้นแถบจุดบท */
 @media (max-width: 719.98px) {
  .tile-lead[data-brand="wizehome"] .wh-status { margin-top: var(--cs-space-4); }
 }
 @media (max-width: 719.98px) and (max-height: 700px) {
  .tile-lead[data-brand="wizehome"] .display { margin-top: var(--cs-space-3); }
  .tile-lead[data-brand="wizehome"] .wh-link { margin-top: var(--cs-space-2); }
  .chapter[data-ch-index="4"] .bento { margin-top: var(--cs-space-2); }
  .chapter[data-ch-index="4"] .bento-dots { margin-top: var(--cs-space-1); }
  .chapter[data-ch-index="4"] .head .lede { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
 }
 /* ชิปติดทีละอัน แล้วบรรทัดสถานะขึ้นท้ายสุด */
 html.js:not([data-motion="still"]) .wh-chip {
   opacity: 0; translate: 0 8px;
   transition: opacity var(--cs-duration-slow) var(--cs-ease-decelerate), translate var(--cs-duration-slow) var(--cs-ease-decelerate);
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .wh-chip { opacity: 1; translate: 0 0; transition-delay: var(--chip-delay, 0ms); }
 html.js:not([data-motion="still"]) .wh-status-line { opacity: 0; transition: opacity var(--cs-duration-slow) var(--cs-ease-decelerate); transition-delay: 420ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="4"][data-active] .wh-status-line { opacity: 1; }
 /* UI จริงเป็นแผ่นกระจกควัน (หัวข้อ 0): ใช้ในบทที่อธิบายว่าระบบทำอะไร ไม่ใช่ใน hero */
 /* กระจกใสมาก (recipe เดียวกับ .tile): alpha 8%, blur8 saturate160, ขอบ gradient ขาว 18%>4% ให้เห็นตารางพื้นหลังลางๆ ทะลุจริง */
 .ui-panel {
   margin-top: auto; align-self: flex-start; position: relative; border: 1px solid transparent;
   display: flex; align-items: center; gap: var(--rhy-4);
   padding: var(--rhy-3) var(--rhy-5) var(--rhy-3) var(--rhy-3);
   border-radius: var(--cs-radius-lg);
   background-image:
     linear-gradient(color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent), color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent)),
     linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
   background-origin: border-box; background-clip: padding-box, border-box;
   -webkit-backdrop-filter: blur(3px) saturate(160%); backdrop-filter: blur(3px) saturate(160%);
   box-shadow: var(--cs-shadow-glass), inset 0 1px 0 rgba(255, 255, 255, 0.08);
   text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
 }
 @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
   .ui-panel { background-image: none; background-color: var(--cs-surface-elevated); }
 }
 .tile-lead > p + .ui-panel { margin-top: var(--cs-space-10); }
 .ui-panel .badge {
   width: clamp(28px, 2.4svh + 12px, 40px); height: clamp(28px, 2.4svh + 12px, 40px); border-radius: var(--cs-radius-md); flex: none;
   display: grid; place-items: center;
   background: var(--cs-status-success-surface); color: var(--cs-content-brand);
 }
 .ui-panel .badge .ic { color: inherit; width: var(--cs-icon-sm); height: var(--cs-icon-sm); }
 .ui-panel .app { display: block; font-family: var(--cs-font-ui); font-size: var(--cs-size-eyebrow); letter-spacing: var(--cs-tracking-eyebrow); text-transform: uppercase; color: var(--cs-content-primary); }
 .ui-panel .msg { display: block; font-size: var(--cs-size-thai); font-weight: var(--cs-weight-semibold); color: var(--cs-content-primary); }

 @media (max-width: 1023.98px) {
   .bento {
     grid-template-columns: repeat(2, minmax(0, 1fr));
     grid-template-areas: "lead lead" "bld drv" "nrg apt";
   }
 }
 /* แท็บเล็ตแนวตั้ง (720-899px, เช่น 768x1024): การ์ดนำเล็กลงเล็กน้อยให้ทั้งบทพอดีหนึ่งจอหลังเว้นแถบจุดขวา */
 @media (min-width: 720px) and (max-width: 899.98px) { .ch-bento .tile-lead { padding: var(--cs-space-5); } }
 /* จอ 900-1347px: แถบจุดขวาทำให้ .wrap เหลือแคบลง (เว้นซ้ายขวา 74px) การ์ดย่อย 3 คอลัมน์จาก 12 ช่อง (~210px) ตัดบรรทัดจนบทสูงเกินจอ
    เปลี่ยนเป็น 3 แทร็ก (นำ + สองคอลัมน์ย่อย) การ์ดย่อยกว้างขึ้นแทนการ์ดนำ (ต้องมาหลังกฎ 2 คอลัมน์ด้านบน ที่ใช้กับ 720-1023px)
    ช่วงนี้รวมหน้าต่างเตี้ย 1000x550 ที่บทต้องพอดีหนึ่งจอ (เจ้าของงาน 2026-09-30) */
 @media (min-width: 900px) and (max-width: 1347.98px) {
   .ch-bento .bento { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr) minmax(0, 0.95fr); grid-template-areas: "lead bld drv" "lead nrg apt"; }
 }
 /* มือถือ: การ์ดห้าใบ (WizeHome นำ + อีกสี่) เป็น carousel แนวนอนปัดทีละใบ แทนรูปแบบรายการเดิม (ข้อ B4 รอบนี้)
    .bento-list ใช้ display:contents เหมือนจอกว้างให้การ์ดย่อยเป็น flex item ตรงของ .bento เอง (สไลด์เดียวกับ tile-lead) */
 @media (max-width: 719.98px) {
   .ch-bento { padding-top: var(--nav-h); }
   .ch-bento .head { margin-bottom: var(--cs-space-6); text-align: center; }
   .bento {
     display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
     gap: var(--cs-space-3); margin: 0 calc(-1 * var(--cs-space-4)); padding: 0 var(--cs-space-4) var(--cs-space-2);
     scrollbar-width: none;
   }
   .bento::-webkit-scrollbar { display: none; }
   .bento-list { display: contents; }
   .bento article.tile { flex: 0 0 85%; scroll-snap-align: center; min-width: 0; }
   .tile-lead { padding: var(--cs-space-5); border-radius: var(--cs-radius-xl); }
   .tile-lead .display { margin-top: var(--cs-space-6); font-size: clamp(20px, 5vw, 28px); }
   .ui-panel { align-self: stretch; }
   /* จุดบอกตำแหน่งการ์ดใต้ carousel: สูตรแคปซูลกระจกและจุดยืดเดียวกับ .chapters-nav แนวนอน (ข้อ B4) */
   .bento-dots {
     display: flex; align-items: center; justify-content: center; gap: 2px; margin: var(--cs-space-4) auto 0;
     width: fit-content; padding: var(--cs-space-2); border-radius: var(--cs-radius-full);
     background: color-mix(in srgb, white 4.5%, transparent);
     -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
     border: 1px solid rgba(255, 255, 255, 0.1);
   }
   /* จุดบอกตำแหน่งการ์ด: รูปแบบเดียวกับตัวบอกบท (วงกลม, ตัวที่อยู่ในจอเป็นวงแหวนซ้อนวงกลม) */
   .bento-dot {
     width: 6px; height: 6px; border-radius: 50%; flex: none; box-sizing: border-box;
     background: radial-gradient(circle, var(--cs-action-primary) 0 2.5px, transparent 3px);
     background-color: var(--cs-action-primary); border: 0 solid var(--cs-action-primary); opacity: 0.4;
     transition: width var(--cs-duration-base) var(--cs-ease-standard), height var(--cs-duration-base) var(--cs-ease-standard), opacity var(--cs-duration-base) var(--cs-ease-standard);
   }
   .bento-dot[data-active="true"] { width: 14px; height: 14px; border-width: 1.5px; background-color: transparent; opacity: 1; }
 }

 /* mini UI ต่อ tile (state-system-reference.html: radius-xl ไม่ใช่ pill สำหรับข้อความหลายบรรทัด)
    ระยะและความสูงลดหนึ่งขั้น (space-4>space-3 ที่ margin-top, แท่งเทียบสูง 32>24px) เพื่อให้บทที่ 4 พอดีหนึ่งจอ */
 /* จุดบอกตำแหน่งใช้เฉพาะมือถือ: จำกัดการซ่อนไว้ที่จอ ≥720px ไม่อย่างนั้นกฎนี้ที่อยู่ท้ายกว่าจะทับ display:flex ของมือถือ */
 @media (min-width: 720px) { .bento-dots { display: none; } }
 .mini-status {
   margin-top: var(--rhy-1); display: flex; align-items: center; gap: var(--cs-space-3);
   padding: var(--rhy-1) var(--cs-space-4); border-radius: var(--cs-radius-xl);
   background: var(--cs-status-success-surface); color: var(--cs-status-success-content);
 }
 .mini-status .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); flex: none; color: inherit; }
 .mini-status span { font-size: var(--cs-size-thai-dense); font-weight: var(--cs-weight-medium); line-height: var(--cs-leading-default); }
 .mini-progress { margin-top: var(--rhy-1); padding: var(--rhy-1) var(--cs-space-4); border-radius: var(--cs-radius-xl); background: var(--cs-surface-default); }
 .mini-progress .row { display: flex; align-items: center; gap: var(--cs-space-2); }
 .mini-progress .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); flex: none; color: var(--cs-content-accent); }
 .mini-progress span { font-size: var(--cs-size-thai-dense); font-weight: var(--cs-weight-medium); color: var(--cs-content-primary); }
 .mini-progress .bar { margin-top: var(--rhy-1); height: 4px; border-radius: var(--cs-radius-full); background: var(--cs-border-subtle); overflow: hidden; }
 .mini-progress .bar i { display: block; height: 100%; width: 80%; border-radius: var(--cs-radius-full); background: var(--cs-content-accent); }
 .mini-compare { margin-top: var(--rhy-1); padding: var(--rhy-1) var(--cs-space-4); border-radius: var(--cs-radius-xl); background: var(--cs-surface-default); }
 /* เทียบสองเดือนเป็นแถบแนวนอนมีป้ายกำกับ อ่านได้ทันทีว่าเดือนนี้สั้นกว่า (ใช้ไฟน้อยลง) ไม่ต้องตีความแท่งไม่มีชื่อ ไม่แสดงตัวเลขเพราะเป็น UI ตัวอย่าง */
 .mini-compare .compare { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: var(--cs-space-3); row-gap: 6px; margin-bottom: var(--rhy-1); }
 .mini-compare .compare-lbl { font-size: var(--cs-size-body-dense); color: var(--cs-content-primary); white-space: nowrap; }
 .mini-compare .compare-track { display: block; height: 6px; border-radius: var(--cs-radius-full); background: color-mix(in srgb, white 6%, transparent); overflow: hidden; }
 .mini-compare .compare-track i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--cs-border-default); }
 .mini-compare .compare-track i.now { background: var(--cs-action-primary); }
 .mini-compare .row { display: flex; align-items: center; gap: var(--cs-space-2); }
 .mini-compare .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); flex: none; color: var(--cs-content-accent); }
 .mini-compare span { font-size: var(--cs-size-thai-dense); font-weight: var(--cs-weight-medium); color: var(--cs-content-primary); }

 /* ─── บท 5: สำหรับใคร, focus ────────────────────────────────── */
 /* spot=left: header + รายการ อยู่คอลัมน์ซ้าย วงแหวนอยู่ขวา (สั่งเปลี่ยนจากกึ่งกลาง-บนเดิม)
    ระยะ/ขนาดหัวเรื่อง/วงแหวนลื่นตาม svh ให้พอดีหนึ่งจอที่ความสูงใดก็ได้ตั้งแต่ 640px */
 .ch-who { display: grid; place-items: center; padding: calc(var(--nav-h) + var(--rhy-6)) 0 var(--rhy-6); }
 .ch-who .head { text-align: left; margin-bottom: var(--rhy-5); }
 .ch-who .head .lede { margin: var(--rhy-3) 0 0; max-width: 32em; }
 .ch-who .head h2 { font-size: clamp(26px, 2.4vw + 1.8svh, 60px); }
 /* วงแหวนใหญ่ขึ้น (เจ้าของงาน: เล็กดูยาก) ให้คอลัมน์ขวากว้างเท่าซ้าย และวงกว้างได้เต็มคอลัมน์ จำกัดด้วยความสูงจอให้บทยังพอดีจอ */
 .who-body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--cs-space-10); align-items: center; }
 /* จอ 720-1347px: คอลัมน์รายการรับพื้นที่เพิ่มจากวงแหวน (วงแหวนจำกัดความสูงด้วย svh อยู่แล้ว) รายการสี่ข้อจึงไม่ตัดบรรทัดจนบทสูงเกินจอเมื่อ .wrap แคบลงเพราะแถบจุด */
 @media (min-width: 720px) and (max-width: 1347.98px) {
   .who-body { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--cs-space-6); }
 }
 /* จอเตี้ย (< 680px สูง): รายการ "สำหรับใคร" กระชับเพื่อให้ทั้งบทพอดีหนึ่งจอ (เนื้อหาครบ ย่อแค่ระยะและขนาด) */
 @media (min-width: 720px) and (max-height: 679.98px) {
   body:not(.page-wh-home) .who-list a { padding-top: clamp(6px, 1.4svh, 12px); padding-bottom: clamp(6px, 1.4svh, 12px); }
   body:not(.page-wh-home) .who-list span { margin-top: 2px; font-size: clamp(12px, 2.3svh, 14px); line-height: 1.3; }
   body:not(.page-wh-home) .ch-who .head { margin-bottom: var(--rhy-3); }
   body:not(.page-wh-home) .ch-who .head h2 { font-size: clamp(20px, 4.4svh, 40px); }
   body:not(.page-wh-home) .ch-bento .head h2 { font-size: clamp(20px, 4.4svh, 40px); }
 }
 .who-diagram { position: relative; width: 100%; max-width: min(100%, 64svh, 580px); aspect-ratio: 1 / 1; margin: 0 auto; }
 /* วงแหวนเป็นวงกลมกระจกสี primary ซ้อนกันจริง (div ทึบซ้อน ไม่ใช่แค่เส้น stroke): นอกสุดจางสุด (5%) ในสุดเข้มสุด (12%)
    blur + ขอบ inset primary alpha ให้ดูเป็นก้อนกระจกเดียวกัน ลำดับ DOM ใหญ่>เล็ก ให้วงเล็กซ้อนทับบนวงใหญ่ */
 .who-ring {
   /* เลื่อนเข้ากลางด้วย transform อย่างเดียว: ถ้าใส่ property translate ด้วยจะเลื่อนซ้อนสองครั้ง วงจึงไม่ซ้อนกลางเดียวกัน */
   position: absolute; left: 50%; top: 50%; border-radius: 50%;
   -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
   transform: translate(-50%, -50%) scale(0.9); opacity: 0;
   transition: transform 700ms var(--cs-ease-decelerate), opacity 700ms var(--cs-ease-decelerate);
 }
 html:not(.js) .who-ring, html[data-motion="still"] .who-ring, html.js:not([data-motion="still"]) .chapter[data-ch-index="5"][data-active] .who-ring {
   transform: translate(-50%, -50%) scale(1); opacity: 1;
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="5"][data-active] .who-ring { transition-delay: calc(var(--ri, 0) * 200ms + 80ms); }
 .who-ring-3 { width: 95%; height: 95%; background: color-mix(in srgb, var(--cs-action-primary) 5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cs-action-primary) 25%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
 .who-ring-2 { width: 70%; height: 70%; background: color-mix(in srgb, var(--cs-action-primary) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cs-action-primary) 30%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
 .who-ring-1 { width: 40%; height: 40%; background: color-mix(in srgb, var(--cs-action-primary) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cs-action-primary) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
 /* จุดกลางทึบสี primary มี glow เล็ก จางขึ้นก่อนวงแหวน (delay 0, วงแหวนเริ่มที่ 80ms ขึ้นไปตามสูตรข้างบน) */
 .who-dot-center {
   position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 10px; height: 10px; border-radius: 50%;
   background: var(--cs-action-primary); box-shadow: 0 0 12px 2px color-mix(in srgb, var(--cs-action-primary) 55%, transparent);
   opacity: 0; transition: opacity 420ms var(--cs-ease-decelerate);
 }
 html:not(.js) .who-dot-center, html[data-motion="still"] .who-dot-center, html.js:not([data-motion="still"]) .chapter[data-ch-index="5"][data-active] .who-dot-center { opacity: 1; }
 /* ป้ายโค้งของแต่ละวงอยู่ชิดขอบวงถัดเข้าไป (รัศมี baseline = รัศมีวงในกว่า + 6 หน่วย) ไม่ใช่กลางแถบของตัวเอง: "อาคาร" ชิดขอบวงบ้าน (80+6=86)
    "การเดินทาง" ชิดขอบวงอาคาร (140+6=146) ตัวอักษรวางเหนือเส้น baseline จึงไม่ทับเส้นขอบวงที่มันอิงอยู่ SVG textPath ทับซ้อนบนวง div ชั้นเดียวกัน (viewBox 400x400 สัดส่วนเดียวกับ % ของวง) */
 .who-labels { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
 .who-labels text { font-family: var(--cs-font-thai); font-weight: var(--cs-weight-medium); font-size: 14px; letter-spacing: 0.5px; fill: var(--cs-content-primary); }
 .who-labels textPath, .who-ring { opacity: inherit; }
 html.js:not([data-motion="still"]) .who-labels text { opacity: 0; transition: opacity 500ms var(--cs-ease-decelerate); transition-delay: 680ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="5"][data-active] .who-labels text { opacity: 1; }
 /* แต่ละรายการเป็นกรอบการ์ดกระจก (glassmorphism, DEC-233): แยกด้วยเงาตาม DEC-210 ไม่มีเส้นขอบ
    พื้นโปร่ง 48% ของ surface-elevated + blur/saturate ให้เห็นแสงพื้นหลังทะลุได้ fallback พื้นทึบถ้าไม่รองรับ backdrop-filter */
 .who-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--rhy-3); }
 /* กระจกใสมาก (recipe เดียวกับ .tile): chevron เป็นคอลัมน์ขวา align-self:center แทนอยู่ท้ายข้อความหัวข้อ */
 .who-list a {
   display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--cs-space-4);
   min-height: 40px; text-decoration: none; border: 1px solid transparent;
   padding: var(--rhy-5) var(--rhy-6);
   border-radius: var(--cs-radius-lg);
   background-image:
     linear-gradient(color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent), color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent)),
     linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
   background-origin: border-box; background-clip: padding-box, border-box;
   -webkit-backdrop-filter: blur(3px) saturate(160%); backdrop-filter: blur(3px) saturate(160%);
   box-shadow: var(--cs-elevation-2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
   text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
 }
 @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
   .who-list a { background-image: none; background-color: var(--cs-surface-elevated); }
 }
 .who-list a:focus-visible { box-shadow: var(--cs-elevation-2), var(--cs-focus-ring); outline: none; }
 .who-list a .link-arrow { margin: 0; }
 /* เส้นใต้แบบยืด (ไม่ใช่ text-decoration ตายตัว): scaleX(0)>1 จากซ้าย 380ms ตอน hover/focus-visible ของทั้งการ์ด ย้อนกลับตอนออกด้วยความเร็วเดียวกัน
    reduced-motion: *,*::before,*::after{transition-duration:0ms!important} (กฎกลางท้ายไฟล์) ทำให้ขึ้น/ลงทันทีอยู่แล้วโดยไม่ต้องเพิ่มกฎเฉพาะ */
 .who-list strong { position: relative; display: inline-block; font-family: var(--cs-font-thai); font-weight: var(--cs-weight-semibold); font-size: var(--cs-size-thai); color: var(--cs-content-primary); }
 .who-list strong::after {
   content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
   background: var(--cs-action-primary); transform-origin: left center; transform: scaleX(0);
   transition: transform 380ms var(--cs-ease-decelerate);
 }
 .who-list a:hover strong::after, .who-list a:focus-visible strong::after { transform: scaleX(1); }
 .who-list span { display: block; margin-top: var(--cs-space-2); font-size: var(--cs-size-thai-dense); color: var(--cs-content-primary); }
 /* การ์ดเข้าทีละใบจากซ้าย 12px หลังจุด+วงแหวนเริ่มไปแล้ว */
 html.js:not([data-motion="still"]) .who-list a {
   opacity: 0; translate: -12px 0;
   transition: opacity var(--cs-duration-slower) var(--cs-ease-decelerate), translate var(--cs-duration-slower) var(--cs-ease-decelerate);
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="5"][data-active] .who-list li:nth-child(1) a { transition-delay: 120ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="5"][data-active] .who-list li:nth-child(2) a { transition-delay: 190ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="5"][data-active] .who-list li:nth-child(3) a { transition-delay: 260ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="5"][data-active] .who-list li:nth-child(4) a { transition-delay: 330ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="5"][data-active] .who-list a { opacity: 1; translate: 0 0; }
 @media (max-width: 719.98px) {
   .who-body { grid-template-columns: 1fr; gap: var(--rhy-4); }
   /* วงแหวนเต็มความกว้างจอ วางครึ่งบนโผล่จากขอบล่างของบท ส่วนล่างจางหายเข้าแถบจุด
      อยู่หลังการ์ด (การ์ดเป็นกระจก เห็นวงลางๆ ทะลุ) ไม่รับการแตะ ป้ายโค้งอยู่ครึ่งบนของวงจึงยังอ่านได้ */
   /* เนื้อหาชิดบนแทนจัดกลาง: เว้นครึ่งล่างของจอให้วงแหวน ป้ายบนวงจึงไม่ถูกการ์ดทับ */
   .ch-who { position: relative; align-items: start; align-content: start; }
   /* อ้างตำแหน่งกับตัวบท (สูงเต็มจอ) ไม่ใช่กล่องเนื้อหาที่สูงแค่ตามเนื้อหา */
   .ch-who > .chapter-body { position: static; }
   .who-diagram {
     position: absolute; left: 50%; bottom: var(--mobile-dots-h); z-index: 0; pointer-events: none;
     width: min(135vw, 560px, 62svh); max-width: none; translate: -50% 50%;
     /* ทึบถึงกลางวงพอดี แล้วจางหายจนหมดที่ขอบล่างจอ (กลางวงอยู่เหนือขอบล่างจอเท่ากับ --mobile-dots-h) */
     -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent calc(50% + var(--mobile-dots-h)));
             mask-image: linear-gradient(to bottom, #000 50%, transparent calc(50% + var(--mobile-dots-h)));
   }
   .who-body > :not(.who-diagram) { position: relative; z-index: 1; }
   /* รายการกระชับ: หัวข้ออย่างเดียว (คำอธิบายเป็น .mobile-sr) chevron ยังอยู่กลางขอบขวาเหมือนจอกว้าง (เจ้าของงานกำหนด) */
   .who-list a { grid-template-columns: 1fr auto; align-items: center; padding: var(--cs-space-3) var(--cs-space-4); min-height: 40px; }
   .who-list strong { font-size: var(--cs-size-thai-dense); }
 }
 /* จอเตี้ยมาก (สูง ≤750px): วงแหวนย่อเพิ่มและช่องไฟแคบลง กันเนื้อหาชนแถบจุดด้านล่าง โดยไม่ลดขนาดตัวอักษร */
 @media (max-width: 719.98px) and (max-height: 750px) {
   .who-body { gap: var(--cs-space-3); }
   .who-list { gap: var(--cs-space-1); }
 }

 /* ─── บท 6: ความไว้ใจ, rest ─────────────────────────────────── */
 /* spot=right: header ชิดขวา (สั่งเปลี่ยนจากกึ่งกลางเดิม) แถวตัวเลขและลิงก์ด้านล่างยังกึ่งกลางเหมือนเดิม */
 .ch-trust { display: grid; place-items: center; padding: calc(var(--nav-h) + var(--rhy-8)) 0 var(--rhy-8); text-align: center; }
 .ch-trust .trust-head { text-align: right; margin-left: auto; margin-right: 0; }
 .ch-trust h2.trust-head { font-size: clamp(28px, 2.4vw + 2svh, 60px); }
 .ch-trust p.trust-head { margin-top: var(--rhy-3); max-width: 32em; }
 /* มือถือชิดขวาแบบจอใหญ่ (เจ้าของงานกำหนด) */
 @media (max-width: 719.98px) { .ch-trust .trust-head { text-align: right; margin-left: auto; margin-right: 0; } }
 /* การ์ดข้อเท็จจริงสี่ใบ (กระจกใสแบบเดียวกับบท 4/5): แถวเดียวบนจอกว้าง, 2x2 บนจอเตี้ย/แคบ */
 .trust-facts { list-style: none; margin: var(--rhy-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--cs-space-4); text-align: left; }
 /* มือถือ: การ์ดสูงไม่เท่ากัน (หัวข้อบางใบสองบรรทัด) แบบ grid 2x2 จึงเหลือช่องว่างใต้ใบที่สั้น
    ใช้ staggered grid (สองคอลัมน์แบบ columns) ให้แต่ละใบต่อจากใบบนในคอลัมน์เดียวกันพอดี ช่องไฟเท่ากันทุกทิศ */
 @media (max-width: 719.98px) {
   .trust-facts { display: block; columns: 2; column-gap: var(--cs-space-3); }
   .trust-facts > li { break-inside: avoid; margin-bottom: var(--cs-space-3); }
   .trust-facts > li .trust-fact { height: auto; }
 }
 .trust-fact {
   position: relative; border: 1px solid transparent; border-radius: var(--cs-radius-lg);
   padding: var(--rhy-5) var(--rhy-5);
   background-image:
     linear-gradient(color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent), color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent)),
     linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
   background-origin: border-box; background-clip: padding-box, border-box;
   -webkit-backdrop-filter: blur(3px) saturate(160%); backdrop-filter: blur(3px) saturate(160%);
   box-shadow: var(--cs-elevation-2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
   text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
 }
 @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
   .trust-fact { background-image: none; background-color: var(--cs-surface-elevated); }
 }
 .trust-fact-icon {
   width: 40px; height: 40px; border-radius: 50%; flex: none;
   display: grid; place-items: center; margin-bottom: var(--rhy-3);
   background: color-mix(in srgb, var(--cs-action-primary) 16%, transparent); color: var(--cs-content-brand);
 }
 .trust-fact-icon .ic { width: var(--cs-icon-md); height: var(--cs-icon-md); }
 .trust-fact strong { display: block; font-family: var(--cs-font-thai); font-weight: var(--cs-weight-semibold); font-size: var(--cs-size-thai); color: var(--cs-content-primary); }
 .trust-fact p { margin: var(--cs-space-1) 0 0; font-size: var(--cs-size-thai-dense); line-height: var(--cs-leading-relaxed); color: var(--cs-content-primary); }
 /* การ์ดเข้าทีละใบจากล่าง 12px */
 html.js:not([data-motion="still"]) .trust-fact {
   opacity: 0; translate: 0 12px;
   transition: opacity var(--cs-duration-slower) var(--cs-ease-decelerate), translate var(--cs-duration-slower) var(--cs-ease-decelerate);
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="6"][data-active] .trust-facts li:nth-child(1) .trust-fact { transition-delay: 0ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="6"][data-active] .trust-facts li:nth-child(2) .trust-fact { transition-delay: 80ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="6"][data-active] .trust-facts li:nth-child(3) .trust-fact { transition-delay: 160ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="6"][data-active] .trust-facts li:nth-child(4) .trust-fact { transition-delay: 240ms; }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="6"][data-active] .trust-fact { opacity: 1; translate: 0 0; }
 @media (max-width: 900px) {
   .trust-facts { grid-template-columns: repeat(2, 1fr); }
 }
 @media (max-width: 719.98px) {
   /* 2x2 แบบย่อ: ไอคอน+หัวข้อเท่านั้น (คำอธิบายเป็น .mobile-sr ไปแล้ว) การ์ดจึงเตี้ยลงมาก พอดี 100svh ร่วมกับหัวเรื่อง */
   .trust-facts { grid-template-columns: repeat(2, 1fr); gap: var(--cs-space-3); }
   .trust-fact { padding: var(--cs-space-4); }
   .trust-fact-icon { width: 32px; height: 32px; margin-bottom: var(--cs-space-2); }
   .trust-fact-icon .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); }
   .trust-fact strong { font-size: var(--cs-size-thai-dense); }
 }

 /* ─── บท 7: CTA, focus ──────────────────────────────────────── */
 /* ระยะเหนือและใต้เนื้อหาของบท ต่อกับบทข้างเคียงแล้วต้องไม่เกิน 40vh: จังหวะหายใจของแสง ไม่ใช่จอว่าง */
 /* spot=bottom: header อยู่กลางล่างของบท (สั่งเปลี่ยนจากกลางจอเดิม) แสงเข้าจากขอบล่างไปหยุดหลังมัน */
 /* ระยะล่างของบท 7/8 ต้องคงเหลือ ≥24px เสมอ (align-items:end / margin-top:auto ดันเนื้อหาไปชิดขอบล่าง):
    ใช้ขอบล่างสุด 24px ตรงๆ แทน --rhy-10 เพราะค่า min ของ --rhy-10 (13px ที่ 640px) ไม่พอ */
 /* เนื้อหาอยู่กลางจอทั้งแนวตั้งและแนวนอน (สั่งเปลี่ยนจากชิดล่างเดิม): data-spot ของบทนี้เปลี่ยนเป็น top ในมาร์กอัปให้ตรงกับตำแหน่งจริงที่แสงต้องตกหลังหัวเรื่องกลางจอ */
 .ch-cta { display: grid; justify-items: center; align-items: center; text-align: center; padding: var(--nav-h) 0 clamp(24px, var(--rhy-10), 64px); }
 .ch-cta .lede { max-width: 30em; margin-top: var(--rhy-4); margin-bottom: var(--rhy-6); }
 .ch-cta .contact-alt { margin-top: var(--rhy-4); font-size: var(--cs-size-thai-dense); color: var(--cs-content-secondary); }
 .ch-cta .contact-alt a { color: var(--cs-content-secondary); text-underline-offset: 4px; }
 .ch-cta .contact-alt a:hover { color: var(--cs-content-primary); }


/* ระยะ text-wrap ของการ์ด/แผงเฉพาะหน้าแรก (ย้ายมาจากชั้นเนื้อหาร่วมเดิม เพราะ selector อ้างเฉพาะคลาสของบทหน้าแรก) */
 /* ป้ายสั้นใต้ตัวเลขและคำอธิบายในการ์ด: เกลี่ยบรรทัดให้ไม่เหลือคำเดียวค้างบรรทัดล่าง ("ได้ทุก / เมื่อ") */
 .trust-label, .tile p, .who-list span, .day-panel .sub { text-wrap: balance; }

/* บทมือถือเฉพาะหน้าแรก: จัดกลางบทที่ 2/3/4/6/7 + ปรับแนวคิดชิดซ้าย (ย้ายมาจากบล็อกรวมเดิมที่ปนกับกฎ footer ทั่วไป) */
@media (max-width: 719.98px) {
   /* บทบนมือถือ (ยกเว้นภาพรวมที่มีโทรศัพท์ลงถึงขอบล่าง, สำหรับใครที่เว้นครึ่งล่างให้วงแหวน และ footer):
      จัดเนื้อหากลางพื้นที่ระหว่างแคปซูลนำทาง (ขอบล่างที่ 8 + 52 px) กับแถบจุดด้านล่าง
      padding บนล่างเท่ากับสิ่งที่ลอยทับแต่ละฝั่ง เนื้อหาจึงอยู่กึ่งกลางของพื้นที่ที่มองเห็นจริง ไม่ใช่กลางบท */
   .chapter[data-ch-index="2"], .chapter[data-ch-index="3"], .chapter[data-ch-index="4"], .chapter[data-ch-index="6"], .chapter[data-ch-index="7"] {
     display: grid; align-content: center; justify-items: stretch;
     padding-top: calc(env(safe-area-inset-top, 0px) + 52px + var(--cs-space-2)); padding-bottom: var(--mobile-dots-h);
   }
   /* แนวคิด: หัวเรื่องจัดกลางแนวนอนแบบบทอื่นบนมือถือ รายการ bullet เป็นก้อนกว้างเท่าเนื้อหาวางกลางจอ (ข้อความในก้อนยังชิดซ้ายให้อ่านง่าย) */
   /* แนวคิด: ชิดซ้ายทั้งหัวเรื่องและรายการ (เจ้าของงานกำหนด) ข้อความแต่ละข้ออยู่กึ่งกลางแนวตั้งเดียวกับไอคอน */
   .chapter[data-ch-index="2"] .pin { text-align: left; }
   .chapter[data-ch-index="2"] .concept-bullets { width: auto; margin-inline: 0; }
   .chapter[data-ch-index="2"] .concept-bullet { align-items: center; }
}

 /* ประโยคหลัก: เผยทีละคำครั้งเดียวตอนบทเข้าจอ (Intl.Segmenter แบบ word ไม่แยกทีละตัวอักษร) รวมเวลาราว 1.2s
    คำเอียงสว่างเป็นลำดับสุดท้าย ไม่ผูกกับ scroll-timeline อีกต่อไป (เดิมผูกกับช่วง pin 150vh ที่ยกเลิกไปแล้ว)
    ใช้กติกาเดียวกับทุกโหมดการเคลื่อนไหว (scroll/observe) ยกเว้น still ที่ reduced-motion บังคับ opacity:1 ไว้แล้วด้านล่าง */
 @keyframes em-on { from { color: var(--cs-content-primary); } to { color: var(--cs-content-brand); } }
 html.js:not([data-motion="still"]) .statement .w {
   transition: opacity 320ms var(--cs-ease-decelerate); transition-delay: calc(var(--i, 0) * 16ms);
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="2"]:not([data-active]) .statement .w { opacity: 0.16; }
 html.js:not([data-motion="still"]) .statement em {
   transition: color 320ms var(--cs-ease-decelerate); transition-delay: calc(var(--n, 0) * 16ms + 200ms);
 }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="2"]:not([data-active]) .statement em { color: var(--cs-content-primary); }
 html.js:not([data-motion="still"]) .chapter[data-ch-index="2"][data-active] .statement em { color: var(--cs-content-brand); }

/* ─── ลดการเคลื่อนไหว: ส่วนเฉพาะเนื้อหาหน้าแรก (คู่กับกลไกกลางใน site.css) ─── */
@media (prefers-reduced-motion: reduce) {
  .statement .w,
  .hero-device, .device-panel-left, .device-panel-right,
  .tile, .tile-inner, .mini-status, .mini-progress, .mini-compare,
  .who-dot-center, .who-list a, .who-ring, .who-labels text,
  .trust-fact,
  .concept-bullet, .day-circle, .day-panel-wrap, .day-handoff, .wh-chip, .wh-status-line {
    opacity: 1 !important; translate: none !important; transform: none !important;
  }
  .day-timeline::before { transform: none !important; }
  .mini-progress .bar i { width: 80% !important; }
  .mini-compare .compare-track i { width: var(--w) !important; }
  /* carousel มือถือ (ข้อ B): ปัดได้เหมือนเดิมแต่ไม่ smooth-scroll เวลากดคีย์บอร์ด/โปรแกรมเลื่อน */
  .day-carousel, .bento { scroll-behavior: auto !important; }
}

/* มือถือ: ลิงก์ "ไปที่ WizeHome" เป็นลิงก์แยกที่อยู่เหนือลิงก์คลุมทั้ง tile จึงต้องได้เป้าแตะ 40px ของตัวเอง (เดิม 21-23px) */
@media (max-width: 719.98px) {
  .tile-lead[data-brand="wizehome"] .wh-link { min-height: 40px; }
}
