/* หน้าโปรไฟล์ทนายรายคน (lawyer.php) — 12 พ.ย. 2569
   สีจากธีมเดิม: กรมท่า #272c40 ทอง #b98e44 · ฟอนต์ Taviraj (ชื่อและหัวข้อ) Prompt (ปุ่มและป้าย) Sarabun (เนื้อหา)
   ทุกกฎอยู่ใต้ .tt-lw / .lw-dock / .lw-toast เพื่อไม่กระทบหน้าอื่น */

.tt-lw,
.lw-dock,
.lw-toast {
  --navy-950: #10131d;
  --navy-900: #171b28;
  --navy-850: #1d2232;
  --navy: #272c40;
  --navy-700: #363c56;
  --gold: #b98e44;
  --gold-hi: #d1ad6a;
  --gold-ink: #7a5c24;
  --gold-line: #dccaa3;
  --ink: #1d2433;
  --muted: #4d5568;
  --mist: #f3f4f7;
  --line: #e1e3ea;
  --on-navy: #ece8dd;
  --on-navy-muted: #b9b4a8;
  --line-green: #06c755;
  --f-display: "Taviraj", "Prompt", serif;
  --f-ui: "Prompt", "Sarabun", sans-serif;
  --f-body: "Sarabun", "Prompt", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1180px;
}

/* ---------------------------------------------------------------- ล้างค่าธีม */
.tt-lw {
  display: block;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.8;
  background: #fff;
}
/* :where() ทำให้ค่าล้างนี้มีน้ำหนักเท่าธีม (มาทีหลังจึงชนะธีม) แต่แพ้คลาสของหน้านี้ทุกตัว */
:where(.tt-lw) section,
:where(.tt-lw) figure,
:where(.tt-lw) blockquote,
:where(.tt-lw) dl,
:where(.tt-lw) dd,
:where(.tt-lw) ol,
:where(.tt-lw) ul {
  margin: 0;
  padding: 0;
}
:where(.tt-lw) li {
  list-style: none;
}
:where(.tt-lw) p {
  margin: 0;
}
.tt-lw h1,
.tt-lw h2,
.tt-lw h3 {
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
}
.tt-lw a {
  transition: color 0.25s, background-color 0.25s, border-color 0.25s, transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tt-lw :focus-visible,
.lw-dock :focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.tt-lw img {
  max-width: 100%;
}

.lw-nw {
  white-space: nowrap;
}
.lw-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}
.lw-sec {
  padding: clamp(56px, 7vw, 104px) 0;
}
.lw-sec__head {
  margin-bottom: clamp(28px, 3.5vw, 48px);
  max-width: 760px;
}
.lw-sec__head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
}
.tt-lw .lw-h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 1.6vw + 18px, 42px);
  line-height: 1.35;
  color: var(--navy-900);
  text-wrap: balance;
}
.lw-sec__sub {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------------------------------------------------------------- ไอคอนและปุ่ม */
.lw-ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lw-ic--line path:first-child {
  fill: var(--line-green);
  stroke: none;
}
.lw-ic--line .lw-ic-ink {
  stroke: #fff;
  stroke-width: 1.25;
}

.lw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tt-lw .lw-btn,
.lw-dock .lw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--f-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  background: none;
  white-space: nowrap;
}
.tt-lw .lw-btn--gold {
  background: var(--gold);
  color: var(--navy-950);
}
.tt-lw .lw-btn--gold:hover {
  background: #c79c51;
  color: var(--navy-950);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -16px rgba(185, 142, 68, 0.9);
}
.tt-lw .lw-btn--light {
  background: #fff;
  color: var(--navy-900);
}
.tt-lw .lw-btn--light:hover {
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -18px rgba(0, 0, 0, 0.7);
}
.tt-lw .lw-btn--ghost {
  color: var(--on-navy);
  border-color: rgba(236, 232, 221, 0.32);
}
.tt-lw .lw-btn--ghost:hover {
  color: #fff;
  border-color: var(--gold-hi);
}
.tt-lw .lw-btn--navy {
  background: var(--navy-900);
  color: #fff;
}
.tt-lw .lw-btn--navy:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}
.tt-lw .lw-btn--outline {
  color: var(--navy-900);
  border-color: #c3c7d2;
}
.tt-lw .lw-btn--outline:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.tt-lw .lw-btn--outline-light {
  color: var(--on-navy);
  border-color: rgba(236, 232, 221, 0.32);
}
.tt-lw .lw-btn--outline-light:hover {
  color: #fff;
  border-color: var(--gold-hi);
}

.tt-lw .lw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--gold-ink);
  text-decoration: none;
}
.tt-lw .lw-link span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease);
}
.tt-lw .lw-link:hover span,
.tt-lw .lw-link:focus-visible span {
  background-size: 100% 1px;
}
.tt-lw .lw-link .lw-ic {
  width: 18px;
  height: 18px;
  transition: transform 0.45s var(--ease);
}
.tt-lw .lw-link:hover .lw-ic {
  transform: translateX(4px);
}
.tt-lw .lw-link--light {
  color: var(--gold-hi);
}

/* ---------------------------------------------------------------- จอแรก */
.lw-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--on-navy);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(70% 80% at 78% 40%, rgba(70, 79, 112, 0.6) 0%, rgba(70, 79, 112, 0) 62%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  padding: clamp(20px, 3vw, 36px) 0 0;
}
.lw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(16, 19, 29, 0) 52%, rgba(16, 19, 29, 0.9) 100%),
    radial-gradient(55% 65% at 74% 44%, rgba(209, 173, 106, 0.2), rgba(209, 173, 106, 0) 70%),
    url("/img/lawyer-hero-skyline.webp");
  background-size: auto, auto, cover;
  background-position: center, center, 72% 34%;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.32) 32%, #000 64%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.32) 32%, #000 64%);
  pointer-events: none;
}
.lw-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(209, 173, 106, 0), rgba(209, 173, 106, 0.55) 30%, rgba(209, 173, 106, 0.55) 70%, rgba(209, 173, 106, 0));
}
.lw-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "crumbs crumbs"
    "text portrait"
    "facts facts";
  column-gap: clamp(32px, 6vw, 96px);
}
.tt-lw .lw-crumbs {
  grid-area: crumbs;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: clamp(28px, 4vw, 56px);
  font-family: var(--f-ui);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--on-navy-muted);
}
.tt-lw .lw-crumbs a {
  color: var(--on-navy-muted);
  text-decoration: none;
}
.tt-lw .lw-crumbs a:hover {
  color: #fff;
}
.tt-lw .lw-crumbs [aria-current] {
  color: var(--on-navy);
}

.lw-portrait {
  position: relative;
  grid-area: portrait;
  align-self: center;
  justify-self: center;
}
.lw-portrait::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40% -55%;
  background: radial-gradient(closest-side, rgba(209, 173, 106, 0.2), rgba(209, 173, 106, 0));
  pointer-events: none;
}
.lw-portrait__frame {
  position: relative;
  display: block;
  width: clamp(112px, 19vw, 264px);
  aspect-ratio: 4 / 5;
}
.lw-portrait.is-hd .lw-portrait__frame {
  width: clamp(150px, 25vw, 372px);
}
/* เส้นทองโค้งด้านนอก ห่างจากรูป */
.lw-portrait__frame::before {
  content: "";
  position: absolute;
  inset: calc(clamp(8px, 1.1vw, 16px) * -1);
  border: 1px solid rgba(209, 173, 106, 0.62);
  border-radius: 999px 999px 6px 6px;
  pointer-events: none;
}
/* เส้นบางด้านในทับขอบรูป */
.lw-portrait__frame::after {
  content: "";
  position: absolute;
  inset: clamp(5px, 0.6vw, 9px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px 999px 3px 3px;
  pointer-events: none;
}
.lw-portrait img,
.tt-lw .lw-portrait .lw-mono {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
  border-radius: 999px 999px 4px 4px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(209, 173, 106, 0.35);
}
.tt-lw .lw-portrait .lw-mono {
  font-size: clamp(48px, 7vw, 120px);
}
/* ฐานรองรูป: เส้นทองสั้นใต้กรอบ */
.lw-portrait__plinth {
  display: block;
  width: 64%;
  height: 1px;
  margin: clamp(18px, 2vw, 28px) auto 0;
  background: linear-gradient(90deg, rgba(209, 173, 106, 0), rgba(209, 173, 106, 0.8), rgba(209, 173, 106, 0));
}
.tt-lw .lw-mono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(209, 173, 106, 0.14), rgba(209, 173, 106, 0) 70%),
    linear-gradient(160deg, #2a3049 0%, #1a1f2e 100%);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(44px, 8vw, 112px);
  line-height: 1;
  color: var(--gold-hi);
  padding-bottom: 0.08em;
}

.lw-hero__text {
  grid-area: text;
  align-self: center;
  min-width: 0;
}
.tt-lw .lw-hero__firm {
  font-family: var(--f-ui);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gold-hi);
  margin-bottom: 14px;
}
.tt-lw .lw-hero__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 3.6vw + 17px, 84px);
  line-height: 1.24;
  color: #fff;
  text-wrap: balance;
  margin-bottom: 14px;
}
.lw-hero__prefix {
  display: block;
  font-family: var(--f-ui);
  font-weight: 400;
  font-size: max(16px, 0.3em);
  line-height: 1.6;
  color: var(--on-navy-muted);
}
.tt-lw .lw-hero__role {
  font-family: var(--f-ui);
  font-size: clamp(16px, 0.4vw + 14px, 19px);
  line-height: 1.6;
  color: var(--on-navy);
  margin-bottom: 18px;
}
.tt-lw .lw-hero__lede {
  font-size: clamp(17px, 0.3vw + 15.5px, 19px);
  line-height: 1.85;
  color: #cfcabf;
  max-width: 44ch;
  margin-bottom: 28px;
  text-wrap: pretty;
}
.tt-lw .lw-hero__note {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--on-navy-muted);
}

.tt-lw .lw-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid rgba(209, 173, 106, 0.3);
}
.lw-facts__item {
  padding: 22px 24px 30px 0;
}
.lw-facts__item + .lw-facts__item {
  padding-left: 24px;
  border-left: 1px solid rgba(209, 173, 106, 0.18);
}
.tt-lw .lw-facts dt {
  font-family: var(--f-ui);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--on-navy-muted);
  margin-bottom: 6px;
}
.tt-lw .lw-facts dd {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(18px, 0.9vw + 12px, 24px);
  line-height: 1.45;
  color: #fff;
}

/* ---------------------------------------------------------------- ข้อมูลโดยย่อ */
.lw-brief__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 28px clamp(28px, 5vw, 80px);
}
.tt-lw .lw-brief__sum {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 30ch;
}
.lw-brief__list {
  border-top: 2px solid var(--navy-900);
}
.lw-brief__list > div {
  display: grid;
  grid-template-columns: 10.5em minmax(0, 1fr);
  gap: 6px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.tt-lw .lw-brief__list dt {
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.tt-lw .lw-brief__list dd {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.tt-lw .lw-brief__list a {
  color: var(--navy-900);
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-underline-offset: 4px;
}
.tt-lw .lw-brief__list a:hover {
  text-decoration-color: var(--gold);
}
.lw-brief__en {
  display: block;
  font-family: var(--f-ui);
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- เรื่องที่ดูแล */
.lw-areas {
  background: var(--mist);
}
.lw-areas__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4.5vw, 72px);
}
.lw-area {
  position: relative;
  padding: 28px 0 32px;
  border-top: 1px solid #d3d6df;
}
.lw-area::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.lw-area:hover::before,
.lw-area:focus-within::before {
  transform: scaleX(1);
}
.tt-lw .lw-area__t {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 19.5px;
  line-height: 1.55;
  color: var(--navy-900);
  margin-bottom: 10px;
  text-wrap: balance;
}
.tt-lw .lw-area__d {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.tt-lw .lw-area__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-ui);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--gold-ink);
  margin-bottom: 14px;
}
.tt-lw .lw-area__tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.lw-area--primary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "tag tag"
    "t d"
    "t link";
  column-gap: clamp(28px, 4.5vw, 72px);
  padding: 36px 0 40px;
  border-top-color: var(--navy-900);
}
.lw-area--primary .lw-area__tag { grid-area: tag; }
.lw-area--primary .lw-area__t { grid-area: t; }
.lw-area--primary .lw-area__d { grid-area: d; }
.lw-area--primary .lw-link { grid-area: link; justify-self: start; align-self: start; }
.tt-lw .lw-area--primary .lw-area__t {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(25px, 1.3vw + 16px, 34px);
  line-height: 1.4;
}
.tt-lw .lw-area--primary .lw-area__d {
  font-size: 18px;
  color: var(--ink);
}

/* ---------------------------------------------------------------- แนวทางการทำงาน */
.lw-approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  grid-template-areas:
    "q h"
    "q b";
  gap: 20px clamp(32px, 6vw, 104px);
  align-items: start;
}
.lw-approach__h { grid-area: h; }
.lw-quote { grid-area: q; }
.lw-approach__body { grid-area: b; }
.lw-approach.is-plain .lw-approach__grid {
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-areas: "h b";
}
.lw-quote {
  position: relative;
  padding-top: 64px;
}
.lw-quote::before {
  content: "\201C";
  position: absolute;
  top: -12px;
  left: -6px;
  font-family: var(--f-display);
  font-size: 150px;
  line-height: 1;
  color: var(--gold);
}
.tt-lw .lw-quote blockquote {
  border: 0;
  background: none;
}
.tt-lw .lw-quote p {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(26px, 1.7vw + 16px, 42px);
  line-height: 1.55;
  color: var(--navy-900);
  text-wrap: balance;
}
.tt-lw .lw-quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  font-family: var(--f-ui);
  font-size: 15px;
  color: var(--gold-ink);
}
.tt-lw .lw-quote figcaption::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.tt-lw .lw-approach__body p {
  font-size: 18px;
  line-height: 1.95;
  color: var(--ink);
  max-width: 62ch;
  margin-bottom: 18px;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- บทความที่เขียน */
.lw-writing {
  background: var(--mist);
}
.lw-writing__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4.5vw, 72px);
}
.lw-writing__list li {
  border-top: 1px solid #d3d6df;
}
.tt-lw .lw-writing__list a {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  padding: 18px 0 20px;
  text-decoration: none;
  color: var(--navy-900);
}
.lw-writing__no {
  grid-row: 1 / 3;
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--gold-ink);
}
.tt-lw .lw-more summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid #c3c7d2;
  border-radius: 2px;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.tt-lw .lw-more summary::-webkit-details-marker {
  display: none;
}
.tt-lw .lw-more summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.4s var(--ease);
}
.tt-lw .lw-more[open] summary {
  margin-bottom: 18px;
}
.tt-lw .lw-more[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}
.tt-lw .lw-more summary:hover {
  border-color: var(--navy-900);
}
.lw-writing__cat {
  font-family: var(--f-ui);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.lw-writing__t {
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.6;
  transition: color 0.25s;
}
.tt-lw .lw-writing__list a:hover .lw-writing__t {
  color: var(--gold-ink);
}

/* ---------------------------------------------------------------- ติดต่อกลางหน้า */
.lw-band {
  background: var(--navy-900);
  color: var(--on-navy);
  padding: clamp(40px, 6vw, 80px) 0;
}
.lw-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 48px;
}
.lw-band__inner > div:first-child {
  position: relative;
  padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 44px);
}
.lw-band__inner > div:first-child::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border: 1px solid rgba(209, 173, 106, 0.32);
  border-right: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(90deg, #000 60%, transparent);
  mask: linear-gradient(90deg, #000 60%, transparent);
}
.tt-lw .lw-band__h {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(26px, 1.6vw + 16px, 40px);
  line-height: 1.4;
  color: #fff;
  margin-bottom: 10px;
  text-wrap: balance;
}
.tt-lw .lw-band__t {
  font-size: 17px;
  line-height: 1.8;
  color: var(--on-navy-muted);
  max-width: 54ch;
}

/* ---------------------------------------------------------------- ขั้นตอน */
.lw-steps__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.lw-steps__list::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 40px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-line));
  transform-origin: left;
}
.lw-steps__list li {
  position: relative;
}
.lw-steps__n {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: #fff;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  color: var(--gold-ink);
  padding-bottom: 4px;
}
.tt-lw .lw-steps__list h3 {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.55;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.tt-lw .lw-steps__list p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--muted);
  text-wrap: pretty;
}
.lw-js .lw-steps.is-pending .lw-steps__list::before {
  transform: scaleX(0);
}
.lw-js .lw-steps.is-pending .lw-steps__n {
  opacity: 0;
  transform: scale(0.85);
}
.lw-js .lw-steps.is-in .lw-steps__list::before {
  transition: transform 1.4s var(--ease) 0.1s;
}
.lw-js .lw-steps.is-in .lw-steps__n {
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.lw-js .lw-steps.is-in li:nth-child(2) .lw-steps__n { transition-delay: 0.25s; }
.lw-js .lw-steps.is-in li:nth-child(3) .lw-steps__n { transition-delay: 0.5s; }
.lw-js .lw-steps.is-in li:nth-child(4) .lw-steps__n { transition-delay: 0.75s; }

/* ---------------------------------------------------------------- คู่มือ */
.lw-guides {
  background: var(--mist);
}
.lw-guides__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4.5vw, 72px);
}
.lw-guides__list li {
  border-top: 1px solid #d3d6df;
}
.tt-lw .lw-guides__list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "cat ic"
    "t ic";
  column-gap: 20px;
  padding: 20px 0 22px;
  text-decoration: none;
  color: var(--navy-900);
}
.lw-guides__cat {
  grid-area: cat;
  font-family: var(--f-ui);
  font-size: 13px;
  line-height: 1.6;
  color: var(--gold-ink);
  margin-bottom: 4px;
}
.lw-guides__t {
  grid-area: t;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.6;
}
.tt-lw .lw-guides__list .lw-ic {
  grid-area: ic;
  align-self: center;
  color: var(--gold);
  transition: transform 0.45s var(--ease);
}
.tt-lw .lw-guides__list a:hover .lw-guides__t {
  color: var(--gold-ink);
}
.tt-lw .lw-guides__list a:hover .lw-ic {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------- คำถาม */
.lw-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 28px clamp(28px, 5vw, 80px);
}
.lw-faq__list {
  border-top: 2px solid var(--navy-900);
}
.lw-faq__list details {
  border-bottom: 1px solid var(--line);
}
.tt-lw .lw-faq__list summary {
  position: relative;
  display: block;
  padding: 20px 48px 20px 0;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.tt-lw .lw-faq__list summary::-webkit-details-marker {
  display: none;
}
.tt-lw .lw-faq__list summary::before,
.tt-lw .lw-faq__list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.45s var(--ease);
}
.tt-lw .lw-faq__list summary::after {
  transform: rotate(90deg);
}
.tt-lw .lw-faq__list details[open] summary::after {
  transform: rotate(0deg);
}
.tt-lw .lw-faq__list details p {
  padding: 0 48px 24px 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 64ch;
}

/* ---------------------------------------------------------------- นามบัตร */
.lw-card {
  background: radial-gradient(70% 90% at 28% 50%, #fff 0%, var(--mist) 72%);
  overflow: hidden;
}
.lw-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: 48px clamp(32px, 6vw, 96px);
}
.lw-card__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  perspective: 1600px;
}
.lw-bcard {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1.75;
  transform-style: preserve-3d;
  transition: transform 1s var(--ease);
  --rx: 0deg;
  --ry: 0deg;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.lw-bcard.is-flipped {
  transform: rotateX(var(--rx)) rotateY(calc(180deg + var(--ry)));
}
.lw-bcard.is-tilting {
  transition: transform 0.2s ease-out;
}
.lw-bcard__face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 0 40px 70px -36px rgba(16, 19, 29, 0.6), 0 2px 8px rgba(16, 19, 29, 0.12);
}
.lw-bcard__front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7% 8%;
  color: var(--on-navy);
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(209, 173, 106, 0.18), rgba(209, 173, 106, 0) 60%),
    linear-gradient(150deg, #262c42 0%, #161a26 100%);
}
.lw-bcard__front::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(209, 173, 106, 0.35);
  border-radius: 6px;
  pointer-events: none;
}
.lw-bcard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.lw-bcard__firm {
  font-family: var(--f-ui);
  font-size: clamp(11px, 1.6vw, 13px);
  line-height: 1.5;
  color: var(--on-navy-muted);
}
.lw-bcard__seal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: clamp(30px, 5vw, 40px);
  height: clamp(30px, 5vw, 40px);
  border-radius: 50%;
  border: 1px solid var(--gold-hi);
  font-family: var(--f-display);
  font-size: clamp(16px, 2.6vw, 22px);
  line-height: 1;
  color: var(--gold-hi);
  padding-bottom: 2px;
}
.tt-lw .lw-bcard__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(18px, 3.4vw, 28px);
  line-height: 1.3;
  color: #fff;
}
.tt-lw .lw-bcard__role {
  margin-top: 4px;
  font-family: var(--f-ui);
  font-size: clamp(11px, 1.7vw, 13.5px);
  line-height: 1.5;
  color: var(--gold-hi);
}
.lw-bcard__lines {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-family: var(--f-ui);
  font-size: clamp(11px, 1.7vw, 13.5px);
  line-height: 1.5;
  color: var(--on-navy);
}
.lw-bcard__lines span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lw-bcard__lines .lw-ic {
  width: 14px;
  height: 14px;
  color: var(--gold-hi);
}
.lw-bcard__url {
  color: var(--on-navy-muted);
}
.lw-bcard__back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7%;
  padding: 7%;
  background: #fff;
  color: var(--navy-900);
}
.lw-bcard__back img {
  width: 38%;
  height: auto;
  aspect-ratio: 1;
}
.tt-lw .lw-bcard__back p {
  font-family: var(--f-ui);
  font-size: clamp(12px, 1.9vw, 15px);
  line-height: 1.6;
  color: var(--navy-900);
  max-width: 14em;
}
.tt-lw .lw-bcard__flip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: none;
  font-family: var(--f-ui);
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
}
.tt-lw .lw-bcard__flip:hover {
  color: var(--navy-900);
}
.tt-lw .lw-bcard__flip .lw-ic {
  width: 18px;
  height: 18px;
}
.tt-lw .lw-card__text p {
  margin-top: 16px;
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--ink);
  max-width: 48ch;
}
.lw-actions--card {
  margin-top: 26px;
}
.tt-lw .lw-card__text .lw-card__qrnote {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- ทีม (การ์ดภาพสี แถวละ 3 คน บนพื้นกรมท่า) */
.tt-lw .lw-team {
  position: relative;
  color: var(--on-navy);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(70, 79, 112, 0.55) 0%, rgba(70, 79, 112, 0) 70%),
    var(--navy-900);
}
.lw-team::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(209, 173, 106, 0), rgba(209, 173, 106, 0.55) 30%, rgba(209, 173, 106, 0.55) 70%, rgba(209, 173, 106, 0));
}
.tt-lw .lw-team .lw-h2 {
  color: #fff;
}
.tt-lw .lw-team .lw-sec__sub {
  color: var(--on-navy-muted);
}
.lw-team__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}
.lw-team__list li {
  display: flex;
}
.tt-lw .lw-mem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: clamp(36px, 3.6vw, 52px) clamp(18px, 2vw, 30px) clamp(26px, 2.4vw, 34px);
  border: 1px solid rgba(209, 173, 106, 0.2);
  border-radius: 4px;
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(209, 173, 106, 0.09), rgba(209, 173, 106, 0) 70%),
    linear-gradient(180deg, #20263a 0%, #191d2b 100%);
  color: var(--on-navy);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 30px 60px -44px rgba(0, 0, 0, 0.9);
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.tt-lw .lw-mem::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  translate: -50% 0;
  transition: width 0.7s var(--ease);
}
.lw-mem__ph {
  position: relative;
  display: block;
  width: clamp(140px, 13vw, 176px);
  aspect-ratio: 4 / 5;
  margin-bottom: clamp(26px, 2.4vw, 34px);
}
.lw-mem__ph::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(209, 173, 106, 0.5);
  border-radius: 999px 999px 6px 6px;
  transition: inset 0.6s var(--ease), border-color 0.5s;
}
.lw-mem__ph img,
.tt-lw .lw-mem__ph .lw-mono {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
  border-radius: 999px 999px 3px 3px;
  box-shadow: 0 0 0 1px rgba(209, 173, 106, 0.3);
}
.tt-lw .lw-mem__ph .lw-mono {
  font-size: 64px;
}
.lw-mem__n {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(19px, 0.6vw + 14px, 23px);
  line-height: 1.4;
  color: #fff;
  text-wrap: balance;
}
.lw-mem__r {
  margin-top: 6px;
  font-family: var(--f-ui);
  font-size: 14px;
  line-height: 1.55;
  color: var(--gold-hi);
}
.lw-mem__f {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(209, 173, 106, 0.16);
  font-size: 15px;
  line-height: 1.7;
  color: var(--on-navy-muted);
  max-width: 30ch;
}
.lw-mem__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--gold-hi);
}
.lw-mem__go .lw-ic {
  width: 17px;
  height: 17px;
  transition: transform 0.45s var(--ease);
}
.tt-lw .lw-mem:hover,
.tt-lw .lw-mem:focus-visible {
  border-color: rgba(209, 173, 106, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 46px 80px -44px rgba(0, 0, 0, 0.95);
}
.tt-lw .lw-mem:hover::before,
.tt-lw .lw-mem:focus-visible::before {
  width: 56%;
}
.lw-mem:hover .lw-mem__ph::before,
.lw-mem:focus-visible .lw-mem__ph::before {
  inset: -14px;
  border-color: var(--gold);
}
.lw-mem:hover .lw-mem__go .lw-ic {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------- สำนักงาน */
.lw-office {
  border-top: 1px solid rgba(209, 173, 106, 0.18);
  background: var(--navy-950);
  color: var(--on-navy);
  padding: clamp(48px, 6vw, 88px) 0;
}
.lw-office__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 56px;
}
.tt-lw .lw-office__h {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(26px, 1.6vw + 16px, 40px);
  line-height: 1.4;
  color: #fff;
  margin-bottom: 22px;
  text-wrap: balance;
}
.tt-lw .lw-office__line {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--on-navy);
}
.tt-lw .lw-office__line .lw-ic {
  margin-top: 4px;
  color: var(--gold-hi);
}
.lw-office .lw-link {
  margin-top: 6px;
}
.lw-actions--office {
  flex-direction: column;
  align-items: stretch;
  min-width: 300px;
}

/* ---------------------------------------------------------------- แถบติดต่อ (มือถือ: ล่างจอ / จอใหญ่: กลางล่าง) */
.lw-dock {
  position: fixed;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: var(--navy-950);
  border-top: 1px solid rgba(209, 173, 106, 0.35);
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.lw-dock.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.lw-dock__who {
  display: none;
}
.lw-dock .lw-dock__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-family: var(--f-ui);
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--on-navy);
  text-decoration: none;
  cursor: pointer;
}
.lw-dock .lw-dock__btn:hover,
.lw-dock .lw-dock__btn:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.lw-dock .lw-dock__btn--call {
  background: var(--gold);
  color: var(--navy-950);
}
.lw-dock .lw-dock__btn--call:hover {
  background: #c79c51;
  color: var(--navy-950);
}
.lw-dock .lw-dock__btn .lw-ic {
  width: 21px;
  height: 21px;
}
.lw-toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  transform: translate(-50%, 12px);
  margin: 0;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--f-ui);
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.lw-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 991.98px) {
  .tt-lw-body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }
  .tt-lw-body .scroll-top {
    bottom: calc(80px + env(safe-area-inset-bottom)) !important;
  }
}
@media (min-width: 992px) {
  .lw-dock {
    left: 50%;
    right: auto;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 6px 6px 8px;
    border: 1px solid rgba(209, 173, 106, 0.4);
    border-radius: 999px;
    box-shadow: 0 24px 48px -20px rgba(16, 19, 29, 0.6);
  }
  .lw-dock.is-hidden {
    transform: translate(-50%, 140%);
  }
  .lw-dock__who {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 10px;
    font-family: var(--f-ui);
    font-size: 14.5px;
    color: #fff;
    white-space: nowrap;
  }
  .lw-dock__ph {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--gold-hi);
  }
  .lw-dock__ph img,
  .lw-dock__ph .lw-mono {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .lw-dock .lw-dock__ph .lw-mono {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    font-family: var(--f-display);
    font-size: 18px;
    color: var(--gold-hi);
  }
  .lw-dock .lw-dock__btn {
    flex-direction: row;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 15px;
  }
  .lw-dock .lw-dock__btn:nth-last-child(-n + 2) {
    display: none;
  }
  .lw-toast {
    bottom: 96px;
  }
}

@media (min-width: 992px) {
  .lw-hero__grid {
    grid-template-rows: auto 1fr auto;
    min-height: clamp(560px, calc(100vh - 100px), 760px);
  }
}

/* ---------------------------------------------------------------- จอแท็บเล็ตและมือถือ */
@media (max-width: 991.98px) {
  .lw-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "crumbs"
      "portrait"
      "text"
      "facts";
  }
  .lw-portrait {
    justify-self: start;
    margin-bottom: 22px;
  }
  .lw-band__inner,
  .lw-office__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lw-actions--office {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }
  .lw-card__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lw-steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
  .lw-steps__list::before {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .tt-lw {
    font-size: 17px;
  }
  .lw-crumbs {
    display: none !important;
  }
  .lw-hero {
    padding-top: 28px;
  }
  .lw-portrait {
    margin-bottom: 16px;
  }
  .lw-portrait {
    margin-left: 8px;
  }
  .lw-portrait__frame,
  .lw-portrait.is-hd .lw-portrait__frame {
    width: 112px;
  }
  .tt-lw .lw-portrait .lw-mono {
    font-size: 44px;
  }
  .lw-portrait__plinth {
    display: none;
  }
  .tt-lw .lw-hero__firm {
    margin-bottom: 8px;
  }
  .tt-lw .lw-hero__name {
    margin-bottom: 10px;
  }
  .tt-lw .lw-hero__lede {
    font-size: 17px;
    line-height: 1.75;
  }
  .lw-hero__text .lw-actions {
    gap: 10px;
  }
  .tt-lw .lw-hero__text .lw-btn {
    min-height: 50px;
  }
  .tt-lw .lw-hero__lede {
    margin-bottom: 22px;
  }
  .lw-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .tt-lw .lw-btn {
    width: 100%;
  }
  .tt-lw .lw-facts {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
  }
  .lw-facts__item,
  .lw-facts__item + .lw-facts__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(209, 173, 106, 0.16);
  }
  .tt-lw .lw-facts dt {
    margin: 0;
    flex: none;
  }
  .tt-lw .lw-facts dd {
    text-align: right;
    font-size: 18px;
  }
  .lw-brief__grid,
  .lw-faq__grid,
  .lw-approach__grid,
  .lw-approach.is-plain .lw-approach__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
  }
  .lw-approach__h,
  .lw-quote,
  .lw-approach__body {
    grid-area: auto;
  }
  .lw-brief__list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 14px 0;
  }
  .tt-lw .lw-brief__list dt {
    font-size: 14px;
  }
  .lw-areas__list,
  .lw-guides__list,
  .lw-writing__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .lw-area--primary {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "tag"
      "t"
      "d"
      "link";
  }
  .tt-lw .lw-area--primary .lw-area__t {
    margin-bottom: 12px;
  }
  .lw-quote {
    padding-top: 52px;
  }
  .lw-quote::before {
    font-size: 120px;
  }
  .lw-steps__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .lw-steps__list li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 18px;
    padding-bottom: 28px;
  }
  .lw-steps__list li::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 56px;
    bottom: 0;
    width: 1px;
    background: var(--gold-line);
  }
  .lw-steps__list li:last-child::before {
    display: none;
  }
  .lw-steps__n {
    grid-row: 1 / 3;
    width: 56px;
    height: 56px;
    font-size: 28px;
    margin: 0;
  }
  .tt-lw .lw-steps__list h3 {
    padding-top: 12px;
  }
  .lw-band__inner > div:first-child {
    padding-left: 22px;
  }
  .lw-team__list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 0 10px;
    margin-right: calc(clamp(20px, 4vw, 40px) * -1);
    padding-right: clamp(20px, 4vw, 40px);
    scrollbar-width: none;
  }
  .lw-team__list::-webkit-scrollbar {
    display: none;
  }
  .lw-team__list li {
    flex: 0 0 76%;
    max-width: 290px;
    scroll-snap-align: start;
  }
  .lw-hero::before {
    background-position: center, center, 64% 22%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 34%, rgba(0, 0, 0, 0.12) 70%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 34%, rgba(0, 0, 0, 0.12) 70%);
  }
  .tt-lw .lw-faq__list summary {
    font-size: 17px;
    padding-right: 40px;
  }
  .tt-lw .lw-faq__list details p {
    padding-right: 0;
  }
}

/* ---------------------------------------------------------------- จังหวะตอนเปิดหน้า */
@media (prefers-reduced-motion: no-preference) {
  .lw-anim .lw-portrait__frame {
    animation: lw-rise 1s var(--ease) 0.15s both;
  }
  .lw-anim .lw-portrait__frame::before {
    animation: lw-frame 1.4s var(--ease) 0.5s both;
  }
  .lw-anim .lw-portrait__plinth {
    animation: lw-plinth 1.2s var(--ease) 0.7s both;
  }
  .lw-anim .lw-portrait img, .lw-anim .lw-portrait .lw-mono {
    animation: lw-unveil 1.3s var(--ease) 0.3s both;
  }
  .lw-anim .lw-hero__firm { animation: lw-rise 0.8s var(--ease) 0.05s both; }
  .lw-anim .lw-hero__name { animation: lw-ink 1.2s var(--ease) 0.12s both; }
  .lw-anim .lw-hero__role { animation: lw-rise 0.8s var(--ease) 0.32s both; }
  .lw-anim .lw-hero__lede { animation: lw-rise 0.8s var(--ease) 0.4s both; }
  .lw-anim .lw-hero__text .lw-actions { animation: lw-rise 0.8s var(--ease) 0.48s both; }
  .lw-anim .lw-hero__note { animation: lw-rise 0.8s var(--ease) 0.54s both; }
  .lw-anim .lw-facts__item { animation: lw-rise 0.9s var(--ease) 0.6s both; }
  .lw-anim .lw-facts__item:nth-child(2) { animation-delay: 0.68s; }
  .lw-anim .lw-facts__item:nth-child(3) { animation-delay: 0.76s; }
}
@keyframes lw-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes lw-ink {
  from { opacity: 0.001; clip-path: inset(-25% 100% -25% 0); }
  to { opacity: 1; clip-path: inset(-25% 0 -25% 0); }
}
@keyframes lw-seal {
  from { opacity: 0; transform: scale(1.06) translateY(2%); }
  to { opacity: 1; transform: none; }
}
@keyframes lw-plinth {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: none; }
}
@keyframes lw-frame {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes lw-unveil {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .tt-lw *,
  .lw-dock,
  .lw-toast {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
  .lw-bcard,
  .lw-bcard.is-flipped {
    transform: none !important;
  }
  .lw-bcard__back {
    transform: none;
    opacity: 0;
    transition: opacity 0.2s !important;
  }
  .lw-bcard.is-flipped .lw-bcard__back {
    opacity: 1;
  }
  .lw-bcard.is-flipped .lw-bcard__front {
    opacity: 0;
  }
}

@media print {
  .lw-dock,
  .lw-toast,
  .lw-bcard__flip {
    display: none !important;
  }
}
