:root {
  --bg: #09111f;
  --bg-soft: #101a2d;
  --panel: rgba(14, 24, 42, 0.82);
  --panel-strong: #13203a;
  --text: #edf2ff;
  --muted: #a8b4cb;
  --line: rgba(255, 255, 255, 0.1);
  --gold: #c59a51;
  --gold-soft: #e8d1a2;
  --blue: #2f4d8e;
  --blue-soft: #6383cb;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(88, 123, 196, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(197, 154, 81, 0.16), transparent 30%),
    linear-gradient(180deg, #07101d 0%, #0c1628 40%, #08111e 100%);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 1.04rem;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
}

.site-header {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(7, 16, 29, 0.92) 0%, rgba(7, 16, 29, 0.78) 48%, rgba(7, 16, 29, 0.46) 100%),
    url("./assets/hero.jpg") center/cover no-repeat;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, #08111e);
}

.topbar,
.hero,
.section-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-cn {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
}

.brand-en {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.88);
}

.nav a {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 10px 16px;
  font: inherit;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  padding: 8vh 0 14vh;
}

.eyebrow,
.section-tag,
.role,
.card-label {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
}

.hero h1,
.section-heading h2,
.showcase-copy h2,
.quote-panel blockquote,
.contact-grid h2 {
  font-family: "Noto Serif SC", serif;
}

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.18rem, 4.45vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.06em;
}

.hero-line {
  display: block;
}

.hero-emphasis {
  display: inline-block;
  margin: 0 0.08em 0 0;
  font-size: 1.14em;
  line-height: 0.92;
  font-weight: 800;
  color: var(--gold-soft);
  text-shadow:
    0 0 24px rgba(197, 154, 81, 0.16),
    0 10px 30px rgba(0, 0, 0, 0.24);
  transform: translateY(0.04em);
}

.hero-text,
.section-heading p,
.intro-grid p,
.practice-card p,
.team-copy p,
.showcase-copy p,
.values-list p,
.contact-grid p,
.contact-card dd,
.hero-card p {
  color: var(--muted);
  line-height: 1.95;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #08111e;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 10px 26px rgba(197, 154, 81, 0.22);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-card,
.glass-card,
.practice-card,
.seo-card,
.answer-summary,
.faq-item,
.team-card,
.quote-panel,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 26px;
  border-radius: 28px;
}

.hero-card h2 {
  margin: 10px 0 12px;
  font-size: 2rem;
  line-height: 1.28;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  padding: 20px 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 2rem;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 96px 0;
}

.intro-strip {
  padding-top: 46px;
}

.intro-grid,
.about-grid,
.showcase-grid,
.values-layout,
.contact-grid {
  display: grid;
  gap: 30px;
}

.intro-grid,
.about-grid,
.showcase-grid,
.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  max-width: none;
}

.split-heading > p {
  max-width: 420px;
}

.section-heading h2,
.showcase-copy h2,
.contact-grid h2 {
  margin: 12px 0 14px;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.2;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.glass-card {
  padding: 28px;
  border-radius: 24px;
}

.glass-card h3,
.practice-card h3,
.team-copy h3,
.values-list h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
  line-height: 1.35;
}

.practice-section {
  background:
    linear-gradient(180deg, rgba(19, 32, 58, 0.34), rgba(9, 17, 31, 0)),
    linear-gradient(90deg, rgba(197, 154, 81, 0.08), transparent 40%);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.seo-section {
  background:
    linear-gradient(180deg, rgba(47, 77, 142, 0.16), rgba(9, 17, 31, 0)),
    linear-gradient(90deg, rgba(197, 154, 81, 0.06), transparent 48%);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.practice-card {
  padding: 28px;
  border-radius: 26px;
}

.seo-card,
.faq-item {
  padding: 26px;
  border-radius: 24px;
}

.seo-card h3,
.answer-summary h3,
.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  line-height: 1.35;
}

.answer-summary {
  margin-top: 22px;
  padding: 28px;
  border-radius: 26px;
}

.answer-summary p:last-child,
.seo-card p,
.faq-item p {
  margin-bottom: 0;
  font-size: 1rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.practice-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 18px;
  color: #08111e;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  font-weight: 800;
}

.practice-card p,
.team-copy p,
.contact-card dd,
.values-list p,
.glass-card p {
  font-size: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.team-card {
  overflow: hidden;
  border-radius: 26px;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card.featured {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  min-height: 520px;
}

.team-card img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.team-photo-link {
  display: block;
  overflow: hidden;
}

.team-card:not(.featured) .team-photo-link {
  height: auto;
  aspect-ratio: 4 / 5;
}

.team-card.featured .team-photo-link {
  height: 100%;
}

.team-photo-link img {
  width: 100%;
  height: 100%;
  object-position: center top;
  transition: transform 0.25s ease;
}

.team-photo-link:hover img {
  transform: scale(1.02);
}

.team-copy {
  padding: 24px;
}

.team-card:not(.featured) .team-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 258px;
}

.team-card.featured .team-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-card:not(.featured) .team-copy p:not(.role) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.team-card:not(.featured) .team-copy p:not(.role) + p:not(.role) {
  display: none;
}

.team-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.team-card:not(.featured) .team-link {
  margin-top: auto;
}

.team-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.team-link:hover::after {
  transform: translateX(4px);
}

.showcase-grid {
  align-items: center;
}

.showcase-collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}

.showcase-collage img {
  min-height: 220px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.showcase-collage img:first-child {
  grid-row: span 2;
  min-height: 460px;
}

.values-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.quote-panel {
  padding: 34px;
  border-radius: 28px;
}

.quote-panel blockquote {
  margin: 12px 0 22px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.36;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.values-list article {
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}

.contact-card {
  padding: 28px;
  border-radius: 28px;
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-card dt {
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-weight: 700;
}

.contact-card dd {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(6, 10, 19, 0.86);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 26px 0;
}

.inner-page {
  min-height: 100vh;
}

.sub-hero {
  position: relative;
  padding: 42px 0 72px;
  background:
    linear-gradient(110deg, rgba(7, 16, 29, 0.95), rgba(12, 22, 40, 0.82)),
    url("./assets/group.jpg") center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, #08111e);
}

.sub-hero .section-shell {
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 28px;
}

.back-link::before {
  content: "←";
}

.sub-hero-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 30px;
  align-items: center;
}

.portrait-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  height: 100%;
  max-height: 620px;
  object-fit: cover;
}

.sub-hero-copy .section-tag {
  margin-bottom: 10px;
}

.sub-hero-copy h1 {
  margin: 0 0 18px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.12;
}

.sub-hero-copy h1 span {
  display: block;
  margin-top: 10px;
  color: var(--gold-soft);
  font-size: 0.44em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sub-hero-copy p {
  max-width: 720px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
}

.profile-main,
.info-card,
.detail-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.profile-main,
.detail-card {
  padding: 30px;
}

.profile-main h2,
.detail-card h2 {
  margin: 0 0 14px;
  font-family: "Noto Serif SC", serif;
  font-size: 2rem;
}

.profile-main p,
.detail-card p,
.timeline-list li,
.info-card li {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1rem;
}

.detail-stack {
  display: grid;
  gap: 22px;
}

.info-card {
  padding: 26px;
}

.info-card h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.info-card ul,
.timeline-list,
.tag-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-card li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info-card li:last-child {
  border-bottom: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list li {
  padding: 8px 14px;
  border: 1px solid rgba(197, 154, 81, 0.24);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(197, 154, 81, 0.08);
  font-size: 0.94rem;
}

.timeline-list li {
  position: relative;
  padding: 0 0 18px 18px;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 154, 81, 0.12);
}

@media (max-width: 1080px) {
  html {
    font-size: 15px;
  }

  .hero,
  .intro-grid,
  .about-grid,
  .showcase-grid,
  .values-layout,
  .contact-grid,
  .team-card.featured,
  .sub-hero-grid,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card,
  .team-card.featured {
    grid-column: span 6;
  }

  .portrait-frame img {
    max-height: 520px;
  }

  .hero {
    gap: 28px;
    padding-top: 6vh;
  }

  .section {
    padding: 84px 0;
  }
}

@media (max-width: 820px) {
  html {
    font-size: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    z-index: 20;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(8, 17, 30, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding-top: 5vh;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 7.2vw, 3.7rem);
  }

  .hero-emphasis {
    font-size: 1.1em;
  }

  .hero-stats,
  .about-cards,
  .seo-grid,
  .practice-grid,
  .faq-grid,
  .values-list,
  .showcase-collage {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card,
  .team-card.featured {
    grid-column: auto;
  }

  .showcase-collage img:first-child {
    min-height: 280px;
  }

  .section-heading h2,
  .showcase-copy h2,
  .contact-grid h2 {
    font-size: clamp(2.1rem, 7vw, 3rem);
  }

  .sub-hero-copy h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
}

@media (max-width: 560px) {
  html {
    font-size: 13px;
  }

  .topbar,
  .hero,
  .section-shell {
    width: min(var(--max), calc(100% - 22px));
  }

  .section {
    padding: 72px 0;
  }

  .topbar {
    gap: 14px;
    padding: 16px 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    padding: 5px;
    border-radius: 14px;
  }

  .brand-cn {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.78rem, 7vw, 2.6rem);
  }

  .hero-title {
    gap: 0.12em;
  }

  .hero-emphasis {
    font-size: 1.06em;
  }

  .hero-text,
  .section-heading p,
  .intro-grid p,
  .seo-card p,
  .answer-summary p,
  .faq-item p,
  .practice-card p,
  .team-copy p,
  .showcase-copy p,
  .values-list p,
  .contact-grid p,
  .contact-card dd,
  .hero-card p {
    font-size: 0.98rem;
  }

  .hero-card,
  .glass-card,
  .seo-card,
  .answer-summary,
  .faq-item,
  .practice-card,
  .quote-panel,
  .contact-card,
  .team-copy {
    padding: 22px;
  }

  .hero-stats li {
    padding: 16px 12px;
  }

  .hero-stats strong {
    font-size: 1.7rem;
  }
}
