/* DAJILI — main stylesheet
   White ground, green sections, mobile first. No animation on scroll. */

:root{
  --ink:#0A2B18;
  --deep:#04381A;
  --mid:#1B6B37;
  --light:#98E48C;
  --paper:#FFFFFF;
  --paper-2:#F5F2EB;
  --line:#E4E1D8;
  --muted:#5A685F;
  --radius:10px;
  --wrap:1060px;
  --pad:26px;
  --head-h:70px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;max-width:100%;overflow-x:hidden;scroll-behavior:smooth}
body{
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,
    "Noto Sans Thai","Thonburi","Tahoma",sans-serif;
  color:var(--ink); background:var(--paper);
  line-height:1.62; font-size:16px;
  -webkit-font-smoothing:antialiased;
  max-width:100%; overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
ul{list-style:none}

.wrap{
  max-width:var(--wrap);margin:0 auto;
  padding-left:max(var(--pad), env(safe-area-inset-left));
  padding-right:max(var(--pad), env(safe-area-inset-right));
}

/* ---------------- header ---------------- */
.site-head{
  position:sticky;top:0;z-index:60;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.head-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding-top:12px;padding-bottom:12px;
}
.brand{display:block;line-height:0;text-decoration:none;flex:0 0 auto}
.brand img{width:clamp(150px,34vw,196px);height:auto}

/* hamburger */
.menu-btn{
  display:inline-flex;flex-direction:column;justify-content:center;gap:5px;
  width:46px;height:46px;border:1px solid var(--line);border-radius:10px;
  background:#fff;cursor:pointer;flex:0 0 auto;padding:0 11px;
}
.menu-btn span{display:block;height:2px;background:var(--ink);border-radius:2px;transition:.18s}
body.menu-open .menu-btn span:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.menu-open .menu-btn span:nth-child(2){opacity:0}
body.menu-open .menu-btn span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* menu panel */
.menu{
  position:fixed;top:0;right:0;bottom:0;left:auto;width:min(84vw,340px);
  background:#fff;z-index:80;
  transform:translateX(100%);transition:transform .22s ease;
  display:flex;flex-direction:column;
  padding:calc(env(safe-area-inset-top) + 22px) 26px 30px;
  box-shadow:-12px 0 40px rgba(10,43,24,.14);
  overflow-y:auto;
}
body.menu-open .menu{transform:translateX(0)}
body.menu-open{overflow:hidden}
.menu .close{
  align-self:flex-end;width:42px;height:42px;border:0;background:none;
  font-size:26px;line-height:1;color:var(--ink);cursor:pointer;margin-bottom:14px;
}
.menu ul{display:flex;flex-direction:column;gap:2px}
.menu ul a{
  display:block;text-decoration:none;font-size:18px;font-weight:600;
  padding:14px 0;border-bottom:1px solid var(--line);
}
.menu ul a:hover{color:var(--mid)}
.menu-inline{display:none}
.menu .lang{margin-top:24px}
.lang{display:flex;gap:0;border:1px solid var(--line);border-radius:99px;padding:3px;width:max-content}
.lang button{
  background:none;border:0;font:inherit;font-size:13px;font-weight:600;
  padding:7px 16px;border-radius:99px;cursor:pointer;color:var(--muted);
}
.lang button[aria-pressed="true"]{background:var(--deep);color:#fff}

.scrim{
  position:fixed;inset:0;background:rgba(10,43,24,.42);z-index:75;
  opacity:0;pointer-events:none;transition:opacity .22s;
}
body.menu-open .scrim{opacity:1;pointer-events:auto}

@media (min-width:880px){
  .menu-btn{display:none}
  .menu{display:none}          /* mobile panel is not used on desktop */
  .scrim{display:none}
  .menu-inline{display:flex;align-items:center;gap:28px;margin-left:auto}
  .menu-inline ul{display:flex;gap:28px;align-items:center}
  .menu-inline ul a{text-decoration:none;font-size:15px;font-weight:500;
    color:var(--ink);padding:6px 0;border-bottom:2px solid transparent}
  .menu-inline ul a:hover{border-bottom-color:var(--light)}
  .menu-inline .lang{margin:0}
}

/* ---------------- hero ---------------- */
.hero{padding-top:52px;padding-bottom:48px}
.strap{font-size:11px;letter-spacing:.2em;font-weight:600;color:var(--mid);margin-bottom:14px}
.hero h1{
  font-size:clamp(27px,6.9vw,52px);line-height:1.14;letter-spacing:-.015em;
  font-weight:700;max-width:16ch;
}
.hero h1 em{font-style:normal;color:var(--mid)}
.hero .lead{margin-top:20px;font-size:clamp(15px,2.1vw,18px);color:var(--muted);
  max-width:48ch}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;
  padding:14px 24px;border-radius:var(--radius);font-size:15px;font-weight:600;
  text-decoration:none;min-height:48px;transition:background .16s,border-color .16s}
.btn-primary{background:var(--deep);color:#fff}
.btn-primary:hover{background:#0a4d26}
.btn-ghost{border:1.5px solid var(--line);color:var(--ink)}
.btn-ghost:hover{border-color:var(--deep)}
.btn:focus-visible,.menu-btn:focus-visible{outline:2px solid var(--light);outline-offset:3px}
.proof{margin-top:36px;font-size:16px;font-weight:500;color:var(--mid);max-width:46ch}

/* ---------------- bands and sections ---------------- */
.band{background:var(--deep);color:#fff;padding:52px 0 56px}
.band h2{font-size:clamp(22px,4.4vw,32px);font-weight:700;letter-spacing:-.01em}
.band .sub{color:#B7D8BF;margin-top:10px;font-size:15px;max-width:46ch}
section{padding:52px 0}
.alt{background:var(--paper-2)}
.eyebrow{font-size:11px;letter-spacing:.18em;color:var(--muted);font-weight:600;margin-bottom:12px}
h2.sec{font-size:clamp(23px,4.6vw,34px);font-weight:700;letter-spacing:-.01em;
  line-height:1.2;max-width:24ch}
.sec-sub{color:var(--muted);margin-top:12px;max-width:50ch;font-size:15px}
.prose p{margin-top:14px;color:var(--muted);max-width:60ch}
.prose p:first-child{margin-top:18px}

/* service rows */
.svc{margin-top:26px}
.svc a{display:grid;grid-template-columns:28px 1fr;gap:3px 14px;
  text-decoration:none;padding:20px 0}
.svc .n{grid-column:1;grid-row:1;padding-top:4px;font-size:11px;color:#8FC79B;letter-spacing:.1em}
.svc .t{grid-column:2;grid-row:1;font-size:17px;font-weight:600}
.svc .d{grid-column:2;grid-row:2;display:block;font-size:13.5px;color:#B7D8BF;line-height:1.5}
.svc a:hover .t{color:var(--light)}

/* service cards on the services page */
.cards{display:grid;gap:22px;margin-top:30px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.card h3{font-size:19px;font-weight:700;margin-bottom:10px}
.card p{color:var(--muted);font-size:14.5px}
.card ul{margin-top:14px;display:grid;gap:7px}
.card li{font-size:14px;color:var(--muted);padding-left:16px;position:relative}
.card li::before{content:"";position:absolute;left:0;top:9px;width:6px;height:6px;
  border-radius:50%;background:var(--light)}

/* client list */
.clients{margin-top:28px;display:grid;gap:0}
.clients li{padding:13px 0;font-size:15px;display:flex;justify-content:space-between;
  align-items:baseline;gap:14px}
.clients .nm{font-weight:600}
.clients .sec2{font-size:13px;color:var(--muted);text-align:right;flex:0 0 auto}
.clients a{text-decoration:none}
.clients a:hover .nm{color:var(--mid)}

/* process */
.steps{margin-top:30px}
.step{display:flex;gap:16px;padding:24px 0}
.step .n{font-size:12px;font-weight:600;color:var(--mid);letter-spacing:.08em;
  min-width:24px;padding-top:3px}
.step h3{font-size:16.5px;font-weight:600}
.step p{font-size:14px;color:var(--muted);margin-top:3px}

/* team */
.team{display:grid;gap:26px;margin-top:30px}
.person h3{font-size:17px;font-weight:700}
.person .role{font-size:12px;letter-spacing:.12em;color:var(--mid);
  font-weight:600;margin:4px 0 8px}
.person p{color:var(--muted);font-size:14.5px}

/* contact */
.ch{display:grid;gap:12px;margin-top:28px}
.ch a{display:flex;align-items:center;justify-content:space-between;gap:14px;
  text-decoration:none;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:16px 18px;min-height:56px}
.ch a:hover{border-color:var(--deep)}
.ch .lbl{font-size:11px;letter-spacing:.12em;color:var(--muted);display:block}
.ch .val{font-weight:600;font-size:15.5px}
.ch .arw{color:var(--muted);flex:0 0 auto}
.offices{display:grid;gap:24px;margin-top:34px}
.office h3{font-size:11px;letter-spacing:.16em;color:var(--mid);font-weight:700;margin-bottom:6px}
.office p{font-size:14px;color:var(--muted)}

/* legal pages */
.legal{padding-top:48px;padding-bottom:64px}
.legal h1{font-size:clamp(26px,5vw,38px);font-weight:700;line-height:1.2;margin-bottom:8px}
.legal .updated{font-size:13px;color:var(--muted);margin-bottom:28px}
.legal h2{font-size:18px;font-weight:700;margin-top:34px;margin-bottom:8px}
.legal h3{font-size:15px;font-weight:600;margin-top:20px;margin-bottom:6px}
.legal p,.legal li{color:var(--muted);font-size:14.5px;margin-top:8px}
.legal ul{list-style:disc;padding-left:20px}
.legal a{color:var(--mid)}

/* footer */
footer{background:var(--deep);color:#B7D8BF;padding:44px 0 34px;font-size:13px}
footer .cols{display:grid;gap:26px}
footer h4{color:#fff;font-size:11px;letter-spacing:.14em;margin-bottom:8px;font-weight:700}
footer p{line-height:1.65}
footer a{color:#B7D8BF;text-decoration:none}
footer a:hover{color:#fff}
footer .legal-row{margin-top:30px;padding-top:18px;
  border-top:1px solid rgba(255,255,255,.16);
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#8FB49A}

@media (min-width:640px){
  .cards{grid-template-columns:1fr 1fr}
  .ch{grid-template-columns:1fr 1fr}
  .offices{grid-template-columns:1fr 1fr}
  footer .cols{grid-template-columns:1.2fr 1fr 1fr}
  .team{grid-template-columns:1fr 1fr}
}
@media (min-width:880px){
  :root{--pad:32px}
  .team{grid-template-columns:repeat(3,1fr)}
  h2.sec{max-width:46ch}
  .hero{padding-top:76px;padding-bottom:62px}
  .cards{grid-template-columns:repeat(3,1fr)}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}

/* past-client grid */
.client-grid{display:grid;gap:12px 30px;margin-top:22px}
.client-grid span{font-size:14px;color:var(--muted);line-height:1.5}
.client-grid .pf{color:var(--mid);font-weight:600;font-size:12.5px}
@media (min-width:600px){.client-grid{grid-template-columns:1fr 1fr}}
@media (min-width:920px){.client-grid{grid-template-columns:repeat(3,1fr)}}

/* ---------- contact form ---------- */
.form{margin-top:34px;display:grid;gap:18px}
.form label{display:block;font-size:11px;letter-spacing:.12em;color:var(--muted);
  margin-bottom:7px;font-weight:600}
.form input,.form textarea{
  width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:8px;
  font:inherit;font-size:15px;background:#fff;color:var(--ink);
  -webkit-appearance:none;appearance:none;
}
.form input:focus,.form textarea:focus{
  outline:2px solid var(--light);outline-offset:1px;border-color:var(--deep)}
.form textarea{min-height:150px;resize:vertical;line-height:1.6}
.form .row{display:grid;gap:18px}
@media (min-width:600px){.form .row{grid-template-columns:1fr 1fr}}
.form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form .form-note{font-size:13px;color:var(--muted);margin-top:12px}
.form-msg{margin:0;font-size:14.5px;font-weight:600;min-height:0}
.form-msg.ok{color:var(--mid)}
.form-msg.err{color:#A3392B}
.form[data-busy="true"] button{opacity:.6;pointer-events:none}

/* ---------- work table + filters ---------- */
.filters{display:flex;gap:8px;flex-wrap:wrap;margin:28px 0 6px}
.filters button{border:1px solid var(--line);background:#fff;border-radius:99px;
  padding:9px 16px;font:inherit;font-size:13.5px;font-weight:600;color:var(--muted);
  cursor:pointer;min-height:42px;transition:background .15s,color .15s,border-color .15s}
.filters button:hover{border-color:var(--deep);color:var(--ink)}
.filters button[aria-pressed="true"]{background:var(--deep);border-color:var(--deep);color:#fff}
.work-count{margin-top:14px;font-size:12.5px;color:var(--muted);letter-spacing:.04em}

.work-list{margin-top:16px}
.w-row{display:grid;grid-template-columns:38px 1fr 26px;grid-template-rows:auto auto;
  gap:2px 14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.w-row[hidden]{display:none}
.w-logo{grid-column:1;grid-row:1 / 3}
.w-logo img{width:32px;height:32px;border-radius:6px;display:block}
.w-name{grid-column:2;grid-row:1;font-weight:600;font-size:15px;line-height:1.35}
.w-sector{grid-column:2;grid-row:2;font-size:12.5px;color:var(--muted)}
.w-plat{display:none}
.w-link{grid-column:3;grid-row:1 / 3;justify-self:end;color:var(--muted);
  text-decoration:none;font-size:15px;line-height:1}
.w-link:hover{color:var(--mid)}
.w-none{opacity:.35}
.w-head{display:none}

@media (min-width:760px){
  .w-row{grid-template-columns:44px 1fr 150px 178px 28px;grid-template-rows:auto;
    gap:16px;padding:12px 0}
  .w-logo,.w-name,.w-sector,.w-plat,.w-link{grid-row:1}
  .w-logo img{width:34px;height:34px}
  .w-sector{grid-column:3}
  .w-plat{display:block;grid-column:4;font-size:12px;color:var(--muted);line-height:1.35}
  .w-link{grid-column:5}
  .w-head{display:grid;grid-template-columns:44px 1fr 150px 178px 28px;gap:16px;
    padding:0 0 10px;font-size:10.5px;letter-spacing:.14em;color:var(--muted);
    font-weight:600;border-bottom:1px solid var(--line)}
  .w-name{font-size:15.5px}
}

/* filter groups (sector + status) */
.fg{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.fg-label{font-size:10px;letter-spacing:.16em;color:var(--muted);font-weight:600;
  min-width:62px}
.filters{display:block}
.w-past .w-name{color:var(--muted);font-weight:500}
.w-past .w-logo img{opacity:.55}

/* ---------- hero with page image ---------- */
.hero-grid{display:grid;gap:26px}
.hero-copy{min-width:0}
.hero-figure{margin:0;border-radius:14px;overflow:hidden;background:var(--paper-2)}
.hero-figure img{display:block;width:100%;height:100%;object-fit:cover;
  aspect-ratio:16/10}
@media (min-width:880px){
  .hero-grid{grid-template-columns:1.02fr 1fr;align-items:center;gap:52px}
  .hero-figure img{aspect-ratio:4/3}
  .hero{padding-top:56px;padding-bottom:64px}
}

/* Thai small-business band: image left, copy right (image on top on mobile) */
.thai-grid{display:grid;gap:30px}
.thai-copy{min-width:0}
.thai-figure{margin:0}
@media (min-width:880px){
  .thai-grid{grid-template-columns:1fr 1fr;gap:56px;align-items:center}
  .thai-copy .sec{margin-top:0}
}

/* selected work table on the home page */
.home-work{margin-top:24px}
.home-work .w-name{font-size:15px}

/* contact links on team cards */
.person-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:16px;
  padding-top:14px;border-top:1px solid var(--line)}
.person-links a{font-size:12.5px;font-weight:600;color:var(--deep);
  text-decoration:none;border-bottom:1px solid transparent;padding-bottom:1px}
.person-links a:hover{border-bottom-color:var(--light)}
.person-links span{font-size:12.5px;color:var(--muted)}

/* team portraits */
.person .avatar{width:92px;height:92px;border-radius:50%;object-fit:cover;
  display:block;margin-bottom:18px;background:var(--paper-2)}
@media (min-width:880px){ .person .avatar{width:108px;height:108px} }

/* local-language name under a team member */
.person .name-local{font-size:13.5px;color:var(--muted);margin-top:3px;
  font-weight:500;letter-spacing:.01em}

/* ---------- inline icons ---------- */
.ico{width:26px;height:26px;display:block}
.card-ico{display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:46px;border-radius:12px;background:var(--paper-2);
  color:var(--deep);margin-bottom:16px}
.card-ico .ico{width:22px;height:22px}
.svc-ico{display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.10);
  color:#98E48C;grid-column:1;grid-row:1}
.svc-ico .ico{width:20px;height:20px}

/* cards need the icon above the text */
.card{display:block}
.card h3{margin-top:0}

/* ---------- numbered steps: circle + connector ---------- */
.steps{position:relative}
.step{position:relative;display:grid;grid-template-columns:44px 1fr;gap:16px;
  padding-bottom:30px}
.step:last-child{padding-bottom:0}
.step .n{display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;border:1.5px solid var(--line);
  background:#fff;color:var(--deep);font-size:12px;font-weight:700;
  letter-spacing:.04em;z-index:1}
.step:not(:last-child)::after{content:"";position:absolute;
  left:19px;top:44px;bottom:6px;width:1.5px;background:var(--line)}
.step h3{font-size:17px;font-weight:700;margin-bottom:6px}
.step p{color:var(--muted);font-size:14.5px;line-height:1.6;max-width:60ch}

/* ---------- FAQ ---------- */
.faq{margin-top:28px;max-width:820px}
.faq-item{border-bottom:1px solid var(--line);padding:0}
.faq-item summary{cursor:pointer;list-style:none;padding:20px 34px 20px 0;
  position:relative;font-size:16px;font-weight:600;color:var(--ink);line-height:1.45}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";position:absolute;right:6px;top:50%;
  transform:translateY(-50%);font-size:20px;font-weight:400;color:var(--mid);
  transition:transform .15s ease}
.faq-item[open] summary::after{content:"\2212"}
.faq-item p{color:var(--muted);font-size:14.5px;line-height:1.65;
  padding:0 34px 22px 0;max-width:70ch}

/* ---------- WeChat QR ---------- */
.wechat{display:grid;gap:22px;margin-top:26px;padding:24px;
  border:1px solid var(--line);border-radius:12px;align-items:start}
.wechat img{width:150px;height:150px;display:block;border-radius:8px;
  background:#fff;image-rendering:pixelated}
.wechat .lbl{font-size:11px;letter-spacing:.12em;color:var(--muted);
  font-weight:600;display:block}
.wechat .big{font-size:20px;font-weight:700;color:var(--deep);margin-top:4px}
.wechat .hint{font-size:13.5px;color:var(--muted);margin-top:10px;
  line-height:1.6;max-width:54ch}
@media (min-width:600px){
  .wechat{grid-template-columns:150px 1fr;gap:26px;align-items:center}
  .wechat img{width:150px;height:150px}
}

/* a prose block that uses the full container width */
.prose-wide p{max-width:none}

/* ---------- footer social icon ---------- */
.legal-links{display:inline-flex;align-items:center;gap:14px}
footer .soc{display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;color:#8FB49A;opacity:.85;
  transition:color .15s ease,opacity .15s ease}
footer .soc:hover{color:var(--light);opacity:1}
footer .soc .soc-ico{width:18px;height:18px;display:block}

/* section heading above the office addresses */
.offices-h{font-size:20px;font-weight:700;line-height:1.3;margin-top:46px;
  letter-spacing:-.01em}
