:root {
  --lm-blue: #00aeef;
  --lm-navy: #222159;
  --lm-teal: #00a99d;
  --lm-mint: #e7f7f5;
  --text: #222159;
  --muted: #5f6280;
  --line: #e7e8ef;
  --paper: #ffffff;
  --soft: #f5fbfb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: geomanist, Arial, Helvetica, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 300px) 1fr auto;
  align-items: center;
  min-height: 86px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(34, 33, 89, 0.08);
}

.logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 86px;
  padding: 10px 18px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.logo-block img {
  display: block;
  width: 100%;
  max-width: 260px;
  max-height: 64px;
  object-fit: contain;
}

.brand-copy {
  display: inline-grid;
  gap: 3px;
  padding: 0 24px;
  color: var(--lm-navy);
  text-decoration: none;
}

.brand-copy strong {
  font-size: 16px;
}

.brand-copy span {
  color: var(--lm-teal);
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: clamp(18px, 4vw, 56px);
  color: var(--lm-navy);
  font-size: 15px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--lm-teal);
}

.official-hero {
  position: relative;
  min-height: 460px;
  background-image: url("amanda-chen-official.jpg");
  background-position: center 34%;
  background-size: cover;
}

.profile-intro {
  max-width: 980px;
  margin: 0 auto;
  padding: 58px 24px 56px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lm-teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--lm-navy);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--lm-navy);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--lm-navy);
  font-size: 22px;
  line-height: 1.22;
}

.subtitle {
  margin: 10px 0 0;
  font-size: 24px;
  color: var(--lm-navy);
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 28px;
  font-weight: 700;
}

.contact-line a,
.contact-line span {
  color: var(--lm-navy);
  text-decoration-color: var(--lm-blue);
  text-underline-offset: 4px;
}

.section,
.contact-section {
  padding: clamp(48px, 7vw, 86px) clamp(22px, 5vw, 72px);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
}

.soft {
  background: var(--soft);
}

.narrow-heading {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.copy-block {
  max-width: 880px;
  color: var(--muted);
  font-size: 18px;
}

.copy-block.centered {
  margin: 0 auto;
  text-align: center;
}

.copy-block p:first-child {
  margin-top: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  display: block;
  min-height: 236px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(34, 33, 89, 0.06);
}

.service-card:hover {
  border-color: var(--lm-teal);
}

.service-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.check-grid,
.bilingual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.check-grid p {
  margin: 0;
  padding: 18px 20px;
  border-left: 5px solid var(--lm-teal);
  background: var(--lm-mint);
}

.bilingual-grid article {
  padding: 22px 24px;
  border-left: 5px solid var(--lm-teal);
  background: var(--lm-mint);
}

.bilingual-grid h3 {
  font-size: 19px;
}

.bilingual-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.bilingual-grid p:last-child {
  color: var(--lm-navy);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--lm-navy);
  font-weight: 700;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  color: #ffffff;
  background: var(--lm-navy);
}

.contact-section h2,
.contact-section h3 {
  color: #ffffff;
}

.contact-section .eyebrow {
  color: #72dfd7;
}

.contact-section p {
  max-width: 700px;
}

.contact-card {
  padding: 28px;
  border-radius: 4px;
  color: var(--lm-navy);
  background: #ffffff;
}

.contact-card h3 {
  color: var(--lm-navy);
}

.button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 12px 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--lm-blue);
}

.button.secondary {
  color: var(--lm-navy);
  background: #ffffff;
  border-color: var(--lm-blue);
}

.wechat {
  margin: 0;
  font-weight: 700;
}

.wechat-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
}

.wechat-block img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #ffffff;
}

.wechat-block span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  color: var(--lm-teal);
  font-weight: 700;
  text-decoration-color: var(--lm-teal);
  text-underline-offset: 4px;
}

.subpage-hero {
  padding: clamp(56px, 8vw, 96px) clamp(22px, 5vw, 72px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(34, 33, 89, 0.86), rgba(0, 169, 157, 0.45)),
    url("amanda-chen-official.jpg");
  background-position: center 34%;
  background-size: cover;
}

.subpage-hero h1,
.subpage-hero .intro {
  max-width: 900px;
  color: #ffffff;
}

.subpage-hero .eyebrow {
  color: #ffffff;
}

.intro {
  margin: 18px 0 0;
  font-size: 20px;
}

footer {
  padding: 24px clamp(22px, 5vw, 72px);
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

footer p {
  max-width: 980px;
  margin: 0 auto;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: minmax(190px, 1fr) 1fr;
  }

  nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 22px 18px;
    border-top: 1px solid var(--line);
  }

  .official-hero {
    min-height: 360px;
    background-image: url("amanda-chen-official.jpg");
  }

  .two-col,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .check-grid,
  .bilingual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .profile-intro {
    padding-top: 48px;
  }

  h1 {
    font-size: 32px;
  }

  .subtitle {
    font-size: 20px;
  }

  .wechat-block {
    align-items: flex-start;
  }
}
