/* =========================================================
   พี่แหวน — pwlabour.com
   static landing page · no build step · GSAP for motion
   ========================================================= */

:root{
  --ink:#0E1116;
  --ink-soft:#5A616B;
  --line-soft:#E4E4E6;
  --bg:#EFEFEF;
  --grey:#F5F5F5;
  --accent:#F26522;
  --accent-dark:#E05A1A;
  --line-green:#06C755;
  --shell:1440px;
  --pad:clamp(1.25rem, 4vw, 3rem);
  --ease:cubic-bezier(.25,.1,.25,1);
  --ease-sheet:cubic-bezier(.32,.72,0,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Anuphan',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
summary::-webkit-details-marker{display:none}

.shell{max-width:var(--shell);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad);width:100%}

.skip{position:absolute;left:-9999px;top:0;z-index:100;background:#fff;padding:.6rem 1rem;border-radius:0 0 8px 0}
.skip:focus{left:0}

:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}

/* ---------- typography ---------- */
/* Thai needs head-room: สระบน/สระล่าง collide below ~1.2 line-height,
   and negative tracking mangles the vowel marks — keep both looser than a Latin display face. */
.h-display{
  font-size:clamp(1.8rem,6.4vw,3.9rem);
  font-weight:600;
  line-height:1.44;
  letter-spacing:0;
}
@media (min-width:640px){ .h-display{font-size:clamp(2.3rem,4.6vw,3.9rem)} }
.h-display--light{color:#fff}
.h-display .line,.h-sec .line{display:block}

.h-sec{
  font-size:clamp(1.45rem,3.6vw,2.8rem);
  font-weight:600;
  line-height:1.48;
  letter-spacing:0;
  margin-bottom:clamp(2.5rem,6vw,5rem);
}

.eyebrow{font-size:13px;letter-spacing:.06em;color:var(--ink);font-weight:500}
.eyebrow--light{color:rgba(255,255,255,.65)}

.link{color:var(--accent);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* =========================================================
   HERO
   ========================================================= */
.hero{position:relative;min-height:100svh;display:flex;background:var(--bg);overflow:hidden}
.hero__inner{position:relative;z-index:2;display:flex;flex-direction:column;flex:1;padding-top:.75rem}

.hero__bg{position:absolute;inset:0;z-index:1;pointer-events:none}
.blob{position:absolute;border-radius:50%;filter:blur(70px);opacity:.75;will-change:transform}
.blob--1{width:60vw;height:60vw;min-width:420px;min-height:420px;left:-12vw;top:-16vw;
  background:radial-gradient(circle at 35% 35%,rgba(242,101,34,.55),rgba(242,101,34,0) 65%)}
.blob--2{width:55vw;height:55vw;min-width:380px;min-height:380px;right:-14vw;top:6vw;
  background:radial-gradient(circle at 50% 50%,rgba(255,183,77,.5),rgba(255,183,77,0) 66%)}
.blob--3{width:70vw;height:70vw;min-width:460px;min-height:460px;left:22vw;bottom:-30vw;
  background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.95),rgba(255,255,255,0) 62%)}
.hero__grain{
  position:absolute;inset:0;opacity:.16;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */
.nav{position:relative;z-index:5}
.nav__pill{
  background:#fff;border-radius:999px;padding:5px 5px 5px 14px;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(0,0,0,.05);
}
.nav__left{display:flex;align-items:center;gap:1.5rem;min-width:0}
.logo{display:flex;align-items:center;gap:.55rem;flex:none}
.logo__mark{
  width:38px;height:38px;border-radius:50%;background:var(--ink);color:#fff;
  display:grid;place-items:center;font-size:12px;font-weight:600;letter-spacing:.02em;flex:none;
}
.logo__mark--light{background:#fff;color:var(--ink)}
.logo__text{font-weight:600;font-size:15px;letter-spacing:0}
.nav__links{display:none;gap:1.5rem;font-size:14px}
.nav__links a{color:var(--ink);transition:color .3s var(--ease)}
.nav__links a:hover{color:var(--ink-soft)}
/* nowrap + no shrink: without them the Thai city label gets squeezed into the CTA pill */
.nav__right{display:none;align-items:center;gap:1.15rem}
.nav__note{display:none;font-size:13px;color:var(--ink-soft);white-space:nowrap;flex:none}
.nav__clock{display:none;align-items:center;gap:.35rem;font-size:13px;color:var(--ink-soft);
  font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;margin-right:.15rem}
.nav__burger{display:flex;align-items:center;gap:.4rem;background:var(--ink);color:#fff;border-radius:999px;padding:.55rem .95rem;font-size:13px;font-weight:500}

.nav__links a{white-space:nowrap}
/* Thai nav labels are long — below 1024 they wrap and break the pill, so keep the burger until then */
@media (min-width:1024px){
  .nav__pill{padding-left:5px}
  .nav__links{display:flex}
  .nav__right{display:flex}
  .nav__burger{display:none}
  .logo__text{display:none}
  .logo__mark{width:40px;height:40px}
  .nav__left{gap:1.25rem}
}
@media (min-width:1180px){ .nav__clock{display:flex} }
@media (min-width:1340px){ .nav__note{display:inline} }
@media (max-width:1023px){ .nav__left{gap:0} .nav__note{display:none} }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.75rem;border-radius:999px;
  padding:.5rem .5rem .5rem 1.25rem;font-size:13px;font-weight:500;
  transition:background-color .3s var(--ease),transform .3s var(--ease);
}
.btn--dark{background:var(--ink);color:#fff}
.btn--dark:hover{background:#1d2530}
.btn--accent{background:var(--accent);color:#fff}
.btn--accent:hover{background:var(--accent-dark)}
.btn--lg{font-size:14px;padding-left:1.5rem}
.btn__ico{
  width:26px;height:26px;border-radius:50%;background:#fff;color:var(--ink);
  display:grid;place-items:center;flex:none;
  transition:transform .5s var(--ease);
}
.btn--lg .btn__ico{width:32px;height:32px}
.btn__ico--light{color:var(--accent)}
.btn:hover .btn__ico{transform:rotate(-45deg)}

/* text-roll on hover */
.roll{display:block;height:20px;overflow:hidden}
.btn--lg .roll{height:22px}
.roll__in{display:flex;flex-direction:column;transition:transform .5s var(--ease)}
.roll__in>span{height:20px;line-height:20px;white-space:nowrap}
.btn--lg .roll__in>span{height:22px;line-height:22px}
.btn--roll:hover .roll__in{transform:translateY(-50%)}

/* line chip */
.chip{
  display:inline-flex;align-items:center;gap:.6rem;background:#fff;border-radius:6px;
  padding:.55rem .7rem .55rem .6rem;font-size:13px;font-weight:500;
  box-shadow:0 2px 8px rgba(0,0,0,.08);transition:box-shadow .3s var(--ease),transform .3s var(--ease);
}
.chip:hover{box-shadow:0 4px 16px rgba(0,0,0,.12);transform:translateY(-1px)}
.chip__ico{color:var(--line-green);display:grid;place-items:center}
.chip__badge{background:var(--ink);color:#fff;font-size:10px;padding:.15rem .45rem;border-radius:4px}
@media (min-width:640px){ .chip{font-size:14px} .chip__badge{font-size:11px} }

/* ---------- hero content ---------- */
/* centred in the space under the nav — pinning it to the bottom left a dead gap on tall screens */
.hero__grid{margin-top:auto;margin-bottom:auto;display:grid;grid-template-columns:1fr;align-items:center;
  padding-top:clamp(2rem,5vw,3rem);padding-bottom:clamp(4.5rem,9vw,5.5rem)}
@media (min-width:768px){ .hero__grid{padding-bottom:clamp(2rem,4vw,3rem)} }
@media (min-width:1024px){
  .hero__grid{grid-template-columns:minmax(0,1fr) clamp(300px,28vw,400px);gap:clamp(2rem,4vw,4rem)}
}

/* the visual is decoration — mobile skips it entirely so the CTA stays above the fold
   (a display:none lazy image never intersects the viewport, so it is not downloaded) */
.hero__visual{display:none;margin:0;position:relative}
@media (min-width:1024px){ .hero__visual{display:block} }
.hero__visual img{
  width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:20px;
  box-shadow:0 20px 60px rgba(14,17,22,.16);
}
.hero__visual-tag{
  position:absolute;left:1rem;bottom:1rem;background:rgba(255,255,255,.94);
  backdrop-filter:blur(6px);border-radius:999px;padding:.5rem .9rem;
  font-size:12.5px;font-weight:500;display:flex;align-items:center;gap:.45rem;
  box-shadow:0 4px 16px rgba(0,0,0,.1);
}
.hero__visual-tag .dot{width:7px;height:7px;border-radius:50%;background:var(--accent);flex:none}
.eyebrow{margin-bottom:clamp(1.25rem,3vw,2rem)}
.hero__sub{margin-top:1.25rem;max-width:46ch;font-size:15px;color:var(--ink-soft);line-height:1.65}
@media (min-width:640px){ .hero__sub{font-size:16.5px} }
.hero__cta{display:flex;flex-direction:column;gap:1rem;margin-top:2rem;align-items:flex-start}
@media (min-width:640px){ .hero__cta{flex-direction:row;align-items:center;gap:1.25rem;margin-top:3rem} }
.hero__trust{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;margin-top:1.75rem;font-size:13px;color:var(--ink-soft)}
.hero__trust li{display:flex;align-items:center;gap:.4rem}
.hero__trust li::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--accent)}

/* =========================================================
   MOBILE SHEET
   ========================================================= */
.sheet{position:fixed;inset:0;z-index:60}
.sheet[hidden]{display:none}
.sheet__scrim{position:absolute;inset:0;background:rgba(0,0,0,.6);opacity:0;transition:opacity .4s var(--ease)}
.sheet.is-open .sheet__scrim{opacity:1}
.sheet__panel{
  position:absolute;left:.75rem;right:.75rem;bottom:.75rem;background:#fff;border-radius:20px;
  padding:1.25rem 1.25rem 1.5rem;transform:translateY(110%);transition:transform .5s var(--ease-sheet);
}
.sheet.is-open .sheet__panel{transform:translateY(0)}
.sheet__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}
.sheet__time{font-size:12px;color:var(--ink-soft);background:var(--grey);padding:.35rem .7rem;border-radius:999px;font-variant-numeric:tabular-nums}
.sheet__close{width:34px;height:34px;border-radius:50%;background:var(--grey);display:grid;place-items:center}
.sheet__links{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1.25rem}
.sheet__links a{font-size:27px;font-weight:500;letter-spacing:0}
.sheet__cta{width:100%;justify-content:space-between}

/* =========================================================
   SECTIONS
   ========================================================= */
.sec{padding-top:clamp(3.5rem,8vw,7rem);padding-bottom:clamp(3rem,7vw,6rem)}
.sec--light{background:#fff}
.sec--grey{background:var(--grey)}
.sec--dark{background:var(--ink);color:#fff;padding-bottom:clamp(2rem,4vw,3rem)}

.badge-row{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}
.num{width:26px;height:26px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:600;flex:none}
.pill{font-size:12.5px;font-weight:500;border:1px solid var(--line-soft);border-radius:999px;padding:.25rem 1rem}
.pill--line{border-color:#DBDBDD}
@media (min-width:640px){ .num{width:28px;height:28px;font-size:12px} .pill{font-size:13px;padding:.35rem 1.1rem} }

.sec__foot{margin-top:clamp(2rem,4vw,3rem);font-size:15px;color:var(--ink-soft);max-width:60ch}

/* ---------- service cards ---------- */
.cards{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media (min-width:640px){ .cards{grid-template-columns:repeat(2,1fr);gap:1.4rem} }
@media (min-width:1024px){ .cards{grid-template-columns:repeat(3,1fr);gap:1.6rem} }

.card{
  background:var(--grey);border:1px solid transparent;border-radius:18px;padding:1.6rem 1.5rem 1.4rem;
  display:flex;flex-direction:column;gap:.6rem;
  transition:transform .45s var(--ease),box-shadow .45s var(--ease),background-color .45s var(--ease),border-color .45s var(--ease);
}
.card:hover{transform:translateY(-4px);background:#fff;border-color:var(--line-soft);box-shadow:0 14px 40px rgba(14,17,22,.09)}
.card__ico{
  width:46px;height:46px;border-radius:14px;background:#fff;color:var(--accent);
  display:grid;place-items:center;margin-bottom:.5rem;
  transition:background-color .45s var(--ease),color .45s var(--ease);
}
.card:hover .card__ico{background:var(--accent);color:#fff}
.card h3{font-size:18px;font-weight:600;letter-spacing:0}
.card p{font-size:14.5px;color:var(--ink-soft);line-height:1.62}
.card__more{
  margin-top:auto;padding-top:.9rem;font-size:13px;font-weight:600;color:var(--ink);
  display:inline-flex;align-items:center;gap:.4rem;opacity:.55;transition:opacity .45s var(--ease),gap .45s var(--ease);
}
.card:hover .card__more{opacity:1;gap:.65rem;color:var(--accent)}

/* ---------- steps ---------- */
.steps{display:grid;grid-template-columns:1fr;gap:1.1rem;counter-reset:s}
@media (min-width:640px){ .steps{grid-template-columns:repeat(2,1fr);gap:1.4rem} }
@media (min-width:1024px){ .steps{grid-template-columns:repeat(4,1fr)} }
.step{background:#fff;border-radius:18px;padding:1.5rem 1.4rem;display:flex;flex-direction:column;gap:.5rem;border:1px solid #ECECEE}
.step__n{font-size:12px;font-weight:700;color:var(--accent);letter-spacing:.08em}
.step h3{font-size:17px;font-weight:600}
.step p{font-size:14.5px;color:var(--ink-soft);line-height:1.6}

/* ---------- why ---------- */
.why{display:grid;grid-template-columns:1fr;gap:1.75rem}
@media (min-width:768px){ .why{grid-template-columns:repeat(3,1fr);gap:2.5rem} }
.why__col h3{font-size:17.5px;font-weight:600;margin-bottom:.6rem}
.why__col p{font-size:15px;color:var(--ink-soft);line-height:1.65}

.facts{display:grid;grid-template-columns:1fr;gap:1px;background:var(--line-soft);border:1px solid var(--line-soft);border-radius:18px;overflow:hidden;margin-top:clamp(2.5rem,5vw,4rem)}
@media (min-width:768px){ .facts{grid-template-columns:repeat(3,1fr)} }
.fact{background:#fff;padding:1.5rem 1.4rem;display:flex;flex-direction:column;gap:.35rem}
.fact__k{font-size:clamp(1.35rem,3vw,1.9rem);font-weight:600;letter-spacing:0;color:var(--accent)}
.fact__v{font-size:14px;color:var(--ink-soft);line-height:1.55}
.facts__note{margin-top:1rem;font-size:12.5px;color:#8A9099;max-width:70ch}

/* ---------- faq ---------- */
.faq{display:flex;flex-direction:column;gap:.75rem;max-width:900px}
.qa{background:#fff;border:1px solid #ECECEE;border-radius:16px;overflow:hidden}
.qa summary{
  cursor:pointer;list-style:none;padding:1.15rem 3.25rem 1.15rem 1.4rem;position:relative;
  font-size:16px;font-weight:600;line-height:1.5;
}
.qa__x{position:absolute;right:1.3rem;top:50%;width:14px;height:14px;margin-top:-7px}
.qa__x::before,.qa__x::after{content:"";position:absolute;background:var(--accent);border-radius:2px;transition:transform .35s var(--ease),opacity .35s var(--ease)}
.qa__x::before{left:0;top:6px;width:14px;height:2px}
.qa__x::after{left:6px;top:0;width:2px;height:14px}
.qa[open] .qa__x::after{transform:rotate(90deg);opacity:0}
.qa__a{padding:0 1.4rem 1.3rem}
.qa__a p{font-size:15px;color:var(--ink-soft);line-height:1.68}
@media (min-width:640px){ .qa summary{font-size:17px} }

/* ---------- contact ---------- */
.contact{display:grid;grid-template-columns:1fr;gap:2.5rem;padding-bottom:clamp(2.5rem,6vw,4.5rem)}
@media (min-width:1024px){ .contact{grid-template-columns:1.1fr .9fr;align-items:end;gap:4rem} }
.contact__sub{margin-top:1.25rem;font-size:15.5px;color:rgba(255,255,255,.62);max-width:46ch;line-height:1.68}
.contact__lead .eyebrow{margin-bottom:1.25rem}
.contact__place{margin-top:1.1rem;font-size:14px;color:rgba(255,255,255,.72);display:flex;align-items:center;gap:.5rem}
.contact__place .dot{width:7px;height:7px;border-radius:50%;background:var(--accent);flex:none}
.contact__actions{display:grid;grid-template-columns:1fr;gap:.9rem}
@media (min-width:520px){ .contact__actions{grid-template-columns:repeat(2,1fr)} }
@media (min-width:1024px){ .contact__actions{grid-template-columns:1fr} }
.ctile{
  display:flex;align-items:center;gap:1rem;border-radius:16px;padding:1.15rem 1.3rem;
  transition:transform .35s var(--ease),filter .35s var(--ease);
}
.ctile:hover{transform:translateY(-2px);filter:brightness(1.06)}
.ctile--accent{background:var(--accent);color:#fff}
.ctile--line{background:var(--line-green);color:#fff}
.ctile__ico{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;flex:none}
.ctile__body{display:flex;flex-direction:column;line-height:1.25}
.ctile__k{font-size:13px;opacity:.85}
.ctile__v{font-size:20px;font-weight:600;letter-spacing:0}

/* ---------- footer ---------- */
.foot{border-top:1px solid rgba(255,255,255,.12);padding-top:2rem;display:flex;flex-direction:column;gap:1.25rem}
@media (min-width:900px){ .foot{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap} }
.foot__brand{display:flex;align-items:center;gap:.85rem}
.foot__brand strong{display:block;font-size:14.5px;font-weight:600}
/* scoped to the text column — a bare `.foot__brand span` also caught the logo mark
   and painted it white-on-white (its own .logo__mark--light rule has lower specificity) */
.foot__brand div span{display:block;font-size:12.5px;color:rgba(255,255,255,.5);margin-top:.15rem}
.foot__links{display:flex;flex-wrap:wrap;gap:1.25rem;font-size:13.5px;color:rgba(255,255,255,.72)}
.foot__links a:hover{color:#fff}
.foot__copy{font-size:12px;color:rgba(255,255,255,.42);width:100%}

/* =========================================================
   STICKY MOBILE DOCK
   ========================================================= */
.dock{
  position:fixed;left:.6rem;right:.6rem;bottom:.6rem;z-index:50;
  display:grid;grid-template-columns:1fr 1fr;gap:.5rem;
  padding-bottom:env(safe-area-inset-bottom);
}
.dock__btn{
  display:flex;align-items:center;justify-content:center;gap:.45rem;
  border-radius:999px;padding:.85rem;font-size:15px;font-weight:600;color:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}
.dock__btn--call{background:var(--accent)}
.dock__btn--line{background:var(--line-green)}
@media (min-width:1024px){ .dock{display:none} }

/* =========================================================
   MOTION — only when JS is on, and only below the fold
   ========================================================= */
.js .reveal{opacity:0;transform:translateY(24px)}
.js [data-hero]{opacity:0}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .reveal,.js [data-hero]{opacity:1!important;transform:none!important}
  .blob{animation:none!important}
  *{transition-duration:.01ms!important}
}
