:root {
  --background: #101010;
  --surface: #181818;
  --text: #f5f5f5;
  --muted: #b0b0b0;
  --line: #373737;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shell: 1280px;
  color-scheme: dark;
  color: var(--text);
  background: var(--background);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
:root[lang="ar"] { font-family: Tahoma, "Geeza Pro", Arial, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { list-style: none; padding: 0; }
img { display: block; max-width: 100%; }
button, summary { font: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #eee; outline-offset: 4px; }
.shell { width: min(var(--shell), calc(100% - 112px)); margin-inline: auto; }
[id] { scroll-margin-top: 109px; }
.skip-link { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.header {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  border-bottom: 1px solid #303030;
  background: rgb(16 16 16 / 94%);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 71px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}
.wordmark { display: inline-flex; align-items: center; gap: 9px; justify-self: start; font-size: 17px; font-weight: 680; }
.site-icon { width: 36px; height: 36px; border-radius: 7px; border: 1px solid #4a4a4a; }
.nav { align-self: stretch; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); }
.nav a {
  position: relative;
  display: grid;
  align-items: center;
  padding-block: 10px;
  min-height: 100%;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav a::after {
  position: absolute;
  inset-inline: 1px;
  inset-block-end: -1px;
  content: "";
  background: #dcdcdc;
  height: 1px;
  transform: scaleX(0);
  transition: transform .28s var(--ease);
}
.nav a:is(:hover,[aria-current="page"]) { color: white; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 9px; justify-self: end; }
.language { position: relative; text-align: start; }
.language summary { list-style: none; }
.language summary::-webkit-details-marker { display: none; }
.language-summary { gap: 9px !important; }
.language-summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-block-end: 1px solid currentColor;
  border-inline-end: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
[dir="rtl"] .language-summary::after { transform: rotate(-45deg) translateY(-2px); }
.language-menu {
  position: absolute;
  min-width: 148px;
  inset-inline-end: 0;
  inset-block-start: calc(100% + 8px);
  z-index: 1;
  padding: 5px;
  border: 1px solid #484848;
  border-radius: 9px;
  background: #1c1c1c;
  box-shadow: 0 10px 28px #0007;
  animation: menu-in .2s var(--ease);
}
.language-menu button {
  width: 100%;
  min-height: 39px;
  border: 0;
  border-radius: 5px;
  padding: 6px 10px;
  text-align: start;
  color: #e8e8e8;
  background: transparent;
  cursor: pointer;
}
.language-menu button:is(:hover,[aria-pressed="true"]) { background: #343434; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 43px;
  padding: 8px 14px;
  border: 1px solid #555;
  border-radius: 7px;
  color: var(--text);
  background: transparent;
  font-size: 14px;
  font-weight: 610;
  text-align: center;
  cursor: pointer;
  transition: border-color .23s var(--ease), background-color .23s var(--ease), transform .23s var(--ease);
}
.button:hover { border-color: #818181; background: #252525; }
.button.primary { border-color: #eee; background: #eee; color: #141414; }
.button.primary:hover { background: #cfcfcf; border-color: #cfcfcf; }
.button .arrow { font-family: Arial, sans-serif; font-size: 17px; line-height: 1; }
[dir="rtl"] .arrow.out { transform: scaleX(-1); }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(475px, 41vw, 557px);
  margin-top: 25px;
  padding: 52px clamp(26px, 4.7vw, 68px);
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: #070707;
}
.hero-media, .hero-art, .hero-media::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -1; overflow: hidden; }
[dir="rtl"] .hero-media { transform: scaleX(-1); }
.hero-art {
  object-fit: cover;
  object-position: 73% center;
  transform: translateY(var(--hero-offset, 0px)) scale(1.045);
  animation: hero-photo 1.45s var(--ease) both;
}
.hero-media::after {
  content: "";
  background: linear-gradient(90deg, #070707 4%, #070707ce 29%, #0707072c 55%, transparent 74%);
}
.hero-content { width: min(100%, 530px); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #c1c1c1;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: #959595; flex: none; }
.hero h1 {
  margin-block: 15px 19px;
  font-size: clamp(39px, 4vw, 59px);
  line-height: 1.06;
  letter-spacing: -.05em;
  font-weight: 690;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.headline-second { display: block; color: #c6c6c6; }
:root[lang="zh-CN"] .hero h1 { font-size: clamp(43px, 4.6vw, 67px); }
:root[lang="ar"] :is(.hero h1,.section-heading,.eyebrow,.headline-quiet) { letter-spacing: 0; }
.identity { display: flex; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; }
.identity strong { font-size: 18px; font-weight: 640; }
.identity span { color: #c5c5c5; font-size: 14px; border-inline-start: 1px solid #6a6a6a; padding-inline-start: 12px; }
.slogan { margin-top: 17px; max-width: 440px; color: #d1d1d1; font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.hero-content > * { animation: hero-text .65s var(--ease) both; animation-delay: calc(45ms + var(--step,0) * 64ms); }
@keyframes hero-text { from { opacity: .25; transform: translateY(12px); } }
@keyframes hero-photo { from { transform: translateY(var(--hero-offset,0px)) scale(1.115); } }
@keyframes section-in { from { opacity: .42; transform: translateY(12px); } }
.entered { animation: section-in .63s var(--ease) backwards; animation-delay: var(--reveal-delay, 0ms); }

.section-heading { font-size: clamp(29px, 3.55vw, 49px); font-weight: 680; line-height: 1.16; letter-spacing: -.042em; overflow-wrap: anywhere; }
.section-intro { color: var(--muted); margin-block-start: 12px; font-size: 16px; line-height: 1.65; max-width: 59ch; }
.headline-quiet { font-weight: 640; font-size: clamp(19px, 2vw, 26px); line-height: 1.3; letter-spacing: -.023em; margin-bottom: 14px; }
.location-list { border-top: 1px solid var(--line); }
.location {
  display: grid;
  grid-template-columns: minmax(100px,.63fr) minmax(0,1.37fr);
  gap: 6px 18px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.location h3 { font-size: 15px; line-height: 1.55; font-weight: 650; }
.location p { color: #c4c4c4; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.location p + p { margin-block-start: 5px; color: #adadad; font-size: 13px; }
.brand-grid, .service-grid, .contact-grid { display: grid; gap: 12px; }
.brand-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.brand, .service, .contact-card { border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.brand {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 153px;
  padding: 14px 8px;
  text-align: center;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.brand-logo { width: min(100%,var(--logo-width)); height: 35px; object-fit: contain; }
.brand strong { font-size: clamp(16px,1.55vw,21px); font-weight: 650; overflow-wrap: anywhere; }
.service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.service { padding: 22px 20px; background: #141414; }
.service h2 { font-size: 17px; margin-bottom: 7px; font-weight: 650; }
.service p { color: var(--muted); line-height: 1.55; font-size: 14px; }
@media (hover:hover) and (pointer:fine) {
  .brand:hover { transform: translateY(-3px); background: #202020; border-color: #676767; }
  .button:is(.primary,.secondary):hover { transform: translateY(-2px); }
}

.footer { margin-top: clamp(42px, 5.5vw, 78px); }
.contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.contact-card { display: grid; grid-template-columns: minmax(0,1fr) 104px; gap: 11px; align-items: center; padding: 18px; }
.contact-card h2 { font-size: 21px; font-weight: 660; }
.contact-number { display: inline-block; margin-top: 6px; color: #d1d1d1; font-size: 15px; font-variant-numeric: tabular-nums; }
a.contact-number:hover { text-decoration: underline; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.button.small { min-height: 36px; gap: 7px; padding: 6px 9px; font-size: 13px; }
.qr-trigger { display: block; width: 100%; padding: 5px; border: 0; border-radius: 5px; background: #fff; cursor: zoom-in; }
.qr-trigger img { width: 100%; height: auto; }
.copy-status { color: #d1d1d1; font-size: 13px; margin-top: 8px; }
.copy-status:empty { visibility: hidden; }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 13px; min-height: 70px; padding: 13px 0; border-top: 1px solid var(--line); }
.footer-name { font-size: 14px; }
.footer-bar > a { color: var(--muted); font-size: 13px; }
.footer-bar > a:hover { color: var(--text); }
.qr-dialog { width: min(calc(100% - 32px),350px); padding: 20px; border: 1px solid #484848; border-radius: 11px; background: #1c1c1c; color: var(--text); }
.qr-dialog::backdrop { background: #000b; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.dialog-head h2 { font-size: 19px; }
.qr-dialog img { width: 100%; background: #fff; border-radius: 5px; padding: 10px; }
.qr-dialog[open] { animation: menu-in .2s var(--ease); }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .hero { padding-inline: 34px; }
  .hero-content { width: min(53%, 500px); }
  .header-inner { gap: 14px; }
}
@media (max-width: 860px) {
  [id] { scroll-margin-top: 135px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 12px; min-height: 0; }
  .header-actions { min-height: 57px; }
  .header-inner .nav { grid-column: 1/-1; grid-row: 2; min-height: 38px; gap: 8px clamp(13px,4.5vw,35px); border-top: 1px solid #282828; flex-wrap: wrap; }
  .nav a { font-size: 12px; padding-block: 8px; }
  .header-actions .button { min-height: 36px; font-size: 13px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .hero { align-items: flex-start; min-height: 0; margin-top: 14px; padding: 27px 20px 190px; border-radius: 10px; }
  .hero-content { width: min(100%, 500px); }
  .hero-media { inset-block-start: auto; height: 199px; }
  .hero-art { object-position: right center; }
  .hero-media::after { background: linear-gradient(180deg,#070707,transparent 39%); }
  .hero h1 { margin-block: 11px 14px; font-size: clamp(34px,7.8vw,48px); }
  :root[lang="zh-CN"] .hero h1 { font-size: clamp(36px,8.8vw,51px); }
  .identity strong { font-size: 16px; }
  .slogan { margin-top: 12px; font-size: 14px; }
  .hero-actions { margin-top: 17px; }
  .hero-actions .button { font-size: 13px; min-height: 40px; padding-inline: 10px; }
  .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .brand { min-height: 99px; }
  .brand-logo { height: 28px; }
  .service-grid, .contact-grid { gap: 8px; }
  .contact-card { padding: 13px; grid-template-columns: minmax(0,1fr) 92px; }
}
@media (max-width: 370px) {
  .shell { width: calc(100% - 24px); }
  .header-inner .nav { gap: 8px 10px; }
  .location { grid-template-columns: 1fr; gap: 3px; }
  .header-actions .button { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-art { transform: none; }
  .brand:hover, .button:hover { transform: none; }
}

.subpage { padding-block-start: clamp(32px, 5.9vw, 78px); }
.page-intro {
  padding-block: clamp(23px, 4.3vw, 48px);
  padding-inline: clamp(18px, 3vw, 44px);
  margin-bottom: clamp(24px, 3.7vw, 48px);
  background: linear-gradient(145deg,#1c1c1c,#111);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.page-title { font-size: clamp(38px, 5.6vw, 74px); }
.page-intro .section-intro { max-width: 63ch; }
.location-list { max-width: 950px; }
.location { grid-template-columns: minmax(120px,.55fr) minmax(0,1.45fr); }
.location h3 { font-size: 16px; }
.page-action { margin-top: 27px; }
.header-contact[aria-current="page"] { border-color: #888; }
@media (max-width: 700px) {
  .subpage { padding-block-start: 22px; }
  .page-title { font-size: clamp(34px, 8vw, 46px); }
  .location { grid-template-columns: 1fr; gap: 4px; }
  .page-action { margin-top: 20px; }
}
.company-page {
  padding-block-start: clamp(32px, 4.6vw, 64px);
}
.company-intro {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
}
.company-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  align-items: end;
  gap: clamp(19px, 7vw, 108px);
  padding-block-start: 16px;
  border-block-start: 1px solid #494949;
}
.company-overview .page-title {
  max-inline-size: 13ch;
  font-size: clamp(46px, 6.9vw, 94px);
  letter-spacing: -.055em;
  line-height: 1;
  text-wrap: balance;
}
.company-overview .section-intro {
  max-inline-size: 53ch;
  margin-block-start: 0;
  padding-block-end: 2px;
  color: #bfbfbf;
  line-height: 1.68;
  text-wrap: pretty;
}
.company-showroom {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
}
.company-showroom img {
  width: 100%;
  block-size: clamp(235px, 33vw, 467px);
  border-radius: 2px;
  object-fit: cover;
  object-position: center 44%;
}
.company-showroom figcaption {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: end;
}
.company-section {
  margin-block-start: clamp(45px, 6.4vw, 90px);
}
.company-section > h2 {
  margin-block-end: clamp(16px, 2.4vw, 28px);
}
.company-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid #404040;
}
.company-metrics > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 9px;
  padding: clamp(17px, 2.3vw, 30px) clamp(11px, 2.15vw, 30px);
}
.company-metrics > div + div { border-inline-start: 1px solid #333; }
.company-metrics > div:first-child { padding-inline-start: 0; }
.company-metrics dt {
  color: #b8b8b8;
  font-size: 14px;
  line-height: 1.42;
}
.company-metrics dd {
  margin: 0;
  color: #f4f4f4;
  font-size: clamp(23px, 3.55vw, 51px);
  font-weight: 630;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.company-markets {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: clamp(20px, 2.1vw, 29px);
}
.company-market {
  display: grid;
  align-content: start;
  align-items: stretch;
  gap: 11px;
  padding-block-end: 13px;
  border-block-end: 1px solid #393939;
}
.company-market-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.72;
  border-radius: 3px;
  background: var(--surface);
}
.company-market-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease);
}
.company-market-featured {
  grid-row: span 2;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
}
.company-market-featured .company-market-photo {
  min-block-size: 330px;
  aspect-ratio: auto;
}
.company-market h3 {
  font-size: clamp(17px, 1.75vw, 23px);
  font-weight: 650;
  line-height: 1.28;
}
.company-market-featured h3 {
  font-size: clamp(21px, 2.05vw, 28px);
}
.company-market p {
  max-inline-size: 61ch;
  margin-block-start: 6px;
  color: #b8b8b8;
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}
@media (hover: hover) and (pointer: fine) {
  .company-market:hover img { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .company-market:hover img { transform: none; }
}

.company-hubs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "heading action" "locations locations";
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px) 20px;
  padding-block-start: clamp(22px, 3vw, 39px);
  border-block-start: 1px solid #404040;
}
.company-hubs > h2 { grid-area: heading; margin-block-end: 0; }
.company-hubs .location-list {
  display: grid;
  grid-area: locations;
  grid-template-columns: minmax(0, 1.21fr) minmax(0, .79fr);
  gap: clamp(12px, 2.3vw, 28px);
  max-inline-size: none;
  border-block-start: 0;
}
.company-hubs .location {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 10px;
  padding: clamp(17px, 2.3vw, 29px);
  border: 0;
  border-block-start: 1px solid #606060;
  background: #171717;
}
.company-hubs .location h3 {
  color: #ededed;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 650;
  line-height: 1.35;
}
.company-hubs .location p { color: #b8b8b8; }
.company-hubs .location [data-i18n="nanshaAddress"] { color: #e0e0e0; }
.company-hubs-action { grid-area: action; }
.company-hubs-action .button { min-height: 46px; padding-inline: 17px; }

@media (max-width: 860px) {
  .company-market-featured .company-market-photo { min-block-size: 245px; }
  .company-market-photo { aspect-ratio: 2.12; }
}
@media (max-width: 690px) {
  .company-page { padding-block-start: 30px; }
  .company-intro { gap: 22px; }
  .company-overview { grid-template-columns: minmax(0, 1fr); gap: 13px; border-block-start: 0; padding-block-start: 0; }
  .company-overview .page-title { font-size: clamp(37px, 8.5vw, 50px); }
  .company-showroom { grid-row: 1; gap: 7px; }
  .company-showroom img { block-size: clamp(190px, 53vw, 308px); }
  .company-showroom figcaption { text-align: start; }
  .company-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-metrics > div:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .company-metrics > div:nth-child(n + 3) { border-block-start: 1px solid #333; }
  .company-markets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-market-featured { grid-column: 1 / -1; grid-row: auto; grid-template-rows: auto; }
  .company-market-featured .company-market-photo { min-block-size: 0; aspect-ratio: 1.62; }
  .company-hubs {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "locations" "action";
    grid-template-rows: auto;
    row-gap: 19px;
  }
  .company-hubs .location-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .company-markets { grid-template-columns: minmax(0, 1fr); }
  .company-market-photo { aspect-ratio: 1.8; }
}
