.cm-page {
  --cm-paper: #f2f0ea;
  --cm-ink: #20211c;
  --cm-orange: #c83b26;
  --cm-line: rgba(32, 33, 28, .22);
  background: var(--cm-paper);
  color: var(--cm-ink);
}

.cm-page h1, .cm-page h2, .cm-page h3, .cm-page p, .cm-page figure { margin: 0; }
.cm-page h1, .cm-page h2, .cm-page h3 { font-family: Sarabun, Thonburi, sans-serif; }
.cm-page a { text-decoration: none; }
.cm-wrap { max-width: 1600px; margin-inline: auto; padding-inline: clamp(20px, 4.8vw, 76px); }
.cm-page :focus-visible { outline: 3px solid var(--cm-orange); outline-offset: 4px; }

.cm-header { width: 100%; max-width: 1600px; margin-inline: auto; min-height: 78px; padding: 12px clamp(20px, 4.8vw, 76px); display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--cm-line); }
.cm-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; line-height: 1; }
.cm-brand img { width: 37px; height: 37px; object-fit: contain; }
.cm-brand strong { display: block; font-family: Sarabun, sans-serif; font-size: 19px; font-weight: 800; }
.cm-brand small { display: block; padding-top: 4px; font-size: 10px; letter-spacing: .02em; }
.cm-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 29px); margin-left: auto; white-space: nowrap; font-size: 13px; font-weight: 600; }
.cm-nav { scrollbar-width: none; }
.cm-nav::-webkit-scrollbar { display: none; }
.cm-nav a { display: inline-flex; align-items: center; min-height: 40px; }
.cm-nav a:hover, .cm-langs a:hover, .cm-footer a:hover { color: var(--cm-orange); }
.cm-header__right { display: flex; align-items: center; gap: 17px; }
.cm-langs { display: flex; gap: 7px; align-items: center; white-space: nowrap; }
.cm-langs a { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 2px; font-size: 10px; font-weight: 700; opacity: .52; }
.cm-langs a[aria-current] { color: var(--cm-orange); opacity: 1; }
.cm-header__cta { display: inline-flex; gap: 13px; align-items: center; justify-content: space-between; min-height: 43px; padding: 8px 15px; border: 1px solid var(--cm-ink); border-radius: 16px; font-weight: 700; white-space: nowrap; font-size: 12px; }
.cm-header__cta:hover { background: var(--cm-ink); color: white; }

.cm-hero { max-width: 1600px; min-height: min(750px, 83dvh); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); border-bottom: 1px solid var(--cm-line); }
.cm-hero__copy { min-width: 0; padding: clamp(50px, 7vw, 102px) clamp(20px, 4.8vw, 76px) 72px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.cm-eyebrow { margin-bottom: clamp(25px, 4vw, 54px) !important; color: var(--cm-orange); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.cm-hero h1 { max-width: 820px; font-size: clamp(55px, 5.9vw, 100px); font-weight: 100; letter-spacing: -.035em; line-height: 1.12; }
html[lang="zh-Hans"] .cm-hero h1, html[lang="ja"] .cm-hero h1 { font-size: clamp(42px, 6vw, 82px); }
.cm-hero h1 em { color: var(--cm-orange); font-style: normal; }
.cm-hero__lead { max-width: 520px; margin-top: 30px !important; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.68; }
.cm-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 52px; padding: 12px 20px; border-radius: 16px; background: var(--cm-orange); color: white !important; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.cm-button:hover { background: #962717; transform: translateY(-2px); }
.cm-text-link { display: inline-flex; gap: 15px; align-items: center; border-bottom: 1px solid currentColor; padding-block: 8px; font-weight: 700; }
.cm-text-link:hover { color: var(--cm-orange); }
.cm-hero__visual { position: relative; min-height: 590px; overflow: hidden; background: #6c7970; }
.cm-hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.cm-hero__visual figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; max-width: 360px; padding: 9px 12px; background: rgba(32,33,28,.75); color: white; font-size: 11px; line-height: 1.5; }

.cm-intro { max-width: 1600px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); gap: 25px 6vw; padding: clamp(84px, 10vw, 160px) clamp(20px, 4.8vw, 76px) clamp(86px, 9vw, 140px); }
.cm-intro h2 { max-width: 950px; font-size: clamp(39px, 5.4vw, 78px); font-weight: 100; letter-spacing: -.03em; line-height: 1.18; }
.cm-intro > p { align-self: end; max-width: 350px; padding-bottom: 9px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; }
.cm-intro > span { grid-column: 1 / -1; display: block; max-width: 700px; padding-top: 22px; border-top: 1px solid var(--cm-line); color: #62635e; font-size: 13px; }

.cm-services { padding-bottom: clamp(100px, 11vw, 170px); }
.cm-section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 41px; }
.cm-section-head h2, .cm-process h2 { max-width: 900px; font-size: clamp(38px, 4.6vw, 68px); font-weight: 100; letter-spacing: -.03em; line-height: 1.18; }
.cm-section-head p { max-width: 600px; font-size: 17px; line-height: 1.65; }
.cm-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 23px; }
.cm-card { display: flex; flex-direction: column; grid-column: span 4; overflow: hidden; min-height: 450px; border-radius: 16px; background: #e5e6de; transition: transform .25s ease; }
.cm-card:hover { transform: translateY(-4px); }
.cm-card--travel, .cm-card--food { grid-column: span 6; min-height: 530px; }
.cm-card--profile, .cm-card--factory { grid-column: span 6; }
.cm-card > img { width: 100%; height: 290px; flex: 1 1 auto; min-height: 240px; object-fit: cover; }
.cm-card--travel > img, .cm-card--food > img { height: 355px; }
.cm-card--food > img { object-position: center 44%; }
.cm-card--factory > img { object-position: center; }
.cm-card__body { display: flex; flex-direction: column; gap: 6px; min-height: 158px; padding: 20px 24px 19px; background: #e3e4dc; }
.cm-card:nth-child(2n) .cm-card__body { background: #d6dad3; }
.cm-card__body strong { font-family: Sarabun, sans-serif; font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.025em; line-height: 1.25; }
.cm-card__body > span { font-size: 14px; line-height: 1.5; }
.cm-card__body small { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 13px; font-size: 12px; font-weight: 700; }
.cm-media-note { max-width: 750px; margin-top: 19px !important; color: #62635e; font-size: 12px; }

.cm-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(42px, 7vw, 110px); align-items: center; padding-bottom: clamp(105px, 12vw, 185px); }
.cm-story__image { aspect-ratio: 1.12; overflow: hidden; border-radius: 16px; }
.cm-story__image img { width: 100%; height: 100%; object-fit: cover; }
.cm-story__copy { max-width: 530px; }
.cm-story h2 { font-size: clamp(38px, 4.6vw, 70px); font-weight: 100; line-height: 1.18; letter-spacing: -.03em; }
.cm-story p { margin-top: 25px; margin-bottom: 27px; font-size: 18px; line-height: 1.8; }

.cm-videos { padding-bottom: clamp(110px, 12vw, 175px); }
.cm-video-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 22px; }
.cm-video { min-width: 0; }
.cm-video__image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: #d5d4cf; }
.cm-video__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cm-video__image:hover img { transform: scale(1.035); }
.cm-video__play { position: absolute; left: 22px; bottom: 20px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cm-orange); color: white; font-size: 15px; line-height: 1; }
.cm-video__copy { padding-top: 18px; }
.cm-video h3 { font-size: clamp(23px, 2vw, 30px); font-weight: 400; line-height: 1.25; }
.cm-video p { margin-top: 6px; color: #555650; font-size: 14px; }
.cm-video__copy a { display: inline-block; margin-top: 16px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; }
.cm-video__copy a:hover { color: var(--cm-orange); }

.cm-process { padding-bottom: clamp(100px, 10vw, 155px); }
.cm-process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 50px 0 0; padding: 0; list-style: none; }
.cm-process li { border-top: 1px solid var(--cm-ink); padding-top: 20px; }
.cm-process li > span { color: var(--cm-orange); font-size: 14px; font-weight: 800; }
.cm-process h3 { margin-top: 28px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; }
.cm-process p { max-width: 370px; margin-top: 10px; font-size: 16px; line-height: 1.7; }

.cm-contact { padding-top: clamp(57px, 7vw, 105px); padding-bottom: clamp(68px, 7vw, 100px); background: #e9e9e1; }
.cm-contact > p { color: var(--cm-orange); font-size: 15px; font-weight: 800; }
.cm-contact h2 { max-width: 1100px; margin-top: 14px; font-size: clamp(55px, 7.5vw, 112px); font-weight: 100; line-height: 1.14; letter-spacing: -.035em; }
.cm-contact__bottom { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-top: 43px; }
.cm-contact__bottom > p { max-width: 570px; font-size: 18px; line-height: 1.7; }
.cm-contact__links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 270px; }
.cm-contact__links > a:not(.cm-button) { border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 700; }
.cm-contact__links > a:not(.cm-button):hover { color: var(--cm-orange); }
.cm-footer { display: flex; justify-content: space-between; gap: 45px; padding-block: 44px 70px; }
.cm-footer__brand { font-family: Sarabun, sans-serif; font-size: 24px; font-weight: 800; }
.cm-footer__brand span { font-family: "Bai Jamjuree", sans-serif; font-size: 12px; font-weight: 500; }
.cm-footer p { max-width: 520px; margin-top: 10px; color: #62635e; font-size: 12px; }
.cm-footer > div:last-child { display: flex; gap: 18px; align-items: start; flex-wrap: wrap; font-size: 13px; font-weight: 700; }

@media (min-width: 768px) {
  .cm-page:has(.consent-bar) .mobile-contact { bottom: 90px; }
}

@media (max-width: 1200px) {
  .cm-header { flex-wrap: wrap; row-gap: 8px; }
  .cm-nav { order: 3; width: 100%; justify-content: center; padding-block: 7px; border-top: 1px solid var(--cm-line); }
  .cm-header__right { margin-left: auto; }
  .cm-hero { min-height: 660px; }
  .cm-hero h1 { font-size: clamp(52px, 6vw, 80px); }
}
@media (max-width: 820px) {
  .cm-nav { justify-content: flex-start; overflow-x: auto; font-size: 12px; }
  .cm-hero { grid-template-columns: 1fr; }
  .cm-hero__copy { min-height: 530px; padding-top: 65px; padding-bottom: 65px; }
  .cm-hero__visual { min-height: 440px; max-height: 600px; }
  .cm-intro { grid-template-columns: 1fr; }
  .cm-intro > span { grid-column: 1; }
  .cm-grid { gap: 15px; }
  .cm-card, .cm-card--travel, .cm-card--food, .cm-card--profile, .cm-card--factory { grid-column: span 6; min-height: 0; }
  .cm-card > img, .cm-card--travel > img, .cm-card--food > img { height: 270px; flex: none; }
  .cm-story { grid-template-columns: 1fr; }
  .cm-story__image { aspect-ratio: 1.45; }
  .cm-video-grid { grid-template-columns: repeat(2, 1fr); }
  .cm-video:first-child { grid-column: span 2; }
  .cm-process ol { gap: 20px; }
}
@media (max-width: 600px) {
  .cm-header { min-height: 65px; gap: 10px; }
  .cm-brand img { width: 33px; height: 33px; }
  .cm-brand strong { font-size: 17px; }
  .cm-brand small { font-size: 9px; }
  .cm-header__right { width: auto; }
  .cm-header__cta { display: none; }
  .cm-langs { gap: 5px; }
  .cm-langs a { font-size: 9px; }
  .cm-nav { gap: 14px; }
  .cm-hero__copy { min-height: 0; padding-top: 58px; padding-bottom: 57px; }
  .cm-eyebrow { font-size: 10px; }
  .cm-hero h1 { font-size: clamp(48px, 10vw, 67px); }
  .cm-hero__lead { margin-top: 24px !important; font-size: 16px; }
  .cm-hero__visual { min-height: 365px; height: 58vw; }
  .cm-intro { padding-block: 82px 90px; }
  .cm-intro h2 { font-size: clamp(36px, 9vw, 49px); }
  .cm-section-head h2, .cm-process h2, .cm-story h2 { font-size: clamp(35px, 9vw, 48px); }
  .cm-grid { grid-template-columns: 1fr; gap: 17px; }
  .cm-card, .cm-card--travel, .cm-card--food, .cm-card--profile, .cm-card--factory { grid-column: 1; }
  .cm-card > img, .cm-card--travel > img, .cm-card--food > img { height: 270px; }
  .cm-card__body { min-height: 145px; padding: 17px 20px; }
  .cm-services, .cm-story, .cm-videos, .cm-process { padding-bottom: 95px; }
  .cm-story { gap: 30px; }
  .cm-story__image { aspect-ratio: 1.1; }
  .cm-story p { font-size: 16px; }
  .cm-video-grid { grid-template-columns: 1fr; gap: 32px; }
  .cm-video:first-child { grid-column: 1; }
  .cm-process ol { grid-template-columns: 1fr; gap: 28px; }
  .cm-process h3 { margin-top: 16px; }
  .cm-contact__bottom { display: block; }
  .cm-contact__bottom > p { font-size: 16px; }
  .cm-contact__links { margin-top: 25px; }
  .cm-footer { display: block; padding-bottom: 110px; }
  .cm-footer > div:last-child { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-page *, .cm-page *::before, .cm-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
