/* Company milestones: desktop artboard follows the supplied infographic. */
body.page-policy { background: #EFE1D5; }
.company-page { background: #EFE1D5; overflow: hidden; }
.milestones {
  --ms-blue: #0759bf; --ms-green: #20aa3d; --ms-gold: #f6b900;
  --ms-orange: #ff7917; --ms-teal: #02a99f; --ms-purple: #7620c8;
  --ms-pink: #d8179c; --ms-red: #f21d42;
  --ms-header: 84px;               /* fixed navbar height to keep clear of */
  --ms-gutter: clamp(16px, 2.5vw, 40px);
  --ms-ease: cubic-bezier(.2, .7, .2, 1);
  position: relative; box-sizing: border-box;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--ms-header) + clamp(42px, 3vw, 56px)) var(--ms-gutter) 28px;
  background: #EFE1D5;
}

.ms-stage {
  position: relative; z-index: 1;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 1448 / 1086;
  margin: 0 auto; container-type: inline-size; isolation: isolate;
  font-family: Arial, "Kanit", sans-serif; color: #0c1c3c;
}
.ms-stage::before, .ms-stage::after {
  content: ""; position: absolute; z-index: -1; width: 11cqw; height: 11cqw;
  background-image: radial-gradient(#cdddf3 2px, transparent 2px);
  background-size: 1.35cqw 1.35cqw; opacity: .7;
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%);
  mask-image: radial-gradient(circle, #000 40%, transparent 72%);
}
.ms-stage::before { left: 1%; top: 29%; }
.ms-stage::after { right: 2%; top: 0; }
.ms-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }

.ms-intro { position: absolute; z-index: 2; top: 1%; left: 4%; width: max-content; max-width: 46%;
  display: flex; flex-direction: column; align-items: center; text-align: center; }
.ms-intro .sec-kicker { margin: 0 0 .6cqw; font-size: max(1.05cqw, 11px); color: #8a6848; }
.ms-intro .sec-title { font-size: 6.4cqw; line-height: 1.1; color: #1a120c; white-space: nowrap; text-wrap: nowrap; }
/* Latin headings run longer than the Thai one, so scale them down to stay on one line */
html[data-lang="en"] .ms-intro .sec-title { font-size: 4.6cqw; }
html[data-lang="zh"] .ms-intro .sec-title { font-size: 5.6cqw; }
.ms-intro .sec-rule { width: 9cqw; height: .4cqw; margin: 1.2cqw auto 0; }
.ms-lead {
  max-width: 36ch; margin: 1.3cqw auto 0;
  font-family: "Kanit", sans-serif;
  font-size: max(1.35cqw, 14px); line-height: 1.6; color: #6d5c4c;
}
.ms-world { position: absolute; z-index: -1; width: 28%; height: 22%; top: 0; left: 45%; opacity: .22; object-fit: contain; }

.ms-road { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ms-road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ms-road-drop { stroke: #7c8ca2; stroke-width: 74; opacity: .24; transform: translateY(16px); filter: url(#ms-road-shadow); }
.ms-road-edge { stroke: #c4cfde; stroke-width: 69; transform: translateY(11px); }
.ms-road-base { stroke: #fff; stroke-width: 65; }
.ms-road-stripe { stroke-width: 52; stroke-linecap: butt !important; opacity: .55; }
.ms-road-dash { stroke: rgba(255,255,255,.85); stroke-width: 1.6; stroke-dasharray: 15 23; }

.ms-list { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.ms-item { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 2; }
.ms-item:hover { z-index: 4; }
.ms-item::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -1.8cqw; top: -.35cqw; width: 3.6cqw; height: .7cqw;
  border-radius: 50%; background: #10264d80; filter: blur(.25cqw);
}
.ms-pin { position: absolute; left: -1.8cqw; top: -4.5cqw; width: 3.6cqw; height: 3.6cqw;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: color-mix(in srgb, var(--accent) 58%, white);
  border: .12cqw solid white; box-shadow: 0 0 .25cqw #21305055;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.ms-pin::before { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: white; }
.ms-detail { position: absolute; display: flex; align-items: flex-start; gap: .65cqw; width: 23cqw;
  transition: transform .35s var(--ms-ease); }
.ms-icon { flex: 0 0 6.5cqw; width: 6.5cqw; height: 6.5cqw; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: .2cqw;
  background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--accent) 15%, white));
  box-shadow: 0 0 0 .4cqw #fff, 0 0 0 .55cqw color-mix(in srgb, var(--accent) 28%, white), 0 .5cqw 1.4cqw #10245022;
  color: var(--accent); overflow: hidden; }
.ms-icon svg { width: 58%; height: 58%; }
.ms-icon img { max-width: 80%; max-height: 78%; object-fit: contain; }
.ms-manufacture { display: block; width: 70%; height: 70%; background: currentColor;
  -webkit-mask: url("../img/icon/manufacture.png") center / contain no-repeat;
  mask: url("../img/icon/manufacture.png") center / contain no-repeat; }
.ms-headquarters { display: block; width: 70%; height: 70%; background: currentColor;
  -webkit-mask: url("../img/icon/headquarters.png") center / contain no-repeat;
  mask: url("../img/icon/headquarters.png") center / contain no-repeat; }
.ms-certificate { display: block; width: 70%; height: 70%; background: currentColor;
  -webkit-mask: url("../img/icon/certificate01.png") center / contain no-repeat;
  mask: url("../img/icon/certificate01.png") center / contain no-repeat; }
.ms-policy { display: block; width: 70%; height: 70%; background: currentColor;
  -webkit-mask: url("../img/icon/policy.png") center / contain no-repeat;
  mask: url("../img/icon/policy.png") center / contain no-repeat; }
.ms-product-selling { display: block; width: 70%; height: 70%; background: currentColor;
  -webkit-mask: url("../img/icon/product-selling.png") center / contain no-repeat;
  mask: url("../img/icon/product-selling.png") center / contain no-repeat; }
.ms-item--2014 .ms-icon img { max-width: 43%; }
.ms-copy { position: relative; flex: 1; min-width: 0; }
.ms-year { display: block; font-size: max(2.45cqw, 20px); line-height: 1; font-weight: 900; letter-spacing: -.055em; color: var(--accent);
  text-shadow: 0 .1cqw 0 #fff; }
.ms-copy p { margin: .4cqw 0 0; padding: .7cqw .85cqw; border-radius: .9cqw;
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--accent) 9%, white));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, white);
  color: #15244a; font-family: "Kanit", Arial, sans-serif; font-weight: 400;
  font-size: max(1.05cqw, 10.5px); line-height: 1.38;
  box-shadow: 0 .45cqw 1.3cqw #10245014; transition: box-shadow .35s var(--ms-ease); }
.ms-item--2013 .ms-detail { left: -7cqw; bottom: 6.2cqw; width: 24cqw; }
.ms-item--2014 .ms-detail { left: -6cqw; bottom: 6.2cqw; width: 20cqw; }
.ms-item--2016 .ms-detail { left: -7cqw; bottom: 6.2cqw; width: 24cqw; }
.ms-item--2017 .ms-detail { left: -5cqw; bottom: 6cqw; width: 21cqw; }
.ms-item--2018 .ms-detail { left: -8cqw; bottom: 6.3cqw; width: 25cqw; }
.ms-item--2019 .ms-detail { left: -7cqw; bottom: 6.2cqw; width: 22cqw; }
.ms-item--2022 .ms-detail { left: -7.5cqw; bottom: 5.7cqw; width: 24cqw; }
.ms-item--2022 .ms-copy p { font-size: max(.82cqw, 9px); line-height: 1.2; padding: .28cqw .5cqw; }
.ms-item--2023 .ms-detail { left: -7cqw; bottom: 4.8cqw; width: 24cqw; }
.ms-item--2024 .ms-detail { left: -7cqw; bottom: 6.2cqw; width: 25cqw; }
.ms-item--2025 .ms-detail { left: -3.5cqw; bottom: 6.2cqw; width: 25cqw; }
.ms-item--2026 .ms-detail { left: -7cqw; bottom: 6.2cqw; width: 27cqw; }
.ms-item--2025 .ms-detail, .ms-item--2026 .ms-detail { gap: .5cqw; }

/* Laptop artboards: keep each caption in its own lane so cards don't cover
   the road, the pins, or the next milestone. */
@container (max-width: 1360px) {
  .ms-copy p { font-size: 1cqw; line-height: 1.28; padding: .45cqw .6cqw; }
  .ms-year { font-size: 2.15cqw; }
  .ms-icon { flex-basis: 5.4cqw; width: 5.4cqw; height: 5.4cqw; }
  .ms-detail { gap: .45cqw; }
  .ms-item--2013 .ms-detail { left: -6cqw; bottom: 5.4cqw; width: 21cqw; }
  .ms-item--2014 .ms-detail { left: -5cqw; bottom: 5.4cqw; width: 18cqw; }
  .ms-item--2016 .ms-detail { left: -5cqw; bottom: 5.2cqw; width: 20cqw; }
  .ms-item--2017 .ms-detail { left: -3cqw; bottom: 5.2cqw; width: 18cqw; }
  .ms-item--2018 .ms-detail { left: -6cqw; bottom: 5.6cqw; width: 22cqw; }
  .ms-item--2019 .ms-detail { left: -5cqw; bottom: 5.6cqw; width: 19cqw; }
  .ms-item--2022 .ms-detail { left: -5cqw; bottom: 6.4cqw; width: 22cqw; }
  .ms-item--2022 .ms-copy p { font-size: .78cqw; line-height: 1.2; padding: .22cqw .4cqw; }
  .ms-item--2023 .ms-detail { left: -8.5cqw; bottom: 5.2cqw; width: 20cqw; }
  .ms-item--2024 .ms-detail { left: -2.5cqw; bottom: 5.6cqw; width: 22cqw; }
  .ms-item--2025 .ms-detail { left: -1cqw; bottom: 5.6cqw; width: 21cqw; }
  .ms-item--2026 .ms-detail { left: -9cqw; bottom: 6.2cqw; width: 24cqw; }
}

@media (hover: hover) {
  .ms-item:hover .ms-detail { transform: translateY(-.35cqw); }
  .ms-item:hover .ms-copy p { box-shadow: 0 .9cqw 2cqw #10245026; }
  .ms-item:hover .ms-pin { transform: rotate(-45deg) scale(1.12); }
}

/* Scroll-in reveal: road slides in, then milestones pop in along the route */
.ms-item:nth-child(1) { --i: 0; } .ms-item:nth-child(2) { --i: 1; } .ms-item:nth-child(3) { --i: 2; }
.ms-item:nth-child(4) { --i: 3; } .ms-item:nth-child(5) { --i: 4; } .ms-item:nth-child(6) { --i: 5; }
.ms-item:nth-child(7) { --i: 6; } .ms-item:nth-child(8) { --i: 7; } .ms-item:nth-child(9) { --i: 8; }
.ms-item:nth-child(10) { --i: 9; } .ms-item:nth-child(11) { --i: 10; }
.ms-intro { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .9s var(--ms-ease); }
.ms-intro.is-visible { opacity: 1; transform: none; }
.ms-stage .ms-road { opacity: 0; transform: translateY(2.5cqw); transition: opacity .8s ease .1s, transform 1s var(--ms-ease) .1s; }
.ms-stage.is-visible .ms-road { opacity: 1; transform: none; }
.ms-item { opacity: 0; transform: translateY(1.4cqw);
  transition: opacity .55s ease calc(var(--i) * 85ms + 350ms), transform .7s var(--ms-ease) calc(var(--i) * 85ms + 350ms); }
.ms-item .ms-pin { transform: rotate(-45deg) scale(.3); transition-delay: calc(var(--i) * 85ms + 450ms); }
.ms-item.is-visible { opacity: 1; transform: none; }
.ms-item.is-visible .ms-pin { transform: rotate(-45deg) scale(1); }
.ms-item.is-visible:hover .ms-pin { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  .ms-intro, .ms-stage .ms-road, .ms-item, .ms-item .ms-pin, .ms-detail, .ms-copy p { transition: none; }
}

@media (max-width: 950px) {
  .milestones { min-height: auto; display: block; padding: 90px 18px 55px; }
  .milestones::before, .milestones::after { display: none; }
  .ms-stage { width: min(100%, 650px); aspect-ratio: auto; container-type: normal; }
  .ms-stage::before, .ms-stage::after { display: none; }
  .ms-intro { position: relative; top: auto; left: auto; width: 100%; max-width: none; margin-bottom: 28px; }
  .ms-intro .sec-kicker { font-size: 12px; margin-bottom: 8px; }
  .ms-intro .sec-title { font-size: clamp(34px, 9vw, 54px); white-space: normal; text-wrap: balance; }
  html[data-lang="en"] .ms-intro .sec-title, html[data-lang="zh"] .ms-intro .sec-title { font-size: clamp(30px, 8vw, 48px); }
  .ms-intro .sec-rule { width: 64px; height: 3px; margin-top: 12px; }
  .ms-lead { margin-top: 12px; font-size: 15px; }
  .ms-world, .ms-road { display: none; }
  .ms-list { position: relative; inset: auto; display: grid; gap: 15px; padding-left: 40px; }
  .ms-list::before { content: ""; position: absolute; left: 12px; top: 18px; bottom: 20px; width: 10px; border-radius: 8px;
    background: linear-gradient(#8cbbf1,#acd992,#c3a7e6,#ffe680,#dae67f,#82dcd3,#89c2f6,#b091e8,#eb8cdb,#fa9ab2,#ffdd84); }
  .ms-item { position: relative; left: auto; top: auto; width: auto; height: auto; transform: translateY(14px); }
  .ms-item.is-visible { transform: none; }
  .ms-pin { left: -39px; top: 22px; width: 30px; height: 30px; border-width: 2px; }
  .ms-item::before { display: none; }
  .ms-detail, .ms-item--2013 .ms-detail, .ms-item--2014 .ms-detail, .ms-item--2016 .ms-detail,
  .ms-item--2017 .ms-detail, .ms-item--2018 .ms-detail, .ms-item--2019 .ms-detail,
  .ms-item--2022 .ms-detail, .ms-item--2023 .ms-detail, .ms-item--2024 .ms-detail,
  .ms-item--2025 .ms-detail, .ms-item--2026 .ms-detail {
    position: static; width: auto; align-items: center; gap: 15px; padding: 14px;
    border-radius: 17px; background: #fff; box-shadow: 0 7px 24px #17305912;
    border: 1px solid color-mix(in srgb, var(--accent) 18%, white);
  }
  .ms-icon { flex-basis: 64px; width: 64px; height: 64px; box-shadow: none; }
  .ms-year { font-size: 28px; text-shadow: none; }
  .ms-copy p { margin-top: 5px; padding: 0; background: transparent; border: 0; font-size: 14px; box-shadow: none; }
  .ms-item:hover .ms-detail { transform: none; }
}
@media (max-width: 440px) {
  .milestones { padding-left: 12px; padding-right: 12px; }
  .ms-list { padding-left: 32px; }
  .ms-list::before { left: 10px; }
  .ms-pin { left: -31px; width: 26px; height: 26px; }
  .ms-detail, .ms-item .ms-detail { gap: 9px; padding: 11px; }
  .ms-icon { flex-basis: 48px; width: 48px; height: 48px; }
  .ms-copy p { font-size: 12px; }
}

/* Founders & business model — one board continuing the history section */
.founders {
  width: min(100%, 1120px);
  margin: clamp(36px, 5vw, 64px) auto 8px;
  color: #1a120c;
  font-family: "Kanit", Arial, sans-serif;
}
.founders-board { background: none; border: 0; box-shadow: none; padding: 0; }
.founders-head { margin-bottom: clamp(22px, 3vw, 32px); }
.founders-head .sec-kicker { color: #8a6848; }
.founders-head .sec-title { color: #1a120c; font-size: clamp(1.7rem, 3vw, 2.35rem); }

.founder-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.founder-card {
  display: grid;
  grid-template-columns: minmax(130px, 200px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  text-align: left;
}
.founder-avatar { margin: 0; width: 100%; }
.founder-avatar img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(48, 28, 10, .14));
}
.founder-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.founder-name {
  align-self: stretch;
  margin: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: #1a120c;
}
.founder-name::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c4842a, #f4d08a);
}
.founder-facts {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.founder-fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  line-height: 1.6;
  color: #4a3d33;
}
.founder-fact--edu { color: #8a5a22; font-weight: 500; }
.founder-fact-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #c4842a;
  box-shadow: 0 4px 12px rgba(120, 76, 30, .14), inset 0 0 0 1px rgba(226, 164, 76, .35);
}
.founder-fact-icon svg { width: 16px; height: 16px; }

.bizmodel {
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: clamp(20px, 2.6vw, 28px);
  border-top: 1px solid rgba(138, 104, 72, .16);
}
.bizmodel-head { text-align: center; }
.bizmodel-title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  color: #1a120c;
}
.bizmodel-lead {
  margin: 6px auto 0;
  max-width: 46ch;
  font-size: .98rem;
  line-height: 1.6;
  color: #6d5c4c;
}
.bizmodel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(18px, 2.4vw, 26px);
}
.biz-card {
  --biz-ink: #1a120c;
  --biz-sub: #8a7564;
  --biz-text: #3a2f26;
  --biz-accent: #c4842a;
  --biz-track: rgba(196, 132, 42, .14);
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 22px;
  background: linear-gradient(160deg, #fffdf9, #fbf3e8);
  border: 1px solid rgba(196, 148, 90, .22);
  box-shadow: 0 14px 34px rgba(74, 46, 18, .08);
  transition: transform .35s var(--ms-ease, ease), box-shadow .35s var(--ms-ease, ease);
}
.biz-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 208, 138, .35), transparent 70%);
  pointer-events: none;
}
.biz-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.biz-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #3a2410;
  background: linear-gradient(135deg, #f7d899, #d9963a);
  box-shadow: 0 8px 18px rgba(196, 132, 42, .3);
}
.biz-icon svg { width: 24px; height: 24px; }
.biz-name { flex: 1; min-width: 0; }
.biz-card h4 {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  color: var(--biz-ink);
}
.biz-of { margin: 2px 0 0; font-size: .8rem; letter-spacing: .02em; color: var(--biz-sub); }
.biz-pct {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
  color: var(--biz-accent);
}
.biz-bar {
  position: relative;
  z-index: 1;
  display: block;
  height: 6px;
  margin: 16px 0 18px;
  border-radius: 999px;
  background: var(--biz-track);
  overflow: hidden;
}
.biz-bar span {
  display: block;
  width: var(--share, 50%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b36a1a, #f4d08a);
}
.biz-card ul {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.biz-card li {
  position: relative;
  padding-left: 30px;
  font-size: .94rem;
  line-height: 1.55;
  color: var(--biz-text);
}
.biz-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .12em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--biz-accent) 20%, transparent);
}
.biz-card li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(.12em + 4px);
  width: 12px;
  height: 12px;
  background: var(--biz-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) {
  .biz-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(74, 46, 18, .16); }
}
@media (prefers-reduced-motion: reduce) {
  .biz-card { transition: none; }
}

@media (max-width: 860px) {
  .founder-list, .bizmodel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .founder-card { grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
  .founder-fact { font-size: .85rem; gap: 8px; }
  .founder-fact-icon { flex-basis: 26px; width: 26px; height: 26px; }
  .biz-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; }
  .biz-pct { font-size: 1.4rem; }
}
@media (max-width: 950px) {
  .founders { width: min(100%, 650px); margin-top: 36px; }
}









