﻿:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-soft: #fbfaf7;
  --line: #e7e0d5;
  --line-strong: #d6cfc2;
  --text: #202020;
  --muted: #726b62;
  --yellow: #f3c626;
  --yellow-soft: #fff5c8;
  --purple: #7c53e6;
  --shadow: 0 12px 28px rgba(67, 54, 22, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.site-header {
  width: min(1180px, calc(100% - 30px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 2px 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8f65ff, #6c42e8);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 10px 20px rgba(124, 83, 230, 0.25);
}
.brand-title { font-size: 1.02rem; font-weight: 900; line-height: 1.05; }
.brand-subtitle { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: .95rem;
}
.top-nav a { color: #3e3b36; }
.top-nav a.active { font-weight: 800; }

.page-shell {
  width: min(1180px, calc(100% - 30px));
  margin: 8px auto 46px;
}



.team-strip { margin-top: 6px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.team-item {
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  padding: 10px 8px 8px;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
  text-align: center;
  min-height: 132px;
}
.team-item:hover { transform: translateY(-2px); opacity: 1; }
.team-icon {
  width: 100%;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(180deg, #efefef, #d5d5d5);
  display: grid;
  place-items: center;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  padding: 0px;
}
.team-icon .team-logo,
.profile-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: filter .2s ease, transform .2s ease, opacity .2s ease;
}
.team-item.active .team-icon {
  background: linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow: 0 14px 24px rgba(214, 156, 25, 0.22);
}
.team-item:hover .team-icon {
  background: linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow: 0 14px 24px rgba(214, 156, 25, 0.18);
}
.team-item.inactive { opacity: .68; }
.team-item.inactive:hover { opacity: 1; }
.team-item.inactive .team-icon {
  background: linear-gradient(180deg, #dcdcdc, #bdbdbd);
}
.team-item.inactive:hover .team-icon {
  background: linear-gradient(180deg, var(--c1), var(--c2));
}
.team-item.inactive .team-logo {
  filter: grayscale(1) brightness(.92);
}
.team-item.inactive:hover .team-logo,
.team-item:hover .team-logo,
.team-item.active:hover .team-logo {
  filter: none;
}
.team-name {
  margin-top: 10px;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.22;
}
.team-sub {
  margin-top: 4px;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.2;
}
.team-item.active .team-name { color: #222; }
.team-item.active .team-sub { color: #5f5a4f; }

.profile-panel {
  margin-top: 12px;
  padding: 22px 18px 18px;
  border-top: 1px solid transparent;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}
.profile-copy h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.15;
}
#teamIntro {
  margin: 14px 0 0;
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.85;
  color: #4c4a45;
}

.members-block { margin-top: 12px; }
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
a.member-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.member-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
  padding: 12px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.member-card:hover {
  transform: translateY(-2px);
  border-color: #e8c733;
  box-shadow: 0 14px 28px rgba(243, 198, 38, 0.18);
}
.member-photo {
  position: relative;
  aspect-ratio: 3 / 3;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 24% 24%, rgba(255,255,255,.95), transparent 28%),
    linear-gradient(180deg, rgba(253, 248, 237, 0.98), rgba(241, 232, 216, 0.98));
  display: grid;
  place-items: center;
  padding: 0;
}
.member-photo.has-image {`r`n  background: #ffffff;`r`n}
.member-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}
.member-photo .avatar {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 4rem;
  color: rgba(49, 42, 11, 0.28);
  font-weight: 900;
}
.member-body {
  padding: 12px 0 0;
  background: transparent;
}
.member-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.member-name {
  font-size: 1.06rem;
  font-weight: 900;
  color: #222;
}
.member-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  font-size: .82rem;
  color: #555;
  white-space: nowrap;
}
.member-grid-lines {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.stat {
  border: 1px solid #dbdbdb;
  border-radius: 12px;
  min-height: 48px;
  padding: 8px 10px 7px;
  background: #ffffff;
}
.member-card:hover .member-body {
  background: transparent;
}
.member-card:hover .member-number {
  background: #f8d63a;
  border-color: #e8bf00;
  color: #4d3c00;
}
.member-card:hover .stat {
  background: #f4d02e;
  border-color: #f0c300;
}
.member-card:hover .stat-label { color: rgba(90, 67, 0, .7); }
.stat-label {
  display: block;
  font-size: .74rem;
  color: #79746b;
}
.stat-value {
  display: block;
  margin-top: 4px;
  font-size: .9rem;
  font-weight: 800;
  color: #28251f;
}

.foot-notes { height: 1px; overflow: hidden; }

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .top-nav { gap: 14px; }
  .team-grid, .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .team-grid, .member-grid { grid-template-columns: 1fr; }
}














.nav-group {
  position: relative;
}
.nav-trigger {
  border: 0;
  background: transparent;
  font: inherit;
  color: #3e3b36;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-trigger .caret { font-size: .7rem; transform: translateY(-1px); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 170px;
  padding: 8px;
  border: 1px solid #e7e0d5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(67, 54, 22, 0.11);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 30;
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown { display: flex; }
.nav-dropdown a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #3b362d;
  font-size: .92rem;
}
.nav-dropdown a:hover { background: #f6f3ec; }
.nav-dropdown a.active { background: #f1f1f1; font-weight: 800; }
