/* Desktop dimensions follow the supplied 725 × 2169 reference. */
:root{--u:min(.1379310345vw,1.986206897px);--green:#003b2b;--deep:#002c21;--cream:#f3f0e8;--gold:#d7b678;--orange:#b58432;--ink:#173b31;--font:'Noto Sans Thai',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#002b20;color:var(--ink);font-family:var(--font);font-size:calc(12 * var(--u));line-height:1.5}button,a,summary{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a,summary{touch-action:manipulation}button{border:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b57c28;outline-offset:4px}h1,h2,h3,p,blockquote,ol{margin:0}img{display:block;max-width:100%;object-fit:cover}svg{display:block;flex-shrink:0}.site{max-width:1440px;margin:auto;background:var(--cream)}.skip-link{position:fixed;top:-100px;left:10px;z-index:50;background:white;color:#003b2b;padding:12px}.skip-link:focus{top:10px}.site-header{height:calc(72 * var(--u));display:flex;position:relative;background:linear-gradient(100deg,#002d21,#003d2d);color:#eee9d9}.header-brand{width:42%;height:calc(65 * var(--u));padding:calc(5 * var(--u)) calc(38 * var(--u));background:linear-gradient(110deg,#f7f5ed,#edeae2);clip-path:polygon(0 0,100% 0,89% 100%,0 100%);border-radius:0 0 0 calc(8 * var(--u));display:flex;align-items:center}.brand{display:flex;align-items:center;gap:calc(5 * var(--u));color:#10392f;white-space:nowrap}.brand>img{height:calc(55 * var(--u));width:calc(62 * var(--u));object-fit:contain}.brand strong{display:block;font-size:calc(21 * var(--u));line-height:1.2;letter-spacing:calc(-.6 * var(--u));font-weight:700}.brand b{display:block;font-size:calc(10.5 * var(--u));line-height:1.4}.brand small{display:block;font-size:calc(7.4 * var(--u));line-height:1.5}.header-right{flex:1;margin-left:calc(-16 * var(--u));padding-right:calc(23 * var(--u))}.topbar{height:calc(37 * var(--u));display:flex;align-items:center;justify-content:flex-end;gap:calc(16 * var(--u));font-size:calc(9.6 * var(--u));border-bottom:1px solid #9a825d33}.topbar>a,.topbar>span{display:flex;align-items:center;gap:calc(4 * var(--u));white-space:nowrap}.topbar svg{width:calc(13 * var(--u));height:calc(13 * var(--u));color:var(--gold)}.topbar .top-motto{color:#c9b177;border-left:1px solid #b99f6766;padding-left:calc(14 * var(--u));font-size:calc(8.4 * var(--u))}nav{display:flex;align-items:center;justify-content:space-between;gap:calc(15 * var(--u))}header nav{height:calc(35 * var(--u))}nav a,nav button{border:0;border-bottom:1px solid transparent;padding:calc(3 * var(--u)) 0;background:none;color:inherit;font-size:calc(10 * var(--u));white-space:nowrap;line-height:1.6}nav a.current{border-bottom-color:var(--gold);color:var(--gold)}nav a:hover,nav button:hover{color:var(--gold)}.mobile-menu{display:none}.hero{height:calc(393 * var(--u));position:relative;overflow:hidden;background:#003c2e;color:var(--cream)}.hero-backdrop{position:absolute;inset:0;background:linear-gradient(90deg,#003b2ac7 0%,#003b2acd 45%,transparent 75%),url('/img/green-court.webp') left center/auto 100% no-repeat}.hero-photo{position:absolute;right:0;top:0;width:54%;height:100%}.hero-photo>img{width:100%;height:100%;object-fit:cover;object-position:50% 68%}.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#00392de0,transparent 14%);pointer-events:none}.wall-sign{position:absolute;right:calc(15 * var(--u));top:calc(18 * var(--u));width:calc(183 * var(--u));display:flex;flex-direction:column;align-items:center;color:#514631;text-align:center;opacity:.85}.wall-sign>svg{height:calc(38 * var(--u));width:calc(44 * var(--u));color:#927037;margin-bottom:calc(5 * var(--u))}.wall-sign strong{font-family:'Noto Serif Thai',serif;font-size:calc(11 * var(--u));font-weight:500}.wall-sign span{font-size:calc(7.2 * var(--u));border-top:1px solid #92703780;margin-top:calc(4 * var(--u));padding-top:calc(4 * var(--u))}.hero-copy{position:relative;z-index:2;padding:calc(72 * var(--u)) 0 0 calc(51 * var(--u));width:56%;height:100%}.hero-eyebrow{color:#d1b37a;font-size:calc(16 * var(--u));font-weight:600;margin-bottom:calc(8 * var(--u))}.hero h1{color:#e4d1a4;font-family:'Noto Serif Thai',Georgia,serif;font-size:calc(29 * var(--u));font-weight:500;line-height:1.27;letter-spacing:calc(-.8 * var(--u))}.hero-description{font-size:calc(14 * var(--u));line-height:1.55;margin-top:calc(17 * var(--u));color:#edece2}.hero-buttons{display:flex;gap:calc(13 * var(--u));margin-top:calc(20 * var(--u))}.btn{display:inline-flex;align-items:center;justify-content:center;gap:calc(11 * var(--u));min-height:calc(41 * var(--u));border-radius:calc(4 * var(--u));font-weight:600;font-size:calc(12 * var(--u));line-height:1.5;padding:calc(8 * var(--u)) calc(15 * var(--u));border:1px solid transparent;transition:filter .2s,box-shadow .2s}.btn svg{width:calc(15 * var(--u));height:calc(15 * var(--u))}.btn-gold{color:#15372c;background:linear-gradient(110deg,#e9ce99,#c89b59);box-shadow:0 1px 4px #0002}.btn:hover{filter:brightness(1.09);box-shadow:0 3px 12px #0003}.btn-outline{background:#002f2477;color:#d9be82;border-color:#ad8649;box-shadow:0 1px 5px #c7a66566}.hero-english{position:absolute;bottom:calc(34 * var(--u));left:calc(51 * var(--u));font-size:calc(9.6 * var(--u));letter-spacing:calc(2 * var(--u));color:#d3b477;font-weight:600;white-space:nowrap}.hero-english span{padding:0 calc(8 * var(--u))}.values{height:calc(104 * var(--u));display:grid;grid-template-columns:repeat(3,1fr);padding:calc(22 * var(--u)) calc(25 * var(--u));background:linear-gradient(110deg,#f1eee6,#f8f5ef,#eae6dd);border-top:calc(3 * var(--u)) solid #bdbca6;border-bottom:1px solid #b89e7155}.values article{display:flex;align-items:flex-start;gap:calc(12 * var(--u));padding:calc(3 * var(--u)) calc(13 * var(--u));position:relative}.values article+article:before{content:'';position:absolute;left:0;top:15%;bottom:10%;border-left:1px solid #bca37177}.values svg{width:calc(37 * var(--u));height:calc(43 * var(--u));color:#c4a36f;stroke-width:1.2}.values h2{font-size:calc(14 * var(--u));font-weight:600;line-height:1.35;white-space:nowrap}.values p{font-size:calc(10.5 * var(--u));line-height:1.5;margin-top:calc(5 * var(--u));color:#50574a}.services{height:calc(430 * var(--u));padding:calc(13 * var(--u)) calc(20 * var(--u)) calc(14 * var(--u));background:radial-gradient(ellipse at 50% 0,#faf9f4,#efebe3);border-bottom:1px solid #c9aa75}.section-title{text-align:center}.section-title h2{font-size:calc(23 * var(--u));line-height:1.35;font-weight:600;letter-spacing:calc(-.3 * var(--u))}.section-title p{font-size:calc(10.5 * var(--u));line-height:1.5;margin-top:calc(4 * var(--u));color:#5f6158}.service-grid{margin-top:calc(9 * var(--u));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:calc(7 * var(--u));height:calc(341 * var(--u))}.service-card{min-width:0;padding:0;text-align:left;display:flex;flex-direction:column;border:1px solid #cbb99a88;background:#f8f5ee55;overflow:hidden;transition:background .2s,box-shadow .2s}.service-card:hover{background:#fffaf0;box-shadow:0 3px 12px #14382818}.service-card>img{width:100%;height:calc(77 * var(--u));object-fit:cover;flex-shrink:0}.service-content{padding:calc(7 * var(--u)) calc(15 * var(--u));display:block}.service-content>strong{display:block;font-size:calc(14 * var(--u));font-weight:700;line-height:1.25;margin-bottom:calc(4 * var(--u));white-space:nowrap;letter-spacing:calc(-.35 * var(--u))}.service-content>span{font-size:calc(11.5 * var(--u));line-height:1.45;color:#505548;display:block}.about{height:calc(250 * var(--u));display:grid;grid-template-columns:44.2% 36.2% 19.6%;background:linear-gradient(95deg,#073c2d,#003325);color:#ece9dc;overflow:hidden}.image-button{display:block;padding:0;background:none;overflow:hidden}.image-button img{height:100%;width:100%;transition:transform .25s}.image-button:hover img{transform:scale(1.025)}.office-photo img{object-position:48% 50%}.about-copy{padding:calc(29 * var(--u)) calc(20 * var(--u)) calc(10 * var(--u)) calc(22 * var(--u))}.about-copy h2{font-family:'Noto Serif Thai',serif;color:#d2b676;font-weight:500;font-size:calc(19 * var(--u));line-height:1.45;white-space:nowrap}.about-copy>p{font-size:calc(11.2 * var(--u));line-height:1.65;margin-top:calc(12 * var(--u));color:#e0e6d8}.about-copy blockquote{font-size:calc(10.3 * var(--u));margin-top:calc(16 * var(--u));padding-top:calc(7 * var(--u));border-top:1px solid #bca67422;color:#ddcc9e;white-space:nowrap}.justice-photo{margin:calc(13 * var(--u)) calc(16 * var(--u)) calc(13 * var(--u)) 0;border:1px solid #b68d45}.justice-photo img{object-position:59% center}.profile-section{height:calc(176 * var(--u));padding:calc(7 * var(--u)) calc(10 * var(--u));background:linear-gradient(110deg,#00362a,#034732 65%,#003322);border-top:1px solid #b2b49a;border-bottom:1px solid #c2b88c;color:#f3f0e2}.premium-frame{height:100%;border:calc(1 * var(--u)) solid #d49b36;position:relative;display:grid;grid-template-columns:34% 66%;box-shadow:inset 0 0 25px #00271e66}.premium-frame:before{content:'';position:absolute;inset:calc(3 * var(--u));border:calc(1 * var(--u)) solid #b98d39;pointer-events:none;z-index:5}.corner{position:absolute;width:calc(11 * var(--u));height:calc(11 * var(--u));border:1px solid #d9a749;z-index:6}.corner:after{content:'';position:absolute;inset:calc(3 * var(--u));border:1px solid #d9a749}.tl{left:calc(-2 * var(--u));top:calc(-2 * var(--u))}.tr{right:calc(-2 * var(--u));top:calc(-2 * var(--u))}.bl{left:calc(-2 * var(--u));bottom:calc(-2 * var(--u))}.br{right:calc(-2 * var(--u));bottom:calc(-2 * var(--u))}.profile-person{height:100%;position:relative;overflow:hidden;margin:calc(7 * var(--u)) 0 calc(4 * var(--u));max-height:calc(100% - 11 * var(--u))}.profile-person>img{position:absolute;bottom:0;right:calc(-12 * var(--u));height:calc(164 * var(--u));width:calc(225 * var(--u));object-fit:contain;object-position:bottom}.profile-name{position:absolute;z-index:2;bottom:calc(8 * var(--u));left:calc(22 * var(--u));text-shadow:0 1px 4px #001c16,0 0 8px #001c16}.profile-name h2{font-size:calc(11 * var(--u));font-weight:500;line-height:1.4}.profile-name p{font-size:calc(10 * var(--u));line-height:1.4}.profile-words{position:relative;padding:calc(34 * var(--u)) calc(14 * var(--u)) 0 calc(56 * var(--u))}.quote-mark{position:absolute;top:calc(5 * var(--u));left:calc(9 * var(--u));font:calc(78 * var(--u))/1 Georgia,serif;color:#dfbd7e}.profile-words blockquote{font-family:'Noto Serif Thai',serif;font-size:calc(21 * var(--u));font-weight:400;line-height:1.65;white-space:nowrap;letter-spacing:calc(-.6 * var(--u))}.quote-rule{width:calc(62 * var(--u));height:1px;background:#c9a25a;margin:calc(8 * var(--u)) 0 calc(5 * var(--u))}.profile-words>p{text-align:center;font-size:calc(9.5 * var(--u));color:#e5e6d9;padding-right:calc(17 * var(--u))}.process{height:calc(185 * var(--u));padding:calc(13 * var(--u)) calc(23 * var(--u)) calc(8 * var(--u));color:var(--cream);background:linear-gradient(90deg,#003324db,#003728ea),url('/img/green-court.webp') center/cover;position:relative;overflow:hidden}.process:before{content:'';position:absolute;left:calc(-34 * var(--u));top:0;bottom:0;width:calc(139 * var(--u));background:url('/img/justice.webp') 52% center/cover;mix-blend-mode:luminosity;opacity:.15;pointer-events:none}.process .section-title h2{font-size:calc(21 * var(--u))}.process .section-title p{color:#d1d8c7;font-size:calc(10.5 * var(--u))}.process ol{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);padding:0;position:relative;margin-top:calc(14 * var(--u))}.process ol:before{content:'';position:absolute;top:calc(18 * var(--u));left:12.5%;right:12.5%;height:1px;background:#bbaa746b}.process li{text-align:center;position:relative;padding:0 calc(5 * var(--u))}.step-number{width:calc(39 * var(--u));height:calc(39 * var(--u));display:flex;align-items:center;justify-content:center;border-radius:100%;background:linear-gradient(130deg,#f0dcad,#cead70);color:#173d2d;font-weight:700;font-size:calc(17 * var(--u));margin:0 auto calc(7 * var(--u));position:relative}.process li+li:before{content:'';position:absolute;left:0;top:calc(64 * var(--u));bottom:calc(-2 * var(--u));border-left:1px solid #8f99744d}.process h3{font-size:calc(13.5 * var(--u));color:#e5cf98;font-weight:500}.process li p{font-size:calc(10 * var(--u));line-height:1.4;margin-top:calc(3 * var(--u));color:#dfe7d6}.faq{min-height:calc(183 * var(--u));display:grid;grid-template-columns:23% 52% 25%;background:#f2efe7}.faq-photo{background:linear-gradient(90deg,transparent 70%,#f2efe744),url('/img/office-workspace.webp') 35% center/cover}.faq-main{padding:calc(10 * var(--u)) calc(12 * var(--u)) calc(14 * var(--u))}.faq .section-title h2{font-size:calc(19 * var(--u))}.faq .section-title p{font-size:calc(10 * var(--u));margin-top:0;white-space:nowrap}.faq-list{margin-top:calc(8 * var(--u))}details{border:1px solid #d0bb9366;border-radius:calc(4 * var(--u));margin-bottom:calc(5 * var(--u));background:#f6f3eb88}summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:calc(7 * var(--u)) calc(12 * var(--u));font-size:calc(11 * var(--u));font-weight:600;min-height:calc(30 * var(--u))}summary::-webkit-details-marker{display:none}.faq-plus svg{width:calc(14 * var(--u));height:calc(14 * var(--u));color:#b9995d;transition:transform .2s}details[open] .faq-plus svg{transform:rotate(45deg)}details>p{font-size:calc(11 * var(--u));line-height:1.7;padding:0 calc(12 * var(--u)) calc(12 * var(--u));color:#4e5c50}.faq-quote{position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#f2efe7f5,#f2efe7e6 65%,#f2efe78c),url('/img/contact-wall.webp') right center/auto 100%;color:#394b3b;text-align:center}.faq-quote>span{color:#cdb183;font:calc(63 * var(--u))/1 Georgia,serif;position:absolute;left:calc(12 * var(--u));top:calc(20 * var(--u))}.faq-quote>span:last-child{left:auto;top:auto;right:calc(13 * var(--u));bottom:calc(10 * var(--u))}.faq-quote p{font-size:calc(13 * var(--u));line-height:1.5;font-weight:600}.faq-quote small{font-size:calc(11 * var(--u));font-weight:400}.contact{height:calc(260 * var(--u));display:grid;grid-template-columns:55% 45%;color:#ecefdf;border-top:1px solid #bd9959;background:linear-gradient(100deg,#002e22,#003e2e)}.contact-info{padding:calc(16 * var(--u)) calc(25 * var(--u)) calc(12 * var(--u)) calc(36 * var(--u))}.contact-info h2{font-size:calc(20 * var(--u));font-weight:500;line-height:1.3}.contact-sub{font-size:calc(10 * var(--u));margin-top:calc(3 * var(--u))}.contact-content{position:relative;margin-top:calc(17 * var(--u))}address{font-style:normal}address>a,.contact-row{display:flex;align-items:center;gap:calc(11 * var(--u));font-size:calc(11.5 * var(--u));line-height:1.65;margin-bottom:calc(8 * var(--u));width:fit-content;max-width:100%}address>a:hover span{text-decoration:underline}address svg{width:calc(19 * var(--u));height:calc(19 * var(--u));color:#e2c28a;flex-shrink:0}address .email{font-size:calc(10.5 * var(--u))}address .address{font-size:calc(10.5 * var(--u));align-items:flex-start;line-height:1.7}address .address svg{margin-top:calc(3 * var(--u))}.appointment{position:absolute;right:calc(-16 * var(--u));top:calc(35 * var(--u));font-size:calc(10.5 * var(--u));padding:calc(9 * var(--u)) calc(12 * var(--u));min-height:calc(40 * var(--u));gap:calc(10 * var(--u))}.contact-wall{background:url('/img/contact-wall.webp') center/cover;position:relative}.wall-brand{position:absolute;top:calc(19 * var(--u));left:8%;right:8%;color:#13372b;text-align:center;text-shadow:0 1px 1px #f4deb666}.wall-brand img{height:calc(85 * var(--u));width:calc(105 * var(--u));object-fit:contain;margin:0 auto calc(7 * var(--u))}.wall-brand strong{font-size:calc(26 * var(--u));font-weight:700;line-height:1.4;display:block;letter-spacing:calc(-.5 * var(--u))}.wall-brand span{font-size:calc(11.5 * var(--u));font-weight:600}.footer-main{height:calc(77 * var(--u));padding:calc(13 * var(--u)) calc(26 * var(--u));display:flex;align-items:center;justify-content:space-between;gap:calc(20 * var(--u));background:#002c21;color:#d9e2cd;border-top:1px solid #b18d4277}.brand-small{gap:calc(3 * var(--u));color:#e5eadb}.brand-small>img{width:calc(35 * var(--u));height:calc(38 * var(--u));filter:brightness(1.65)}.brand-small strong{font-size:calc(11.5 * var(--u));letter-spacing:0}.brand-small b{font-size:calc(7 * var(--u))}.brand-small small{display:none}.footer-main nav{gap:calc(12 * var(--u));flex:1}.footer-main nav a,.footer-main nav button{font-size:calc(8.6 * var(--u))}.footer-motto{text-align:right;white-space:nowrap}.footer-motto span{font-size:calc(8 * var(--u));letter-spacing:calc(1.8 * var(--u))}.footer-motto p{font-size:calc(8 * var(--u));color:#c6d5be;margin-top:calc(7 * var(--u))}.copyright{height:calc(39 * var(--u));border-top:1px solid #bca36e55;background:#00291f;color:#aab4a3;display:flex;align-items:center;justify-content:center;font-size:calc(8.6 * var(--u));text-align:center;padding:0 calc(16 * var(--u))}dialog{max-width:min(760px,92vw);width:760px;max-height:90dvh;border:1px solid #bd9854;border-radius:8px;padding:32px;background:#f6f2e9;color:#143a2c;font:16px/1.7 var(--font);box-shadow:0 20px 90px #0005}dialog::backdrop{background:#001d17cc;backdrop-filter:blur(4px)}.dialog-close{position:absolute;top:12px;right:12px;width:40px;height:40px;display:grid;place-items:center;border:1px solid #d7c5a5;border-radius:50%;background:#f7f4e9;z-index:2}.dialog-close svg{height:22px;width:22px}dialog h2{font-size:26px;font-weight:600;padding-right:35px;margin:0 0 16px}dialog p{margin:16px 0}.dialog-image{width:100%;max-height:55dvh;object-fit:contain;background:#ebe6d9}.dialog-image.service-image{max-height:260px;object-fit:cover;margin-bottom:22px}.dialog-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.dialog-actions a,.gallery-control{font-size:15px;border-radius:4px;padding:10px 18px;background:#075437;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:9px}.dialog-actions svg{width:18px;height:18px}.gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:16px}.gallery-control{width:44px;height:44px;padding:10px}.gallery-control:disabled{opacity:.4;cursor:default}.gallery-controls span{font-size:14px}.modal-note{font-size:14px;color:#65715e}.no-scroll{overflow:hidden}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media(max-width:900px){:root{--u:1px}body{font-size:16px}.site-header{height:80px;padding:0 18px}.header-brand{height:70px;width:auto;clip-path:none;padding:8px 15px;margin-left:-18px;border-radius:0 0 15px 0}.brand>img{width:51px;height:49px}.brand strong{font-size:20px}.brand b{font-size:10px}.brand small{font-size:6px}.header-right{margin:0;padding:0;display:flex;align-items:center;justify-content:end}.topbar{display:none}.mobile-menu{display:grid;place-items:center;background:none;color:#e3c68e;width:44px;height:44px}.mobile-menu svg{width:27px;height:27px}header nav{display:none;position:absolute;z-index:20;top:80px;left:0;right:0;height:auto;background:#003526;padding:12px 24px 20px;box-shadow:0 12px 18px #0004}header nav.open{display:flex;align-items:stretch;flex-direction:column;gap:0}header nav a,header nav button{font-size:16px;text-align:left;padding:10px 0}.hero{height:auto;min-height:760px;display:flex;flex-direction:column}.hero-copy{width:100%;padding:34px 24px 80px;height:auto;order:0}.hero-eyebrow{font-size:16px}.hero h1{font-size:32px;line-height:1.45;letter-spacing:-.5px}.hero-description{font-size:15px;margin-top:15px;line-height:1.8}.hero-description br{display:none}.hero-buttons{gap:12px;margin-top:21px}.btn{font-size:14px;min-height:46px;padding:11px 14px}.btn svg{width:18px;height:18px}.hero-english{font-size:8px;letter-spacing:1.7px;left:24px;bottom:29px}.hero-photo{position:relative;order:1;width:100%;height:430px}.hero-photo>img{object-position:50% 70%}.hero-photo:after{background:linear-gradient(#00392d55,transparent 18%)}.wall-sign{top:13px;right:24px;width:180px}.wall-sign strong{font-size:11px}.values{height:auto;grid-template-columns:1fr;padding:17px 24px}.values article{padding:15px 4px;gap:20px}.values article+article:before{top:0;bottom:auto;width:100%;border-left:0;border-top:1px solid #bca37155}.values svg{width:39px;height:43px}.values h2{font-size:18px;white-space:normal}.values p{font-size:14px;line-height:1.7}.values p br{display:none}.services{height:auto;padding:30px 18px}.section-title h2{font-size:25px;line-height:1.5}.section-title p{font-size:14px;line-height:1.7;margin-top:5px}.service-grid{height:auto;grid-template-columns:1fr;grid-template-rows:auto;gap:17px;margin-top:22px}.service-card>img{height:150px}.service-content{padding:15px 18px 19px}.service-content>strong{font-size:20px;white-space:normal;line-height:1.5;margin-bottom:5px}.service-content>span{font-size:16px;line-height:1.8}.service-content br{display:none}.about{height:auto;grid-template-columns:1fr 110px;overflow:visible}.office-photo{grid-column:1/-1;height:290px}.about-copy{padding:25px 13px 27px 20px}.about-copy h2{font-size:21px;white-space:normal;line-height:1.6}.about-copy p{font-size:14px;line-height:1.9}.desktop-break{display:none}.about-copy blockquote{font-size:13px;white-space:normal;margin-top:16px}.justice-photo{margin:28px 15px 28px 0;min-height:230px}.profile-section{height:auto;padding:15px 12px}.premium-frame{grid-template-columns:1fr;padding:7px;height:auto;min-height:450px}.profile-person{order:1;height:215px;max-height:none;margin:0}.profile-person>img{height:235px;width:270px;right:calc(50% - 155px);bottom:0}.profile-name{bottom:17px;left:18px}.profile-name h2{font-size:14px}.profile-name p{font-size:12px}.profile-words{padding:41px 20px 15px 24px;order:0}.quote-mark{font-size:75px;left:15px;top:0}.profile-words blockquote{font-size:21px;line-height:1.7;white-space:normal;letter-spacing:0}.profile-words blockquote br{display:none}.profile-words>p{font-size:12px;padding:0;text-align:left;line-height:1.7}.quote-rule{margin:13px 0 9px}.process{height:auto;padding:27px 15px 31px}.process .section-title h2{font-size:25px}.process .section-title p{font-size:13px}.process ol{grid-template-columns:1fr 1fr;gap:25px 8px;margin-top:25px}.process ol:before,.process li+li:before{display:none}.step-number{width:45px;height:45px;font-size:19px;margin-bottom:12px}.process h3{font-size:17px}.process li p{font-size:13px;line-height:1.7;margin-top:8px}.faq{grid-template-columns:1fr;min-height:0}.faq-photo{display:none}.faq-main{padding:27px 18px}.faq .section-title h2{font-size:25px}.faq .section-title p{font-size:13px;white-space:normal}.faq-list{margin-top:20px}summary{font-size:15px;min-height:48px;padding:12px 14px}.faq-plus svg{width:20px;height:20px}details>p{font-size:15px;padding:0 14px 16px}details{margin-bottom:9px}.faq-quote{padding:25px 20px 35px;min-height:165px}.faq-quote p{font-size:20px}.faq-quote small{font-size:15px}.faq-quote>span{left:50px;top:10px}.faq-quote>span:last-child{right:50px;bottom:10px}.contact{height:auto;grid-template-columns:1fr}.contact-info{padding:29px 24px}.contact-info h2{font-size:26px}.contact-sub{font-size:14px}.contact-content{margin-top:23px}address>a,.contact-row{font-size:16px;gap:14px;margin-bottom:16px}address svg{height:23px;width:23px}address .email, address .address{font-size:14px}.email span{overflow-wrap:anywhere}.appointment{position:static;margin-top:9px;font-size:15px;min-height:47px;padding:12px 20px}.contact-wall{height:310px}.wall-brand{top:32px}.wall-brand img{height:100px;width:124px}.wall-brand strong{font-size:30px}.wall-brand span{font-size:13px}.footer-main{height:auto;min-height:220px;display:flex;flex-wrap:wrap;padding:27px 24px;gap:23px}.brand-small>img{height:48px;width:48px}.brand-small strong{font-size:18px}.brand-small b{font-size:9px}.footer-main nav{flex:0 0 100%;justify-content:flex-start;flex-wrap:wrap;gap:13px 20px}.footer-main nav a,.footer-main nav button{font-size:13px;min-height:30px}.footer-motto{text-align:left;white-space:normal}.footer-motto span{font-size:8px;letter-spacing:2px}.footer-motto p{font-size:11px;margin-top:9px}.copyright{height:55px;font-size:11px}dialog{padding:24px 18px;max-height:92dvh}dialog h2{font-size:23px}.dialog-actions{flex-direction:column}.dialog-actions a{min-height:46px}.gallery-controls{margin-top:12px}}
/* Reference-comparison adjustments. */
@media(min-width:901px){.hero h1{font-size:calc(32 * var(--u));line-height:1.2;font-weight:400}.hero-photo>img{object-position:50% 35%}.hero-description{margin-top:calc(16 * var(--u))}.hero-buttons{margin-top:calc(18 * var(--u))}.hero-backdrop{background-image:linear-gradient(90deg,#003b2a99 0%,#003b2ac0 45%,transparent 75%),url('/img/green-court.webp')}.contact-wall{background-size:100% 100%}.wall-brand{top:calc(20 * var(--u))}.faq{min-height:calc(181 * var(--u))}.faq-main{padding-bottom:calc(11 * var(--u))}.faq-photo{background-image:linear-gradient(90deg,transparent 70%,#f2efe744),url('/img/office-library.webp');background-position:left center}.profile-person>img{right:calc(-5 * var(--u));width:calc(230 * var(--u));height:calc(171 * var(--u))}}
address svg{padding:calc(3 * var(--u));background:#d7ba84;color:#153d2f;border-radius:50%;stroke-width:2}.address svg{background:none;color:#d7ba84;padding:0;stroke-width:2.7}
@media(max-width:900px){.profile-words blockquote{text-wrap:balance;font-size:20px}.hero-backdrop{background-image:linear-gradient(90deg,#003b2aba,#003b2ac9),url('/img/green-court.webp')}}
@media(min-width:901px){.hero-photo{overflow:hidden}.hero-photo>img{object-position:center;transform:translateY(calc(-22 * var(--u))) scale(1.1);transform-origin:55% 45%}.faq-photo{background-image:linear-gradient(90deg,transparent 78%,#f2efe733),url('/img/office-reception.webp');background-position:center}.premium-frame{border-color:#d6a138}.premium-frame:before{border-color:#c9983e}}
@media(min-width:901px){.hero-photo>img{transform:translateY(calc(-10 * var(--u))) scale(1.22)}.service-content>span{font-size:calc(12 * var(--u))}.values p{font-size:calc(11 * var(--u))}.profile-words blockquote{font-size:calc(22 * var(--u));letter-spacing:calc(-.75 * var(--u))}.about-copy>p{font-size:calc(11.7 * var(--u))}}

/* ══════════════════════════════════════════════════════════════════
   ส่วนเพิ่มของ 1Day1Deaw — หน้าใน ฟอร์มติดต่อ และแกลเลอรี
   ใช้ชุดสีและตัวอักษรเดียวกับหน้าแรก แต่คิดขนาดเป็น px เพื่อให้อ่านง่ายทุกจอ
   ══════════════════════════════════════════════════════════════════ */
.wrapin{width:min(1180px,100% - 48px);margin-inline:auto}
@media(max-width:900px){.wrapin{width:calc(100% - 36px)}}

/* ── หัวหน้าใน ── */
.pagehead{background:linear-gradient(95deg,#00301f,#004430 60%,#002b1e),url('/img/green-court.webp') center/cover;background-blend-mode:multiply,normal;color:var(--cream);padding:clamp(40px,5vw,66px) 0 clamp(36px,4.5vw,56px);border-bottom:1px solid #b18d4255}
.pagehead .crumb{font-size:14px;color:#d1b37a;margin-bottom:12px}
.pagehead .crumb a{text-decoration:none}
.pagehead .crumb a:hover{text-decoration:underline;text-underline-offset:3px}
.pagehead h1{font-family:'Noto Serif Thai',Georgia,serif;font-weight:500;font-size:clamp(27px,4vw,42px);line-height:1.4;color:#e4d1a4;letter-spacing:-.01em}
.pagehead p{font-size:clamp(15px,1.5vw,17px);line-height:1.85;color:#dfe3d5;max-width:46em;margin-top:14px}

/* ── ส่วนเนื้อหาทั่วไป ── */
.block{padding:clamp(40px,5vw,68px) 0;background:var(--cream)}
.block.alt{background:radial-gradient(ellipse at 50% 0,#faf9f4,#efebe3)}
.block.dark{background:linear-gradient(95deg,#073c2d,#003325);color:#ece9dc}
.block .section-title{margin-bottom:clamp(26px,3vw,40px)}
.block .section-title h2{font-size:clamp(23px,3vw,34px);color:var(--ink)}
.block .section-title p{font-size:clamp(14px,1.4vw,16px);line-height:1.8}
.block.dark .section-title h2{color:#e4d1a4;font-family:'Noto Serif Thai',Georgia,serif;font-weight:500}
.block.dark .section-title p{color:#d1d8c7}
.rule-gold{width:56px;height:2px;background:var(--gold);border-radius:2px;margin:14px auto 0}

/* ── ข้อความยาว ── */
.prose{max-width:42em;font-size:clamp(15px,1.5vw,17px);line-height:1.95;color:#3d4c43}
.prose p{margin:0 0 1.15em}
.prose p:last-child{margin-bottom:0}
.prose h2{font-family:'Noto Serif Thai',Georgia,serif;font-weight:600;font-size:clamp(20px,2.4vw,26px);color:var(--ink);margin:1.7em 0 .6em}
.prose ul{list-style:none;padding:0;margin:0 0 1.2em;display:grid;gap:10px}
.prose ul li{position:relative;padding-inline-start:26px}
.prose ul li::before{content:'';position:absolute;inset-inline-start:3px;top:.78em;width:7px;height:7px;border-radius:50%;background:var(--gold)}
.block.dark .prose{color:#dde4d6}
.block.dark .prose h2{color:#e4d1a4}

/* ── สองคอลัมน์ ── */
.two{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(28px,4vw,52px);align-items:start}
.two.wide{grid-template-columns:1.15fr .85fr}
@media(max-width:900px){.two,.two.wide{grid-template-columns:1fr;gap:30px}}
.figure-soft{border-radius:8px;overflow:hidden;border:1px solid #cbb99a88}
.figure-soft img{width:100%;height:auto}
.figure-note{font-size:14px;color:#6b7568;line-height:1.7;padding-top:10px}

/* ── การ์ดบริการในหน้าอื่น (โครงเดียวกับหน้าแรก) ── */
.svc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media(max-width:1023px){.svc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:560px){.svc-grid{grid-template-columns:1fr;gap:16px}}
.svc-grid .service-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;border-radius:4px}
.svc-grid .service-card>img{height:clamp(140px,14vw,168px)}
.svc-grid .service-content{padding:16px 18px 18px;flex:1;display:flex;flex-direction:column}
.svc-grid .service-content>strong{font-size:clamp(17px,1.8vw,20px);white-space:normal;line-height:1.45;letter-spacing:0}
.svc-grid .service-content>span{font-size:15px;line-height:1.8}
.card-more{margin-top:auto;padding-top:14px;display:inline-flex;align-items:center;gap:7px;font-size:15px;font-weight:600;color:var(--orange)}
.card-more svg{width:16px;height:16px;transition:transform .2s}
.service-card:hover .card-more svg{transform:translateX(4px)}

/* ── ทีมทนายความ ── */
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2.4vw,28px)}
@media(max-width:900px){.team-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.team-grid{grid-template-columns:1fr;gap:26px}}
.member img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 16%;border-radius:6px;border:1px solid #cbb99a88}
.member h3{font-family:'Noto Serif Thai',Georgia,serif;font-weight:600;font-size:clamp(18px,2vw,21px);color:var(--ink);margin:16px 0 3px}
.member .role{font-size:15px;color:var(--orange);font-weight:600;margin-bottom:8px}
.member .cred{font-size:14px;color:#6b7568;margin-bottom:8px;line-height:1.7}
.member p{font-size:15px;color:#4d5a50;line-height:1.85}

/* ── แกลเลอรี: สัดส่วนจริงของไฟล์ ไม่ครอป ไม่มีกรอบ ── */
.gallery{columns:2;column-gap:12px}
@media(min-width:768px){.gallery{columns:3;column-gap:18px}}
.gallery figure{break-inside:avoid;margin:0 0 12px}
@media(min-width:768px){.gallery figure{margin-bottom:18px}}
.gallery img{width:100%;height:auto;border-radius:6px}
.gallery figcaption{font-size:14px;color:#6b7568;line-height:1.65;padding:8px 2px 0}

/* ── รีวิว ── */
.reviews-grid{columns:2;column-gap:12px}
@media(min-width:768px){.reviews-grid{columns:3;column-gap:18px}}
@media(min-width:1100px){.reviews-grid{columns:4;column-gap:20px}}
.reviews-grid figure{break-inside:avoid;margin:0 0 16px}
.reviews-grid img{width:100%;height:auto;border-radius:6px}
.reviews-grid figcaption{padding:10px 2px 0}
.reviews-grid .tag{display:inline-block;font-size:14px;font-weight:600;color:#0b5c32;background:#0b5c3218;padding:3px 11px;border-radius:99px;margin-bottom:6px}
.reviews-grid figcaption p{font-size:14.5px;line-height:1.7;color:#4d5a50;margin:0}

/* ── ฟอร์มติดต่อ ── */
.form{display:grid;gap:17px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:17px}
@media(max-width:620px){.form-row{grid-template-columns:1fr}}
.field{display:grid;gap:6px}
.field>label{font-size:15px;font-weight:600;color:var(--ink)}
.field .req{color:#a5342a}
.field .hint{font-size:14px;color:#6b7568;line-height:1.65;margin:0}
.field input,.field select,.field textarea{width:100%;font-family:inherit;font-size:16px;line-height:1.7;padding:13px 14px;border-radius:4px;border:1px solid #c9b795;background:#fffdf8;color:var(--ink);transition:border-color .18s,box-shadow .18s}
.field textarea{min-height:150px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-color:#0b5c32;box-shadow:0 0 0 3px #0b5c3222}
.field .err{font-size:14px;color:#a5342a;font-weight:600;margin:0}
.field[data-invalid] input,.field[data-invalid] select,.field[data-invalid] textarea{border-color:#a5342a;background:#fdf6f5}
.form-note{font-size:14px;color:#6b7568;line-height:1.8;margin:0}
.notice{padding:15px 17px;border-radius:5px;font-size:15px;line-height:1.8;display:flex;gap:11px;align-items:flex-start}
.notice svg{width:21px;height:21px;margin-top:3px;flex-shrink:0}
.notice-ok{background:#0b5c3214;color:#0a4f2a}
.notice-bad{background:#fdeceb;color:#9a2f24}

/* ── รายการติดต่อในหน้าติดต่อ ── */
.contact-lines{display:grid;gap:13px;margin-bottom:24px}
.contact-lines li{display:flex;gap:12px;align-items:flex-start;font-size:15.5px;line-height:1.75;list-style:none}
.contact-lines svg{width:20px;height:20px;color:var(--orange);margin-top:4px;flex-shrink:0}
.contact-lines a{color:inherit}
.contact-lines a:hover{text-decoration:underline;text-underline-offset:3px}

/* ── กล่องข้างหน้ารายละเอียดบริการ ── */
.aside-card{border:1px solid #cbb99a88;border-radius:6px;padding:26px 24px;background:#f8f5ee99}
.aside-card h2{font-family:'Noto Serif Thai',Georgia,serif;font-weight:600;font-size:20px;color:var(--ink);margin:14px 0 8px}
.aside-card p{font-size:15px;line-height:1.8;color:#4d5a50;margin:0 0 18px}
.aside-card .stack{display:grid;gap:10px}
.aside-card .btn{width:100%}
.btn-green{background:linear-gradient(110deg,#0a4632,#00311f);color:#e8d6ac;border-color:#0a4632}

/* ── ปุ่มลอยล่างจอบนมือถือ ── */
.dock{display:none}
@media(max-width:900px){
  .dock{position:fixed;inset-inline:0;bottom:0;z-index:60;display:grid;grid-template-columns:1fr 1fr;height:58px;background:#00301f;box-shadow:0 -2px 14px #0004;padding-bottom:env(safe-area-inset-bottom)}
  .dock a{display:flex;align-items:center;justify-content:center;gap:9px;font-size:16px;font-weight:600;color:#ecefdf}
  .dock a+a{border-inline-start:1px solid #b18d4240}
  .dock svg{width:20px;height:20px;color:#e2c28a}
  body{padding-bottom:58px}
}

/* ── ขนาดปุ่มบนหน้าใน (ไม่ผูกกับ --u) ── */
.btn-px{min-height:50px;border-radius:4px;font-size:16px;padding:13px 24px;gap:10px}
.btn-px svg{width:18px;height:18px}

/* ── ปรากฏตอนเลื่อนถึง ── */
[data-rise]{opacity:0;transform:translateY(20px)}
[data-rise].in{opacity:1;transform:none;transition:opacity .55s cubic-bezier(.22,.61,.36,1),transform .55s cubic-bezier(.22,.61,.36,1);transition-delay:var(--d,0ms)}
.no-js [data-rise]{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){[data-rise]{opacity:1;transform:none}}

/* ── หน้าไม่พบ ── */
.notfound-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:768px){.notfound-links{grid-template-columns:1fr 1fr}}
.notfound-links a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 20px;border:1px solid #cbb99a88;border-radius:4px;background:#f8f5ee88;font-size:16px;font-weight:600;color:var(--ink);text-decoration:none}
.notfound-links a:hover{background:#fffaf0}
.notfound-links svg{width:17px;height:17px;color:var(--orange)}

@media print{.site-header,.dock,.hero-buttons{display:none}body{background:#fff;color:#000}}


/* ── แบนเนอร์สไลด์ในกรอบภาพหน้าแรก ── */
.hero-photo>img.hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:none;transition:opacity .7s cubic-bezier(.22,.61,.36,1)}
.hero-photo>img.hero-slide.on{opacity:1}
.hero-slide.f-top{object-position:50% 12%}
.hero-slide.f-mid{object-position:50% 45%}
.hero-slide.f-bot{object-position:50% 85%}
.hero-dots{position:absolute;z-index:3;right:calc(15 * var(--u));bottom:calc(14 * var(--u));display:flex;gap:calc(5 * var(--u))}
.hero-dot{width:calc(22 * var(--u));height:calc(22 * var(--u));min-width:26px;min-height:26px;padding:0;background:none;display:grid;place-items:center}
.hero-dot::before{content:'';width:calc(6 * var(--u));min-width:7px;height:calc(6 * var(--u));min-height:7px;border-radius:50%;background:#f3f0e870;box-shadow:0 0 0 1px #00281e55;transition:background-color .25s,width .25s,border-radius .25s}
.hero-dot.on::before{width:calc(20 * var(--u));min-width:22px;border-radius:99px;background:var(--gold)}
.hero-dot:hover::before{background:#e9ce99}
@media(max-width:900px){.hero-dots{right:auto;left:50%;transform:translateX(-50%);bottom:12px;gap:8px}}

/* ── ภาพบุคคลจริงในกรอบคำพูด (แทนภาพตัดพื้นหลัง) ── */
.profile-person>img.real{position:absolute;inset:0;right:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;border-radius:calc(2 * var(--u))}
@media(max-width:900px){.profile-person>img.real{position:absolute;width:100%;height:100%;right:0;object-position:50% 50%}}

/* ── การ์ดบริการหน้าแรกเป็นลิงก์ไปหน้ารายละเอียด ── */
a.service-card{text-decoration:none;color:inherit}
.service-card .card-go{display:flex;align-items:center;gap:calc(5 * var(--u));margin-top:auto;padding:0 calc(15 * var(--u)) calc(9 * var(--u));font-size:calc(10.5 * var(--u));font-weight:600;color:var(--orange)}
.service-card .card-go svg{width:calc(13 * var(--u));height:calc(13 * var(--u));transition:transform .2s}
.service-card:hover .card-go svg{transform:translateX(3px)}
@media(max-width:900px){.service-card .card-go{font-size:15px;padding:0 18px 18px;gap:7px}.service-card .card-go svg{width:16px;height:16px}}

/* ── ไอคอนโซเชียลท้ายเว็บ ── */
.foot-social{display:flex;gap:calc(6 * var(--u));justify-content:flex-end;margin-top:calc(7 * var(--u))}
.foot-social a{width:calc(24 * var(--u));height:calc(24 * var(--u));min-width:30px;min-height:30px;display:grid;place-items:center;border-radius:4px;background:#ffffff0f;color:#e2c28a}
.foot-social a:hover{background:#e2c28a2e}
.foot-social svg{width:calc(13 * var(--u));height:calc(13 * var(--u));min-width:15px;min-height:15px}
@media(max-width:900px){.foot-social{justify-content:flex-start;margin-top:12px;gap:8px}}

/* ── ไอคอนในกล่องข้างหน้ารายละเอียดบริการ ── */
.aside-icon{width:50px;height:50px;padding:12px;border-radius:5px;background:linear-gradient(130deg,#0a4632,#00311f);color:#e0bd7c}
.aside-card .btn svg{width:18px;height:18px}
.btn-px{white-space:nowrap}

/* ══════════════════════════════════════════════════════════════════
   แก้ให้ผ่านมาตรฐาน 1Day1Deaw: ตัวอักษรไม่ต่ำกว่า 14px และปุ่มแตะได้ถนัด
   ══════════════════════════════════════════════════════════════════ */
.dock{align-items:stretch}
.dock a{min-height:52px}

/* ชื่อรองในชุดโลโก้ — เดสก์ท็อป */
.brand small{font-size:calc(8.2 * var(--u))}
.brand b{font-size:calc(11.2 * var(--u))}

@media(max-width:900px){
  /* ชุดโลโก้บนมือถือ: ตัดบรรทัดสโลแกนที่เล็กเกินอ่านออก */
  .brand b{font-size:14px;line-height:1.35}
  .brand small{display:none}
  .brand-small strong{font-size:19px}
  .brand-small b{font-size:14px}

  /* คำขวัญภาษาอังกฤษ: ให้ตัดบรรทัดได้แทนการย่อจนอ่านไม่ออก */
  .hero-english{font-size:14px;letter-spacing:.06em;white-space:normal;right:24px;bottom:24px}
  .hero-english span{padding:0 5px}

  .about-copy blockquote{font-size:14px}
  .faq .section-title p{font-size:14px}
  .footer-main nav a,.footer-main nav button{font-size:15px;min-height:40px;display:flex;align-items:center}
  .footer-motto span{font-size:14px;letter-spacing:.06em}
  .footer-motto p{font-size:14px}
  .copyright{font-size:14px;height:auto;padding:16px 20px;line-height:1.6}
}

@media(max-width:900px){
  .profile-name p{font-size:14px}
  .profile-words>p{font-size:14px}
  .process .section-title p{font-size:14px}
  .faq-quote small{font-size:15px}
}

/* เส้นทางหน้าใน: กฎ nav a ของโครงหลักมีน้ำหนักมากกว่า จึงต้องระบุให้ชัด */
.pagehead .crumb a{font-size:14px;padding:0;border:0}
@media(max-width:900px){
  .process li p{font-size:14px}
  .wall-brand span{font-size:14px}
}

/* เส้นทางหน้าใน ต้องไม่ยืดเต็มความกว้าง (กฎ nav ของโครงหลักเป็น flex space-between) */
.pagehead .crumb{display:block}
.card-more{white-space:nowrap}

/* คำคมบนมือถือ: คงจุดขึ้นบรรทัดที่ตั้งใจไว้ ไม่ให้ตัดกลางวลี */
@media(max-width:900px){
  .profile-words blockquote br{display:inline}
  .profile-words blockquote{font-size:19px}
}

/* คำคมหัวหน้าสำนักงาน: เดสก์ท็อปใช้ภาพแบนเนอร์สำเร็จ มือถือใช้บล็อกข้อความจริงเพื่อให้อ่านออก */
.profile-banner{display:none}
@media(min-width:901px){
  .profile-section{height:auto}
  .profile-banner{display:block;width:100%;height:auto;object-fit:contain}
  .premium-frame{display:none}
}
