:root {
  --ocean: #101b30;
  --brand-purple: #4e287c;
  --lavender: #cfb5eb;
  --lavender-wash: #f0ecf5;
  --ink: #14263a;
  --muted: #48596c;
  --gold: #edc78b;
  --paper: #f8f7f2;
  --border: #ced3d2;
  --pad: clamp(23px,6.15vw,108px);
  --sans: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic","Meiryo","DengXian","Microsoft YaHei",sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip {
  position: absolute;
  z-index: 8;
  top: -60px;
  left: 15px;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 10px;
}

:focus-visible {
  outline: 3px solid #aa7b37;
  outline-offset: 5px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  height: 87px;
  background: #fff;
}

.logo img {
  width: 215px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: clamp(16px,2.5vw,42px);
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.nav a:not(.contact-nav):hover {
  color: var(--brand-purple);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.contact-nav {
  color: var(--brand-purple);
  border: 1px solid currentColor;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.contact-nav:hover {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  color: white;
}

.arr {
  font-family: Arial,sans-serif;
  font-weight: 400;
}

.hero {
  position: relative;
  color: #fcfbf6;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 9% 38%, #4e287c55, transparent 56%),
              radial-gradient(ellipse at 68% 38%, #1f334f, #15253b 29%, #101c31 59%, #0c1628 94%);
}

.hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,transparent 49.92%,rgba(162,184,219,.08) 50%,transparent 50.08%) center/16.667% 100%;
  mask-image: linear-gradient(180deg,#0006,#0004,black);
}

.hero-main {
  max-width: 1720px;
  margin: auto;
  position: relative;
  min-height: clamp(515px,44vw,690px);
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  padding: 0 var(--pad);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 55px 0 66px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 700;
  color: var(--brand-purple);
  line-height: 1.5;
}

.eyebrow:before {
  content: "";
  display: block;
  width: 31px;
  height: 1px;
  background: currentColor;
}

.hero .eyebrow {
  color: var(--lavender);
  letter-spacing: .26em;
}

.hero h1 {
  font-size: clamp(56px,5.65vw,100px);
  line-height: 1.17;
  letter-spacing: -.075em;
  font-weight: 540;
  margin: 29px 0 23px;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--gold);
}

.intro {
  max-width: 440px;
  font-size: clamp(13px,1.08vw,17px);
  line-height: 2.05;
  letter-spacing: .035em;
  color: #dae2eb;
  margin: 0 0 29px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  background: var(--gold);
  padding: 14px 19px 14px 22px;
  color: #1c2937;
  font-size: 13px;
  font-weight: 650;
  min-height: 47px;
}

.hero-link .arr {
  font-size: 19px;
}

.hero-link:hover {
  background: #ffda9e;
}

.chart {
  margin: 0;
  position: relative;
  align-self: stretch;
  min-width: 0;
  display: grid;
  align-items: center;
  justify-items: center;
}

.globe {
  height: auto;
  width: clamp(520px,52vw,825px);
  max-width: none;
  position: relative;
  left: 1.1%;
  display: block;
}

.chart figcaption {
  position: absolute;
  bottom: 16px;
  right: 0;
  color: #a4b2c5;
  font-size: 10px;
  letter-spacing: .1em;
  line-height: 1.4;
}

.region-strip {
  border-top: 1px solid #ffffff30;
  background: #0d1728a8;
}

.strip-inner {
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr 1fr;
  max-width: 1720px;
  margin: auto;
  align-items: stretch;
}

.strip-title {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #c4d0dd;
  font-size: 12px;
  letter-spacing: .08em;
}

.strip-title:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.strip-inner a {
  display: flex;
  gap: 14px;
  position: relative;
  align-items: baseline;
  padding: 22px 14px 22px 22px;
  border-left: 1px solid #ffffff1e;
}

.strip-inner a small {
  font-size: 10px;
  color: #b8c5d5;
  letter-spacing: .12em;
}

.strip-inner a strong {
  font-size: 16px;
  color: #eff3f7;
  letter-spacing: .07em;
  font-weight: 550;
}

.strip-inner a[aria-current] {
  box-shadow: inset 0 -2px var(--lavender);
}

.strip-inner a[aria-current] strong {
  color: var(--lavender);
}

.strip-inner a .arr {
  margin-left: auto;
  color: #bccbdb;
}

.strip-inner a:hover {
  background: #332942;
}

.section {
  max-width: 1720px;
  margin: auto;
  padding: clamp(58px,6.5vw,103px) var(--pad);
}

.services {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 5%;
}

.section h2,.info h2,.contact h2 {
  margin: 17px 0 19px;
  font-size: clamp(28px,3.1vw,49px);
  font-weight: 540;
  letter-spacing: -.045em;
  line-height: 1.4;
}

.section-head p,.info p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
  margin: 0;
}

.service-list {
  border-top: 1px solid #a38cb9;
}

.service-row {
  border-bottom: 1px solid var(--border);
  padding: 18px 0 19px;
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 18px;
}

.service-row .en {
  font-size: 11px;
  letter-spacing: .08em;
  color: #705584;
  padding-top: 5px;
  line-height: 1.5;
}

.service-row h3 {
  margin: 0 0 7px;
  font-size: clamp(16px,1.4vw,23px);
  font-weight: 600;
  letter-spacing: .025em;
}

.service-row p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: #48596c;
}

.markets {
  background: var(--lavender-wash);
}

.market-grid {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 5%;
}

.market-tabs {
  display: flex;
  border-bottom: 1px solid #c6b9d1;
  gap: 26px;
}

.market-tabs button {
  cursor: pointer;
  padding: 10px 0 14px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 15px;
  color: var(--muted);
}

.market-tabs button[aria-selected="true"] {
  color: var(--brand-purple);
  border-color: currentColor;
  font-weight: 700;
}

.market-panel {
  margin-top: 21px;
}

.market-panel p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 10px;
}

.market-panel .question {
  font-size: clamp(19px,2.0vw,28px);
  font-weight: 550;
  line-height: 1.55;
  margin: 0 0 12px;
  letter-spacing: -.025em;
}

.market-panel[hidden],.market-tabs[hidden] {
  display: none;
}

.office {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 5%;
}

.info {
  display: grid;
  grid-template-columns: minmax(70px,130px) 1fr;
  gap: 27px;
  align-items: stretch;
  align-self: start;
}

.info img {
  width: 100%;
  height: 100%;
  min-height: 0;
  contain: size;
  object-fit: cover;
  object-position: center 20%;
}

.info h3 {
  margin: 5px 0 9px;
  font-size: 22px;
  font-weight: 600;
}

.romanized-name {
  display: inline-block;
  font-size: 0.8em;
  font-weight: 500;
  color: var(--muted);
}

.street-number {
  white-space: nowrap;
}

.info p {
  line-height: 1.55;
  margin-bottom: -0.2em;
}

.info small {
  display: block;
  line-height: 1.15;
  font-size: 12px;
  color: var(--muted);
}

.contact {
  background: linear-gradient(112deg, #342044, var(--ocean) 82%);
  color: #f2f4f7;
}

.contact .section {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 5%;
  align-items: center;
}

.contact .eyebrow {
  color: var(--lavender);
}

.contact h2 {
  margin-bottom: 0;
}

.contact-links {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.contact-links a {
  border: 1px solid #a797b7;
  padding: 14px 16px;
  font-size: 15px;
}

.contact-links a:hover {
  background: var(--brand-purple);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 22px var(--pad);
  background: #0c1423;
  color: #c7cfdb;
  font-size: 11px;
  line-height: 1.6;
}

.foot a:hover {
  text-decoration: underline;
}

.foot > span:last-child {
  display: flex;
  gap: 24px;
}

@media(min-width:1721px) {
  .header,.foot {
    padding-left: calc((100vw - 1720px) / 2 + var(--pad));
    padding-right: calc((100vw - 1720px) / 2 + var(--pad));
  }
}

@media(max-width:900px) {
  .hero-main {
    grid-template-columns: 46% 54%;
    min-height: 480px;
  }
  .globe {
    width: 54vw;
  }
  .hero h1 {
    font-size: clamp(45px,6.2vw,61px);
  }
  .nav {
    gap: 20px;
    font-size: 12px;
  }
  .hero-copy {
    padding: 47px 0 54px;
  }
  .strip-inner a {
    gap: 8px;
    padding-left: 13px;
  }
  .service-row {
    grid-template-columns: 30% 1fr;
  }
  .chart figcaption {
    bottom: 17px;
    font-size: 9px;
  }
}

@media(max-width:650px) {
  :root {
    --pad: 22px;
  }
  .header {
    height: 67px;
    gap: 9px;
  }
  .logo img {
    width: clamp(151px,44vw,196px);
  }
  .nav {
    gap: 0;
  }
  .nav a:not(.contact-nav) {
    display: none;
  }
  .contact-nav {
    padding: 9px 11px;
    gap: 8px;
    font-size: 11px;
  }
  .hero-main {
    display: flex;
    flex-direction: column;
    min-height: unset;
    align-items: stretch;
    padding: 0 var(--pad);
  }
  .hero-copy {
    padding: 37px 0 0;
  }
  .eyebrow,.hero .eyebrow {
    font-size: 9px;
    letter-spacing: .17em;
  }
  .hero .eyebrow:before {
    width: 23px;
  }
  .hero h1 {
    margin: 17px 0 13px;
    font-size: clamp(43px,11.7vw,61px);
    line-height: 1.18;
  }
  .intro {
    font-size: 12px;
    line-height: 1.92;
    max-width: 33em;
    margin-bottom: 17px;
  }
  .hero-link {
    font-size: 12px;
    min-height: 39px;
    padding: 9px 13px 9px 15px;
    gap: 25px;
  }
  .hero-link .arr {
    font-size: 16px;
  }
  .chart {
    height: auto;
    align-self: stretch;
    justify-items: center;
    margin: -6px -5px 0;
    pointer-events: none;
  }
  .globe {
    width: min(98vw,480px);
    max-width: 115%;
    left: 0;
  }
  .chart figcaption {
    right: 0;
    bottom: 8px;
    font-size: 8px;
  }
  .strip-inner {
    grid-template-columns: 1fr 1fr 1.14fr;
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
  .strip-title {
    position: absolute;
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
  }
  .strip-inner a {
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    padding: 10px 9px 12px 11px;
  }
  .strip-inner a:first-of-type {
    padding-left: 0;
    border-left: 0;
  }
  .strip-inner a strong {
    font-size: 13px;
  }
  .strip-inner a small {
    width: 100%;
    order: 2;
    font-size: 8px;
  }
  .strip-inner a .arr {
    font-size: 12px;
  }
  .section {
    padding-top: 47px;
    padding-bottom: 49px;
  }
  .services,.market-grid,.office,.contact .section {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .section h2,.info h2,.contact h2 {
    font-size: 29px;
    margin: 10px 0 12px;
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px 0 16px;
  }
  .service-row .en {
    font-size: 10px;
    padding: 0;
  }
  .service-row h3 {
    font-size: 17px;
    margin: 0 0 5px;
  }
  .service-row p,.section-head p,.info p {
    font-size: 13px;
  }
  .market-tabs {
    gap: 25px;
  }
  .market-panel .question {
    font-size: 20px;
  }
  .market-panel p {
    font-size: 13px;
  }
  .info {
    grid-template-columns: 80px 1fr;
    gap: 17px;
  }
  .info h3 {
    font-size: 18px;
  }
  .foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
  .contact-links a {
    font-size: 13px;
  }
  .foot > span:last-child {
    flex-wrap: wrap;
    gap: 13px;
  }
}

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


:lang(zh) {
  font-family: "DengXian", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.region-label {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--muted);
}

#markets[data-tabs-ready] .region-label {
  display: none;
}

.market-tabs button:hover {
  color: var(--brand-purple);
}

.market-panel:focus-visible {
  outline-offset: 6px;
}

@media (forced-colors: active) {
  .market-tabs button[aria-selected="true"] {
    border-color: Highlight;
  }
}
