/* รอยัล ลอว์ เฟิร์ม — ดำ ทอง ทางการ น่าเชื่อถือ (ตามดีไซน์ 00-selected-website-fullpage.png)
   กฎเหล็ก: ทุกส่วนต้องยังสวยเมื่อลูกค้าใส่ข้อความสั้นมากหรือยาวมาก และต้องไม่ล้นจอที่ 360px */

:root {
  --ink: #111111;
  --ink-2: #191919;
  --ink-3: #222222;
  --black: #0a0a0a;
  --paper: #fafafa;
  --grey: #ededeb;
  --white: #ffffff;
  --gold: #d8b36b;
  --gold-deep: #9a7431;      /* ทองบนพื้นอ่อน ผ่านเกณฑ์อ่านออก */
  --muted-dark: #c9c4ba;     /* ข้อความรองบนพื้นดำ */
  --muted-light: #55524c;    /* ข้อความรองบนพื้นอ่อน */
  --line-dark: rgba(255, 255, 255, .14);
  --font: 'Noto Sans Thai Looped', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --display: var(--font);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --gap: clamp(64px, 8.4vw, 120px);
  --pad: clamp(16px, 5.6vw, 80px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.75; -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.3; margin: 0; font-weight: 700; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.sec { padding-block: var(--gap); }
.sec-light { background: var(--paper); }
.sec-grey { background: var(--grey); }
.sec-dark { background: var(--ink); color: var(--white); }
.sec-gold { background: var(--gold); color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--gold); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- หัวข้อ (eyebrow + หัวข้อใหญ่) ---------- */
.dh { margin-bottom: clamp(28px, 3vw, 36px); max-width: 60rem; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 14px; line-height: 1.4;
}
.sec-dark .eyebrow, .band .eyebrow, .hero-full .eyebrow { color: var(--gold); }
.sec-gold .eyebrow { color: var(--ink); }
.dh h1, .dh h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.32; letter-spacing: -.005em; font-weight: 800; }
.dh .ln { display: block; }
.gold { color: var(--gold); }
.sec-light .gold, .sec-grey .gold { color: var(--gold-deep); }
.sec-intro { margin: -14px 0 32px; max-width: 46rem; font-size: 17px; }
.sec-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 36px); }
.sec-top .dh { margin-bottom: 0; }
.lang-en .dh h1, .lang-en .dh h2, .lang-zh .dh h1, .lang-zh .dh h2 { max-width: 24ch; text-wrap: balance; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 28px; background: var(--gold); color: var(--ink); white-space: nowrap;
  font-weight: 700; font-size: 16px; border: 0; cursor: pointer; font-family: inherit;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { font-size: 1.1em; transition: transform .2s var(--ease); }
.btn:hover { background: #e4c483; }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 46px; padding: 10px 26px; font-size: 15px; }
.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; margin-top: 28px; }
.btn-line:hover { background: var(--gold); color: var(--ink); box-shadow: none; }
.sec-gold .btn { background: var(--ink); color: var(--white); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-deep);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.sec-dark .link-arrow { color: var(--gold); }
.link-arrow:hover { border-color: currentColor; }

/* ---------- หัวเว็บ ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--white); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line-dark), 0 10px 30px rgba(0, 0, 0, .35); }
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 86px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex: none;
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85); font-size: 18px;
}
.brand-mark img { width: 34px; height: 34px; object-fit: contain; border-radius: 50%; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name b { font-family: var(--serif); font-weight: 700; font-size: 23px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.brand-name small { font-size: 10.5px; letter-spacing: .22em; color: rgba(255, 255, 255, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-links { display: flex; gap: clamp(16px, 2.1vw, 32px); margin-left: auto; }
.nav-links a { font-size: 15px; font-weight: 600; padding: 6px 0; position: relative; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-tools { display: flex; align-items: center; gap: 22px; }
.langs { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.langs span { opacity: .6; }
.langs a { padding: 4px 2px; opacity: .85; }
.langs a[aria-current="true"] { color: var(--gold); opacity: 1; }
.langs-menu { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 46px; height: 46px; font-size: 24px; cursor: pointer; place-items: center; }
.nav-toggle svg:last-child { display: none; }
.nav.open .nav-toggle svg:first-child { display: none; }
.nav.open .nav-toggle svg:last-child { display: block; }

/* ---------- แบนเนอร์ / สไลด์ ---------- */
.hero { position: relative; overflow: hidden; }
.hero-track { display: flex; transition: transform .7s var(--ease); }
.hero-slide { flex: 0 0 100%; min-width: 0; position: relative; }
.hero-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dots button { width: 28px; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: var(--gold); }

/* แบนเนอร์ใหญ่หน้าแรก: ข้อความซ้ายพื้นดำ รูปขวา */
.hero-full { background: var(--ink); color: var(--white); }
.hero-full .hero-slide { min-height: clamp(560px, 50vw, 720px); display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 53%; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 55% 22%; }
.hero-media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(17, 17, 17, .55) 9%, rgba(17, 17, 17, 0) 24%);
}
.hero-copy { position: relative; z-index: 2; width: 100%; padding-block: 80px; }
.hero-title { margin-bottom: 28px; max-width: none; }
.hero-title h1, .hero-title p:not(.eyebrow) { font-size: clamp(38px, 5.3vw, 76px); line-height: 1.28; font-weight: 800; }
.lang-en .hero-title h1, .lang-zh .hero-title h1 { max-width: 13em; font-size: clamp(36px, 4.4vw, 64px); }
.hero-title .gold { color: var(--gold); }
.hero-sub { font-size: clamp(17px, 1.45vw, 21px); max-width: 17em; line-height: 1.6; margin-bottom: 40px; }
.hero-copy > * { max-width: 560px; }
.hero-copy > .hero-title { max-width: 620px; }

/* แถบรูปเต็มความกว้าง ข้อความทับ */
.band { background: var(--ink); color: var(--white); }
.band .hero-slide { min-height: clamp(340px, 29vw, 420px); display: flex; align-items: center; }
.band picture { position: absolute; inset: 0; }
.band picture img { width: 100%; height: 100%; object-fit: cover; }
.band .hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10, 10, 10, .78) 0%, rgba(10, 10, 10, .5) 45%, rgba(10, 10, 10, .2) 100%);
}
.band-copy { position: relative; z-index: 2; width: 100%; padding-block: 64px; }
.band .dh { margin-bottom: 14px; }
.band .dh h1, .band .dh h2, .band .dh p:not(.eyebrow) { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.25; font-weight: 800; }
.band-sub { font-size: 18px; max-width: 34em; }
.band .btn { margin-top: 28px; }
.band-top .hero-slide { min-height: clamp(320px, 30vw, 440px); }

/* ---------- แถบทองใต้แบนเนอร์ ---------- */
.strip { background: var(--gold); color: var(--ink); }
.strip-list { list-style: none; margin: 0; padding: 20px 0; display: flex; justify-content: space-between; gap: 10px 32px; flex-wrap: wrap; }
.strip-list li { display: flex; flex-direction: column; line-height: 1.5; }
.strip-list b { font-size: 16.5px; font-weight: 700; }
.strip-list li:last-child b { letter-spacing: .04em; font-weight: 600; }
.strip-list span { font-size: 14px; }
.strip-intro { padding-bottom: 16px; font-size: 15px; }

/* ---------- เกี่ยวกับเรา ---------- */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 88px; align-items: start; }
.intro-split .dh { margin-bottom: 0; }
.prose p { font-size: 17px; line-height: 1.85; }
.prose p + p { margin-top: 18px; }
.prose .quote { font-size: clamp(21px, 1.8vw, 26px); font-style: italic; color: var(--gold-deep); font-weight: 600; line-height: 1.5; margin-top: 30px; }
.sec-dark .prose .quote { color: var(--gold); }
.intro-split .prose { padding-top: 34px; }
.prose-wide { max-width: none; }
.prose:not(.prose-wide) { max-width: 46rem; }
.intro-split .prose { max-width: none; }

.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.place-pic img { width: 100%; aspect-ratio: 61 / 43; object-fit: cover; object-position: 50% 28%; }
/* รูปหน้าสำนักงาน: เลื่อนจุดโฟกัสลงให้เห็นทั้งตราชั่งบนหน้าจั่วและประตูกระจก (ลูกค้าขอ 2026-10-07) */
.place-pic img[src*="office-ratsada-phuket"] { object-position: 50% 60%; }
.place.pic-right .place-pic { order: 2; }
.place-text .dh { margin-bottom: 22px; }
.place-text .dh h1, .place-text .dh h2 { font-size: clamp(28px, 3vw, 44px); }

/* ---------- รูปคู่ ---------- */
.pair { display: grid; gap: 16px; grid-template-columns: 2.07fr 1fr; }
.pair-1 { grid-template-columns: 1fr; }
.pair-2:is(.sec-grey *) { grid-template-columns: 1fr 1fr; }
.pair-3 { grid-template-columns: 2fr 1fr 1fr; }
.pair figure { margin: 0; min-width: 0; }
.pair img { width: 100%; height: clamp(240px, 34.7vw, 500px); object-fit: cover; }
.sec-grey .pair img { height: clamp(220px, 25vw, 360px); }
.pair figcaption { font-size: 14px; margin-top: 10px; opacity: .8; }
.pair-sec .btn { margin-top: 28px; }
.pair-sec .dh h1, .pair-sec .dh h2 { font-size: clamp(28px, 3vw, 44px); }

/* ---------- ความเชี่ยวชาญ (บริการ) ---------- */
.practice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.area {
  position: relative; background: var(--ink-2); color: var(--white); min-height: 240px;
  padding: 34px 31px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.area:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.area-no { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--gold); line-height: 1; }
.area h3, .area h4 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.35; }
.area p { font-size: 14.5px; color: var(--muted-dark); line-height: 1.6; margin-top: 4px; }
.area-gold { background: var(--gold); color: var(--ink); }
.area-gold .area-no { color: var(--ink); }
.area-gold p { color: #2b261c; }
.area-pic { margin: -34px -31px 0; }
.area-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.area .link-arrow { margin-top: 14px; color: var(--gold); }
.practice-list { grid-template-columns: 1fr; }
.practice-list .area { min-height: 0; flex-direction: row; align-items: baseline; gap: 24px; }

/* ---------- ทีมงาน ---------- */
.team-split { display: grid; grid-template-columns: minmax(220px, 290px) minmax(0, 1fr); gap: 40px 46px; align-items: center; }
.team-lead .dh { margin-bottom: 22px; }
.team-lead .dh h1, .team-lead .dh h2 { font-size: clamp(28px, 2.6vw, 38px); }
.team-lead p { color: var(--muted-dark); font-size: 17px; line-height: 1.85; margin-bottom: 36px; }
.members { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.members-grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.member { margin: 0; background: var(--ink-3); display: flex; flex-direction: column; transition: transform .25s var(--ease); }
.member:hover { transform: translateY(-3px); }
.member-pic { overflow: hidden; background: #1c1c1c; }
.member-pic img { width: 100%; aspect-ratio: 303 / 330; object-fit: cover; object-position: 50% 22%; transition: transform .6s var(--ease); }
.member:hover .member-pic img { transform: scale(1.03); }
.member-mono { display: grid; place-items: center; aspect-ratio: 303 / 330; font-size: 56px; color: var(--gold); }
.member figcaption { padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.member b { font-size: 18.5px; line-height: 1.4; }
.member-role { font-size: 14px; color: var(--muted-dark); }
.member-bio { font-size: 14px; color: #a9a49b; line-height: 1.6; margin-top: 8px; }

/* ---------- ความคิดเห็น (ภาพแชต) ---------- */
.shots { display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.shot { display: block; background: var(--white); padding: 12px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.shot img { width: 100%; aspect-ratio: 286 / 190; object-fit: cover; object-position: 50% 0; }
.shot:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .1); }
.masonry { columns: var(--cols, 3) 260px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; }
.masonry img, .masonry video { width: 100%; }
.masonry a { display: block; cursor: zoom-in; }
.masonry figcaption { padding: 8px 2px 0; font-size: 14px; display: flex; flex-direction: column; }

/* ---------- ค่าบริการ ---------- */
.cols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.col { padding: 4px 34px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.col + .col { border-left: 1px solid rgba(17, 17, 17, .55); padding-left: 34px; }
.col h3 { font-size: 17px; font-weight: 700; }
.price { font-family: var(--serif); font-size: clamp(32px, 2.8vw, 40px); font-weight: 600; line-height: 1.2; }
.col-note { font-size: 15.5px; line-height: 1.6; }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 80px; align-items: start; }
.faq details { border-top: 1px solid #d9d6cf; }
.faq details:last-child { border-bottom: 1px solid #d9d6cf; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 18px;
  line-height: 1.5; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 400; color: var(--gold-deep); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 24px; color: var(--muted-light); font-size: 16.5px; line-height: 1.8; }

/* ---------- แถบชวนติดต่อ ---------- */
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-band { padding-block: clamp(48px, 6vw, 80px); }
.cta-dark { background: var(--ink); color: var(--white); }
.cta-soft { background: var(--gold); color: var(--ink); }
.cta-soft .btn { background: var(--ink); color: var(--white); }
.cta-text { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; line-height: 1.35; max-width: 22em; }

/* ---------- ติดต่อ ---------- */
.contact-sec { background: #151515; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 56px; align-items: center; }
.contact-text .dh h1, .contact-text .dh h2 { font-size: clamp(32px, 3.6vw, 52px); }
.contact-note { color: var(--muted-dark); margin-bottom: 18px; max-width: 32em; }
.contact-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.contact-list a, .contact-list .li { display: inline-flex; align-items: flex-start; gap: 12px; font-size: 19px; line-height: 1.6; padding: 3px 0; }
.contact-list svg { color: var(--gold); margin-top: .3em; font-size: 18px; }
.contact-list a:hover span { color: var(--gold); }
.hours { display: flex; gap: 12px; color: var(--muted-dark); font-size: 16px; margin-bottom: 30px; }
.hours svg { color: var(--gold); margin-top: .35em; }
.map-card { position: relative; display: block; border: 8px solid var(--gold); background: #f3efe6; overflow: hidden; }
.map-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease); }
.map-card:hover img { transform: scale(1.03); }
.map-pin {
  position: absolute; left: 62%; top: 42%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px;
  background: #2a2420; color: var(--white); font-size: 14px; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.map-pin svg { color: var(--gold); }
.map-open {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(17, 17, 17, .86); color: var(--white); font-size: 13px; padding: 6px 12px;
}

/* ฟอร์มฝากเรื่อง (หน้าต่าง) */
.lead-box { border: 0; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--paper); color: var(--ink); }
.lead-box::backdrop { background: rgba(0, 0, 0, .72); }
.lead { position: relative; display: grid; gap: 14px; padding: clamp(24px, 4vw, 40px); }
.lead h2 { font-size: 26px; padding-right: 40px; }
.lead-note { color: var(--muted-light); font-size: 15px; line-height: 1.6; }
.lead label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.lead input, .lead textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cfcac0; background: var(--white);
  color: var(--ink); border-radius: 0;
}
.lead input:focus, .lead textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.lead .btn { justify-self: start; margin-top: 4px; }
.lead-close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.hp { position: absolute; left: -9999px; }
.msg { font-size: 15px; min-height: 1.5em; }
.msg.ok { color: #1d6b3a; }
.msg.bad { color: #b3261e; }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: #090909; color: var(--white); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.foot-brand .brand { margin-bottom: 26px; }
.foot p { font-size: 15.5px; line-height: 1.75; color: #e9e6df; }
.foot h2 { font-size: 18.5px; margin-bottom: 14px; }
.foot a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); font-size: 18px; }
.social a:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.copy { display: block; padding-top: 24px; font-size: 12.5px; color: #9b978f; letter-spacing: .03em; }

/* ---------- รูปขยาย ---------- */
.light { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.light::backdrop { background: rgba(0, 0, 0, .86); }
.light img { max-width: 94vw; max-height: 90vh; width: auto; }
.light button { position: absolute; top: -46px; right: 0; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 34px; cursor: pointer; }

/* ---------- ปุ่มลอยมือถือ ---------- */
.float-contact { display: none; }

/* ---------- บทความ ---------- */
.a-wrap { max-width: 820px; }
.crumbs { font-size: 14px; color: var(--muted-light); margin-bottom: 18px; }
.a-wrap h1 { font-size: clamp(28px, 4vw, 44px); }
.a-meta { color: var(--muted-light); font-size: 14px; margin: 8px 0 24px; }
.a-cover img { width: 100%; }
.a-lead { font-size: 19px; margin: 24px 0; }
.a-body h2 { font-size: 28px; margin: 36px 0 12px; }
.a-body h3 { font-size: 22px; margin: 28px 0 10px; }
.a-fig { margin: 24px 0; }
.a-toc, .a-embed, .a-cta { margin: 28px 0; padding: 22px; background: var(--grey); }
.articles { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.article-card h2 { font-size: 21px; margin: 14px 0 6px; }
.article-pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- เนื้อหาปรากฏตอนเลื่อนถึง ---------- */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* =================== จอเล็กลง =================== */
@media (max-width: 1260px) {
  .nav-links { position: fixed; inset: 76px 0 0 0; background: var(--ink); flex-direction: column; gap: 0;
    padding: 12px var(--pad) 120px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; margin: 0; }
  .nav.open .nav-links { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav-links a { font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-links a::after { display: none; }
  .nav-tools { margin-left: auto; gap: 14px; }
  .nav-toggle { display: grid; }
  .nav-row { min-height: 76px; }
  body.menu-open { overflow: hidden; }
}

/* อังกฤษ/จีน ชื่อเมนูยาวกว่า พับเมนูเร็วกว่า */
@media (max-width: 1400px) {
  body:not(.lang-th) .nav-links { position: fixed; inset: 76px 0 0 0; background: var(--ink); flex-direction: column; gap: 0;
    padding: 12px var(--pad) 120px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; margin: 0; }
  body:not(.lang-th) .nav.open .nav-links { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  body:not(.lang-th) .nav-links a { font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  body:not(.lang-th) .nav-links a::after { display: none; }
  body:not(.lang-th) .nav-tools { margin-left: auto; gap: 14px; }
  body:not(.lang-th) .nav-toggle { display: grid; }
  body:not(.lang-th) .nav-row { min-height: 76px; }
  body:not(.lang-th).menu-open { overflow: hidden; }
}

@media (max-width: 1023px) {
  .practice { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .members-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-split { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .nav-cta { display: none; }
  .nav-row, body:not(.lang-th) .nav-row { gap: 10px; min-height: 68px; }
  .nav-links, body:not(.lang-th) .nav-links { inset: 68px 0 0 0; }
  .brand { gap: 10px; flex: 1 1 auto; overflow: hidden; }
  .brand-name { overflow: hidden; }
  .brand-name b { font-size: 16px; letter-spacing: .03em; }
  .brand-name small { font-size: 9px; letter-spacing: .1em; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark img { width: 30px; height: 30px; }
  .nav-tools { gap: 4px; flex: none; }
  .langs { font-size: 13px; gap: 3px; }
  .nav-toggle { width: 44px; height: 44px; margin-right: -8px; }

  .hero-full .hero-slide { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-media { position: relative; inset: auto; width: 100%; height: min(46vh, 400px); }
  .hero-media img { object-position: 50% 18%; }
  .hero-media::before { background: linear-gradient(180deg, rgba(17, 17, 17, 0) 55%, var(--ink) 100%); }
  .hero-copy { padding-block: 0 48px; margin-top: -56px; }
  .hero-title { margin-bottom: 18px; }
  .hero-sub { margin-bottom: 28px; }

  .strip-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 18px 0; }
  .strip-list b { font-size: 15px; }

  .intro-split, .place, .contact { grid-template-columns: 1fr; }
  .intro-split .prose { padding-top: 0; }
  .place.pic-right .place-pic { order: 0; }

  .pair, .pair-2:is(.sec-grey *), .pair-3 { grid-template-columns: 1fr; gap: 10px; }
  .pair img, .sec-grey .pair img { height: auto; aspect-ratio: 16 / 10; }

  .practice { gap: 10px; }
  .area { padding: 22px 18px; min-height: 200px; gap: 24px; }
  .area-pic { margin: -22px -18px 0; }
  .area-no { font-size: 26px; }
  .area h3 { font-size: 19px; }
  .area p { font-size: 13.5px; }

  .members, .members-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .members-3 .member:first-child { grid-column: 1 / -1; }
  .members-3 .member:first-child .member-pic img { aspect-ratio: 4 / 3; object-position: 50% 25%; }
  .member figcaption { padding: 12px 12px 14px; }
  .member b { font-size: 16px; }
  .member-role, .member-bio { font-size: 13px; }

  .shots { gap: 10px; }
  .shot { padding: 8px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry figure { margin-bottom: 10px; }

  .cols { grid-template-columns: 1fr; }
  .col { padding: 18px 0; }
  .col + .col { border-left: 0; border-top: 1px solid rgba(17, 17, 17, .45); padding-left: 0; }

  .contact-list a, .contact-list .li { font-size: 17px; }
  .map-pin { font-size: 12.5px; left: 55%; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }

  /* มือถือ: ตัวหนังสือไม่ต่ำกว่า 14px และหัวข้อไทยเว้นบรรทัด 1.4 ขึ้นไป กันสระบน-ล่างชนกัน */
  .eyebrow, .area p, .member-role, .member-bio, .map-open, .copy, .strip-list span,
  .masonry figcaption, .pair figcaption, .map-pin { font-size: 14px; }
  .brand-name small { display: none; }
  .brand-name { line-height: 1.4; }
  .lang-th .dh h1, .lang-th .dh h2, .lang-th .dh p:not(.eyebrow), .lang-th .area h3, .lang-th .member b,
  .lang-th .cta-text, .lang-th .lead h2, .lang-th .faq summary { line-height: 1.45; }
  .area-no, .price { line-height: 1.4; }
  .lang-th h1, .lang-th h2, .lang-th h3, .lang-th h4 { line-height: 1.45; }

  /* พื้นที่กดบนมือถืออย่างน้อย 44px */
  .brand { min-height: 44px; }
  .nav-tools .langs { display: none; }
  .langs-menu { display: flex; gap: 10px; padding-top: 24px; }
  .langs-menu span { display: none; }
  .nav .nav-links .langs-menu a { min-width: 64px; min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px; border: 1px solid var(--line-dark); }
  .nav .nav-links .langs-menu a[aria-current="true"] { border-color: var(--gold); }
  .link-arrow { min-height: 44px; }
  .contact-list a, .contact-list .li { min-height: 44px; align-items: center; }
  .contact-list svg { margin-top: 0; }
  .foot p a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot p { line-height: 1.5; }
  .social a { width: 44px; height: 44px; }
  .hero-dots button { height: 24px; background-clip: content-box; padding-block: 10px; }

  /* ปุ่มลอยล่างจอ: ไลน์กับโทรเท่านั้น */
  .float-contact {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(10, 10, 10, .94);
    border-top: 1px solid rgba(216, 179, 107, .35);
  }
  .float-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; font-weight: 700; font-size: 15.5px; }
  .fl-line { background: #06c755; color: #fff; }
  .fl-call { background: var(--gold); color: var(--ink); }
  .float-contact svg { font-size: 18px; }
  .foot { padding-bottom: 96px; }
}

@media (max-width: 400px) {
  .brand-name small { display: none; }
  .langs a { padding: 4px 1px; }
  .practice { grid-template-columns: 1fr 1fr; }
}

@media (hover: none) {
  .area:hover, .member:hover, .shot:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
