:root {
  --ink: #17211f;
  --muted: #5f6f68;
  --line: #d8dfd8;
  --paper: #fbfcf8;
  --soft: #eef4ed;
  --green: #184d47;
  --green-2: #26766b;
  --gold: #f0b43c;
  --red: #b53b31;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 33, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(216, 223, 216, 0.9);
  background: rgba(251, 252, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.brand-text {
  overflow: hidden;
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  background: var(--soft);
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(24, 77, 71, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(240, 180, 60, 0.16), transparent 46%),
    var(--paper);
}

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

.hero-logo {
  width: clamp(82px, 10vw, 118px);
  height: clamp(82px, 10vw, 118px);
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(42px, 7vw, 86px);
}

.intro,
.section-heading p,
.page-hero p,
.profile-summary,
.member-summary {
  color: var(--muted);
  font-size: 17px;
}

.intro {
  max-width: 820px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.5);
  color: var(--green);
}

.hero-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.panel-title {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
}

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

.stat-item {
  min-height: 112px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--soft);
}

.stat-number {
  display: block;
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: clamp(52px, 7vw, 90px) clamp(20px, 6vw, 84px);
}

.band {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

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

.section-heading h2,
.page-hero h1,
.profile-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
}

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

.member-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.member-card:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 118, 107, 0.5);
  box-shadow: var(--shadow);
}

.member-avatar {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: var(--soft);
}

.member-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
}

.member-content h2,
.member-content h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.member-role {
  margin: 0 0 8px;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 900;
}

.member-summary {
  margin: 0 0 14px;
  font-size: 15px;
}

.honor-list,
.project-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.honor-list li,
.project-list li {
  position: relative;
  padding-left: 18px;
  color: #33423e;
}

.honor-list li::before,
.project-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.honor-list.compact {
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
}

.text-link {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
}

.text-link::after,
.back-link::before {
  display: inline-block;
}

.text-link::after {
  margin-left: 6px;
  content: ">";
}

.page-hero,
.profile-hero {
  padding: clamp(48px, 8vw, 92px) clamp(20px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

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

.profile-hero {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 760px);
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
}

.profile-avatar {
  width: min(240px, 100%);
  aspect-ratio: 1;
  border: 8px solid var(--white);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 900;
}

.back-link::before {
  margin-right: 6px;
  content: "<";
}

.profile-summary {
  max-width: 720px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  padding: clamp(42px, 6vw, 82px) clamp(20px, 6vw, 84px);
}

.profile-section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.profile-section h2 {
  margin-bottom: 20px;
  font-size: 26px;
}

.profile-section.accent {
  background: #fff8e8;
}

blockquote {
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(181, 59, 49, 0.25);
  color: var(--red);
  font-weight: 900;
}

.prose {
  max-width: 760px;
}

.site-footer {
  padding: 28px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #17211f;
}

.site-footer div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.78);
}

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

@media (max-width: 920px) {
  .hero,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 40px;
  }

  .stat-grid,
  .member-grid,
  .profile-hero {
    grid-template-columns: 1fr;
  }

  .profile-avatar {
    width: 160px;
  }
}
