:root {
  --ink: #18171b;
  --paper: #f3f1eb;
  --paper-light: #fbfaf6;
  --purple: #6c3c8c;
  --purple-dark: #4b2468;
  --purple-light: #e8dcef;
  --muted: #69676d;
  --line: rgba(24,23,27,.15);
  --sans: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; top: 0; left: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px clamp(24px,5vw,76px); border-bottom: 1px solid transparent; transition: background .25s,border-color .25s,padding .25s; }
.site-header.is-scrolled { padding-top: 11px; padding-bottom: 11px; background: rgba(243,241,235,.93); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-icon { display: grid; width: 38px; height: 38px; overflow: hidden; background: var(--ink); border-radius: 8px; place-items: center; }
.brand-icon .brand-mark { width: 30px; height: 30px; overflow: visible; fill: var(--paper-light); stroke: var(--ink); stroke-width: 1.15; }
.brand-icon .vine-stem { fill: none; stroke: var(--paper-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-icon .vine-leaf { fill: var(--paper-light); stroke: none; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 16px; line-height: 1.05; letter-spacing: -.04em; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 29px; font-size: 13px; font-weight: 700; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.language-link { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.nav-contact { padding: 11px 17px; color: #fff; background: var(--purple); border-radius: 3px; }
.nav-toggle { display: none; }

.hero,.services,.works-bridge,.contact,.site-footer { padding-right: clamp(24px,7vw,110px); padding-left: clamp(24px,7vw,110px); }
.hero { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(430px,.7fr); gap: clamp(55px,8vw,130px); min-height: 100svh; padding-top: 150px; padding-bottom: 40px; align-items: center; }
.hero-copy { padding: 50px 0; }
.eyebrow,.section-label { margin: 0; color: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { max-width: 920px; margin: 25px 0 0; font-size: clamp(64px,7.8vw,122px); line-height: .9; letter-spacing: -.075em; }
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-summary { max-width: 680px; margin: 36px 0 0; color: #55545a; font-size: clamp(17px,1.45vw,21px); line-height: 1.65; letter-spacing: -.02em; }
.hero-actions { display: flex; align-items: center; gap: 29px; margin-top: 36px; }
.button { display: inline-flex; min-height: 50px; padding: 0 22px; align-items: center; justify-content: center; background: transparent; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s,box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.button span,.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.button:hover span,.text-link:hover span { transform: translate(3px,-3px); }
.button-dark { color: #fff; background: var(--ink); }
.button-light { color: var(--ink); background: #fff; }
.button-purple { width: 100%; color: #fff; background: var(--purple); }
.text-link { font-size: 13px; font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.care-panel { overflow: hidden; color: #fff; background: var(--ink); border-radius: 7px; box-shadow: 18px 18px 0 var(--purple-light); }
.care-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 21px; border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.care-head > div { display: flex; align-items: center; gap: 9px; }
.care-head small { color: rgba(255,255,255,.45); }
.care-dot { width: 7px; height: 7px; background: #b98bd0; border-radius: 50%; box-shadow: 0 0 13px #b98bd0; }
.care-main { padding: clamp(34px,4vw,58px); background: linear-gradient(145deg,var(--purple-dark),var(--purple)); }
.care-main p { margin: 0 0 10px; color: rgba(255,255,255,.58); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.care-main strong { font-size: clamp(35px,3.8vw,57px); line-height: 1.04; letter-spacing: -.055em; }
.care-list { padding: 10px 20px; }
.care-list > div { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; padding: 17px 0; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); }
.care-list > div:last-child { border-bottom: 0; }
.care-list span { color: rgba(255,255,255,.38); font-family: var(--mono); font-size: 9px; }
.care-list p { display: flex; margin: 0; flex-direction: column; }
.care-list strong { font-size: 13px; }
.care-list small { margin-top: 4px; color: rgba(255,255,255,.48); font-size: 10px; }
.care-list b { display: grid; width: 25px; height: 25px; color: var(--purple-dark); background: var(--purple-light); border-radius: 50%; place-items: center; font-size: 10px; }
.hero-strip { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); margin-top: 10px; border-top: 1px solid var(--line); }
.hero-strip div { padding: 24px 5vw 0 0; }
.hero-strip div:not(:last-child) { border-right: 1px solid var(--line); }
.hero-strip div:not(:first-child) { padding-left: 4vw; }
.hero-strip strong { display: block; margin-bottom: 7px; font-size: 13px; }
.hero-strip span { display: block; max-width: 350px; color: var(--muted); font-size: 11px; line-height: 1.55; }

.services { padding-top: 140px; padding-bottom: 145px; color: #fff; background: var(--ink); }
.section-intro { display: grid; grid-template-columns: .3fr 1.25fr .6fr; gap: clamp(32px,3.5vw,60px); align-items: end; }
.services .section-label { color: rgba(255,255,255,.45); align-self: start; }
.section-intro h2 { margin: 0; font-size: clamp(48px,5vw,82px); line-height: 1; letter-spacing: -.065em; }
.section-intro > p:last-child { margin: 0; color: rgba(255,255,255,.58); font-size: 16px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 80px; border-top: 1px solid rgba(255,255,255,.14); }
.service-grid article { min-height: 340px; padding: 31px 4vw 35px 0; }
.service-grid article:not(:last-child) { border-right: 1px solid rgba(255,255,255,.14); }
.service-grid article:not(:first-child) { padding-left: 4vw; }
.service-grid article > span { color: #c5a5d4; font-family: var(--mono); font-size: 10px; }
.service-grid h3 { margin: 72px 0 15px; font-size: 32px; letter-spacing: -.05em; }
.service-grid p { max-width: 340px; margin: 0; color: rgba(255,255,255,.56); font-size: 14px; line-height: 1.65; }
.service-grid small { display: block; margin-top: 38px; color: rgba(255,255,255,.35); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.localvault-row { display: grid; grid-template-columns: .5fr 1.2fr auto; gap: 40px; margin-top: 65px; padding: 29px 0; align-items: center; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.localvault-number { color: #c5a5d4; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.localvault-row > div { display: flex; align-items: baseline; gap: 25px; }
.localvault-row strong { font-size: 21px; }
.localvault-row p { margin: 0; color: rgba(255,255,255,.52); font-size: 13px; }
.localvault-row > b { font-size: 12px; }
.localvault-row:hover > b { text-decoration: underline; text-underline-offset: 5px; }

.works-bridge { display: grid; grid-template-columns: 1.2fr .55fr; gap: clamp(60px,10vw,150px); padding-top: 135px; padding-bottom: 135px; color: #fff; background: var(--purple); }
.section-label-light { color: rgba(255,255,255,.55); }
.works-copy h2 { max-width: 950px; margin: 28px 0 0; font-size: clamp(48px,6vw,90px); line-height: .98; letter-spacing: -.07em; }
.works-action { align-self: end; }
.works-action p { margin: 0 0 30px; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.7; }

.contact { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(70px,11vw,170px); padding-top: 140px; padding-bottom: 140px; }
.contact-copy h2 { margin: 25px 0 30px; font-size: clamp(50px,6vw,90px); line-height: .98; letter-spacing: -.07em; }
.contact-copy > p:not(.section-label) { max-width: 580px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.contact-copy > a { display: inline-block; margin-top: 20px; color: var(--purple); font-size: 13px; font-weight: 800; }
.contact-copy > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-form { align-self: center; padding: clamp(28px,4vw,50px); background: var(--paper-light); border: 1px solid var(--line); border-radius: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; margin-bottom: 22px; }
.contact-form label > span { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.contact-form input,.contact-form textarea { width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid #bbb9b2; border-radius: 0; outline: none; resize: vertical; }
.contact-form input:focus,.contact-form textarea:focus { border-color: var(--purple); box-shadow: 0 2px 0 var(--purple); }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 45px; padding-top: 43px; padding-bottom: 43px; align-items: end; color: rgba(255,255,255,.62); background: var(--ink); font-size: 11px; }
.footer-brand { color: #fff; }
.footer-brand .brand-copy small { color: rgba(255,255,255,.45); }
.footer-branding p { margin: 17px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a:hover { color: #fff; }
.site-footer > small { font-family: var(--mono); font-size: 9px; }

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .65s ease,transform .65s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Thai landing page */
.thai-page { --sans: "Noto Sans Thai", "Manrope", sans-serif; }
.thai-page .brand-copy { font-family: "Manrope", sans-serif; }
.thai-page .eyebrow,
.thai-page .section-label,
.thai-page .care-head,
.thai-page .care-main p,
.thai-page .contact-form label > span { letter-spacing: .03em; text-transform: none; }
.thai-page .hero h1 { font-size: clamp(58px,6.5vw,102px); letter-spacing: -.055em; }
.thai-page .section-intro h2,
.thai-page .works-copy h2,
.thai-page .contact-copy h2 { letter-spacing: -.045em; }
.thai-page .care-main strong { letter-spacing: -.035em; }

@media(max-width:1000px){
  .hero { grid-template-columns: 1fr; }
  .care-panel { width: min(660px,calc(100% - 18px)); }
  .section-intro { grid-template-columns: 1fr; gap: 30px; }
  .section-intro > p:last-child { max-width: 660px; }
  .works-bridge,.contact { grid-template-columns: 1fr; }
  .works-action { max-width: 650px; }
  .contact-form { width: min(720px,100%); }
}

@media(max-width:700px){
  .site-header { padding: 13px 20px; }
  .nav-toggle { position: absolute; top: 11px; right: 14px; z-index: 2; display: grid; width: 42px; height: 42px; padding: 0; place-content: center; gap: 6px; color: #fff; background: var(--ink); border: 0; border-radius: 3px; }
  .nav-toggle i { display: block; width: 21px; height: 2px; background: #fff; transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: none; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 75px 24px 24px; background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 22px; }
  .site-nav .language-link { font-size: 16px; }
  .nav-contact { color: var(--ink); background: transparent; border-radius: 0; }
  .hero { min-height: auto; padding-top: 130px; padding-bottom: 35px; }
  .hero h1 { font-size: clamp(53px,15vw,76px); }
  .thai-page .hero h1 { font-size: clamp(48px,13vw,68px); }
  .hero-summary { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .care-panel { width: calc(100% - 11px); box-shadow: 11px 11px 0 var(--purple-light); }
  .hero-strip { grid-template-columns: 1fr; margin-top: 35px; }
  .hero-strip div,.hero-strip div:not(:first-child) { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .services,.works-bridge,.contact { padding-top: 90px; padding-bottom: 90px; }
  .section-intro h2,.works-copy h2,.contact-copy h2 { font-size: clamp(46px,13vw,65px); }
  .service-grid { grid-template-columns: 1fr; margin-top: 55px; }
  .service-grid article,.service-grid article:not(:first-child) { min-height: 0; padding: 28px 0 36px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .service-grid h3 { margin-top: 35px; }
  .localvault-row { grid-template-columns: 1fr; gap: 15px; }
  .localvault-row > div { align-items: flex-start; flex-direction: column; gap: 7px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 22px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media(prefers-reduced-motion:reduce){
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
