/* ════════════════════════════════════════════
   Faberic · Brand Site · v0.3
   Palette 2026-08: ส้ม F77F00 (brand ~50-60%) ·
   ครีม EAE2B7 + อำพัน FCBF49 (พื้นผิว ~25-30%) ·
   แดง D62828 (CTA ~10%) · น้ำเงินหมึก 0067B1 (~10-15%)
   หมายเหตุ: ชื่อ token กลุ่ม gold / navy / silver คงไว้จาก v0.2
   แต่ค่า remap เป็นพาเลตต์ใหม่แล้ว
   ════════════════════════════════════════════ */

:root {
  /* น้ำเงินหมึก 0067B1 (= Expression Blue · เจ้าของสั่ง 2026-09-09) — ตัวหนังสือ + เส้นขอบ (~10-15%)
     ไม่ใช่ตัวตนแบรนด์ — ตัวตนแบรนด์คือส้ม */
  --navy:       #0067B1;
  --navy-soft:  #3585C0;
  --navy-deep:  #0067B1;
  --navy-ink:   #004B80;

  /* ส้ม F77F00 = สีหลักของแบรนด์ (~50-60%) · อำพัน FCBF49 = รอง */
  --gold:        #F77F00;  /* brand primary */
  --gold-bright: #F77F00;  /* brand accent บนพื้น dark */
  --gold-soft:   #FCBF49;  /* amber */
  --gold-line:   #F0D8A8;  /* เส้นอำพันอ่อนบนพื้นครีม */
  --gold-deep:   #F77F00;  /* ใช้ส้มแบรนด์ตัวเดียวทั้งเว็บ (ตามเจ้าของ 2026-08-28) */

  /* แดง D62828 = CTA + แถบนำสายตา (structural accent) — ไม่ใช้เป็นพื้นเข้ม */
  --red:        #D62828;
  --red-bright: #F05454;   /* แดงสว่างสำหรับพื้น dark */
  --red-deep:   #B02020;

  /* เขียวสด = สถานะ live/success เท่านั้น (~2-3%) */
  --green:      #16A34A;
  /* น้ำเงินสด (Blue Seal-inspired) = แถบนำสายตา/เส้น accent บนเว็บ + expression layer (thumbnail/diagram)
     ห้ามเป็นพื้น section บนเว็บ — พื้นใหญ่ใช้ได้เฉพาะงาน content */
  --blue:       #0067B1;

  /* พื้นหลัง = ขาว FFFFFF ทั้งหมด (สะอาด professional) ·
     แยก section ด้วยเส้น hairline + spacing ไม่ใช้พื้นครีม ·
     ห้ามใช้น้ำเงินมืดเป็น background เด็ดขาด */
  --silver:        #FFFFFF;
  --silver-warm:   #FFFFFF;
  --silver-deep:   #F4F2EC;

  --border:        #E9DFC3;
  --border-soft:   #F5F0E0;

  --ink:        #0067B1;
  --ink-strong: #004B80;
  --ink-soft:   #47656F;
  --ink-mute:   #7C8E96;
  --ink-faint:  #AAB8BD;

  --f-display:    'Fraunces', 'Anuphan', Georgia, serif;
  --f-display-th: 'Anuphan', 'Fraunces', sans-serif;
  --f-body:       'Inter', 'Anuphan', system-ui, sans-serif;
  --f-body-th:    'Anuphan', 'Inter', sans-serif;
  --f-mono:       'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body-th);
  font-weight: 400;
  color: var(--ink);
  background: var(--silver-warm);
  margin: 0;
  line-height: 1.65;
  font-feature-settings: "ss01", "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

em {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  font-synthesis: none;
  color: var(--gold-deep);
  font-weight: 400;
}

a { color: inherit; }

/* ───── Page chrome ───── */
.chrome {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 22px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.chrome.scrolled {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 103, 177, 0.08);
  box-shadow: 0 6px 20px rgba(0, 103, 177, 0.05);
}
.chrome-mark {
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--gold-bright);
  letter-spacing: -0.015em;
  text-decoration: none;
  transition: color 0.3s ease;
}
.chrome.scrolled .chrome-mark { color: var(--gold-deep); }
.chrome-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.chrome-link {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.3s ease;
}
.chrome.scrolled .chrome-link { color: var(--ink-mute); }
.chrome-link:hover { color: var(--gold-bright); }
.chrome.scrolled .chrome-link:hover { color: var(--gold-deep); }
.chrome-cta {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid var(--red);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.chrome.scrolled .chrome-cta {
  color: var(--red);
  border-color: var(--red);
}
.chrome-cta:hover {
  background: var(--red);
  border-color: var(--red);
  color: #FFF6EA;
}
.chrome.scrolled .chrome-cta:hover {
  background: var(--red);
  color: #FFF6EA;
}

/* ───── Section frame ───── */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 18px;
}
/* แถบน้ำเงินสดนำสายตาหน้า section label — ลายเซ็นซ้ำทั้งเว็บ (เจ้าของสั่ง 2026-09-09: กล้าใช้สี) */
.eyebrow::before,
.hero-eyebrow::before,
.case-article-eyebrow::before,
.founder-eyebrow::before,
.contact-panel-eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
  margin-right: 12px;
  vertical-align: middle;
}
.cta-band-eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  margin-right: 12px;
  vertical-align: middle;
}

/* สถานะ live — เขียวสดเท่านั้น */
.live {
  color: var(--green);
  font-weight: 600;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 7px;
  vertical-align: middle;
  position: relative;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(22, 163, 74, 0.5);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ════════════════ HERO (dark · navy-deep + gold-bright) ════════════════ */
.hero {
  min-height: 100vh;
  background: #FFFFFF;
  color: var(--ink);
  position: relative;
  max-width: none;
  padding: 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(247, 127, 0, 0.12) 0%, transparent 62%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 80px 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 32px;
}
.hero-wordmark {
  font-family: 'Kanit', 'Tahoma', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(96px, 18vw, 240px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--gold-bright);
  margin: 0 0 28px;
}
.hero-rule {
  width: 96px;
  height: 2px;
  background: var(--blue);
  opacity: 0.85;
  margin: 0 0 16px;
}
.hero-firm {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 56px;
  font-weight: 500;
}
.hero-headline {
  font-family: 'Fraunces', 'Anuphan', Georgia, serif;
  font-style: italic;
  font-synthesis: none;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.15;
  color: var(--navy);
  max-width: 780px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-headline em {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero-sub {
  font-family: var(--f-body-th);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 56px;
}
.hero-tagline {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 24px;
  border-top: 1px solid rgba(247, 127, 0, 0.3);
  max-width: 480px;
}
.hero-tagline strong {
  color: var(--gold-deep);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.hero-btn.primary {
  color: #FFFFFF;
  background: var(--gold-bright);
  border: 1px solid var(--gold-bright);
}
.hero-btn.primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-deep); }
.hero-btn.ghost {
  color: var(--red-bright);
  border: 1px solid rgba(240, 84, 84, 0.55);
}
.hero-btn.ghost:hover { border-color: var(--red-bright); background: rgba(240, 84, 84, 0.1); }
.hero-btn.red {
  color: #FFF6EA;
  background: var(--red);
  border: 1px solid var(--red);
}
.hero-btn.red:hover { background: var(--red-deep); border-color: var(--red-deep); }

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 80px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.scroll-cue::before {
  content: "↓";
  color: var(--blue);
  font-size: 14px;
}

/* ════════════════ PAGE HERO (inner pages · light) ════════════════ */
.page-hero {
  padding-top: 160px;
  padding-bottom: 72px;
}
.page-hero-title {
  font-family: var(--f-display-th);
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.08;
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 24px;
  max-width: 860px;
  letter-spacing: -0.015em;
}
.page-hero-title em {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-weight: 400;
  color: var(--gold-deep);
}
.page-hero-lead {
  font-family: var(--f-body-th);
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0;
}

/* ════════════════ MANIFESTO ════════════════ */
.manifesto {
  padding-top: 160px;
  padding-bottom: 160px;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 0.85fr 2fr;
  gap: 72px;
  align-items: start;
}
.manifesto-label {
  position: sticky;
  top: 120px;
}
.manifesto-index {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 0.9;
  color: var(--gold-line);
  margin-bottom: 18px;
}
.manifesto-standfirst {
  font-family: var(--f-body-th);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 210px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.manifesto-body {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.35;
  color: var(--ink-strong);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.manifesto-body p {
  margin: 0 0 28px;
}
.manifesto-body p:last-child { margin-bottom: 0; }
.manifesto-body em {
  color: var(--gold-deep);
  font-style: italic;
}
.manifesto-body strong {
  font-family: var(--f-display-th);
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
}
.manifesto-pullquote {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  font-synthesis: none;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--gold-deep);
  text-align: center;
  margin-top: 56px;
  padding: 32px 24px 0;
  border-top: 1px solid var(--gold-line);
}
.manifesto-pullquote-attr {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-style: normal;
  margin-top: 16px;
}

/* ════════════════ CASES (home strip + index grid) ════════════════ */
.cases-band {
  padding-top: 140px;
  padding-bottom: 140px;
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 103, 177, 0.08);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.cases-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
.cases-head {
  font-family: var(--f-display-th);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 20px;
  max-width: 800px;
  letter-spacing: -0.015em;
}
.cases-head em {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-weight: 400;
  color: var(--gold-deep);
}
.cases-lead {
  font-family: var(--f-body-th);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 64px;
}
.case-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.case-row {
  display: grid;
  grid-template-columns: 96px 1fr 320px 32px;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
.case-row:hover { background: rgba(247, 127, 0, 0.04); }
.case-num {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
}
.case-id .case-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.case-id .case-tag strong { color: var(--gold-deep); font-weight: 600; }
.case-title {
  font-family: 'Kanit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.case-hook {
  font-family: var(--f-body-th);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.case-decision {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--red);
  padding-top: 4px;
}
.case-decision .case-decision-label {
  display: block;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.case-arrow {
  font-size: 18px;
  color: var(--gold-deep);
  padding-top: 8px;
  transition: transform 0.2s ease;
}
.case-row:hover .case-arrow { transform: translateX(4px); }

/* ════════════════ CASE ARTICLE ════════════════ */
.case-article-hero {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 103, 177, 0.08);
  color: var(--ink);
  max-width: none;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.case-article-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle, rgba(247, 127, 0, 0.10) 0%, transparent 62%);
  pointer-events: none;
}
.case-article-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 80px 88px;
}
.case-article-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 28px;
}
.case-article-title {
  font-family: var(--f-display-th);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.12;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 24px;
  max-width: 860px;
  letter-spacing: -0.015em;
}
.case-article-title em {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-weight: 400;
  color: var(--gold);
}
.case-article-hook {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 0 40px;
}
.case-article-meta {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 24px;
  border-top: 1px solid rgba(247, 127, 0, 0.3);
  max-width: 680px;
  line-height: 2;
}
.case-article-meta strong { color: var(--gold-deep); font-weight: 600; }

.case-article {
  padding-top: 96px;
  padding-bottom: 96px;
}
.case-article-body {
  max-width: 760px;
  margin: 0 auto;
}
.case-stage {
  margin-bottom: 72px;
}
.case-stage-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 2px solid var(--navy);
  display: inline-block;
  min-width: 220px;
}
.case-stage h2 {
  font-family: var(--f-display-th);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.case-stage h2 em {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-weight: 400;
  color: var(--gold-deep);
}
.case-stage p {
  font-family: var(--f-body-th);
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.case-stage p strong { color: var(--navy); font-weight: 600; }
.case-stage ul {
  font-family: var(--f-body-th);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 18px;
  padding-left: 22px;
}
.case-stage li { margin-bottom: 10px; }
.case-stage li strong { color: var(--navy); font-weight: 600; }
.case-quote {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.45;
  color: var(--gold-deep);
  margin: 48px 0;
  padding: 28px 0 28px 32px;
  border-left: 3px solid var(--gold-deep);
}
.case-note {
  font-family: var(--f-body-th);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-mute);
  background: var(--silver);
  border-radius: 4px;
  padding: 18px 22px;
  margin: 24px 0 0;
}
.case-next {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.case-next-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.case-next-title {
  font-family: 'Kanit', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}
.case-next-title:hover { color: var(--gold-deep); }

/* ════════════════ WHAT WE DO ════════════════ */
.what {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 103, 177, 0.08);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.what.on-light { background: transparent; }
.what-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
.what-head {
  font-family: var(--f-display-th);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 64px;
  max-width: 800px;
  letter-spacing: -0.015em;
}
.what-head em {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-weight: 400;
  color: var(--gold-deep);
}
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.what-card {
  border-top: 2px solid var(--navy);
  padding-top: 28px;
}
.what-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.what-title {
  font-family: 'Kanit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.what-body {
  font-family: var(--f-body-th);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ════════════════ FRAMEWORKS / list rows ════════════════ */
.frameworks {
  padding-top: 160px;
  padding-bottom: 160px;
}
.frameworks-head {
  margin-bottom: 80px;
  max-width: 800px;
}
.frameworks-title {
  font-family: var(--f-display-th);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 20px;
  letter-spacing: -0.015em;
}
.frameworks-title em {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-weight: 400;
  color: var(--gold-deep);
}
.frameworks-lead {
  font-family: var(--f-body-th);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
}
.frameworks-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.fw {
  display: grid;
  grid-template-columns: 96px 280px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background 0.2s ease;
}
.fw:hover { background: rgba(247, 127, 0, 0.03); }
.fw-num {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
}
.fw-id { padding-top: 4px; }
.fw-name {
  font-family: 'Kanit', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.fw-th {
  font-family: var(--f-body-th);
  font-size: 13px;
  color: var(--ink-mute);
}
.fw-body {
  padding-top: 4px;
}
.fw-desc {
  font-family: var(--f-body-th);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.fw-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.fw-tag strong { color: var(--gold-deep); font-weight: 600; }

/* ════════════════ PRINCIPLES (How We Think) ════════════════ */
.principles {
  padding-top: 96px;
  padding-bottom: 120px;
}
.principles-list {
  border-top: 1px solid var(--border);
  max-width: 900px;
}
.principle {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.principle-num {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
}
.principle-title {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.principle-body {
  font-family: var(--f-body-th);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
  max-width: 640px;
}
.principle-body em {
  font-family: 'Fraunces', 'Anuphan', serif;
  color: var(--gold-deep);
}

/* ════════════════ FIT / NOT FIT ════════════════ */
.fit {
  padding-top: 120px;
  padding-bottom: 140px;
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 103, 177, 0.08);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.fit-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 64px;
}
.fit-col {
  border-top: 2px solid var(--navy);
  padding-top: 28px;
}
.fit-col.negative { border-top-color: var(--ink-faint); }
.fit-col-title {
  font-family: 'Kanit', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}
.fit-col.negative .fit-col-title { color: var(--ink-mute); }
.fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fit-list li {
  font-family: var(--f-body-th);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.fit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.fit-col.negative .fit-list li { color: var(--ink-mute); }
.fit-col.negative .fit-list li::before { content: "—"; color: var(--ink-faint); font-weight: 400; }

/* ════════════════ STEPS (Talk page) ════════════════ */
.steps {
  padding-top: 72px;
  padding-bottom: 96px;
}
.steps-list {
  border-top: 1px solid var(--border);
  max-width: 860px;
}
.step {
  display: grid;
  grid-template-columns: 96px 240px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step-num {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
}
.step-name {
  font-family: 'Kanit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
  padding-top: 2px;
}
.step-name .step-meta {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-top: 6px;
}
.step-desc {
  font-family: var(--f-body-th);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  padding-top: 4px;
}

/* ════════════════ CONTACT PANEL (Talk page) ════════════════ */
.contact-panel {
  padding-top: 24px;
  padding-bottom: 140px;
}
.contact-panel-card {
  max-width: 860px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 103, 177, 0.10);
  border-radius: 4px;
  padding: 56px 56px 48px;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 103, 177, 0.07);
}
.contact-panel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 100%);
}
.contact-panel-eyebrow {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
.contact-panel-head {
  font-family: var(--f-display-th);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.contact-panel-body {
  font-family: var(--f-body-th);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 560px;
}
.contact-panel-body strong { color: var(--navy); font-weight: 600; }
.contact-hints {
  list-style: none;
  margin: 0 0 36px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(247, 127, 0, 0.28);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}
.contact-hints li {
  font-family: var(--f-body-th);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.contact-hints li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-weight: 700;
}
.contact-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #FFF6EA;
  background: var(--red);
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.contact-panel-cta:hover { background: var(--red-deep); }
.contact-panel-alt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-top: 20px;
}
.contact-panel-alt a { color: var(--gold-deep); text-decoration: none; }

/* ════════════════ FOUNDER ════════════════ */
.founder {
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 103, 177, 0.08);
  border-bottom: 1px solid rgba(0, 103, 177, 0.08);
  padding: 140px 0;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  color: var(--ink);
}
.founder-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.founder-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
}
.founder-name {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}
.founder-title {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 32px;
}
.founder-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}
.founder-bio {
  font-family: var(--f-body-th);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.founder-bio strong { color: var(--navy); font-weight: 600; }
.founder-bio em {
  color: var(--gold-deep);
  font-style: italic;
  font-family: 'Fraunces', 'Anuphan', serif;
}

.proof-card {
  background: #FFFFFF;
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  padding: 36px 36px 32px;
  position: relative;
  box-shadow: 0 14px 40px rgba(247, 127, 0, 0.07);
}
.proof-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-bright) 50%, transparent 100%);
}
.proof-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
.proof-headline {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  font-synthesis: none;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 24px;
  font-weight: 400;
}
.proof-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-soft);
  margin-top: 4px;
}
.proof-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}
.proof-item:last-child { border-bottom: none; padding-bottom: 0; }
.proof-item-tag {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 500;
}
.proof-item-tag.gold {
  color: var(--green);
  border-color: rgba(22, 163, 74, 0.45);
}
.proof-item-name {
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 4px;
}
.proof-item-desc {
  font-family: var(--f-body-th);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.proof-item-quote {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  font-size: 13.5px;
  color: var(--gold-deep);
  line-height: 1.5;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(247, 127, 0, 0.35);
}

/* ════════════════ CTA BAND ════════════════ */
.cta-band {
  padding-top: 120px;
  padding-bottom: 140px;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(120deg, #D62828 0%, #F77F00 52%, #FCBF49 100%);
  color: #FFFFFF;
}
.cta-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
  text-align: left;
}
.cta-band-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}
.cta-band-head {
  font-family: var(--f-display-th);
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 20px;
  max-width: 760px;
  letter-spacing: -0.015em;
}
.cta-band-head em {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-weight: 400;
  color: #FFF1CE;
}
.cta-band-body {
  font-family: var(--f-body-th);
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
  max-width: 600px;
  margin: 0 0 40px;
}
.cta-band .hero-btn.primary { margin-right: 8px; }
/* บนพื้นส้ม ปุ่ม CTA เป็นขาว-แดง (แดงบนส้ม contrast ไม่พอ) */
.cta-band .hero-btn.red {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--red);
}
.cta-band .hero-btn.red:hover {
  background: #FFF1DC;
  border-color: #FFF1DC;
  color: var(--red-deep);
}

/* ════════════════ CTA link (inline arrow) ════════════════ */
.briefing-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
  padding: 14px 24px;
  border: 1px solid var(--gold-deep);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.briefing-cta:hover {
  background: var(--gold-deep);
  color: var(--silver-warm);
}
.briefing-cta::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.2s ease;
}
.briefing-cta:hover::after {
  transform: translateX(4px);
}

/* ════════════════ LAYERMAP (Depth model rows) ════════════════ */
.productized {
  padding-top: 140px;
  padding-bottom: 140px;
}
.productized-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.productized-headline {
  font-family: var(--f-display-th);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.productized-headline em {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-weight: 400;
  color: var(--gold-deep);
}
.productized-lead {
  font-family: var(--f-body-th);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 460px;
}
.productized-lead strong { color: var(--navy); font-weight: 600; }
.productized-lead em {
  font-family: 'Fraunces', 'Anuphan', serif;
  font-style: italic;
  color: var(--gold-deep);
}
.productized-meta {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.9;
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.productized-meta strong { color: var(--gold-deep); }
.layermap { border-top: 1px solid var(--border); }
.layer-row {
  display: grid;
  grid-template-columns: 158px 1fr;
  gap: 24px;
  padding: 19px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
  transition: background 0.2s ease;
}
.layer-row:hover { background: rgba(247, 127, 0, 0.03); }
.layer-name {
  font-family: 'Kanit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.layer-name .lm-th {
  display: block;
  font-family: var(--f-body-th);
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 400;
  margin-top: 3px;
}
.layer-app {
  font-family: var(--f-body-th);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.layer-app strong { color: var(--navy); font-weight: 600; }

/* ════════════════ FOOTER ════════════════ */
.footer {
  padding: 64px 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.footer-wordmark {
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--gold-deep);
  letter-spacing: -0.015em;
  line-height: 1;
  margin-bottom: 12px;
}
.footer-meta {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.8;
}
.footer-meta a {
  color: var(--ink-mute);
  text-decoration: none;
}
.footer-meta a:hover { color: var(--gold-deep); }
.footer-nav {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 14px;
}
.footer-nav a {
  color: var(--ink-mute);
  text-decoration: none;
  margin-right: 20px;
}
.footer-nav a:hover { color: var(--gold-deep); }
.footer-right {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: right;
  line-height: 1.8;
}

/* ───── Scroll reveal ───── */
.reveal-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───── Responsive ───── */
@media (max-width: 880px) {
  .chrome { padding: 16px 24px; }
  .chrome-nav { gap: 20px; }
  .chrome-link { display: none; }
  section { padding-left: 24px; padding-right: 24px; }
  .what-inner, .founder-inner, .cases-band-inner, .fit-inner, .cta-band-inner { padding: 0 24px; }
  .hero { padding: 0; }
  .hero-inner { padding: 100px 24px 80px; }
  .case-article-hero-inner { padding: 120px 24px 64px; }
  .footer { padding: 48px 24px 32px; }
  .manifesto-grid, .founder-inner, .fit-grid { grid-template-columns: 1fr; gap: 40px; }
  .productized-grid { grid-template-columns: 1fr; gap: 40px; }
  .layer-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .what-grid { grid-template-columns: 1fr; gap: 36px; }
  .fw, .case-row, .step, .principle { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .fw-num, .case-num, .step-num, .principle-num { font-size: 28px; }
  .case-decision { padding-top: 0; }
  .case-arrow { display: none; }
  .contact-hints { grid-template-columns: 1fr; }
  .contact-panel-card { padding: 40px 28px 36px; }
  .manifesto-label { position: static; }
  .scroll-cue { display: none; }
  .footer { grid-template-columns: 1fr; }
  .footer-right { text-align: left; }
  .page-hero { padding-top: 120px; }
}

/* ════════════════ ANIMATED BACKDROP (grid + drifting glow) ════════════════ */

@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-5%, 4%, 0); }
}
/* Perf rule (2026-09-09): พื้นหลังขยับได้แค่ layer เดียวคือ glow —
   grid เป็น texture นิ่ง · วัดแล้ว layer ใหญ่หลายตัวขยับพร้อมกันทำ hover หน่วง
   glow ใช้ translate ล้วน (ห้าม scale/opacity/background-position ใน keyframes) */

/* grid ตารางจาง ๆ ให้พื้นมีมิติ */
.hero::after,
.case-article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(247, 127, 0, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 127, 0, 0.065) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 35%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 60% 35%, black 30%, transparent 100%);
  pointer-events: none;
}

/* glow — layer เดียวที่ขยับ */
.hero::before,
.case-article-hero::before {
  animation: glow-drift 16s ease-in-out infinite alternate;
  will-change: transform;
}

/* page-hero (หน้า light อื่น ๆ) — grid เบากว่า */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(247, 127, 0, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 127, 0, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 92%);
  mask-image: linear-gradient(180deg, black 0%, transparent 92%);
  pointer-events: none;
}

/* CTA band ส้ม — grid เส้นขาวจาง ๆ */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
}
.case-article-hero-inner {
  position: relative;
  z-index: 1;
}

/* เคารพผู้ใช้ที่ปิด motion */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after,
  .case-article-hero::before, .case-article-hero::after,
  .page-hero::before, .cta-band::before {
    animation: none;
  }
}
