:root {
  color-scheme: light;
  --ink: #112b34;
  --night: #091e27;
  --deep: #102f37;
  --paper: #f6f4ee;
  --white: #fcfbf7;
  --muted: #4b5e61;
  --mist: #c1cfcd;
  --teal: #235f58;
  --gold: #e9c99a;
  --dark-line: #ffffff29;
  --line: #d5d8d0;
  --sans: Manrope, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, "Songti SC", SimSun, serif;
  font-family: var(--sans);
  font-size: 100%;
  color: var(--ink);
  background: var(--night);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #3a9180; outline-offset: 4px; }
:where(.hero, .site-header, .process, .contact, .site-footer) :focus-visible { outline-color: var(--gold); }
:where(main, section)[tabindex="-1"]:focus { outline: none; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
h2 { font-size: clamp(3.1rem, 5.05vw, 5.3rem); line-height: .93; letter-spacing: -.042em; text-wrap: balance; }
h3 { font-size: clamp(1.85rem, 2.65vw, 2.75rem); line-height: 1; letter-spacing: -.022em; }
p { line-height: 1.65; }
html[lang="zh"] { --display: "Noto Serif SC", "Songti SC", "Noto Serif CJK SC", SimSun, serif; }
html[lang="zh"] :is(h1, h2, h3) { letter-spacing: -.025em; line-height: 1.13; }
html[lang="zh"] .eyebrow { letter-spacing: .08em; }

.shell { width: min(calc(100% - clamp(2.5rem, 10vw, 10rem)), 79rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 8rem); scroll-margin-top: 1rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--teal);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; flex: none; }
.section-heading .eyebrow { margin-block-end: 1rem; }
.section-intro { max-width: 38rem; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.125rem); }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 10; padding: .65rem 1rem;
  color: var(--night); background: var(--white); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; background: var(--night); color: var(--white); border-bottom: 1px solid var(--dark-line); }
.header-layout { display: flex; align-items: center; min-height: 5.15rem; gap: clamp(1.05rem, 2.7vw, 2.55rem); }
.site-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand-mark { flex: none; width: 2.65rem; height: 2.65rem; }
.brand-text { display: grid; gap: .12rem; }
.brand-name { font-family: var(--display); font-size: 2rem; line-height: .9; }
.brand-designation { font-size: .72rem; font-weight: 600; color: var(--mist); line-height: 1.25; }
html[lang="zh"] .brand-name { font-size: 1.42rem; line-height: 1.05; }
.primary-nav { display: flex; gap: clamp(1.1rem, 2.45vw, 2.45rem); margin-inline: auto; }
.primary-nav a, .language-nav a, .header-contact, .menu-toggle { font-size: .875rem; font-weight: 650; text-decoration: none; }
.primary-nav a { align-content: center; color: var(--mist); min-height: 2.75rem; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--white); }
.language-nav { display: flex; gap: .17rem; align-items: center; }
.language-nav a {
  color: var(--mist); min-width: 2.5rem; min-height: 2.75rem;
  display: grid; place-items: center; padding: .2rem; border-bottom: 1px solid transparent;
}
.language-nav a:hover, .language-nav a[aria-current="page"] { color: var(--gold); }
.language-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.header-contact { flex: none; padding: .72rem 1.05rem; border: 1px solid #d7bb8b75; color: var(--gold); transition: background .18s ease; }
.header-contact:hover { background: #e9c99a1c; }
.menu-toggle, .mobile-contact { display: none; }

.hero {
  isolation: isolate;
  position: relative;
  min-height: min(43rem, max(37rem, calc(91svh - 5.15rem)));
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--night);
}
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 57%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #071922f5 1%, #091d27ed 21%, #0b1e28a0 47%, #0a202917 78%),
    linear-gradient(0deg, #081d27a8 0%, transparent 46%);
}
.hero-layout { padding-block: clamp(3.75rem, 8.2vh, 7rem); }
.hero-content { max-width: 52rem; }
.hero-eyebrow { color: var(--gold); margin-block-end: clamp(1.35rem, 3.3vh, 2.4rem); }
.hero h1 {
  max-width: 10ch;
  font-size: clamp(5.25rem, 9.75vw, 9.25rem);
  line-height: .79;
  letter-spacing: -.051em;
}
.hero h1 em { display: block; color: var(--gold); font-weight: inherit; margin-top: .085em; white-space: nowrap; }
html[lang="en"] .hero h1 { max-width: none; font-size: clamp(4.9rem, 8.95vw, 8.7rem); }
html[lang="zh"] .hero h1 { max-width: none; font-size: clamp(4.5rem, 7vw, 7rem); line-height: 1.07; }
html[lang="zh"] .hero h1 em { font-style: normal; }
.hero-description { margin-block-start: clamp(1.6rem, 3.6vh, 2.65rem); max-width: 34rem; color: #e6ece9; font-size: clamp(1.04rem, 1.35vw, 1.22rem); line-height: 1.57; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-block-start: 1.85rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.15rem; padding: .72rem 1.38rem;
  font-size: .9rem; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none;
  border: 1px solid transparent; transition: background .18s ease, border-color .18s ease;
}
.button-gold { color: var(--night); background: var(--gold); }
.button-gold:hover { background: #f3dbb7; }
.button-ghost { color: var(--white); border-color: #f5f6f08a; background: #0b202940; }
.button-ghost:hover { background: #f5f6f023; border-color: var(--white); }

.services { background: var(--paper); }
.services-heading { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(16rem, .76fr); gap: 2rem; align-items: end; margin-block-end: clamp(2.2rem, 4.9vw, 4.25rem); }
.services-heading h2 { text-wrap: pretty; }
.services-heading .section-intro { padding-block-end: .2rem; max-width: 30rem; }
.practice-layout { border-top: 1px solid var(--line); }
.practice-layout:has(.practice-tabs:not([hidden])) { display: grid; grid-template-columns: minmax(14rem, .73fr) minmax(0, 1.5fr); }
.practice-tabs { display: flex; flex-direction: column; }
.practice-tab {
  position: relative; display: flex; align-items: center; gap: 1rem; width: 100%;
  min-height: 5.4rem; padding: .95rem 1.25rem; text-align: start;
  color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  cursor: pointer; font-size: clamp(.94rem, 1.22vw, 1.1rem); font-weight: 700;
}
.practice-tab::before { content: ""; width: .49rem; height: .49rem; border: 1px solid #4f716c; transform: rotate(45deg); flex: none; }
.practice-tab:hover { background: #e9ebe2; }
.practice-tab[aria-selected="true"] { color: var(--white); background: var(--teal); border-color: var(--teal); }
.practice-tab[aria-selected="true"]::before { background: var(--gold); border-color: var(--gold); }
.practice-tab:focus-visible { z-index: 1; outline-offset: -4px; outline-color: #856131; }
.practice-tab[aria-selected="true"]:focus-visible { outline-color: var(--gold); }
.practice-panels { min-width: 0; }
.practice-panel {
  min-height: 19rem; padding: clamp(1.55rem, 4vw, 4.1rem);
  color: var(--ink); background: var(--white); border: 1px solid var(--line); border-top: 0;
}
.practice-content { max-width: 43rem; }
.practice-content h3 { font-size: clamp(2.15rem, 3.5vw, 3.7rem); }
.practice-content > p { margin-block-start: .8rem; color: var(--muted); }
.practice-content ul, .dubai-points { list-style: none; margin: 1.4rem 0; padding: 0; }
.practice-content li, .dubai-points li { position: relative; padding: .47rem 0 .47rem 1.4rem; border-bottom: 1px solid var(--line); line-height: 1.48; }
.practice-content li::before, .dubai-points li::before {
  content: ""; position: absolute; top: 1.12rem; left: 0; width: .66rem; height: 1px; background: var(--teal);
}
.text-link {
  display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--teal);
  font-size: .92rem; font-weight: 750; text-underline-offset: .32rem; text-decoration-thickness: 1px;
}
.text-link:hover { color: var(--night); text-decoration-thickness: 2px; }

.process { color: var(--white); background: var(--deep); }
.process-layout { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1fr); gap: clamp(2.5rem, 8.7vw, 9rem); align-items: start; }
.process .eyebrow, .contact .eyebrow { color: var(--gold); }
.process-heading .section-intro, .contact-heading .section-intro { color: var(--mist); margin-block-start: 1.35rem; }
.process-steps { margin: 0; padding: 0 0 0 1.4rem; list-style: none; border-left: 1px solid #8cb0ab63; }
.process-step { position: relative; padding-bottom: 1.55rem; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: ""; position: absolute; top: .64rem; left: calc(-1.4rem - 4px);
  width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold);
}
.process-step p { max-width: 37rem; color: var(--mist); margin-block-start: .45rem; }

.dubai { background: var(--white); }
.dubai-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.15rem, 6.7vw, 7rem); align-items: center; }
.dubai-visual { align-self: stretch; position: relative; min-height: 28rem; background: #c9bda7; }
.dubai-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 49% 50%; }
.dubai-content h2 { text-wrap: pretty; }
.dubai-content .section-intro { margin-block-start: 1.1rem; }
.dubai-points { margin-block: .9rem .65rem; }

.contact { background: var(--night); color: var(--white); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .75fr); align-items: end; gap: clamp(2.5rem, 7vw, 7rem); }
.contact-heading .button { margin-block-start: 1.65rem; }
.contact-methods { font-style: normal; }
.contact-row { padding: .85rem 0 1.06rem; border-top: 1px solid var(--dark-line); }
.contact-row:last-child { border-bottom: 1px solid var(--dark-line); }
.contact-row dt { font-weight: 650; color: var(--mist); font-size: .875rem; margin-bottom: .35rem; }
.contact-row dd { font-size: clamp(1rem, 1.32vw, 1.15rem); overflow-wrap: anywhere; }
.contact-row a { display: inline-block; min-height: 1.75rem; text-underline-offset: .25em; text-decoration-color: #e9c99a73; }
.contact-row a:hover { color: var(--gold); }

.site-footer { background: var(--night); color: var(--mist); border-top: 1px solid var(--dark-line); font-size: .83rem; }
.footer-layout { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: space-between; align-items: center; min-height: 6.2rem; padding-block: 1.25rem; }
.footer-identity { display: flex; gap: .75rem; align-items: center; }
.footer-identity .brand-mark { width: 2.1rem; height: 2.1rem; opacity: .84; }
.footer-identity p:first-child { color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; margin: 0; padding: 0; list-style: none; }

@media (max-width: 59.9375rem) {
  .shell { width: min(calc(100% - 3rem), 51rem); }
  .header-layout { gap: .85rem; min-height: 4.65rem; }
  .header-contact { display: none; }
  .language-nav { margin-inline-start: auto; }
  .primary-nav {
    display: flex; flex-wrap: wrap; gap: .2rem 1rem; order: 4; margin: 0;
    padding-block: .2rem .75rem; width: 100%;
  }
  .header-layout { flex-wrap: wrap; }
  .mobile-contact { display: block; }
  .has-menu .header-layout { flex-wrap: nowrap; }
  .has-menu .primary-nav { display: none; }
  .has-menu.menu-open .primary-nav {
    display: flex; flex-direction: column; gap: .1rem; position: absolute; top: 100%;
    inset-inline: 0; padding: .65rem 1.5rem 1.1rem; background: var(--night);
    border-bottom: 1px solid var(--dark-line); box-shadow: 0 14px 18px #06192336;
  }
  .has-menu.menu-open .primary-nav a { padding-inline: .4rem; }
  .has-menu .menu-toggle {
    display: inline-flex; align-items: center; gap: .42rem; min-height: 2.75rem;
    padding: .5rem; color: var(--white); background: transparent; border: 0; cursor: pointer;
  }
  .menu-icon {
    width: .86rem; height: .65rem; border-block: 1px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
  }
  .hero { min-height: 35rem; }
  .hero-image { object-position: 59% center; }
  .hero::after { background: linear-gradient(90deg, #071922f7 0%, #091d27dc 25%, #0b1e288f 65%, #0a20293b), linear-gradient(0deg, #081d2770, transparent 60%); }
  .hero h1 { font-size: clamp(4.65rem, 11vw, 7rem); }
  html[lang="en"] .hero h1 { font-size: clamp(4.2rem, 10.35vw, 6.8rem); }
  html[lang="zh"] .hero h1 { font-size: clamp(3.7rem, 9.1vw, 5.6rem); }
  .services-heading { grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
  .dubai-layout { gap: 2.15rem; }
}

@media (max-width: 43rem) {
  .shell { width: calc(100% - 2.5rem); }
  .section { padding-block: 3.65rem; }
  h2 { font-size: clamp(2.85rem, 10vw, 4.2rem); }
  .hero { min-height: 34.2rem; align-items: end; }
  .hero-image { object-position: 64% center; }
  .hero::after {
    background: linear-gradient(0deg, #071923fb 0%, #091d27ea 29%, #0b1e2883 68%, #0b1e2823 100%),
      linear-gradient(90deg, #081d2780, #081d2726 64%);
  }
  .hero-layout { padding-block: 4.2rem 2.45rem; }
  .hero h1 { font-size: clamp(3.8rem, 12.6vw, 5.1rem); }
  html[lang="en"] .hero h1 { font-size: clamp(3.65rem, 12vw, 4.85rem); }
  html[lang="zh"] .hero h1 { font-size: clamp(3.55rem, 11vw, 4.85rem); }
  .hero-description { margin-block-start: 1.55rem; }
  .hero-actions { margin-block-start: 1.45rem; gap: .6rem; }
  .button { padding-inline: 1rem; }
  .services-heading, .process-layout, .dubai-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 1.55rem; }
  .section-heading .eyebrow { margin-block-end: .7rem; }
  .services-heading { gap: .95rem; margin-block-end: 1.75rem; }
  .practice-layout:has(.practice-tabs:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
  .practice-tab { min-height: 3.35rem; padding: .75rem .9rem; gap: .7rem; }
  .practice-panel { min-height: 0; }
  .process-steps { margin-inline-start: .22rem; }
  .dubai-visual { min-height: 0; aspect-ratio: 1.3; }
  .contact-methods { margin-block-start: .3rem; }
}

@media (max-width: 24.5rem) {
  .shell { width: calc(100% - 2rem); }
  .header-layout { gap: .3rem; }
  .brand-mark { width: 2.2rem; height: 2.2rem; }
  .site-brand { gap: .32rem; }
  .brand-name { font-size: 1.58rem; }
  .brand-designation { font-size: .66rem; }
  .language-nav a { min-width: 2.15rem; }
  .has-menu .menu-toggle { padding-inline: .29rem; }
  .hero h1 { font-size: clamp(3.4rem, 12.6vw, 4.2rem); }
  html[lang="en"] .hero h1 { font-size: clamp(3.3rem, 11.8vw, 4rem); }
}

@media (max-width: 23rem) {
  .brand-designation { display: none; }
  .has-menu .menu-toggle { min-width: 2.75rem; justify-content: center; }
  .has-menu .menu-toggle > span:first-child {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
