.contact-page,
.contact-shell { background: var(--white); }

.contact-shell {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
}

.contact-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 12px 8px;
  background: var(--white);
  border-bottom: var(--border);
}

.contact-title-lockup { display: flex; min-width: 0; align-items: center; gap: clamp(14px, 2vw, 30px); }
.contact-title-lockup h1 { margin: 0; font-family: var(--display); font-size: clamp(44px, 5.4vw, 72px); font-weight: 900; letter-spacing: -0.06em; line-height: 0.76; }
.contact-title-lockup > span { overflow: hidden; font-family: var(--display); font-size: clamp(10px, 1.1vw, 14px); font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }

.language-switch { display: flex; flex: 0 0 auto; overflow: hidden; border: 2px solid var(--black); }
.language-button { min-width: 46px; padding: 10px 11px; cursor: pointer; color: var(--white); background: var(--black); border: 0; font-family: var(--display); font-size: 13px; font-weight: 900; line-height: 1; }
.language-button + .language-button { border-left: 1px solid var(--white); }
.language-button:hover,
.language-button:focus-visible,
.language-button.is-active { color: var(--white); background: var(--blue); outline: none; }

.contact-main { flex: 1; background: var(--white); }
.contact-copy { max-width: min(100%, 1180px); padding: clamp(26px, 3vw, 42px) clamp(20px, 7vw, 132px) clamp(30px, 3vw, 42px); }
.contact-section { padding: 0 0 clamp(24px, 2.8vw, 40px); }
.contact-section + .contact-section { padding-top: clamp(24px, 2.8vw, 40px); }
.contact-section-title { max-width: none; margin: 0 0 clamp(16px, 1.7vw, 24px); font-family: var(--display); font-size: clamp(29px, 3.45vw, 48px); font-weight: 900; line-height: 0.84; text-transform: uppercase; }
.contact-section-title--zh { max-width: none; font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: clamp(26px, 3.1vw, 44px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; text-transform: none; }
#social-en { font-size: clamp(28px, 2.8vw, 40px); }
#social-en .chapter-title-text { white-space: nowrap; }
.contact-link-list { display: grid; gap: 0.55em; max-width: 100%; margin: 0; padding: 0; list-style: none; }
.contact-link-list a { display: inline; color: var(--black); font-size: clamp(18px, 2.05vw, 29px); font-weight: 700; line-height: 1.23; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.12em; overflow-wrap: anywhere; }
.contact-link-list a:hover,
.contact-link-list a:focus-visible { color: var(--blue); outline: none; }

.contact-footer { margin-top: auto; border-top: 0; }

@media (max-width: 580px) {
  .contact-header { min-height: 58px; padding: 6px 8px 7px; }
  .contact-title-lockup h1 { font-size: clamp(38px, 12vw, 54px); }
  .contact-title-lockup > span { display: none; }
  .language-button { min-width: 40px; padding: 9px 8px; font-size: 11px; }
  .contact-copy { min-height: calc(100svh - 58px); padding: 42px 18px 70px; }
  .contact-section-title { font-size: clamp(30px, 10vw, 48px); }
  .contact-section-title--zh { font-size: clamp(26px, 8vw, 38px); }
  #social-en { font-size: clamp(28px, 9vw, 40px); }
  #social-en .chapter-title-text { white-space: normal; }
}
