:root {
  --bg: #fbf3ef;
  --surface: #ffffff;
  --ink: #2a0a10;
  --accent: #810e21;
  --accent2: #2a9d8f;
  --tint: #f6e4de;
  --teal-tint: #e4f3f1;
  --muted: #5e4046;
  --line: rgba(129, 14, 33, 0.2);
  --foot: #2a0a10;
  --f-disp: "Rye", "Mali", serif;
  --f-body: "Mali", "Noto Sans Thai", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html.mj-lock {
  overflow: hidden;
}

body.mj-body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.85;
}

img,
svg,
figure {
  max-width: 100%;
}

.mj-skip {
  position: absolute;
  top: auto;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mj-skip:focus-visible {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 18px;
  background: var(--surface);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
  border-radius: 4px;
}

.mj-wrap {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}

.mj-h1,
.mj-gh,
.mj-logo-t {
  font-family: var(--f-disp);
  font-weight: 700;
}

header.mj-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface);
  border-bottom: 2px solid var(--accent);
}

.mj-head-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: 76px;
  padding: 0 24px;
}

a.mj-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

svg.mj-lg {
  width: 56px;
  height: auto;
  fill: var(--accent);
  display: block;
}

span.mj-logo-t {
  font-size: 26px;
  color: var(--accent);
  line-height: 1;
}

nav.mj-nav-l {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

nav.mj-nav-r {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
}

a.mj-nl {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}

a.mj-nl:hover,
a.mj-nl[aria-current="page"],
a.mj-nl[aria-current="true"] {
  border-bottom-color: var(--accent2);
  color: var(--accent);
}

a.mj-btn-hm,
button.mj-burger {
  display: none;
}

div.mj-drawer {
  background: var(--surface);
  border-bottom: 2px solid var(--accent);
  padding: 8px 20px 20px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.mj-drawer[hidden] {
  display: none;
}

p.mj-dg {
  font-size: 13px;
  color: var(--accent);
  margin: 14px 0 4px;
  font-weight: 700;
}

ul.mj-dl {
  list-style: none;
  margin: 0;
  padding: 0;
}

a.mj-dk {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: color 120ms ease;
}

a.mj-dk:hover {
  color: var(--accent);
}

nav.mj-crumb {
  padding: 12px 20px;
  max-width: 1160px;
  margin-inline: auto;
}

ol.mj-cr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}

li.mj-cr-i {
  display: inline-flex;
  align-items: center;
}

li.mj-cr-i:not(:first-child)::before {
  content: "›";
  margin-right: 6px;
  color: var(--muted);
}

li.mj-cr-i a {
  color: var(--muted);
  text-decoration: none;
  transition: color 120ms ease;
}

li.mj-cr-i a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.mj-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease;
}

.mj-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.mj-btn.mj-btn-o {
  background: transparent;
  color: var(--ink);
}

.mj-btn.mj-btn-s {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

.mj-btn.mj-btn-inv {
  background: #ffffff;
  color: var(--accent);
}

.mj-btn.mj-btn-hd {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
  margin-left: 10px;
}

section.mj-hero {
  background: var(--bg);
  overflow: hidden;
  position: relative;
  padding: 56px 0 72px;
}

svg.mj-hero-six {
  stroke: var(--accent);
  opacity: 0.22;
  fill: none;
  position: absolute;
  top: 20px;
  right: -40px;
  width: min(620px, 60vw);
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.mj-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.mj-hero-tx {
  min-width: 0;
}

p.mj-kick {
  font-size: 14px;
  font-weight: 700;
  color: #1f7a6f;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

h1.mj-h1.mj-h1-home {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}

p.mj-lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 16px;
  line-height: 1.7;
}

.mj-hero-act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.mj-stack {
  position: relative;
  aspect-ratio: 5 / 4;
  min-height: 380px;
  width: 100%;
}

figure.mj-st {
  position: absolute;
  width: 31%;
  border-radius: 8px;
  border: 3px solid #ffffff;
  box-shadow: 4px 4px 0 var(--ink);
  margin: 0;
  background: var(--surface);
}

figure.mj-st img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

figure.mj-st figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

figure.mj-st1 {
  left: 1%;
  top: 6%;
  transform: rotate(-4deg);
  z-index: 1;
}

figure.mj-st2 {
  left: 34.5%;
  top: 16%;
  transform: rotate(2deg);
  z-index: 2;
}

figure.mj-st3 {
  left: 68%;
  top: 6%;
  transform: rotate(-2deg);
  z-index: 3;
}

.mj-sec {
  padding: 44px 0;
}

h2.mj-gh {
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--accent);
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 12px;
  line-height: 1.3;
}

h2.mj-gh::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  background: var(--accent2);
}

ul.mj-vl {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

li.mj-var {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 4px;
}

span.mj-vn {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

span.mj-vm {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

article.mj-prose {
  max-width: 760px;
  margin-inline: auto;
  font-size: 17px;
}

article.mj-prose h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--accent);
  line-height: 1.4;
  margin: 40px 0 14px;
  border-left: 5px solid var(--accent2);
  padding-left: 14px;
  font-weight: 700;
}

article.mj-prose h3 {
  font-size: 20px;
  color: var(--ink);
  margin: 28px 0 12px;
  font-weight: 700;
  line-height: 1.4;
}

article.mj-prose p {
  margin: 0 0 16px;
}

article.mj-prose ul,
article.mj-prose ol {
  padding-left: 1.4em;
  margin: 0 0 16px;
}

article.mj-prose li {
  margin: 6px 0;
}

article.mj-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 120ms ease;
}

article.mj-prose a:hover {
  color: var(--accent2);
}

article.mj-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
}

article.mj-prose th {
  background: var(--tint);
  color: var(--ink);
  text-align: left;
  padding: 10px;
  font-weight: 700;
  border: 1px solid var(--line);
}

article.mj-prose td {
  border: 1px solid var(--line);
  padding: 10px;
}

aside.mj-mid {
  background: var(--teal-tint);
  border-left: 5px solid var(--accent2);
  padding: 16px 20px;
  margin: 32px 0;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: 0 6px 6px 0;
}

p.mj-mid-t {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  flex: 1 1 220px;
  line-height: 1.6;
}

section.mj-ph {
  background: var(--tint);
  border-top: 6px solid var(--accent);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.mj-ph-in {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.mj-ph-in .mj-kick {
  margin: 0 0 10px;
}

.mj-ph-in .mj-h1 {
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}

.mj-ph-in .mj-lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.mj-ph-act {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

svg.mj-ph-six {
  position: absolute;
  right: -20px;
  top: 8px;
  width: 260px;
  height: auto;
  stroke: var(--accent);
  opacity: 0.12;
  fill: none;
  pointer-events: none;
}

.mj-gal {
  padding: 10px 0;
}

div.mj-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

figure.mj-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  align-items: center;
}

figure.mj-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

figcaption.mj-cap {
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
  line-height: 1.4;
}

div.mj-lgs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

figure.mj-lgo {
  width: 84px;
  margin: 0;
  text-align: center;
}

figure.mj-lgo img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

figure.mj-lgo figcaption.mj-cap {
  font-size: 12px;
  padding: 4px 0 0;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

aside.mj-note {
  background: var(--surface);
  border: 2px dashed var(--accent);
  padding: 20px 24px;
  max-width: 760px;
  margin-inline: auto;
  border-radius: 6px;
}

p.mj-note-h {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 8px;
  line-height: 1.3;
}

p.mj-note-p {
  margin: 0;
  color: var(--ink);
}

section.mj-faq {
  background: var(--tint);
}

div.mj-fq {
  max-width: 820px;
  margin-inline: auto;
}

details.mj-qa {
  background: var(--surface);
  border: 1px solid var(--line);
  margin: 0 0 10px;
  border-radius: 6px;
  overflow: hidden;
}

summary.mj-q {
  cursor: pointer;
  padding: 16px 48px 16px 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  position: relative;
  line-height: 1.4;
}

summary.mj-q::-webkit-details-marker {
  display: none;
}

summary.mj-q::marker {
  display: none;
}

summary.mj-q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

details.mj-qa[open] > summary.mj-q::after {
  content: "\2212";
}

div.mj-a {
  padding: 0 18px 16px;
}

div.mj-a p {
  margin: 0;
}

section.mj-ctab {
  background: var(--accent);
  color: #ffffff;
  padding: 36px 0;
}

.mj-ctab-in {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

p.mj-ctab-t {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  margin: 0;
  flex: 1 1 280px;
  color: #ffffff;
  line-height: 1.4;
}

footer.mj-foot {
  background: var(--foot);
  color: #fbf3ef;
  padding: 44px 0 28px;
  margin-top: 0;
}

div.mj-fgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
}

p.mj-fh {
  font-size: 14px;
  font-weight: 700;
  color: #8fd9cf;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

ul.mj-fu {
  list-style: none;
  padding: 0;
  margin: 0;
}

a.mj-fl {
  font-size: 15px;
  color: #fbf3ef;
  padding: 6px 0;
  display: block;
  text-decoration: none;
  min-height: 32px;
  line-height: 1.4;
  transition: color 120ms ease;
}

a.mj-fl:hover {
  text-decoration: underline;
  color: #ffffff;
}

.mj-fb {
  min-width: 0;
}

a.mj-logo.mj-logo-f {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

a.mj-logo.mj-logo-f svg.mj-lg {
  width: 44px;
  height: auto;
  fill: #fbf3ef;
}

a.mj-logo.mj-logo-f span.mj-logo-t {
  font-size: 22px;
  color: #fbf3ef;
}

p.mj-ft {
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 0;
  color: #e6cfc9;
  line-height: 1.6;
}

div.mj-fnote {
  border: 1px solid #2a9d8f;
  padding: 16px 20px;
  margin: 28px 0 16px;
  border-radius: 4px;
}

p.mj-fnh {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 6px;
  color: #ffffff;
}

p.mj-fnp {
  font-size: 15px;
  margin: 0;
  color: #e6cfc9;
  line-height: 1.6;
}

p.mj-legal {
  font-size: 13px;
  color: #cfb7b1;
  margin: 0;
  line-height: 1.7;
}

nav.mj-bnav {
  display: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent2);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  body.mj-body {
    font-size: 16px;
    padding-bottom: 72px;
  }

  .mj-head-in {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 16px;
  }

  svg.mj-lg {
    width: 44px;
  }

  span.mj-logo-t {
    font-size: 22px;
  }

  nav.mj-nav-l,
  nav.mj-nav-r {
    display: none;
  }

  a.mj-btn-hm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    height: 40px;
    padding: 0 16px;
    margin-left: auto;
    margin-right: 12px;
    background: var(--accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 var(--ink);
    border-radius: 6px;
    text-decoration: none;
    line-height: 1;
    transition: transform 120ms ease, box-shadow 120ms ease;
  }

  a.mj-btn-hm:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 var(--ink);
  }

  button.mj-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    background: var(--surface);
    border-radius: 4px;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
  }

  span.mj-bl {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--accent);
  }

  span.mj-bl + span.mj-bl {
    margin-top: 5px;
  }

  section.mj-hero {
    padding: 28px 0 36px;
  }

  .mj-hero-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .mj-stack {
    aspect-ratio: auto;
    min-height: auto;
    height: 200px;
  }

  figure.mj-st {
    width: 31%;
  }

  .mj-sec {
    padding: 30px 0;
  }

  ul.mj-vl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  div.mj-fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  nav.mj-bnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    background: #ffffff;
    border-top: 2px solid var(--accent);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    z-index: 40;
    padding-bottom: env(safe-area-inset-bottom);
  }

  a.mj-tab {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    color: var(--ink);
    text-decoration: none;
    min-height: 48px;
    position: relative;
    line-height: 1.2;
    transition: color 120ms ease;
  }

  svg.mj-bi {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
  }

  a.mj-tab[aria-current="page"] {
    color: var(--accent);
    font-weight: 700;
  }

  a.mj-tab[aria-current="page"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8px;
    right: 8px;
    height: 3px;
    background: var(--accent2);
  }
}

@media (max-width: 700px) {
  div.mj-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  div.mj-fgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  svg.mj-ph-six {
    display: none;
  }
}

@media (max-width: 560px) {
  .mj-wrap {
    width: min(1160px, 100% - 24px);
  }

  ul.mj-vl {
    grid-template-columns: minmax(0, 1fr);
  }

  figure.mj-card {
    grid-template-columns: minmax(0, 1fr);
  }

  figure.mj-card img {
    aspect-ratio: 16 / 9;
  }
}

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

.mj-nav{display:flex;align-items:center;gap:6px}
.mj-fc{min-width:0}
.mj-main{display:block;min-width:0}
.mj-vars{background:var(--surface)}

.mj-h1,.mj-gh{font-family:var(--f-body)}
.mj-logo,.mj-lg{color:var(--accent)}
.mj-logo-t{font-weight:400}
.mj-prose a.mj-btn,.mj-mid a.mj-btn{color:#fff;text-decoration:none}
.mj-card img{object-position:center 28%}

.mj-skip{white-space:nowrap}
.mj-logo{min-height:44px;align-items:center}
.mj-cr-i a{display:inline-block;padding:8px 2px}

.mj-skip{background:var(--accent);color:#fff;padding:8px 14px}
.mj-note-p a,.mj-lede a{color:var(--accent);text-decoration:underline}

.mj-card img{object-fit:contain;background:var(--tint)}
