:root {
  --accent: #ee6305;
  --accent-dark: #b94b04;
  --text: #161616;
  --muted: #666a70;
  --line: #e6e3df;
  --soft: #f7f5f2;
  --surface: #ffffff;
  --surface-warm: #fbfaf8;
  --shadow: 0 18px 42px rgba(25, 22, 18, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background: var(--surface-warm);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(230, 227, 223, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 12px;
  height: 28px;
  background: var(--accent);
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: #34363a;
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 24px 0;
}

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

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

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  overflow: hidden;
  color: #fff;
  background: #171411;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(0.94);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 12, 10, 0.78), rgba(14, 12, 10, 0.38) 48%, rgba(14, 12, 10, 0.2)),
    linear-gradient(0deg, rgba(14, 12, 10, 0.58), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: 96px clamp(20px, 5vw, 48px) 116px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-slogan {
  width: fit-content;
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.primary-link {
  color: #fff;
  background: var(--accent);
}

.primary-link:hover,
.primary-link:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.secondary-link:hover,
.secondary-link:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.hero-meta {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 96px;
  z-index: 2;
  display: grid;
  gap: 4px;
  width: min(360px, calc(100vw - 40px));
  padding-top: 18px;
  border-top: 2px solid var(--accent);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.hero-meta span:first-child {
  color: #fff;
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 36px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-controls button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.hero-controls button:hover,
.hero-controls button:focus-visible {
  border-color: #fff;
  background: rgba(238, 99, 5, 0.78);
}

.slide-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-dots button {
  width: 28px;
  height: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.42);
}

.slide-dots button.is-active {
  background: var(--accent);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px clamp(20px, 5vw, 48px);
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
}

.section-heading h2,
.library-content h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.stat-item {
  display: grid;
  gap: 4px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item strong {
  color: var(--accent);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.stat-item span {
  color: var(--muted);
  font-size: 14px;
}

.directory-section {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  background: var(--surface);
}

.directory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.search-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.search-panel label {
  font-weight: 800;
}

.search-panel input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: #fff;
  outline: none;
}

.search-panel input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(238, 99, 5, 0.12);
}

.group-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.group-filters button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #3f4145;
  background: #fff;
  cursor: pointer;
}

.group-filters button.is-active {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(238, 99, 5, 0.08);
}

.result-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.member-list {
  border-top: 1px solid var(--line);
}

.member-inline-profile {
  display: none;
}

.member-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 18px;
  width: 100%;
  min-height: 86px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.member-row:hover,
.member-row:focus-visible,
.member-row.is-selected {
  outline: none;
  background: linear-gradient(90deg, rgba(238, 99, 5, 0.08), transparent 48%);
}

.member-name {
  display: grid;
  gap: 2px;
}

.member-name strong {
  font-size: 18px;
}

.member-name span,
.member-company,
.member-news {
  color: var(--muted);
  font-size: 13px;
}

.member-company {
  align-self: center;
}

.member-news {
  align-self: center;
  justify-self: end;
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.profile-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-warm);
}

.profile-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-panel h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.18;
}

.profile-role {
  margin: 12px 0 0;
  color: #34363a;
}

.inline-role {
  margin: 0 0 18px;
  color: #34363a;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}

.tag-row span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.news-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.news-list a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: #24262a;
}

.news-list a span {
  display: block;
  margin-top: 4px;
  color: var(--accent-dark);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.empty-news {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.album-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}

.album-item {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #1c1a18;
  cursor: pointer;
}

.album-item:first-child {
  min-height: 390px;
  grid-row: span 2;
}

.album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.96);
  transition: transform 260ms ease;
}

.album-item:hover img,
.album-item:focus-visible img {
  transform: scale(1.03);
}

.album-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
  font-size: 14px;
}

.album-caption span:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.future-album {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  border: 1px dashed #d6d0c8;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
}

.future-album > span {
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.future-album strong {
  color: var(--text);
}

.future-album p {
  margin: 2px 0 0;
}

.library-section {
  max-width: none;
  padding: 40px 0 0;
  background: var(--text);
}

.library-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 48px);
  color: #fff;
}

.library-content p:not(.section-kicker) {
  max-width: 580px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

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

  .site-header {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    padding: 8px 0 10px;
  }

  .nav-links a::after {
    bottom: 4px;
  }

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    justify-content: flex-start;
    padding-top: 104px;
    padding-bottom: 220px;
  }

  .hero-slide img {
    object-position: center center;
  }

  .hero-meta {
    right: auto;
    bottom: 92px;
    left: clamp(20px, 5vw, 48px);
  }

  .hero-controls {
    right: auto;
    left: clamp(20px, 5vw, 48px);
  }

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

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .directory-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profile-panel {
    position: static;
  }

  .profile-panel {
    display: none;
  }

  .member-row.is-selected {
    border-bottom-color: transparent;
  }

  .member-inline-profile {
    display: block;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--line);
  }

  .member-inline-profile .news-list {
    margin-top: 8px;
  }

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

  .album-item:first-child,
  .album-item {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-mark {
    width: 10px;
    height: 24px;
  }

  .nav-links {
    gap: 18px;
    font-size: 13px;
  }

  .nav-links a {
    padding: 8px 0 10px;
  }

  .nav-links a::after {
    bottom: 3px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-media {
    position: relative;
    inset: auto;
    flex: none;
    width: 100%;
    height: min(75vw, 430px);
    background: #171411;
  }

  .hero-slide img {
    object-fit: contain;
  }

  .hero-shade {
    inset: 0 0 auto;
    height: min(75vw, 430px);
    background: linear-gradient(0deg, rgba(23, 20, 17, 0.72), rgba(23, 20, 17, 0.08) 58%);
  }

  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding-top: 34px;
    padding-bottom: 196px;
  }

  .hero h1 {
    max-width: 9em;
    font-size: 38px;
  }

  .hero-slogan {
    padding-left: 12px;
    font-size: 22px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .primary-link,
  .secondary-link {
    min-height: 42px;
    padding: 0 16px;
  }

  .hero-meta {
    bottom: 82px;
    width: calc(100vw - 40px);
  }

  .hero-controls {
    bottom: 28px;
    gap: 10px;
  }

  .hero-controls button {
    width: 36px;
    height: 36px;
  }

  .slide-dots button {
    width: 22px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .stat-item,
  .stat-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .result-meta,
  .library-content,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .member-row {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 16px 0;
  }

  .member-news {
    justify-self: start;
  }

  .profile-panel {
    padding: 22px;
  }

  .profile-panel h3 {
    font-size: 28px;
  }

  .album-item:first-child,
  .album-item {
    min-height: 220px;
  }

  .album-caption {
    align-items: flex-end;
    padding: 14px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero-slogan {
    font-size: 20px;
  }

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding-bottom: 176px;
  }

  .stats-grid,
  .profile-panel,
  .future-album {
    border-radius: 0;
  }
}
