.contact-page {
  --contact-ink: #080A0D;
  --contact-muted: #626872;
  --contact-line: #D8DCE2;
  --contact-blue: #003FB5;
  --contact-paper: #F5F6F7;
  background: #FFFFFF;
  color: var(--contact-ink);
}

.contact-page main {
  background: #FFFFFF;
}

.contact-hero {
  position: relative;
  min-height: 700px;
  height: min(820px, 88svh);
  overflow: hidden;
  background: #11151B;
  color: #FFFFFF;
}

.contact-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.95) 0%, rgba(5, 8, 13, 0.7) 38%, rgba(5, 8, 13, 0.04) 70%),
    linear-gradient(0deg, rgba(5, 8, 13, 0.56) 0%, transparent 34%);
  pointer-events: none;
}

.contact-hero-copy {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 96px));
  height: 100%;
  margin: 0 auto;
  padding: clamp(170px, 20vh, 210px) 0 140px;
}

.contact-index,
.contact-section-heading > p,
.contact-detail-number,
.contact-inquiry-band p {
  margin: 0;
  color: var(--contact-blue);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-hero .contact-index {
  color: #69A0FF;
}

.contact-hero h1 {
  max-width: 880px;
  margin: 24px 0 0;
  font-weight: 800;
  letter-spacing: 0;
}

.contact-hero h1 span {
  display: block;
}

.contact-title-en {
  font-family: var(--font-latin);
  font-size: clamp(72px, 7.3vw, 112px);
  line-height: 0.92;
}

.contact-title-cn {
  margin-top: 22px;
  font-family: var(--font-cn);
  font-size: clamp(34px, 3.25vw, 50px);
  line-height: 1.12;
}

.contact-hero-copy > p:not(.contact-index) {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.8;
}

.contact-hero-actions {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: fit-content;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.contact-primary-action,
.contact-phone-action {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 0 28px;
}

.contact-primary-action {
  min-width: 190px;
  justify-content: center;
  background: #FFFFFF;
  color: var(--contact-ink);
  font-size: 15px;
  font-weight: 800;
}

.contact-primary-action:hover,
.contact-primary-action:focus-visible {
  background: var(--contact-blue);
  color: #FFFFFF;
}

.contact-phone-action {
  min-width: 230px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(6, 10, 16, 0.46);
  color: #FFFFFF;
}

.contact-phone-action small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 700;
}

.contact-phone-action strong {
  margin-top: 4px;
  font-family: var(--font-latin);
  font-size: 20px;
}

.contact-hero-meta {
  position: absolute;
  z-index: 2;
  left: max(48px, calc((100vw - 1440px) / 2));
  right: max(48px, calc((100vw - 1440px) / 2));
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.72);
}

.contact-hero-meta span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-hero-meta span:first-child {
  padding-left: 0;
}

.contact-hero-meta span:last-child {
  border-right: 0;
}

.contact-section {
  width: min(1440px, calc(100% - 96px));
  max-width: none;
  margin: 0 auto;
  padding: 108px 0 120px;
  display: block;
  background: #FFFFFF;
}

.contact-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: 48px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--contact-line);
}

.contact-section-heading h2 {
  grid-column: 1;
  max-width: none;
  margin: 0;
  font-size: clamp(44px, 4.2vw, 64px);
  line-height: 1.05;
  white-space: nowrap;
}

.contact-section-heading > span {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--contact-muted);
  font-size: 15px;
  line-height: 1.8;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  border-bottom: 1px solid var(--contact-line);
}

.contact-address-panel {
  min-height: 600px;
  padding: 60px 68px 60px 0;
  border-right: 1px solid var(--contact-line);
}

.contact-address-panel h3 {
  margin: 58px 0 24px;
  font-size: clamp(44px, 4.2vw, 66px);
  line-height: 1;
}

.contact-address-panel address {
  max-width: 700px;
  color: #282D34;
  font-size: clamp(18px, 1.35vw, 21px);
  font-style: normal;
  line-height: 1.75;
}

.contact-company-name {
  margin: 26px 0 46px;
  color: var(--contact-muted);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.map-locator {
  width: min(100%, 700px);
  min-height: 96px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid #20242B;
  background: var(--contact-ink);
  color: #FFFFFF;
}

.map-locator:hover,
.map-locator:focus-visible {
  border-color: var(--contact-blue);
  background: var(--contact-blue);
}

.map-locator-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
}

.map-locator-mark::before,
.map-locator-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-locator-mark::before {
  width: 12px;
  height: 12px;
  border: 2px solid #FFFFFF;
}

.map-locator-mark::after {
  width: 4px;
  height: 4px;
  background: #FFFFFF;
}

.map-locator-copy {
  display: grid;
  gap: 4px;
}

.map-locator-copy small,
.map-locator-copy em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-style: normal;
}

.map-locator-copy strong {
  font-size: 17px;
}

.map-locator-action {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.contact-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
}

.contact-list > a,
.contact-list > article {
  min-height: 190px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 26px;
  align-items: center;
  padding: 38px 0 38px 50px;
  border-bottom: 1px solid var(--contact-line);
  background: #FFFFFF;
  color: var(--contact-ink);
}

.contact-list > :last-child {
  border-bottom: 0;
}

.contact-list > a:hover,
.contact-list > a:focus-visible {
  background: var(--contact-paper);
}

.contact-list > a > span,
.contact-list > article > span {
  display: block;
  align-self: start;
  margin: 4px 0 0;
  color: var(--contact-blue);
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 800;
}

.contact-list small {
  color: var(--contact-muted);
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-list h3 {
  margin: 9px 0 8px;
  font-size: 22px;
}

.contact-list p {
  margin: 0;
  color: #30353C;
  font-family: var(--font-latin);
  font-size: 18px;
  line-height: 1.55;
}

.contact-inquiry-band {
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 44px 56px;
  border-top: 5px solid var(--contact-blue);
  background: var(--contact-ink);
  color: #FFFFFF;
}

.contact-inquiry-band p {
  color: var(--contact-blue);
  font-size: 13px;
  font-weight: 900;
}

.contact-inquiry-band h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.08;
}

.contact-inquiry-band > a {
  min-width: 190px;
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #FFFFFF;
  color: var(--contact-ink);
  font-weight: 800;
}

.contact-inquiry-band > a:hover,
.contact-inquiry-band > a:focus-visible {
  border-color: var(--contact-blue);
  background: var(--contact-blue);
  color: #FFFFFF;
}

@media (max-width: 1100px) {
  .contact-hero-copy,
  .contact-section {
    width: calc(100% - 48px);
  }

  .contact-section-heading {
    grid-template-columns: 1fr;
  }

  .contact-section-heading > span {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-section-heading h2 {
    white-space: normal;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .contact-address-panel {
    min-height: 0;
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--contact-line);
  }

  .contact-list > a,
  .contact-list > article {
    padding-right: 40px;
  }
}

@media (max-width: 680px) {
  .contact-hero {
    min-height: 720px;
    height: 88svh;
  }

  .contact-hero > img {
    object-position: 63% center;
  }

  .contact-hero::after {
    background:
      linear-gradient(180deg, rgba(5, 8, 13, 0.92) 0%, rgba(5, 8, 13, 0.66) 56%, rgba(5, 8, 13, 0.9) 100%);
  }

  .contact-hero-copy {
    width: calc(100% - 32px);
    padding: 132px 0 132px;
  }

  .contact-title-en {
    font-size: clamp(52px, 15vw, 64px);
  }

  .contact-title-cn {
    margin-top: 16px;
    font-size: 30px;
  }

  .contact-hero-copy > p:not(.contact-index) {
    max-width: 340px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
  }

  .contact-hero-actions {
    width: min(100%, 340px);
    margin-top: 26px;
    flex-direction: column;
    border: 0;
  }

  .contact-primary-action,
  .contact-phone-action {
    width: 100%;
  }

  .contact-phone-action {
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-top: 0;
  }

  .contact-hero-meta {
    left: 16px;
    right: 16px;
    grid-template-columns: 1fr 1fr;
  }

  .contact-hero-meta span {
    min-height: 58px;
    padding: 0 10px;
    font-size: 9px;
  }

  .contact-hero-meta span:last-child {
    display: none;
  }

  .contact-section {
    width: calc(100% - 32px);
    padding: 72px 0 80px;
  }

  .contact-section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 40px;
  }

  .contact-section-heading > span {
    grid-column: auto;
  }

  .contact-section-heading h2 {
    font-size: 42px;
  }

  .contact-address-panel {
    padding: 46px 0;
  }

  .contact-address-panel h3 {
    margin-top: 38px;
    font-size: 46px;
  }

  .contact-address-panel address {
    font-size: 17px;
  }

  .map-locator {
    grid-template-columns: 40px 1fr;
    padding: 18px;
  }

  .map-locator-mark {
    width: 40px;
    height: 40px;
  }

  .map-locator-action {
    grid-column: 2;
    justify-self: start;
  }

  .contact-list > a,
  .contact-list > article {
    min-height: 160px;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 30px 0;
  }

  .contact-list h3 {
    font-size: 20px;
  }

  .contact-list p {
    font-size: 16px;
  }

  .contact-inquiry-band {
    min-height: 270px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 30px;
    padding: 36px 24px;
  }

  .contact-inquiry-band h2 {
    font-size: 36px;
  }

  .contact-inquiry-band > a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-primary-action,
  .contact-phone-action,
  .map-locator,
  .contact-list > a,
  .contact-inquiry-band > a {
    transition: none;
  }
}
