/* Thai Touch Massage: bold emerald, gold and vermilion on ivory. Kanit for headings, Sarabun for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFF9EA;
  --surface: #FFFFFF;
  --soft: #DDF1E5;
  --ink: #073B2B;
  --muted: #4A6A5C;
  --line: #CFE3D6;
  --line-strong: #0B6E4F;
  --brand: #0B6E4F;
  --brand-hover: #07533B;
  --brand-ink: #FFFFFF;
  --brand-text: #0B6E4F;
  --gold: #F2B705;
  --red: #D7263D;
  --eyebrow: #B01E31;
  --badge-bg: #D7263D;
  --badge-ink: #FFFFFF;
  --out-bg: #073B2B;
  --out-ink: #FFF9EA;
  --out-accent: #F2B705;
  --out-btn: #F2B705;
  --out-btn-ink: #073B2B;
  --head: "Kanit", system-ui, sans-serif;
  --body: "Sarabun", system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --btn-radius: 8px;
  --wrap: 1200px;
  --gap: 22px;
}
body { font-size: 1.05rem; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.btn { font-family: var(--head); font-weight: 600; letter-spacing: .02em; }
.eyebrow { font-family: var(--head); font-weight: 600; letter-spacing: .16em; }
.ic { color: var(--brand); }

/* header with a patterned gold edge */
.header { background: var(--brand); color: #fff; position: sticky; padding-bottom: 8px; background-image: linear-gradient(45deg, var(--gold) 25%, transparent 25%), linear-gradient(-45deg, var(--gold) 25%, transparent 25%); background-size: 16px 8px; background-position: 0 100%; background-repeat: repeat-x; border-bottom: 0; }
.header > .wrap { min-height: 72px; background: var(--brand); width: 100%; margin: 0; padding-inline: max(16px, calc((100% - var(--wrap)) / 2)); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; }
.logo span { display: grid; line-height: 1; }
.logo b { font: 700 1.3rem var(--head); color: #fff; letter-spacing: .08em; }
.logo small { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.nav a { font-family: var(--head); font-weight: 500; color: #E4F4EA; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.16); color: #fff; }
.header .btn-primary { background: var(--gold); color: #073B2B; }
.header .btn-primary:hover { background: #FFD24A; }
.header .nav-toggle { border-color: rgba(255,255,255,.5); color: #fff; }
@media (max-width: 960px) { .nav-open .nav { background: var(--brand); top: calc(100% - 8px); } .nav-open .nav a { border-color: rgba(255,255,255,.2); } }

/* emerald hero */
.hero { padding-block: clamp(32px, 6vw, 84px); background: var(--brand); color: #fff; }
.hero .lede { color: #CDE8D8; }
.hero .eyebrow { color: var(--gold); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); margin: 12px 0 16px; }
.hero .t-actions { margin-top: 24px; }
.hero .btn-primary { background: var(--gold); color: #073B2B; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; color: #CDE8D8; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts b { color: #fff; }
.hero .ic { color: var(--gold); }
.hero-art { border-radius: 24px; overflow: hidden; border: 4px solid var(--gold); box-shadow: 10px 10px 0 var(--red); }
.hero-art svg { display: block; width: 100%; height: auto; }
.band-gold { background: var(--gold); color: #073B2B; padding-block: clamp(26px, 4vw, 40px); }
.band-gold .ic { color: #073B2B; }
.band-mint { background: var(--soft); }
.trust { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust li { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; }
.body-peek { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .body-peek { grid-template-columns: minmax(0, 1fr); } }
.peek-figure { margin: 0; max-width: 220px; justify-self: center; }
.c-card { border: 2px solid var(--brand); }
.c-img svg { border-bottom: 2px solid var(--brand); }
.c-filters button { border-width: 2px; border-color: var(--brand); }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-head { background: var(--soft); border-bottom: 4px solid var(--gold); margin-bottom: clamp(24px, 4vw, 44px); padding-block: clamp(32px, 5vw, 60px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.numbers-band { background: var(--brand); color: #fff; }
.numbers b { color: var(--gold); }
.numbers span { color: #CDE8D8; }
.card, .cd-side, .done, .quotes li { border: 2px solid var(--brand); }
.pick { border: 2px solid var(--brand); }
.pick:has(input:checked) { background: var(--soft); box-shadow: 5px 5px 0 var(--gold); }
.chips span, .seg span, .day-strip button, .slot span { border: 2px solid var(--brand); }
.chips input:checked + span, .seg input:checked + span, .day-strip button[aria-pressed="true"], .slot input:checked + span { background: var(--brand); color: #fff; }
.tool-out { box-shadow: 8px 8px 0 var(--red); }
.out-text { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.sec-title { font-size: clamp(1.9rem, 4vw, 2.9rem); }

/* body figure */
.body-pick { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 520px) { .body-pick { grid-template-columns: minmax(0, 1fr); } .fig-box { max-width: 150px; } }
.body-fig { width: 100%; height: auto; }
.body-fig .area { fill: #CFE3D6; stroke: var(--brand); stroke-width: 2; cursor: pointer; transition: fill .2s; }
.body-fig .area.on { fill: var(--gold); }
.body-fig .area:hover { fill: #F7D970; }
@media (prefers-reduced-motion: reduce) { .body-fig .area { transition: none; } }
.peek-figure .area { cursor: default; }
.peek-figure .area:nth-child(2), .peek-figure .area:nth-child(3) { fill: var(--gold); }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 76px); background: var(--red); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.cta-band p { margin-top: 6px; color: #FFE0E4; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--gold); color: #073B2B; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.footer { background: #073B2B; color: #BFD9CA; --footer-line: rgba(255,255,255,.16); border-top: 8px solid var(--gold); }
.footer .logo b { color: #fff; }
.footer h2 { color: var(--gold); }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: var(--gold); }
