/* 纯 HTML/CSS/JS 站点；语义化 class，无构建 */

:root {
  --bg: #f8f8f8;
  --text: #111;
  --muted: #222;
  --gray: #5e5e5e;
  --line: #d9d9d9;
  --max: 1440px;
  --narrow: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: inherit;
}

.block {
  display: block;
}

/* —— 顶栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 100px;
  background: var(--bg);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
}

.site-header__bar {
  margin: 0 auto;
  max-width: var(--max);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
}

@media (min-width: 1024px) {
  .site-header__bar {
    padding: 0 120px;
  }
}

.site-header__logo {
  display: block;
  width: 100px;
  height: 100px;
  overflow: hidden;
  flex-shrink: 0;
}

.site-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: darken;
}

.site-header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .site-header__menu-btn {
    display: none;
  }
}

.site-nav--desktop {
  display: none;
  align-items: center;
  gap: 44px;
}

@media (min-width: 1024px) {
  .site-nav--desktop {
    display: flex;
  }
}

/* 顶栏导航：未选中为纯文字；选中为白底黑框圆角 pill（与稿一致） */
.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.16px;
  text-decoration: none;
  color: var(--text);
}

.site-nav__link:hover {
  opacity: 0.7;
}

.site-nav__link--active {
  padding: 8px 20px;
  border: 1px solid #000;
  border-radius: 12px;
  background-color: #fff;
  font-weight: 700;
  opacity: 1;
}

.site-nav__link--active:hover {
  opacity: 1;
}

/* Contact 与主导航一致：未选中无框；选中共用 pill */
.site-nav__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.16px;
  text-decoration: none;
  color: var(--text);
}

.site-nav__contact:hover {
  opacity: 0.7;
  background: transparent;
}

.site-nav__contact--active {
  padding: 8px 20px;
  border: 1px solid #000;
  border-radius: 12px;
  background-color: #fff;
  color: #000;
  font-weight: 700;
  opacity: 1;
}

.site-nav__contact--active:hover {
  opacity: 1;
}

.site-header__mobile {
  border-top: 1px solid rgb(17 17 17 / 0.1);
  background: var(--bg);
  padding: 16px 35px;
}

@media (min-width: 1024px) {
  .site-header__mobile {
    display: none !important;
  }
}

.site-nav--mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav--mobile a {
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

.site-nav--mobile .site-nav__link--active,
.site-nav--mobile .site-nav__contact--active {
  align-self: flex-start;
  padding: 8px 20px;
  border: 1px solid #000;
  border-radius: 12px;
  background-color: #fff;
  font-weight: 700;
}

/* —— 页脚 —— */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.site-footer__inner {
  margin: 0 auto;
  max-width: var(--max);
  padding: 40px 35px;
}

@media (min-width: 1024px) {
  .site-footer__inner {
    padding: 40px 120px;
  }
}

.site-footer__mobile {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .site-footer__mobile {
    display: none;
  }
}

.site-footer__desktop {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

@media (min-width: 1024px) {
  .site-footer__desktop {
    display: flex;
  }
}

.site-footer__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

@media (min-width: 1024px) {
  .site-footer__nav {
    gap: 20px;
  }
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
}

.site-footer__link:hover {
  opacity: 0.75;
}

.site-footer__link--active {
  padding: 6px 16px;
  border: 1px solid #000;
  border-radius: 10px;
  background-color: #fff;
  font-weight: 700;
  opacity: 1;
}

.site-footer__link--active:hover {
  opacity: 1;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

@media (min-width: 1024px) {
  .site-footer__social {
    gap: 16px;
    justify-content: flex-end;
  }
}

/* 社媒仅图标，无文字 */
.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  line-height: 0;
}

.site-footer__social-link:hover {
  opacity: 0.75;
}

.site-footer__social-link svg {
  display: block;
  width: 24px;
  height: 24px;
}

.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* —— 按钮 —— */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 49px;
  padding: 0 24px;
  border: 1px solid var(--text);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgb(17 17 17 / 0.05);
}

@media (min-width: 1024px) {
  .btn-outline {
    min-width: 150px;
    height: 60px;
    font-size: 17px;
  }
}

/* —— 首页 Hero —— */
.hero__img-wrap {
  width: 100%;
  min-height: 280px;
  height: min(70vw, 550px);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero__img-wrap {
    height: 550px;
  }
}

.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

@media (min-width: 1024px) {
  .hero__img-wrap img {
    object-position: center;
  }
}

.hero__text {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 40px 16px 48px;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero__text {
    padding: 56px 0 80px;
  }
}

.hero__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 64px;
    letter-spacing: -1.28px;
  }
}

.hero__br-mobile {
  display: inline;
}

@media (min-width: 1024px) {
  .hero__br-mobile {
    display: none;
  }
}

.hero__lead {
  margin: 24px auto 0;
  max-width: 360px;
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .hero__lead {
    margin-top: 32px;
    max-width: none;
    font-size: 20px;
  }
}

.hero__body {
  margin: 32px auto 0;
  max-width: 360px;
  font-size: 16px;
  line-height: 40px;
  text-align: left;
}

@media (min-width: 1024px) {
  .hero__body {
    margin-top: 40px;
    max-width: var(--narrow);
    text-align: center;
    font-size: 20px;
  }
}

.hero__body .desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .hero__body .desktop-only {
    display: inline;
  }
  .hero__body .mobile-only {
    display: none;
  }
}

/* —— 区块 —— */
.section {
  padding: 56px 16px;
}

@media (min-width: 1024px) {
  .section {
    padding: 96px 120px;
  }
}

.section__inner {
  max-width: var(--narrow);
  margin: 0 auto;
}

.section__title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.72px;
}

@media (min-width: 1024px) {
  .section__title {
    font-size: 48px;
    letter-spacing: -0.96px;
  }
}

.cards {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .cards {
    margin-top: 48px;
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
}

@media (min-width: 1024px) {
  .card {
    min-height: 520px;
    padding: 40px;
  }
}

.card h3 {
  margin: 32px 0 0;
  font-size: 24px;
  font-weight: 700;
}

.card p {
  margin: 16px 0 0;
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .card p {
    font-size: 20px;
  }
}

.card__footer {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}

.split-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .split-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
  }
}

.split-head p {
  margin: 0;
  max-width: 588px;
  font-size: 16px;
  text-align: justify;
}

@media (min-width: 1024px) {
  .split-head p {
    font-size: 20px;
  }
}

.rule {
  margin: 40px 0;
  height: 1px;
  background: var(--line);
}

.media-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .media-row {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
}

.media-row--reverse {
}

@media (min-width: 1024px) {
  .media-row--reverse {
    flex-direction: row-reverse;
  }
}

.media-row__text {
  flex: 1;
  order: 2;
}

.media-row__img {
  order: 1;
  aspect-ratio: 510 / 350;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .media-row .media-row__text,
  .media-row .media-row__img {
    order: unset;
  }
  .media-row__img {
    flex: 1;
    max-width: 510px;
  }
}

.media-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-row h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.media-row p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .media-row p {
    margin-top: 24px;
    font-size: 20px;
  }
}

/* About 内页 Hero */
.inner-hero-about__row {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 40px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .inner-hero-about__row {
    padding: 48px 120px 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
  }
}

.inner-hero-about__title {
  margin: 0;
  max-width: 640px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
}

@media (min-width: 1024px) {
  .inner-hero-about__title {
    font-size: 64px;
    letter-spacing: -1.28px;
  }
}

.inner-hero-about__quote {
  margin: 0;
  max-width: 360px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .inner-hero-about__quote {
    max-width: 486px;
    font-size: 20px;
  }
}

.inner-hero-about__img {
  margin-top: 32px;
  height: 200px;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .inner-hero-about__img {
    margin-top: 48px;
    height: 365px;
  }
}

.inner-hero-about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Projects/Services 内页 Hero */
.inner-hero-ps__top {
  margin: 0 auto;
  max-width: var(--max);
  padding: 100px 35px 0;
}

.inner-hero-ps__row {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .inner-hero-ps__row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.inner-hero-ps__title {
  margin: 0;
  max-width: 285px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.96px;
}

@media (min-width: 1024px) {
  .inner-hero-ps__title {
    max-width: none;
    font-size: 64px;
    letter-spacing: -1.28px;
  }
}

.inner-hero-ps__quote {
  margin: 80px 0 0;
  max-width: 360px;
  font-size: 16px;
}

@media (min-width: 1024px) {
  .inner-hero-ps__quote {
    margin: 0;
    max-width: 486px;
    font-size: 20px;
    color: var(--muted);
  }
}

.inner-hero-ps__img {
  margin-top: 40px;
  height: 200px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .inner-hero-ps__img {
    margin: 160px auto 0;
    max-width: var(--max);
    height: 365px;
  }
}

.inner-hero-ps__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-body {
  padding: 40px 35px 80px;
}

@media (min-width: 1024px) {
  .page-body {
    padding: 80px 120px;
  }
}

.page-body--about {
  max-width: var(--narrow);
  margin: 0 auto;
}

.page-body--wide {
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .page-body--ps-top {
    padding-top: 200px;
  }
}

.stack-lg > * + * {
  margin-top: 64px;
}

@media (min-width: 1024px) {
  .stack-lg > * + * {
    margin-top: 96px;
  }
}

.prose h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.72px;
}

@media (min-width: 1024px) {
  .prose h2 {
    font-size: 48px;
  }
}

.prose p {
  margin: 32px 0 0;
  font-size: 16px;
  line-height: 40px;
  text-align: justify;
}

@media (min-width: 1024px) {
  .prose p {
    margin-top: 40px;
    font-size: 20px;
  }
}

.prose--center-title h2 {
  text-align: center;
}

.about-grid {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .about-grid {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }
}

.about-grid__img {
  width: 100%;
  aspect-ratio: 486 / 730;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .about-grid__img {
    max-width: 486px;
  }
}

.about-grid__img--short {
  aspect-ratio: 486 / 350;
}

.about-grid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-grid__text {
  flex: 1;
  min-width: 0;
}

.board-grid {
  margin-top: 40px;
  display: grid;
  gap: 56px;
}

@media (min-width: 1024px) {
  .board-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.board-card__photo {
  display: flex;
  height: 330px;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px;
  background: #f0f0f0;
  border-radius: 20px;
}

.board-card__photo img {
  max-height: 260px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
}

.board-card__body {
  margin-top: 32px;
}

.board-card__body .name {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.board-card__body .role {
  margin: 4px 0 0;
  font-size: 18px;
}

.board-card__body .bio {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .board-card__body .role,
  .board-card__body .bio {
    font-size: 20px;
  }
}

.partners {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .partners {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .partners {
    grid-template-columns: repeat(4, 1fr);
  }
}

.partner-cell {
  display: flex;
  height: 250px;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
}

.partner-cell img {
  max-height: 200px;
  max-width: 100%;
  object-fit: contain;
}

/* Projects 块 */
.ps-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .ps-block--forum {
    display: grid;
    grid-template-columns: 486px 612px;
    gap: 0 102px;
    align-items: start;
  }
  .ps-block--fellow {
    display: grid;
    grid-template-columns: 588px 486px;
    gap: 0 126px;
    align-items: start;
  }
}

.ps-block__title-mobile {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.72px;
}

@media (min-width: 1024px) {
  .ps-block__title-mobile {
    display: none;
  }
}

.ps-block__title-desktop {
  display: none;
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.96px;
}

@media (min-width: 1024px) {
  .ps-block__title-desktop {
    display: block;
  }
}

.ps-block__img {
  height: 258px;
  border-radius: 20px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .ps-block__img {
    height: 350px;
    width: 486px;
  }
  .ps-block--fellow .ps-block__img {
    grid-column: 2;
    grid-row: 1;
    margin-top: 23px;
  }
  .ps-block--fellow .ps-block__text {
    grid-column: 1;
    grid-row: 1;
    max-width: 588px;
  }
}

.ps-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-block__text p {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 40px;
}

@media (min-width: 1024px) {
  .ps-block__text {
    padding-top: 27px;
    max-width: 612px;
  }
  .ps-block__text p {
    margin-top: 40px;
    font-size: 20px;
  }
  .ps-block--fellow .ps-block__text {
    padding-top: 0;
  }
}

.program-list {
  margin-top: 40px;
  max-width: 360px;
}

@media (min-width: 1024px) {
  .program-list {
    max-width: none;
  }
}

.program-list h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 40px;
}

.program-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-list li {
  border-bottom: 1px solid var(--line);
}

.program-list li p {
  margin: 0;
  padding: 21px 0;
  font-size: 16px;
  line-height: 40px;
}

.program-last-desktop {
  display: none;
  padding: 21px 0;
  font-size: 16px;
  line-height: 40px;
}

@media (min-width: 1024px) {
  .program-last-desktop {
    display: flex;
    flex-wrap: nowrap;
    font-size: 20px;
  }
  .program-last-mobile {
    display: none !important;
  }
}

.program-last-mobile {
  margin: 0;
}

/* Services 行 */
.svc-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .svc-row {
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 102px;
  }
  .svc-row--forward {
    flex-direction: row;
  }
}

.svc-row__title-m {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.72px;
}

@media (min-width: 1024px) {
  .svc-row__title-m {
    display: none;
  }
}

.svc-row__title-d {
  display: none;
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.96px;
}

@media (min-width: 1024px) {
  .svc-row__title-d {
    display: block;
  }
}

.svc-row__img {
  height: 258px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .svc-row__img {
    width: 486px;
    height: 350px;
  }
}

.svc-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-row__text {
  flex: 1;
  min-width: 0;
  max-width: 612px;
}

.svc-row p {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 40px;
}

@media (min-width: 1024px) {
  .svc-row p {
    margin-top: 32px;
    font-size: 20px;
  }
}

.svc-row p.font-light {
  font-weight: 300;
}

/* 联系区 — 对齐 Figma 桌面 1:2（1440）/ 移动 1:669 与 React HomeContact 稿 */

.contact-section {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background: var(--bg);
  /* pt-[60px] pb-16 / lg:pt-[100px] lg:pb-28 */
  padding: 60px 0 64px;
}

@media (min-width: 1024px) {
  .contact-section {
    overflow-x: visible;
    padding: 100px 0 112px;
  }
}

/* 首页：与上一大区块间距 mt-16 lg:mt-32 */
.contact-section--home {
  margin-top: 64px;
}

@media (min-width: 1024px) {
  .contact-section--home {
    margin-top: 128px;
  }
}

/* 独立 Contact 页：mt-0（不占首页大间距） */
.contact-section--page {
  margin-top: 0;
}

/* 画板容器：水印 + 栅格同宽 max-w-[1440px] */
.contact-section__inner {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1440px;
}

.contact-section__wm {
  display: none;
}

@media (min-width: 1024px) {
  .contact-section__wm {
    display: block;
    pointer-events: none;
    position: absolute;
    left: 0;
    /* 画板 y=511 − section 顶相对位移，与 MCP 一致 */
    top: 411px;
    z-index: 0;
    width: min(1291px, 100%);
  }
}

.contact-section__wm-inner {
  position: relative;
  aspect-ratio: 1291 / 1313;
  width: 100%;
}

.contact-section__wm-inner .bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.contact-section__wm-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  opacity: 0.9;
  mix-blend-mode: darken;
}

/* 689×756 遮罩相对图幅的百分比（669/1291, 313/1313, 749/1291, 756/1313） */
.contact-section__wm-overlay {
  position: absolute;
  z-index: 1;
  background: var(--bg);
  left: 51.82%;
  top: 23.84%;
  width: 58.02%;
  height: 57.58%;
}

.contact-section__wm-mobile {
  pointer-events: none;
  position: absolute;
  right: -16px;
  bottom: 0;
  height: 400px;
  width: 110%;
  opacity: 0.14;
  mix-blend-mode: multiply;
}

@media (min-width: 1024px) {
  .contact-section__wm-mobile {
    display: none;
  }
}

.contact-section__wm-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* grid gap-y-10 lg:gap-x-[127px] lg:gap-y-[96px] lg:pl-[182px] lg:pr-[59px] */
.contact-grid {
  position: relative;
  z-index: 10;
  display: grid;
  width: 100%;
  gap: 40px;
  padding: 0 35px;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 484px) 588px;
    column-gap: 127px;
    row-gap: 96px;
    padding: 0 59px 0 182px;
  }
}

/* 「Get in touch with us」—— 第 1 行第 1 列 */
.contact-heading-main {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.96px;
  color: var(--text);
  overflow-wrap: break-word;
}

@media (min-width: 1024px) {
  .contact-heading-main {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: start;
    font-size: 48px;
  }
}

.contact-grid__lead {
  min-width: 0;
}

.contact-grid .intro {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--text);
}

/* 可点击邮箱：唤起系统默认邮件客户端（mailto） */
.contact-grid__email {
  margin: 20px 0 0;
}

.contact-grid__email a {
  font-size: 17px;
  font-weight: 500;
  line-height: normal;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-grid__email a:hover {
  opacity: 0.85;
}

@media (min-width: 1024px) {
  .contact-grid__lead {
    grid-column: 2;
    grid-row: 1;
    width: 581px;
    max-width: 100%;
    justify-self: start;
    align-self: start;
  }

  .contact-grid .intro {
    font-size: 24px;
  }

  .contact-grid__email {
    margin-top: 28px;
  }

  .contact-grid__email a {
    font-size: 20px;
  }
}

.contact-col-left .muted {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: var(--gray);
}

.contact-col-left a {
  margin-top: 12px; /* mt-3 */
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--text);
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .contact-col-left {
    grid-column: 1;
    grid-row: 2;
    width: 484px;
    max-width: 100%;
    justify-self: start;
  }
  .contact-col-left .muted {
    font-size: 24px;
  }
  .contact-col-left a {
    margin-top: 49px;
    font-size: 20px;
  }
  .contact-col-left .addr-label {
    margin-top: 124px;
  }
  .contact-col-left .addr {
    margin-top: 25px;
    font-size: 20px;
  }
}

.contact-col-left .addr-label {
  margin-top: 40px;
}

.contact-col-left .addr {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--text);
}

.contact-form-wrap {
  width: 100%;
  max-width: 588px;
}

@media (min-width: 1024px) {
  .contact-form-wrap {
    grid-column: 2;
    grid-row: 2;
    width: 588px;
    max-width: none;
    justify-self: start;
  }
}

.contact-form__title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.9px;
  color: var(--text);
  overflow-wrap: break-word;
}

@media (min-width: 1024px) {
  .contact-form__title {
    font-size: 45px;
  }
}

/* form: mt-8 space-y-[51px] lg:mt-[121px] — 首项上间距由 first-of-type 承担 */
.contact-form .form-field {
  display: block;
  margin-top: 51px;
}

.contact-form .form-field:first-of-type {
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .contact-form .form-field:first-of-type {
    margin-top: 121px;
  }
}

.form-field span {
  display: block;
  font-size: 17px;
  font-weight: 400;
  line-height: normal;
  color: var(--gray);
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-bottom: 1px solid var(--text);
  background: transparent;
  padding: 8px 0;
  font-size: 17px;
  font-weight: 400;
  line-height: normal;
  font-family: inherit;
  color: var(--text);
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--text);
}

@media (min-width: 1024px) {
  .form-field input,
  .form-field textarea {
    width: 588px;
    max-width: 100%;
  }
}

.form-field textarea {
  resize: vertical;
  min-height: 96px;
}

.contact-form .form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 51px;
  padding-top: 8px;
}

.form-actions button {
  width: 124px;
  height: 53px;
  border: 0;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 17px;
  font-weight: 600;
  line-height: normal;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}

.form-actions button:hover {
  opacity: 0.9;
}
