/* GreenTerra landing — ฟอนต์ IBM Plex (โฮสต์เอง, OFL-1.1) · ไม่มี inline style (ใช้ CSP style-src 'self' ได้) */
@font-face { font-family: 'Plex Thai'; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-thai-thai-400-normal.woff2) format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Plex Thai'; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-thai-thai-500-normal.woff2) format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Plex Thai'; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-thai-thai-600-normal.woff2) format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Plex Thai'; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-thai-thai-700-normal.woff2) format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Plex Thai'; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-thai-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2070-209F, U+20AC, U+2190-21FF, U+2212; }
@font-face { font-family: 'Plex Thai'; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-thai-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2070-209F, U+20AC, U+2190-21FF, U+2212; }
@font-face { font-family: 'Plex Thai'; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-thai-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2070-209F, U+20AC, U+2190-21FF, U+2212; }
@font-face { font-family: 'Plex Thai'; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-thai-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2070-209F, U+20AC, U+2190-21FF, U+2212; }
@font-face { font-family: 'Plex Mono'; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  --bg: #0E1210; --bg-2: #141A17; --card: #19211D; --ink: #EEF2EC; --ink-2: #C9D2CB; --muted: #8E9A93; --line: rgba(255, 255, 255, .09);
  --sage: #B8C5B2; --sage-ink: #0F1A14; --green: #72CF5E; --green-2: #2E9B44;
  --r: 30px; --r-sm: 18px; --gut: 14px; --max: 1440px;
  --sans: 'Plex Thai', 'IBM Plex Sans Thai', system-ui, sans-serif;
  --mono: 'Plex Mono', 'Plex Thai', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ---------- ตัวอักษร ---------- */
.mono { font-family: var(--mono); letter-spacing: .02em; }
.mono.small, .small { font-size: 12.5px; line-height: 1.7; }
:lang(en) .mono.small { text-transform: uppercase; font-size: 11.5px; letter-spacing: .05em; }
.display { font-size: clamp(46px, 8.6vw, 140px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.display.md { font-size: clamp(40px, 6.4vw, 104px); }
.display.sm { font-size: clamp(34px, 4.6vw, 70px); }
:lang(th) .display { line-height: 1.12; letter-spacing: -.025em; }
.wordmark { font-weight: 700; letter-spacing: -.015em; white-space: nowrap; }
.wordmark em { font-style: normal; color: var(--green); }
.wordmark.dark { color: var(--sage-ink); } .wordmark.dark em { color: var(--green-2); }

/* ---------- ปุ่มแคปซูล + วงกลมลูกศร ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 99px; text-decoration: none; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; transition: transform .2s var(--ease), background .2s; }
:lang(th) .pill { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14px; }
.pill .arrow { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.pill .arrow::before { content: ''; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateX(-2px) rotate(45deg); }
.pill:hover { transform: translateY(-1px); } .pill:hover .arrow { transform: translateX(2px); transition: transform .2s var(--ease); }
.pill-light { background: var(--ink); color: var(--bg); } .pill-light .arrow { background: var(--bg); color: var(--ink); }
.pill-dark { background: #0E1210; color: var(--ink); } .pill-dark .arrow { background: var(--ink); color: var(--bg); }
.pill-sage { background: var(--sage); color: var(--sage-ink); } .pill-sage .arrow { background: var(--sage-ink); color: var(--sage); }
.pill-ghost { background: rgba(14, 18, 16, .55); color: var(--ink); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); } .pill-ghost .arrow { background: var(--ink); color: var(--bg); }

/* ---------- NAV ---------- */
.nav { position: absolute; z-index: 50; top: calc(var(--gut) + 8px); left: 50%; transform: translateX(-50%); width: min(calc(100% - 2 * var(--gut)), var(--max)); display: flex; align-items: center; gap: 20px; padding: 14px clamp(16px, 3vw, 46px); background: none; }
.nav.solid { background: none; }  /* หน้า privacy ใช้ class นี้ — ไม่มีกรอบเช่นกัน */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
:lang(th) .nav-links a { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14px; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.lang button { border: 0; background: transparent; color: var(--ink-2); font: 500 11.5px var(--mono); letter-spacing: .06em; padding: 6px 10px; border-radius: 99px; cursor: pointer; min-height: 30px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.nav.open .burger i:first-child { transform: translateY(4px) rotate(45deg); } .nav.open .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- section wrapper ---------- */
main > section { width: min(calc(100% - 2 * var(--gut)), var(--max)); margin: 0 auto; }
main > section + section { margin-top: clamp(80px, 11vw, 170px); }

/* ---------- HERO ---------- */
.hero { padding-top: var(--gut); }
.hero-card { position: relative; min-height: min(96vh, 920px); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 4.2vw, 64px); padding-top: 150px;
  background: linear-gradient(180deg, rgba(8, 12, 10, .62) 0%, rgba(8, 12, 10, .05) 30%, rgba(8, 12, 10, .1) 55%, rgba(8, 12, 10, .82) 100%), url(img/hero-falls-2400.webp) center 45% / cover no-repeat, #0B1410; }
.hero-meta { position: absolute; top: 108px; left: clamp(22px, 4.2vw, 64px); right: clamp(22px, 4.2vw, 64px); display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; letter-spacing: .1em; color: rgba(238, 242, 236, .72); }
.hero h1 { max-width: 14ch; text-wrap: balance; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 520px) auto 1fr; align-items: center; gap: 22px; margin-top: 30px; }
.hero-foot p { color: rgba(238, 242, 236, .82); }
.hero-loc { justify-self: end; color: rgba(238, 242, 236, .6); }

/* ---------- แถบภาพ ---------- */
.strip { display: flex; justify-content: center; align-items: center; padding: 10px 0 0; }
.sh { margin: 0 0 0 -3%; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); border: 1px solid var(--line); background: var(--card); transition: transform .5s var(--ease); flex: none; }
.sh:first-child { margin-left: 0; }
.sh img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.s1, .s7 { width: 11%; aspect-ratio: 3 / 4; opacity: .75; }
.s2, .s6 { width: 14%; aspect-ratio: 3 / 4; opacity: .9; z-index: 1; }
.s3, .s5 { width: 18%; aspect-ratio: 1 / 1; z-index: 2; }
.s4 { width: 30%; aspect-ratio: 16 / 10; z-index: 3; border-color: rgba(114, 207, 94, .35); }
.strip:hover .sh:not(.main) { transform: scale(.97); }
.statement { max-width: 920px; margin: clamp(48px, 6vw, 80px) auto 0; text-align: center; display: grid; justify-items: center; gap: 22px; }
.statement h2 { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.3; letter-spacing: -.015em; text-wrap: balance; }
.statement p { max-width: 720px; color: var(--muted); }

/* ---------- วิธีการ ---------- */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); }
.method-img { margin: 0; border-radius: var(--r); overflow: hidden; min-height: 560px; background: #DDEBE0; }
.method-img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.method-card { border-radius: var(--r); background: var(--sage); color: var(--sage-ink); padding: clamp(26px, 3.4vw, 46px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.method-card .wordmark { font-size: 18px; }
.method-card h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 14px; max-width: 18ch; }
.method-card p { color: #2E3D35; max-width: 560px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { display: grid; gap: 8px; align-content: start; }
.steps b { font-size: 15.5px; line-height: 1.35; }
.steps .mono { font-size: 11.5px; line-height: 1.65; color: #34443B; }
.step-ic { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(15, 26, 20, .35); display: grid; place-items: center; }
.step-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--sage-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.method-card .pill { align-self: flex-start; }

/* ---------- ฟีเจอร์ ---------- */

.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); }
.fcard { position: relative; border-radius: var(--r-sm); overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, #172019, #121915); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.fcard:hover { border-color: rgba(114, 207, 94, .3); transform: translateY(-3px); }

.fc-in { padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 12px; justify-items: start; max-width: 620px; }
.fc-in h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.fc-in p { font-size: 12px; line-height: 1.7; color: var(--ink-2); }
.tag-pro { font: 700 10.5px var(--mono); letter-spacing: .1em; padding: 3px 9px; border-radius: 6px; background: linear-gradient(135deg, #F3D774, #C9A227); color: #2B2105; }
.soon { margin-top: var(--gut); border-radius: var(--r-sm); border: 1px dashed rgba(255, 255, 255, .18); padding: 20px 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.soon > span { color: var(--muted); }
.soon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.soon li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.soon em { font-style: normal; font: 500 10.5px var(--mono); letter-spacing: .04em; padding: 3px 8px; border-radius: 99px; background: rgba(114, 207, 94, .14); color: var(--green); }

/* ---------- ตัวเลข + อุตสาหกรรม ---------- */
.impact { border-radius: var(--r); overflow: hidden; background: linear-gradient(180deg, rgba(14, 18, 16, .15), rgba(14, 18, 16, .55) 35%, rgba(14, 18, 16, .95) 70%), url(img/impact-earth-2048.webp) center top / 100% auto no-repeat, #0C1712; }
.impact-in { padding: clamp(40px, 6vw, 96px) clamp(22px, 5vw, 80px); display: grid; gap: 34px; justify-items: start; }
.impact-in > p { max-width: 720px; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); width: 100%; }
.stats div { padding: 22px 24px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); backdrop-filter: blur(6px); display: grid; gap: 6px; }
.stats b { font-size: clamp(40px, 5vw, 66px); line-height: 1; letter-spacing: -.04em; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.stats span { font-size: 13.5px; color: var(--ink-2); }
.sectors { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 30px; }
.sectors li { font-size: clamp(19px, 2vw, 28px); font-weight: 500; letter-spacing: -.01em; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 960px; }
.faq h2 { text-align: center; margin-bottom: 38px; }
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(114, 207, 94, .35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-size: 17px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 15px; line-height: 1.75; }

/* ---------- CTA ---------- */
.cta-card { border-radius: var(--r); overflow: hidden; min-height: 520px; padding: clamp(30px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 22px;
  background: linear-gradient(90deg, rgba(9, 14, 12, .94) 0%, rgba(9, 14, 12, .72) 50%, rgba(9, 14, 12, .3) 100%), url(img/cta-board-2400.webp) center 35% / cover no-repeat, #0B1410; }
.cta-card p { max-width: 520px; color: var(--ink-2); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.foot { width: min(calc(100% - 2 * var(--gut)), var(--max)); margin: clamp(60px, 8vw, 110px) auto var(--gut); padding: 34px clamp(20px, 3vw, 40px) 22px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-brand { display: grid; gap: 12px; align-content: start; } .foot-brand p { color: var(--muted); max-width: 420px; }
.foot-col { display: grid; gap: 8px; align-content: start; font-size: 14px; color: var(--ink-2); }
.foot-col b { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.foot-col a { text-decoration: none; } .foot-col a:hover { color: var(--green); }
.foot-bot { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- privacy page ---------- */
.doc { width: min(calc(100% - 2 * var(--gut)), 900px); margin: 120px auto 0; display: grid; gap: 26px; }
.doc h1 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.03em; line-height: 1.15; }
.doc section { padding: 22px 24px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); }
.doc h2 { font-size: 18px; margin-bottom: 8px; } .doc p, .doc li { color: var(--ink-2); font-size: 15px; line-height: 1.75; } .doc ul { margin: 0; padding-left: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 14px; } .nav-links a { font-size: 13px; }
  .method { grid-template-columns: 1fr; } .method-img { min-height: 340px; }
  .hero-foot { grid-template-columns: 1fr auto; } .hero-loc { display: none; }
}
@media (max-width: 900px) {
  .nav { padding: 10px 10px 10px 18px; }
  .nav-links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px; border-radius: 20px; background: rgba(14, 18, 16, .97); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav.open { background: rgba(14, 18, 16, .97); }
  .nav-links a { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--line); } .nav-links a:last-child { border-bottom: 0; }
  .nav-right .pill { display: none; } .burger { display: inline-flex; } .nav-right { margin-left: auto; }
  .fgrid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; } .sectors { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: 18px; } .steps li { grid-template-columns: 44px 1fr; column-gap: 14px; } .step-ic { grid-row: span 2; }
}
@media (max-width: 600px) {
  :root { --gut: 10px; --r: 24px; }
  .hero-card { min-height: 88vh; padding-top: 120px; }
  .hero-meta { top: 92px; flex-direction: column; gap: 2px; font-size: 10.5px; }
  .hero-foot { grid-template-columns: 1fr; gap: 18px; } .hero-foot .pill { justify-self: start; }
  .strip { overflow: hidden; } .s1, .s7 { display: none; } .s2, .s6 { width: 20%; } .s3, .s5 { width: 26%; } .s4 { width: 46%; }
  .sectors { grid-template-columns: 1fr; } .sectors li { font-size: 19px; padding: 10px 0; }
  .foot-top { grid-template-columns: 1fr; }
  .faq summary { font-size: 16px; padding: 18px 50px 18px 18px; } .faq details p { padding: 0 18px 18px; }
  .soon { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; }
  .fcard::before, .pill, .sh { transition: none; } .fcard:hover::before { transform: none; }
}

/* ภาษาไทย: ย่อหน้าใช้ฟอนต์ sans (mono ไม่มีอักษรไทย → ระยะตัวอักษรละตินห่างเกิน) · คง mono ไว้กับป้ายสั้น */
:lang(th) p.mono, :lang(th) .steps .mono, :lang(th) .fc-in p { font-family: var(--sans); letter-spacing: 0; font-size: 14px; line-height: 1.75; }
:lang(th) .steps .mono { font-size: 13px; }

/* ===================== v2 · เนื้อหาใหม่ ===================== */
.eyebrow { display: inline-block; color: var(--green); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
:lang(th) .eyebrow { letter-spacing: .04em; text-transform: none; font-family: var(--sans); font-weight: 600; font-size: 13px; }
.nav .brand { font-size: 20px; }
.nav-links a { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }

/* ปัญหา → ทางแก้ */
.problem { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: center; }
.problem-img { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.problem-img img { width: 100%; height: auto; }
.problem-body h2 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.18; letter-spacing: -.025em; margin-bottom: 26px; text-wrap: balance; }
.pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pains li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; padding: 16px 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.pains b { font-size: 17px; color: #F2D06B; font-weight: 600; }
.pains span { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }

/* ฟีเจอร์: หัว + การ์ดกราฟ */
.feat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 0 clamp(8px, 2vw, 30px); margin-bottom: clamp(30px, 4vw, 56px); }
.feat-head p { max-width: 380px; color: var(--muted); }
.viz { position: relative; margin: 14px 14px 0; border-radius: 14px; background: radial-gradient(120% 100% at 0% 0%, rgba(114, 207, 94, .08), transparent 55%), #0D1310; border: 1px solid rgba(255, 255, 255, .06); padding: 8px 8px 4px; }
.viz svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.sample { position: absolute; top: 10px; right: 12px; font: 500 10.5px var(--mono); letter-spacing: .06em; padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: var(--muted); border: 1px solid var(--line); }
:lang(th) .sample { font-family: var(--sans); letter-spacing: 0; font-size: 11px; }
.fc-in { padding: clamp(18px, 2.2vw, 28px); display: grid; gap: 10px; justify-items: start; }
.fc-in h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.18; letter-spacing: -.02em; }
.fc-in p { font-size: 12px; line-height: 1.7; color: var(--ink-2); max-width: 560px; }

/* ---- SVG ทั่วไป ---- */
.viz text { fill: #DDE5DF; font-size: 13px; }
.viz text.muted { fill: #8E9A93; } .viz text.sm { font-size: 11.5px; } .viz text.big { font-size: 19px; font-weight: 600; fill: #F1F5F1; }
.viz text.mid { text-anchor: middle; } .viz text.end { text-anchor: end; } .viz text.lbl { font-size: 11.5px; font-weight: 600; } .viz text.dark { fill: #0E1A12; }
.viz .panel { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .07); }
.viz .legend text, .viz .leg text { font-size: 11px; fill: #A9B4AD; }
/* inventory */
.viz .zl text { font-size: 11.5px; fill: #8E9A93; font-weight: 500; }
.viz .zone-in { fill: none; stroke: rgba(114, 207, 94, .35); stroke-dasharray: 4 4; }
.viz .tiles text { text-anchor: middle; font: 600 12px var(--mono); fill: #0E1A12; }
.t-done { fill: #72CF5E; } .t-part { fill: #E3B04B; } .t-none { fill: #34403A; } .t-na { fill: none; stroke: #55635B; stroke-dasharray: 3 3; }
.viz .tiles .t-none + text, .viz .tiles .t-na + text { fill: #A9B4AD; }
/* guided */
.st-done { fill: #72CF5E; } .st-now { fill: #F1F5F1; stroke: #72CF5E; stroke-width: 3; } .st-todo { fill: #2A332E; }
.viz text.q { font-size: 15px; font-weight: 600; fill: #F1F5F1; }
.viz .opt { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .12); } .viz .opt.on { fill: #72CF5E; stroke: none; }
.viz .opt-t { font-size: 10.5px; text-anchor: middle; fill: #C9D2CB; } .viz .opt-t.on { fill: #0E1A12; font-weight: 600; }
.viz .b { fill: #4E9B6A; } .viz .b-warn { fill: #E3B04B; }
.viz .warn-chip { fill: rgba(227, 176, 75, .14); stroke: rgba(227, 176, 75, .5); } .viz .warn-t { font-size: 11px; text-anchor: middle; fill: #F2D06B; }
.viz .axis { stroke: rgba(255, 255, 255, .12); }
/* lineage */
.viz .node { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .12); } .viz .node.hi { stroke: rgba(114, 207, 94, .55); } .viz .node.res { fill: rgba(114, 207, 94, .14); stroke: #72CF5E; }
.viz .link { stroke: #72CF5E; stroke-width: 2; fill: none; } .viz .arrowh { stroke: #72CF5E; stroke-width: 2; fill: none; }
.viz .dot { fill: #72CF5E; } .viz .dot.dim { fill: #55635B; }
/* biogas */
.viz .fbar.gen { fill: #6E7C74; } .viz .fbar.cap { fill: #72CF5E; } .viz .fbar.unc { fill: #C9783A; } .viz .fbar.use { fill: #4E9B6A; } .viz .fbar.fla { fill: #A8D88E; } .viz .fbar.ven { fill: #E35D4F; }
.viz .tver { fill: rgba(242, 208, 107, .06); stroke: #F2D06B; stroke-dasharray: 5 4; }
/* report */
.g-co2 { fill: #72CF5E; } .g-ch4 { fill: #3FA4A0; } .g-n2o { fill: #E3B04B; } .g-hfc { fill: #B98AE0; } .g-lca { fill: #5F7F6D; }
.viz .bio { fill: none; stroke: #8FD3A0; stroke-dasharray: 5 4; } .viz .xls { fill: rgba(114, 207, 94, .12); stroke: rgba(114, 207, 94, .5); }
/* suppliers */
.viz .map { fill: #101A15; stroke: rgba(255, 255, 255, .08); } .viz .grid-dots circle { fill: rgba(255, 255, 255, .18); }
.viz .plot { fill: rgba(114, 207, 94, .16); stroke: #72CF5E; stroke-width: 1.2; } .viz .plot.warn { fill: rgba(227, 93, 79, .14); stroke: #E35D4F; }
.pin { stroke: #0D1310; stroke-width: 2; } .pin.ok { fill: #72CF5E; } .pin.unk { fill: #8E9A93; } .pin.risk { fill: #E35D4F; }
.viz .track { fill: rgba(255, 255, 255, .07); } .viz .okb { fill: #72CF5E; } .viz .pend { fill: #E3B04B; }
/* ---- แอนิเมชันกราฟเมื่อเลื่อนถึง ---- */
.viz .grow { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 1s var(--ease); }
.viz .bars .grow { transform-origin: center bottom; transform: scaleY(0); }
.fcard.in .viz .grow { transform: none; }
.fcard.in .viz .bars .grow:nth-child(2n) { transition-delay: .06s; } .fcard.in .viz .bars .grow:nth-child(3n) { transition-delay: .12s; }

/* CFO (SEO) */
.cfo { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 64px); align-items: start; }
.cfo-text h2 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.18; letter-spacing: -.025em; margin-bottom: 18px; }
.cfo-text h3 { font-size: 18px; margin: 30px 0 12px; }
.cfo-text > p { color: var(--ink-2); font-size: 15.5px; line-height: 1.85; }
.scopes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.scopes li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: baseline; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.scopes b { font: 600 13px var(--mono); color: var(--green); } .scopes span { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.whys { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.whys li::marker { color: var(--green); }
.cfo-img { margin: 0; position: sticky; top: 24px; display: grid; gap: 14px; }
.cfo-img img { border-radius: var(--r); border: 1px solid var(--line); width: 100%; }
.cfo-img figcaption { color: var(--muted); padding: 0 6px; }

/* ---- responsive (ส่วนใหม่) ---- */
@media (max-width: 1100px) { .problem, .cfo { grid-template-columns: 1fr; } .cfo-img { position: static; } .pains li { grid-template-columns: 130px 1fr; } }
@media (max-width: 900px) { .nav { top: calc(var(--gut) + 2px); padding: 10px 10px 10px 16px; } .nav.open { background: rgba(14, 18, 16, .97); border-radius: 20px; } }
@media (max-width: 600px) {
  .pains li { grid-template-columns: 1fr; gap: 4px; } .scopes li { grid-template-columns: 1fr; gap: 2px; }
  .viz { margin: 10px 10px 0; } .sample { top: 6px; right: 8px; }
  .hero-card { background-image: linear-gradient(180deg, rgba(8, 12, 10, .62) 0%, rgba(8, 12, 10, .1) 30%, rgba(8, 12, 10, .85) 100%), url(img/hero-falls-1200.webp); }
  .impact { background-size: auto, 220% auto, auto; }
  .cta-card { background-image: linear-gradient(180deg, rgba(9, 14, 12, .85), rgba(9, 14, 12, .75)), url(img/cta-board-1200.webp); }
}
@media (prefers-reduced-motion: reduce) { .viz .grow { transform: none; transition: none; } .fcard:hover { transform: none; } }

.method-img { max-height: 720px; }
.method-img img { height: 100%; }

/* ===================== v3 · มาตรฐาน + ความสวยงาม ===================== */
.eyebrow .no, .no-dark { font: 600 11.5px var(--mono); padding: 2px 7px; border-radius: 6px; background: rgba(114, 207, 94, .14); color: var(--green); margin-right: 6px; letter-spacing: .04em; }
.no-dark { background: rgba(15, 26, 20, .12); color: var(--sage-ink); margin: 0; }
.eyebrow.center { display: block; text-align: center; }
.sec-eyebrow { flex-basis: 100%; margin-bottom: -10px; }
.mc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* hero: แผงกระจก "เปิดใช้แล้ว" */
.hero-card { padding-right: clamp(22px, 4.2vw, 64px); }
@media (min-width: 1101px) { .hero-foot { grid-template-columns: minmax(0, 520px) auto; } }
.hero-panel { position: absolute; right: clamp(22px, 4.2vw, 64px); bottom: clamp(22px, 4.2vw, 64px); width: 300px; display: grid; gap: 8px; padding: 18px 20px;
  border-radius: 22px; background: rgba(12, 18, 15, .42); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.hp-t { font-size: 10.5px; letter-spacing: .12em; color: rgba(238, 242, 236, .6); }
:lang(th) .hp-t { letter-spacing: .02em; font-family: var(--sans); font-size: 12px; font-weight: 600; }
.hero-panel ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; }
.hero-panel li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.hero-panel .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hero-panel .dot.on { background: var(--green); box-shadow: 0 0 0 4px rgba(114, 207, 94, .22); animation: hpPulse 2.8s ease-in-out infinite; }
.hero-panel .dot.map { background: #9DC6E8; }
@keyframes hpPulse { 50% { box-shadow: 0 0 0 7px rgba(114, 207, 94, 0); } }
.hero-panel p { font-size: 12.5px; color: rgba(238, 242, 236, .75); line-height: 1.6; }
.hero-panel a { font-size: 12.5px; color: var(--green); text-decoration: none; font-weight: 600; } .hero-panel a:hover { text-decoration: underline; }

/* มาตรฐาน */
.standards { display: grid; gap: 22px; }
.std-head { max-width: 860px; display: grid; gap: 14px; }
.std-head .display { line-height: 1.08; } :lang(th) .std-head .display { line-height: 1.2; }
.std-head p { color: var(--muted); max-width: 680px; }
.std-now { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
.std-c { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 20px; border-radius: var(--r-sm); background: linear-gradient(160deg, rgba(114, 207, 94, .1), rgba(114, 207, 94, .02)); border: 1px solid rgba(114, 207, 94, .25); position: relative; }
.std-m { min-width: 58px; height: 52px; padding: 0 8px; display: grid; place-items: center; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; font-size: 13px; color: var(--green); }
.std-c b { display: block; font-size: 16.5px; } .std-c span { font-size: 13px; color: var(--ink-2); }
.std-c em { position: absolute; top: 12px; right: 12px; font-style: normal; font: 500 10.5px var(--mono); letter-spacing: .04em; padding: 3px 8px; border-radius: 99px; }
:lang(th) .std-c em { font-family: var(--sans); font-size: 11px; letter-spacing: 0; }
.std-c em.live { background: rgba(114, 207, 94, .18); color: var(--green); } .std-c em.map { background: rgba(157, 198, 232, .16); color: #9DC6E8; }
.std-next { display: grid; gap: 10px; padding: 18px 0 4px; border-top: 1px solid var(--line); }
.std-next > span { color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-row { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 10px; width: max-content; animation: mq 70s linear infinite; }
.marquee.rev .mq-row { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .mq-row { animation-play-state: paused; }
.mq-row li { white-space: nowrap; padding: 10px 18px; border-radius: 99px; background: var(--bg-2); border: 1px dashed rgba(255, 255, 255, .16); color: var(--ink-2); font-size: 14px; }
@keyframes mq { to { transform: translateX(-50%); } }
.std-note { color: var(--muted); max-width: 820px; }

/* อุตสาหกรรม: 3 กลุ่ม */
.sec-groups { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
.sg { padding: 18px 20px; border-radius: var(--r-sm); background: rgba(10, 16, 13, .55); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.sg > b { display: block; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
:lang(th) .sg > b { font-family: var(--sans); letter-spacing: .02em; font-size: 13px; text-transform: none; }
.sg ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sg li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 13.5px; transition: background .2s, border-color .2s; }
.sg li:hover { background: rgba(114, 207, 94, .12); border-color: rgba(114, 207, 94, .35); }
.sg li i { font-style: normal; }

/* การ์ด: แสงตามเมาส์ */
.fcard::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(114, 207, 94, .12), transparent 60%); }
.fcard:hover::after { opacity: 1; }

@media (max-width: 1100px) { .hero-panel { position: static; width: auto; margin-top: 22px; } .std-now, .sec-groups { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .hero-panel { padding: 14px 16px; } .std-c { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .mq-row { animation: none; flex-wrap: wrap; width: auto; } .mq-row li:nth-child(n+12) { display: none; } .hero-panel .dot.on { animation: none; } }
.hero-foot .pill { justify-self: start; }
@media (min-width: 1101px) { .hero-foot { padding-right: 330px; } }
.std-lead { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); max-width: 680px; }
.sec-groups { grid-template-columns: 1.35fr 1fr 1fr; }
@media (max-width: 1100px) { .sec-groups { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .hero-card { padding-top: 150px; } }
