:root {
  color-scheme: dark;
  background: #0d0c0b;
  color: #efe6d6;
  font: 100%/1.55 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --muted: #c8bba9;
  --gold: #d6b97f;
  --rule: rgba(214,185,127,.25);

  --display: Georgia, "Songti SC", SimSun, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body[data-region="vn"] { --image-focus: 58%; }
body[data-region="my"] { --image-focus: 59%; }
a { color: inherit; text-underline-offset: .22em; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #f9dca1; outline-offset: 4px; }
[hidden] { display: none !important; }
.layout { width: min(100% - 3rem, 76rem); margin-inline: auto; }

.skip {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 2;
  background: #0d0c0b;
  color: #fff;
  padding: .6rem 1rem;
  transform: translateY(-180%);
}
.skip:focus { transform: none; }

header { background: #0d0c0b; }
.masthead {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  gap: 1.45rem;
  justify-content: space-between;
}
.wordmark {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  text-decoration: none;
  font: 1.12rem var(--display);
  letter-spacing: .14em;
}
.wordmark img { display: block; }
.primary, .switches { display: flex; align-items: center; gap: clamp(.5rem, 2.2vw, 1.65rem); }
.primary a, footer a, footer button { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.primary a:hover, footer a:hover, footer button:hover { text-decoration: underline; }
.select-wrap { position: relative; display: inline-flex; overflow: hidden; }
.select-wrap:focus-within { outline: 2px solid #f9dca1; outline-offset: 2px; }
.select-wrap::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: .35rem;
  height: .35rem;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  inset-inline-end: .35rem;
  top: calc(50% - .25rem);
  transform: rotate(45deg);
}
.switches select {
  appearance: none;
  -webkit-appearance: none;
  max-width: 10rem;
  min-height: 44px;
  color: var(--gold);
  background: #0d0c0b;
  border: 0;
  border-radius: 0;
  padding-inline: .12rem 1.15rem;
  text-overflow: ellipsis;
  font-size: .92rem;
  cursor: pointer;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(31rem, 66vh, 47rem);
  display: flex;
  align-items: end;
  background: #0d0c0b;
}
.hero picture, .hero picture img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture { z-index: -2; }
.hero img { object-fit: cover; object-position: var(--image-focus) 32%; }
.hero::after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,7,9,.54), transparent 72%),
    linear-gradient(0deg, #0d0c0b, rgba(12,10,10,.79) 12%, rgba(14,12,13,.27) 54%, rgba(9,8,12,.06) 90%);
}
.hero-content { padding-block: 5.2rem clamp(1.6rem, 7vh, 4.6rem); }
.country { margin: 0 0 1rem; color: var(--gold); font: .82rem var(--display); letter-spacing: .24em; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 7vw, 5.8rem); line-height: 1.14; letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.25; }
.hero-description { margin: .95rem 0 .75rem; max-width: 36rem; color: #eee0cc; font-size: clamp(1rem, 2vw, 1.18rem); }
.gold-link {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-height: 44px;
  padding: 0;
  color: var(--gold);
  background: transparent;
  border: 0;
  font-weight: 600;
  text-decoration: none;
}
.gold-link:hover { text-decoration: underline; }

.editorial {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(18rem, 1.8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.35rem, 7vw, 5rem);
}
.city-list { list-style: none; padding: 0; margin: 0; }
.city-list li { border-block-start: 1px solid var(--rule); }
.city-list li:last-child { border-block-end: 1px solid var(--rule); }
.city-link {
  min-height: 5.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: .8rem .2rem;
  text-decoration: none;
}
.city-link:hover .city-name { color: var(--gold); }
.city-name { display: block; font: clamp(1.2rem, 2.7vw, 1.65rem) var(--display); }
.city-detail { display: block; margin-top: .3rem; color: var(--muted); }
.city-arrow { color: var(--gold); }

.hero-links,.contact-links { display:flex; align-items:center; flex-wrap:wrap; gap:.3rem 1.4rem; }
.quiet { color: #efe6d6; font-weight: 450; }
.contact { border-block-start: 1px solid var(--rule); }
.contact-intro { margin: 0 0 1rem; color: var(--muted); }
.primary-action { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:.5rem 1.15rem; text-align:center; text-decoration:none; background:#d6b97f; color:#1a1611; font-weight:650; }
.primary-action:hover { background:#ebd29d; }
.mobile-dock { display:none; }
.submit {
  min-height: 46px;
  padding: .55rem 1rem;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #e4c58e;
  color: #18130e;
  font-weight: 650;
}
.submit:hover { background: #f5dba6; }
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .15rem 1.5rem;
  padding-block: 1rem max(1.25rem, env(safe-area-inset-bottom));
  color: var(--muted);
}
.footer-brand { color: var(--gold); }
.footer-actions { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
footer button { padding: 0; background: transparent; border: 0; color: inherit; }
dialog {
  width: min(100% - 2.25rem, 28rem);
  max-height: 85vh;
  color: #efe6d6;
  background: #211a15;
  border: 1px solid #9d825c;
  padding: 1.3rem;
}
dialog::backdrop { background: rgba(4,3,3,.75); }
dialog h2 { font-size: 1.6rem; }
dialog ol { padding-inline-start: 1.3rem; }
dialog li + li { margin-top: .45rem; }

@media (max-width: 770px) {
  .primary { display: none; }
  .editorial { grid-template-columns: 1fr; }
}
@media (max-width: 530px) {
  .layout { width: calc(100% - 2rem); }

  .masthead { min-height: 4.15rem; gap: .35rem; }
  .wordmark { letter-spacing: .08em; font-size: .9rem; gap: .4rem; }
  .wordmark img { width: 28px; height: 28px; }
  .switches { gap: .4rem; }
  .switches select { max-width: min(24vw, 7rem); font-size: .83rem; }
  .switches #languages { max-width: min(30vw, 8.5rem); }
  .hero { min-height: clamp(22rem, 65svh, 36rem); }
  .hero-content { padding-block: 4rem 1.25rem; }
  .hero::after {
    background: linear-gradient(0deg, #0d0c0b, rgba(12,10,10,.84) 18%, rgba(12,10,10,.22) 64%, rgba(9,8,12,.09) 90%);
  }
}
@media (max-width: 365px) {
  .layout { width: calc(100% - 1.5rem); }

  .wordmark img { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:root[dir="rtl"] .hero::after {
  background: linear-gradient(0deg, #0d0c0b, rgba(12,10,10,.83) 18%, rgba(12,10,10,.24) 64%, transparent 95%);
}

h1, h2, .hero-description, .city-detail { overflow-wrap: anywhere; }
@media (max-width: 770px) {
  body { padding-block-end: calc(68px + env(safe-area-inset-bottom)); }
  .mobile-dock { position:fixed; z-index:1; inset: auto 0 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; min-height:65px; gap:.55rem; padding:.5rem 1rem max(.5rem,env(safe-area-inset-bottom)); background:rgba(13,12,11,.96); border-block-start:1px solid var(--rule); }
  .mobile-dock a { justify-content:center; text-align:center; min-width:0; overflow-wrap:anywhere; padding:.35rem; font-size:.9rem; }
  .mobile-dock .gold-link { color:#efe6d6; }
}

.install-prompt{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.8rem;min-height:54px;padding-block:.42rem;border-block-end:1px solid var(--rule)}
.install-prompt p{color:var(--gold);font-size:.86rem;font-weight:650;margin:0}
.install-prompt small{font-size:.72rem;color:var(--muted);line-height:1.45;display:block;overflow-wrap:anywhere}
.install-prompt button{border:0;padding:0;background:transparent;color:var(--gold);font-size:.8rem;text-decoration:underline;min-height:44px;text-underline-offset:.24rem;text-align:start}
.install-prompt .dismiss{min-width:36px;text-decoration:none;font-size:1.35rem;text-align:center}
.masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-content:initial;gap:.55rem}
.wordmark{min-width:0;display:grid;gap:.22rem;align-content:center;text-decoration:none}
.brand-name,.wordmark small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brand-name{font:1.24rem/1.17 var(--display);letter-spacing:.06em}
.wordmark small{font: .59rem/1.2 system-ui,sans-serif;letter-spacing:.17em;color:var(--muted)}
.account-link{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;color:var(--gold);font-size:.88rem}
.account-link:hover{text-decoration:underline}
.site-nav{display:flex;gap:clamp(.95rem,3vw,2.25rem);align-items:center;overflow-x:auto;scrollbar-width:none;border-block:1px solid var(--rule)}
.site-nav::-webkit-scrollbar{display:none}
.site-nav a{display:flex;align-items:center;flex:none;min-height:44px;padding:0 .18rem;color:var(--muted);border-block-end:1px solid transparent;text-decoration:none;white-space:nowrap;font-size:.9rem}
.site-nav a[aria-current],.site-nav a:hover{border-color:var(--gold);color:#efe6d6}
.site-nav a:focus-visible{outline-offset:-4px}
.section-list{padding-block:1rem 1.75rem;border-block-start:1px solid var(--rule)}
.section-list h2{font-size:clamp(1.3rem,3vw,1.85rem);margin-block:0 .55rem}
.tool-links{list-style:none;margin:0;padding:0}
.flat-service{min-height:55px;display:flex;justify-content:space-between;align-items:center;gap:1rem;border-block-end:1px solid var(--rule);padding:.65rem .1rem;text-decoration:none}
.flat-service:hover{color:var(--gold)}
.flat-service>span:first-child{min-width:0;overflow-wrap:anywhere}
.flat-service>span:last-child{color:var(--gold)}
.flat-service small{display:block;font-size:.85rem;margin-top:.2rem;color:var(--muted)}
.service-name{display:block;font:1.1rem var(--display)}
#other h2{margin:0}
#other .flat-service{border-block-end:0}
body>header .site-nav{padding-inline:.06rem}
@media(max-width:590px){
  .masthead{grid-template-columns:minmax(5.4rem,1fr) minmax(0,1.65fr);padding-block:.18rem}
  .brand-name{font-size:1rem}
  .wordmark small{font-size:.48rem;letter-spacing:.09em}
  .switches{justify-content:end;min-width:0;gap:.25rem}
  .switches .select-wrap{max-width:32%}
  .switches select,.switches #languages{min-width:0;max-width:100%;font-size:.75rem;padding-inline:.13rem .75rem}
  .select-wrap::after{inset-inline-end:.23rem;width:.27rem;height:.27rem}
  .account-link{font-size:.75rem;max-width:33%;overflow-wrap:anywhere}
  .install-prompt{gap:.45rem}
  .install-prompt .dismiss{min-width:28px}
  .site-nav a{font-size:.79rem}
}
