:root {
  color-scheme: light;
  --ink: #172023;
  --muted: #687477;
  --line: #dfe6e3;
  --paper: #f8f7f2;
  --white: #ffffff;
  --deep: #102326;
  --teal: #1f6d68;
  --gold: #b58a43;
  --gold-soft: #f0e4cf;
  --shadow: 0 18px 45px rgba(17, 35, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(16, 35, 38, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--deep);
  background: var(--gold-soft);
  border: 1px solid rgba(181, 138, 67, 0.35);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  font-size: 15px;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.84);
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 35, 38, 0.92) 0%, rgba(16, 35, 38, 0.68) 44%, rgba(16, 35, 38, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 35, 38, 0.78) 0%, rgba(16, 35, 38, 0) 46%);
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 150px 18px 11vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button.primary {
  color: var(--deep);
  background: var(--gold-soft);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.section {
  padding: clamp(68px, 9vw, 118px) 0;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.intro-band {
  padding: 28px 0;
  color: var(--white);
  background: var(--deep);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.stats-grid div {
  min-height: 116px;
  padding: 26px;
  background: var(--deep);
}

.stats-grid span {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.stats-grid p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.35fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.split.reverse {
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.35fr);
}

.section-heading {
  position: sticky;
  top: 104px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.content-block {
  color: #334044;
  font-size: 17px;
}

.content-block p {
  margin: 0 0 20px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.service-list span,
.logo-panel span {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.muted {
  background: #eef2ef;
}

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

.person-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.portrait {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--teal);
  font-family: Georgia, serif;
  font-size: 31px;
}

.person-card h3,
.school-list h3,
.case-list h3,
.event-timeline h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

.person-card p {
  color: var(--muted);
}

.person-card .role {
  margin: 8px 0 16px;
  color: var(--gold);
  font-weight: 700;
}

.logo-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.logo-panel span {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #314044;
  font-weight: 700;
  text-align: center;
}

.school-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.school-list article {
  padding-top: 18px;
  border-top: 3px solid var(--gold);
}

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

.case-list article {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.case-list time {
  color: var(--gold);
  font-weight: 700;
}

.case-list p {
  color: var(--muted);
}

.case-list a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 700;
}

.accent {
  color: var(--white);
  background: var(--deep);
}

.accent .section-heading h2 {
  color: var(--white);
}

.event-timeline {
  display: grid;
  gap: 18px;
}

.event-timeline article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.event-timeline span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.event-timeline p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #081719;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: 34px;
}

.footer-brand {
  color: var(--white);
}

address {
  font-style: normal;
}

address span,
.site-footer strong {
  display: block;
}

.site-footer strong {
  margin-bottom: 12px;
  color: var(--white);
}

.site-footer p {
  margin: 12px 0 0;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(16, 35, 38, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav a {
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding-top: 118px;
  }

  .split,
  .split.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .people-grid,
  .case-list,
  .school-list {
    grid-template-columns: 1fr;
  }

  .logo-panel,
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 70px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 11px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 35, 38, 0.94) 0%, rgba(16, 35, 38, 0.66) 100%),
      linear-gradient(0deg, rgba(16, 35, 38, 0.76) 0%, rgba(16, 35, 38, 0) 50%);
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.16;
  }

  .hero-content {
    max-width: 390px;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-copy {
    max-width: 330px;
  }

  .hero-copy,
  .content-block {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

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

  .stats-grid div {
    min-height: auto;
  }

  .logo-panel,
  .service-list {
    grid-template-columns: 1fr;
  }

  .person-card,
  .case-list article {
    padding: 22px;
  }

  .event-timeline article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }
}
