/* ============================================================
   S. Thanathorn — Design tokens
   Extracted from Figma file zBsRwHXJdDpmwwWxyJqswk, page
   "05 · Website Design #2" → section "Draft 4" (7 pages) + "04 / Services".
   Every value below is the exact Figma value. Counts = number of
   layers using it across the 8 pages (see inventory.json).
   ============================================================ */

/* Fonts (both on Google Fonts):
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Anuphan:wght@500;700;800&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap" rel="stylesheet">
*/

:root {
  /* ---------- Fonts ---------- */
  --font-heading: "Anuphan", "Noto Sans Thai", system-ui, sans-serif;   /* weights 500, 700, 800 */
  --font-body:    "Noto Sans Thai", "Anuphan", system-ui, sans-serif;   /* weights 400, 500, 600, 700 */

  /* ---------- Brand colors ---------- */
  --green-600: #0A8A3E;   /* 197  primary brand green: links, icons, active nav, outline buttons */
  --green-700: #0B6B33;   /*  37  darker green text on light green */
  --green-900: #0B4A2E;   /*  26  deep green: dark section bg, headings on green, overlay gradients */
  --orange-500: #FF7A1A;  /*  92  CTA buttons, accents, "High" tier */
  --orange-700: #C9530A;  /*  38  eyebrow labels (e.g. "RATE CARD") */
  --orange-300: #FFB27F;  /*   4  eyebrow on dark bg */

  /* ---------- Text ---------- */
  --ink:        #15251C;  /* 212  headings, strong text */
  --text:       #33443A;  /* 212  body text */
  --text-muted: #56635B;  /*  87  secondary text, footer, captions */
  --text-faint: #AEB8B2;  /*  11  placeholder "LOGO" marks */

  /* ---------- Surfaces ---------- */
  --white:       #FFFFFF; /* 315 */
  --green-50:    #E9F6EE; /*  49  icon chips, FAQ icon bg */
  --green-50b:   #EEF6F1; /*  32  light green section bg */
  --surface-footer: #F2F7F4; /* 10  footer bg */
  --surface-1:   #FAFCFA; /*  13  table header */
  --surface-2:   #F6FAF7;
  --surface-3:   #F4F9F6;
  --surface-4:   #F8FBF9;
  --surface-5:   #F1F5F2;
  --green-100:   #DCEBE2; /* text on dark green */
  --green-150:   #CFE3D6; /* text on dark green (CTA band subtitle) */
  --green-200:   #B9D3C2;
  --orange-50:   #FFF6EE; /*  11  "High" tier table cells */
  --orange-50b:  #FFF4EA; /*   5  light orange section bg */
  --orange-50c:  #FFF7F0; /* contact form section bg */
  --orange-50d:  #FFF1E6;

  /* Badge "ร่าง" (draft) — appears on 03 rental only */
  --badge-draft-bg:   #FFF4CC;
  --badge-draft-text: #8A6A10;

  /* ---------- Borders ---------- */
  --border:        #E3ECE6;  /* 45+22  card / divider border, 1px */
  --border-card:   #DCE9E1;  /* 30  article cards, 1px */
  --border-table:  #EEF1EE;  /* 53  table cells, 1px */
  --border-table-outer: #DCE7E0; /* 11  table outline */
  --border-soft:   #EEF2EF;
  --border-green:  #9FCCB0;

  /* ---------- Radius ---------- */
  --r-2: 2px;     /* 31  eyebrow bar */
  --r-6: 6px;
  --r-8: 8px;
  --r-10: 10px;   /* 21 */
  --r-12: 12px;   /* 71  buttons, small cards */
  --r-14: 14px;   /* 69  cards */
  --r-18: 18px;
  --r-20: 20px;   /* 104 large cards, tables, images */
  --r-24: 24px;   /* 27  feature panels */
  --r-28: 28px;
  --r-pill: 999px;/* 51  pills, chips, avatars */

  /* ---------- Shadows ---------- */
  --shadow-cta:     0 12px 24px rgba(255, 122, 26, 0.30);  /* 20  orange buttons */
  --shadow-card:    0 16px 36px rgba(21, 37, 28, 0.12);    /* 15  article cards */
  --shadow-card-sm: 0 10px 24px rgba(21, 37, 28, 0.10);
  --shadow-card-md: 0 12px 30px rgba(21, 37, 28, 0.12);
  --shadow-panel:   0 18px 44px rgba(21, 37, 28, 0.14);
  --shadow-faq:     0 8px 20px rgba(21, 37, 28, 0.10);
  --shadow-icon:    0 8px 18px rgba(21, 37, 28, 0.16);
  --shadow-soft:    0 6px 18px rgba(21, 37, 28, 0.04);
  --shadow-warm:    0 8px 20px rgba(122, 74, 40, 0.07);    /* 18  warm cards (about) */
  --shadow-warm-lg: 0 16px 36px rgba(122, 74, 40, 0.10);

  /* ---------- Layout ---------- */
  --page-width: 1440px;        /* every design frame */
  --container: 1200px;         /* div.wrap */
  --container-pad: 24px;       /* div.wrap side padding → 1152px content */
  --section-pad-x: 120px;      /* section side padding at 1440 */
  --section-pad-y: 48px;       /* most common section top/bottom padding */

  /* ---------- Type scale (size / line-height) ---------- */
  /* Display — Anuphan 700, letter-spacing -0.5px */
  --fs-page-h1: 44px; --lh-page-h1: 54px;   /* review G-03: one H1 size on every page */
  --fs-hero:  66px;  --lh-hero: 75.2px;   /* home/works hero h1 */
  --fs-h1:    42px;  --lh-h1: 50.4px;     /* section h2 (23 uses) */
  --fs-h2:    36px;  --lh-h2: 43.2px;
  --fs-h3:    34px;  --lh-h3: 44.2px;     /* CTA band "พร้อมเริ่มงานกับเราหรือยัง?" */
  --fs-h4:    21px;  --lh-h4: 27.3px;
  --fs-h5:    18px;  --lh-h5: 23.4px;
  /* Body — Noto Sans Thai */
  --fs-lead:  18px;  --lh-lead: 30.6px;   /* hero paragraph (170%) */
  --fs-body-lg: 16px; --lh-body-lg: 28px; /* 175% */
  --fs-body:  15px;  --lh-body: 22.7px;
  --fs-small: 14px;  --lh-small: 21.2px;  /* most common (162 uses) */
  --fs-xs:    13px;  --lh-xs: 19.6px;
  --fs-eyebrow: 14px; --ls-eyebrow: 1.12px; /* 700, uppercase, orange-700 */
}
