:root {
  color-scheme: light;
  --color-brand: #238c95;
  --color-brand-deep: #176c73;
  --color-brand-mint: #8bd3d8;
  --color-brand-glow: rgba(35, 140, 149, 0.16);
  --color-brand-pale: #e7f4f5;
  --color-ink: #1f2328;
  --color-ink-soft: #4f5a60;
  --color-paper: #f5f7f8;
  --color-white: #ffffff;
  --color-line: #d7dfe1;
  --color-line-dark: #41494c;
  --color-night: #182023;
  --color-focus: #f3c969;
  --font-display: Manrope, Inter, "Noto Sans Thai", "Noto Sans", Arial, sans-serif;
  --font-body: Inter, "Noto Sans Thai", "Noto Sans", Arial, sans-serif;
  --container: 1240px;
  --gutter: 64px;
  --section-space: 128px;
  --header-height: 88px;
  --radius-small: 4px;
  --radius-medium: 8px;
  --shadow-media: 0 24px 64px rgba(14, 25, 28, 0.16);
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  max-width: 16ch;
  font-size: 68px;
  line-height: 1.02;
}

h2 {
  margin-bottom: 22px;
  max-width: 19ch;
  font-size: 46px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.22;
}

.hero__content h1::after,
.language-entry__content h1::after,
.section-heading h2::after,
.section-copy h2::after,
.cta-band h2::after,
.notice h2::after {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  margin-left: 0.12em;
  border-radius: 999px;
  background: var(--color-brand);
  box-shadow: 0 0 0 0.075em var(--color-brand-glow);
  content: "";
  transform: translateY(-0.03em);
  vertical-align: baseline;
}

.hero__content h1::after,
.language-entry__content h1::after,
.cta-band h2::after {
  background: var(--color-brand-mint);
  box-shadow: 0 0 0 0.085em rgba(139, 211, 216, 0.17);
}

[dir="rtl"] .hero__content h1::after,
[dir="rtl"] .language-entry__content h1::after,
[dir="rtl"] .section-heading h2::after,
[dir="rtl"] .section-copy h2::after,
[dir="rtl"] .cta-band h2::after,
[dir="rtl"] .notice h2::after {
  margin-right: 0.12em;
  margin-left: 0;
}

[lang="th"] body {
  font-family: "Noto Sans Thai", Tahoma, Arial, sans-serif;
  line-height: 1.76;
}

[lang="th"] h1,
[lang="th"] h2,
[lang="th"] h3 {
  line-height: 1.24;
}

[lang="zh-CN"] body,
[lang="ja"] body {
  line-break: strict;
  word-break: normal;
}

[lang="zh-CN"] body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

[lang="ja"] body {
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}

[lang="ar"] body {
  font-family: "Noto Sans Arabic", "Geeza Pro", Tahoma, Arial, sans-serif;
  unicode-bidi: plaintext;
}

[lang="th"] body {
  overflow-wrap: anywhere;
  word-break: normal;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--color-brand);
  box-shadow: 0 16px 34px rgba(35, 140, 149, 0.2);
  color: var(--color-white);
}

.button--primary:hover {
  background: var(--color-brand-deep);
  box-shadow: 0 20px 40px rgba(35, 140, 149, 0.27);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(15, 22, 24, 0.32);
  color: var(--color-white);
  backdrop-filter: blur(8px);
}

.button--secondary:hover {
  border-color: rgba(139, 211, 216, 0.92);
  background: rgba(15, 22, 24, 0.58);
}

.button--text {
  min-height: 0;
  padding: 0 0 5px;
  border-bottom-color: currentColor;
  border-radius: 0;
  color: var(--color-brand-deep);
  justify-content: flex-start;
}

.button--text::after {
  content: "\2192";
  margin-left: 10px;
  font-size: 19px;
  transition: transform 180ms ease;
}

.button--text:hover {
  transform: none;
}

.button--text:hover::after {
  transform: translateX(4px);
}

.hero-shell {
  position: relative;
  background: var(--color-night);
  color: var(--color-white);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: var(--header-height);
  grid-template-columns: minmax(146px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  width: 158px;
  align-items: center;
}

.brand img {
  width: 158px;
  height: auto;
}

.brand-lockup {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  padding-inline-end: 12px;
  direction: ltr;
}

.brand-lockup img {
  display: block;
  max-width: 100%;
  height: auto;
}

.brand-lockup__registered {
  position: absolute;
  top: -0.2em;
  right: 0;
  color: var(--color-brand);
  font-size: 0.45em;
  line-height: 1;
}

.desktop-nav,
.header-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 22px;
  white-space: nowrap;
}

.nav-group {
  position: relative;
}

.nav-group summary {
  padding-block: 14px;
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { margin-inline-start: 7px; color: var(--color-brand-mint); content: "▾"; }
.nav-group[data-active="true"] summary, .nav-group[open] summary { color: var(--color-white); }

.nav-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: -18px;
  display: grid;
  min-width: 220px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(16,24,27,.98);
}

.nav-dropdown a { padding-block: 12px; }

.mobile-nav-group {
  display: grid;
  margin-bottom: 22px;
}

.mobile-nav-group > strong {
  padding-bottom: 7px;
  color: var(--color-brand-mint);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.desktop-nav a,
.language-switcher a,
.header-app-link {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.desktop-nav a {
  position: relative;
  padding-block: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--color-brand-mint);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--color-white);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  justify-content: flex-end;
  gap: 18px;
}

.language-switcher {
  gap: 3px;
}

.language-switcher a {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  color: rgba(255, 255, 255, 0.72);
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  border-color: rgba(139, 211, 216, 0.72);
  box-shadow: inset 0 -2px 0 rgba(35, 140, 149, 0.48);
  color: var(--color-white);
}

.header-app-link {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(139, 211, 216, 0.9);
  color: var(--color-white);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--radius-small);
  background: rgba(15, 22, 24, 0.2);
  color: var(--color-white);
  cursor: pointer;
}

.menu-button__glyph {
  display: block;
  width: 20px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.mobile-menu {
  position: absolute;
  z-index: 19;
  top: var(--header-height);
  right: 0;
  left: 0;
  max-height: calc(100svh - var(--header-height));
  padding: 28px var(--gutter) 36px;
  overflow-y: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(24, 32, 35, 0.98);
}

.mobile-menu nav {
  display: grid;
  margin-bottom: 28px;
}

.mobile-menu nav a {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.mobile-language-switcher {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  height: auto;
  min-height: clamp(540px, 78svh, 760px);
  align-items: end;
  overflow: hidden;
}

.hero__media,
.hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media-trigger {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #0a1214;
  cursor: zoom-in;
}

.hero__media-trigger picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__disclosure {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-4);
  z-index: 2;
  max-width: min(34rem, calc(100% - (2 * var(--space-5))));
  margin: 0;
  padding: 0.45rem 0.65rem;
  color: #fff;
  background: rgb(15 22 23 / 78%);
  font-size: 0.75rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.hero__media {
  object-fit: cover;
  object-position: var(--media-position, center);
  animation: hero-reveal 700ms ease-out both;
}

.hero__scrim {
  background: rgba(10, 18, 20, 0.53);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 72px;
}

.hero__content p {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  max-width: 720px;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section:nth-child(even) {
  background: var(--color-white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading p,
.section-copy p {
  max-width: 62ch;
  color: var(--color-ink-soft);
}

.section-heading--compact {
  display: block;
}

.section-copy {
  min-width: 0;
  align-self: center;
}

.section-copy > .button--text {
  margin-top: 18px;
}

.media-split,
.guide-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(380px, 1.1fr);
  gap: 9%;
  align-items: center;
}

.media-frame {
  min-width: 0;
  margin: 0;
}

.media-frame__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--media-ratio, 16 / 9);
  border-radius: var(--radius-small);
  background: #cad1d3;
}

.media-frame__visual::after,
.hero::after,
.language-entry::after {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--color-brand);
  content: "";
  pointer-events: none;
}

.media-frame__visual img,
.media-frame__visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-position, center);
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

.media-frame__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.media-viewer-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-viewer {
  width: min(100% - 24px, 1440px);
  height: min(100% - 24px, 960px);
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: var(--radius-small);
  background: #071012;
  color: #fff;
}

.image-viewer::backdrop {
  background: rgb(3 8 9 / 92%);
  backdrop-filter: blur(12px);
}

.image-viewer__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  background: rgb(7 16 18 / 82%);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.image-viewer__figure {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 20px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
}

.image-viewer__figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.image-viewer__figure figcaption {
  max-width: 70ch;
  margin-inline: auto;
  color: rgb(255 255 255 / 76%);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

body:has(.image-viewer[open]) {
  overflow: hidden;
}

.media-frame:hover .media-frame__visual img {
  transform: scale(1.025);
}

.media-frame figcaption {
  margin-top: 12px;
  color: var(--color-ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.media-frame--portrait {
  box-shadow: var(--shadow-media);
}

.mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px 32px;
  align-items: start;
}

.mosaic__item {
  min-width: 0;
}

.mosaic__item:nth-child(3n + 1) {
  grid-row: span 2;
}

.mosaic__item:nth-child(3n + 1) .media-frame__visual {
  aspect-ratio: 4 / 5;
}

.mosaic__item:nth-child(3n + 2) .media-frame__visual,
.mosaic__item:nth-child(3n + 3) .media-frame__visual {
  aspect-ratio: 3 / 2;
}

.mosaic__copy {
  padding: 20px 2px 0;
}

.mosaic__copy p {
  margin-bottom: 0;
  color: var(--color-ink-soft);
}

.mosaic--sparse,
.mosaic--text-only {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-line);
}

.mosaic--sparse .mosaic__item,
.mosaic--text-only .mosaic__item {
  display: grid;
  min-height: 210px;
  align-content: end;
  background: var(--color-white);
}

.mosaic--sparse .mosaic__item:nth-child(3n + 1),
.mosaic--text-only .mosaic__item:nth-child(3n + 1) {
  grid-row: auto;
}

.mosaic--sparse .mosaic__copy,
.mosaic--text-only .mosaic__copy {
  padding: 30px;
}

.section--gallery {
  overflow: hidden;
  background: var(--color-night) !important;
  color: var(--color-white);
}

.section--gallery .section-heading p,
.section--gallery figcaption {
  color: rgba(255, 255, 255, 0.66);
}

.section--gallery .button--text {
  color: var(--color-white);
}

.media-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.media-gallery__item:nth-child(n + 2) .media-frame__visual {
  aspect-ratio: 4 / 3;
}

.media-gallery__item:nth-child(3) {
  margin-top: 46px;
}

.gallery-copy-panel {
  min-height: 0;
}

.section-action {
  margin-top: 32px;
}

.section--process {
  background: var(--color-brand-pale) !important;
}

.section--process,
.section--links {
  padding-block: 104px;
}

.process-list {
  display: grid;
  margin: 46px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #b8cccf;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-width: 0;
  padding: 76px 32px 0 0;
  border-right: 1px solid #b8cccf;
  counter-increment: process;
}

.process-list li + li {
  padding-left: 32px;
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li::before {
  position: absolute;
  top: 20px;
  left: 0;
  color: var(--color-brand-deep);
  content: "0" counter(process);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
}

.process-list li + li::before {
  left: 32px;
}

.process-list p {
  color: var(--color-ink-soft);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
}

.link-tile {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 176px;
  align-content: start;
  padding: 32px 68px 34px 0;
  border-bottom: 1px solid var(--color-line);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.link-tile::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 72px;
  height: 2px;
  background: var(--color-brand);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease, width 180ms ease;
}

.link-tile:nth-child(odd) {
  padding-right: 86px;
  border-right: 1px solid var(--color-line);
}

.link-tile:nth-child(even) {
  padding-left: 38px;
}

.link-tile:hover {
  color: var(--color-brand-deep);
}

.link-tile:hover::before {
  width: 104px;
  opacity: 1;
}

.link-tile__title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.24;
}

.link-tile__body {
  color: var(--color-ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.link-tile__action {
  position: absolute;
  top: 29px;
  right: 18px;
  color: var(--color-brand);
  font-size: 24px;
  transition: transform 180ms ease;
}

.link-tile:hover .link-tile__action {
  transform: translateX(5px);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  background: var(--color-line);
}

.partner-path {
  position: relative;
  min-width: 0;
  min-height: 290px;
  padding: 44px 74px 44px 44px;
  background: var(--color-white);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.partner-path::after {
  position: absolute;
  right: 44px;
  bottom: 36px;
  left: 44px;
  height: 2px;
  background: var(--color-brand);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.partner-path:hover {
  background: var(--color-brand-pale);
}

.partner-path:hover::after {
  opacity: 1;
}

.partner-path p {
  max-width: 46ch;
  color: var(--color-ink-soft);
}

.partner-path > span {
  position: absolute;
  top: 44px;
  right: 44px;
  color: var(--color-brand);
  font-size: 28px;
}

.section--cta {
  padding-block: 84px;
  background: var(--color-brand) !important;
  color: var(--color-white);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: center;
}

.cta-band h2 {
  margin-bottom: 12px;
}

.cta-band p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .button--primary {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-ink);
}

.cta-band .button--primary:hover {
  background: var(--color-paper);
}

.guide-feature {
  grid-template-columns: minmax(380px, 1.1fr) minmax(0, 0.76fr);
}

.section--guide-feature:nth-child(even) .guide-feature__media {
  order: 2;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--color-brand);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.notice {
  max-width: 900px;
  padding-left: 30px;
  border-left: 4px solid var(--color-brand);
}

.notice p {
  color: var(--color-ink-soft);
}

[dir="rtl"] .brand,
[dir="rtl"] .footer-brand img {
  direction: ltr;
}

[dir="rtl"] .desktop-nav,
[dir="rtl"] .header-actions,
[dir="rtl"] .hero__actions,
[dir="rtl"] .footer-meta {
  flex-direction: row-reverse;
}

[dir="rtl"] .process-list li {
  padding-right: 0;
  padding-left: 32px;
  border-right: 0;
  border-left: 1px solid #b8cccf;
}

[dir="rtl"] .process-list li + li {
  padding-right: 32px;
}

[dir="rtl"] .process-list li:last-child {
  border-left: 0;
}

[dir="rtl"] .process-list li::before {
  right: 0;
  left: auto;
}

[dir="rtl"] .process-list li + li::before {
  right: 32px;
  left: auto;
}

[dir="rtl"] .check-list li {
  padding-right: 28px;
  padding-left: 0;
}

[dir="rtl"] .check-list li::before {
  right: 0;
  left: auto;
}

[dir="rtl"] .notice {
  padding-right: 30px;
  padding-left: 0;
  border-right: 4px solid var(--color-brand);
  border-left: 0;
}

[dir="rtl"] .link-tile::before {
  right: 0;
  left: auto;
}

[dir="rtl"] .partner-path::after {
  right: 44px;
  left: 44px;
}

[dir="rtl"] .button--text::after {
  content: "\2190";
  margin-right: 10px;
  margin-left: 0;
}

.site-footer {
  padding: 84px 0 34px;
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(120px, 0.6fr));
  gap: 52px;
}

.footer-sitemap-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block-end: 24px;
  padding-block-end: 24px;
  border-bottom: 1px solid var(--color-line);
  cursor: pointer;
  list-style: none;
}

.footer-sitemap-heading::-webkit-details-marker {
  display: none;
}

.footer-sitemap-heading span:first-child {
  color: var(--color-brand-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-sitemap-heading__icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-brand-deep);
  border-bottom: 2px solid var(--color-brand-deep);
  transform: rotate(45deg) translate(-2px, 2px);
  transition: transform 180ms ease;
}

.footer-sitemap[open] .footer-sitemap-heading__icon {
  transform: rotate(225deg) translate(-2px, 2px);
}

.footer-link-branch {
  display: grid;
  gap: 9px;
}

.footer-subtree {
  display: grid;
  gap: 8px;
  margin-block: 2px 8px;
  padding-inline-start: 14px;
  border-inline-start: 1px solid var(--color-line);
}

.site-footer .footer-subtree a {
  font-size: 12px;
  line-height: 1.4;
}

.footer-brand img {
  width: 158px;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 42ch;
  color: var(--color-ink-soft);
  font-size: 15px;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.site-footer nav h2 {
  margin-bottom: 9px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer nav a {
  position: relative;
  color: var(--color-ink-soft);
  font-size: 14px;
  text-decoration: none;
}

.site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: var(--color-brand);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-footer nav a:hover {
  color: var(--color-brand-deep);
}

.site-footer nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  color: var(--color-ink-soft);
  font-size: 12px;
}

.language-entry {
  min-height: 100svh;
  background: var(--color-night);
  color: var(--color-white);
}

.language-entry__main {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
}

.language-entry__media,
.language-entry__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.language-entry__media {
  object-fit: cover;
  object-position: center;
}

.language-entry__scrim {
  background: rgba(9, 17, 19, 0.68);
}

.language-entry__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (2 * var(--gutter))), 720px);
  padding-block: 64px;
}

.language-entry__content > img {
  width: 206px;
  margin-bottom: 64px;
}

.language-entry__content h1 {
  margin-bottom: 34px;
  font-size: 54px;
}

.language-entry__content nav {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.language-entry__content nav a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, padding 180ms ease;
}

.language-entry__content nav a:hover {
  padding-left: 8px;
  color: #8bd3d8;
}

.language-entry__content nav a span:last-child {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
}

@keyframes hero-reveal {
  from {
    opacity: 0.72;
    transform: scale(1.015);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1180px) {
  :root {
    --gutter: 36px;
    --section-space: 104px;
  }

  .site-header {
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .header-app-link {
    display: none;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 46px;
  }

  .section-heading p {
    max-width: 66ch;
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 36px;
    border-top: 0;
  }

  .process-list li,
  .process-list li + li {
    padding: 54px 0 24px;
    border-top: 1px solid #b8cccf;
    border-right: 0;
  }

  .process-list li::before,
  .process-list li + li::before {
    top: 16px;
    left: 0;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 76px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  .site-header {
    grid-template-columns: minmax(140px, 1fr) auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .header-actions {
    grid-column: 2;
  }

  .section-heading {
    gap: 44px;
  }

  .media-split,
  .guide-feature {
    grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
    gap: 54px;
  }

  .footer-grid {
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(112px, 0.6fr));
    gap: 34px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-space: 76px;
    --header-height: 70px;
  }

  body {
    font-size: 16px;
  }

  h1 {
    max-width: 18ch;
    font-size: 42px;
    line-height: 1.08;
  }

  h2 {
    font-size: 34px;
    line-height: 1.13;
  }

  h3 {
    font-size: 22px;
  }

  .site-header {
    gap: 12px;
    padding-inline: var(--gutter);
  }

  .brand,
  .brand img {
    width: 132px;
  }

  .header-actions {
    gap: 10px;
  }

  .language-switcher a {
    min-width: 44px;
    min-height: 44px;
    font-size: 11px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
  }

  .mobile-menu nav a {
    font-size: 19px;
  }

  .hero {
    display: grid;
    height: clamp(560px, 72svh, 720px);
    min-height: 560px;
    align-items: end;
    overflow: hidden;
  }

  .hero__media {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--media-position, center);
  }

  .hero__scrim {
    display: block;
    background: rgb(6 14 16 / 58%);
  }

  .hero__content {
    padding-top: calc(var(--header-height) + 38px);
    padding-bottom: 46px;
  }

  .hero__content p {
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 1.55;
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__actions .button {
    flex: 1 1 210px;
  }

  .section-heading,
  .media-split,
  .guide-feature,
  .cta-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 42px;
  }

  .media-split,
  .guide-feature {
    gap: 42px;
  }

  .media-split .section-copy {
    order: 1;
  }

  .media-split .media-frame {
    order: 2;
  }

  .section--guide-feature:nth-child(even) .guide-feature__media {
    order: 0;
  }

  .mosaic,
  .media-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .mosaic {
    gap: 46px;
  }

  .mosaic__item:nth-child(3n + 1) {
    grid-row: auto;
  }

  .mosaic__item:nth-child(3n + 1) .media-frame__visual,
  .mosaic__item:nth-child(3n + 2) .media-frame__visual,
  .mosaic__item:nth-child(3n + 3) .media-frame__visual {
    aspect-ratio: 4 / 3;
  }

  .media-frame__visual,
  .lifestyle-card .media-frame__visual {
    height: auto;
    aspect-ratio: 4 / 3;
    background: #e7eceb;
  }

  .media-frame__visual picture {
    height: 100%;
  }

  .media-frame__visual img,
  .media-frame__visual video,
  .language-entry__media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--media-position, center);
  }

  .image-viewer {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .image-viewer__figure {
    padding: 68px 12px 18px;
  }

  .image-viewer__figure img {
    object-fit: contain;
  }

  .media-gallery__item:nth-child(3) {
    margin-top: 0;
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
  }

  .process-list li,
  .process-list li + li {
    padding: 62px 0 26px;
    border-top: 1px solid #b8cccf;
    border-right: 0;
  }

  .process-list li::before,
  .process-list li + li::before {
    top: 18px;
    left: 0;
  }

  .link-grid,
  .partner-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .link-tile,
  .link-tile:nth-child(odd),
  .link-tile:nth-child(even) {
    min-height: 0;
    padding: 25px 54px 25px 0;
    border-right: 0;
  }

  .link-tile__action {
    top: 24px;
    right: 10px;
  }

  .partner-path {
    min-height: 250px;
    padding: 34px 62px 34px 30px;
  }

  .partner-path > span {
    top: 34px;
    right: 28px;
  }

  .section--cta {
    padding-block: 68px;
  }

  .cta-band {
    gap: 28px;
  }

  .cta-band .button {
    justify-self: start;
  }

  .notice {
    padding-left: 20px;
  }

  .site-footer {
    padding-top: 68px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-meta {
    flex-direction: column;
    gap: 8px;
    margin-top: 52px;
  }

  .language-entry__content > img {
    width: 168px;
    margin-bottom: 48px;
  }

  .language-entry__content h1 {
    font-size: 40px;
  }

  .language-entry__content nav a {
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  :root {
    --gutter: 16px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 31px;
  }

  .brand,
  .brand img {
    width: 116px;
  }

  .language-switcher a {
    min-width: 44px;
  }

  .header-actions {
    gap: 7px;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.section--lifestyle {
  background: #f3f7f4;
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1180px;
}

.lifestyle-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 140, 149, 0.22);
  border-radius: var(--radius-large);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.lifestyle-card:hover,
.lifestyle-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--color-brand);
}

.lifestyle-card .media-frame {
  margin: 0;
  border-radius: 0;
}

.lifestyle-card .media-frame__visual {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.lifestyle-card__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  padding: 24px 26px 26px;
}

.lifestyle-card__copy strong {
  font-family: var(--font-heading);
  grid-column: 1;
  font-size: 26px;
  line-height: 1.12;
}

.lifestyle-card__copy > span {
  grid-column: 1;
  overflow-wrap: anywhere;
}

.lifestyle-card__action {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--color-brand);
  font-size: 24px;
}

@media (max-width: 767px) {
  .lifestyle-grid { grid-template-columns: minmax(0, 1fr); }
  .lifestyle-card__copy { padding: 22px; }
  .lifestyle-card__copy strong { font-size: 24px; }
}
@media (min-width: 768px) and (max-width: 1080px) {
  .lifestyle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .site-header > .header-actions .language-switcher {
    display: none;
  }

  .mobile-language-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 28px;
  }

  .mobile-menu .mobile-language-switcher a {
    display: flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-small);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
  }

  .mobile-menu .mobile-language-switcher a[aria-current="page"] {
    border-color: var(--color-brand);
    background: rgba(35, 140, 149, 0.18);
  }

  .mobile-menu .mobile-language-switcher a span:last-child {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
  }
}
/* Bangkok in Motion: system-wide experience layer */
:root {
  --motion-ink: #071315;
  --motion-paper: #f8faf9;
  --motion-concrete: #eef2f1;
  --motion-amber: #d7913d;
  --motion-green: #2f6f57;
  --motion-red: #8b443e;
  --section-space: clamp(4rem, 8vw, 7rem);
}

html { overflow-x: clip; }
body { overflow-x: clip; }

.city-rhythm {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 7rem;
  padding: 1rem max(1.25rem, 5%);
  color: #fff;
  background: var(--motion-ink);
  border-block-start: 3px solid var(--brand, #238c95);
  overflow: hidden;
}

.city-rhythm__intro {
  display: flex;
  flex: 0 0 min(14rem, 20vw);
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  color: rgba(255,255,255,.68);
  font-size: .78rem;
  line-height: 1.35;
}

.city-rhythm__label {
  flex: 0 0 auto;
  color: #8fd2d6;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.city-rhythm__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.82);
}

.city-rhythm__track li { min-width: 0; border-inline-start: 1px solid rgba(143,210,214,.2); }
.city-rhythm__track a { display: flex; min-height: 5rem; flex-direction: column; justify-content: center; gap: .2rem; padding: .65rem clamp(.65rem, 1.4vw, 1.25rem); color: inherit; text-decoration: none; transition: background-color .2s ease; }
.city-rhythm__track a:hover, .city-rhythm__track a:focus-visible { background: rgba(143,210,214,.1); outline: none; }
.city-rhythm__time { color: #8fd2d6; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.city-rhythm__track strong { overflow-wrap: anywhere; color: #fff; font-size: .86rem; letter-spacing: .035em; text-transform: uppercase; }
.city-rhythm__moment { overflow-wrap: anywhere; color: rgba(255,255,255,.68); font-size: .72rem; line-height: 1.3; }

main > .section {
  position: relative;
  padding-block: var(--section-space);
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

main > .section:first-child { content-visibility: visible; }
main > .section:nth-child(3n + 2) { background: var(--motion-concrete); }
main > .section:nth-child(3n) { background: #e5f2f2; }
main > .section.section--dark,
main > .section.cta-band { color: #fff; background: var(--motion-ink); }

.section h2 { max-width: 16ch; text-wrap: balance; }
.section p { max-width: 62ch; }
.section__intro { margin-block-end: clamp(1.75rem, 4vw, 3.5rem); }

.process,
.link-grid,
.lifestyle-grid { gap: clamp(.75rem, 1.8vw, 1.5rem); }

.process > *,
.link-grid > *,
.lifestyle-grid > * {
  min-width: 0;
}

.bangkok-finder {
  color: #fff;
  background: var(--motion-ink);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.bangkok-finder__inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.bangkok-finder__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  margin-block-end: clamp(2rem, 5vw, 4rem);
}

.bangkok-finder__eyebrow { color: #8fd2d6; font-weight: 800; }
.bangkok-finder h2 { margin: .45rem 0 0; max-width: 13ch; font-size: clamp(2.4rem, 4.5rem, 5.8rem); line-height: .96; text-wrap: balance; }
.bangkok-finder__intro { margin: 0; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.125rem, 1.25rem); }

.bangkok-finder__questions { display: grid; gap: 1rem; }
.bangkok-finder fieldset { margin: 0; padding: 1.15rem; border: 1px solid rgba(143,210,214,.28); }
.bangkok-finder legend { padding-inline: .45rem; font-weight: 800; }
.bangkok-finder__options { display: flex; flex-wrap: wrap; gap: .55rem; margin-block-start: .7rem; }
.bangkok-finder__option { position: relative; }
.bangkok-finder__option input { position: absolute; opacity: 0; pointer-events: none; }
.bangkok-finder__option span {
  display: block;
  padding: .72rem .95rem;
  border: 1px solid rgba(255,255,255,.3);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.bangkok-finder__option input:checked + span { color: var(--motion-ink); background: #8fd2d6; border-color: #8fd2d6; }
.bangkok-finder__option input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }

.bangkok-finder__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-block-start: 1.35rem; }
.bangkok-finder__submit { min-height: 3.25rem; padding: .8rem 1.25rem; border: 0; color: var(--motion-ink); background: #8fd2d6; font: inherit; font-weight: 850; cursor: pointer; }
.bangkok-finder__status { color: rgba(255,255,255,.68); }
.bangkok-finder__result { display: none; margin-block-start: 1.5rem; padding: clamp(1.3rem, 3vw, 2.25rem); color: var(--motion-ink); background: #fff; border-inline-start: 5px solid #238c95; }
.bangkok-finder__result.is-visible { display: grid; gap: .6rem; }
.bangkok-finder__result h3 { margin: 0; font-size: clamp(1.65rem, 2.1rem, 2.6rem); }
.bangkok-finder__result p { margin: 0; color: #4b585b; }
.bangkok-finder__result a { width: fit-content; margin-block-start: .4rem; color: #146f76; font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: .25em; }

.journey-cta {
  position: fixed;
  z-index: 40;
  inset-inline: 1rem;
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 42rem;
  margin-inline: auto;
  padding: .75rem .85rem .75rem 1rem;
  color: #fff;
  background: rgba(7,19,21,.96);
  border: 1px solid rgba(143,210,214,.42);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  transform: translateY(calc(100% + 2rem));
  transition: transform .28s ease;
}
.journey-cta.is-visible { transform: translateY(0); }
.journey-cta span { font-size: .88rem; line-height: 1.2; }
.journey-cta a { flex: 0 0 auto; padding: .72rem .9rem; color: var(--motion-ink); background: #8fd2d6; font-weight: 850; text-decoration: none; }

@media (max-width: 760px) {
  :root { --section-space: clamp(3.5rem, 14vw, 4.75rem); }
  .city-rhythm { display: block; min-height: 0; padding: 1rem; }
  .city-rhythm__intro { display: flex; margin-block-end: .8rem; }
  .city-rhythm__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-rhythm__track li { border-block-start: 1px solid rgba(143,210,214,.2); }
  .city-rhythm__track li:last-child { grid-column: 1 / -1; }
  .city-rhythm__track a { min-height: 5.4rem; }
  .bangkok-finder__inner { width: min(100% - 2rem, 42rem); }
  .bangkok-finder__head { grid-template-columns: 1fr; }
  .bangkok-finder__options { display: grid; grid-template-columns: 1fr; }
  .bangkok-finder__option span { padding: .78rem .9rem; }
  .journey-cta span { display: none; }
  .journey-cta a { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .journey-cta { transition: none; }
}
