:root {
  --bg: #0a0c10;
  --bg-elevated: #12151c;
  --bg-card: #181c26;
  --text: #eef1f6;
  --text-muted: #9aa3b2;
  --accent: #5eead4;
  --accent-2: #818cf8;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: min(1440px, calc(100% - 4rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 12, 16, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-header__inner,
.site-footer__inner,
.hero__inner,
.trademark-bar__inner,
.category-hub,
.works-section,
.page-content,
.single-work,
.archive-hero {
  width: var(--container);
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.site-brand__mark {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

.site-brand__tag {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item a {
  color: var(--accent);
}

.site-main {
  flex: 1;
  padding-bottom: 4rem;
}

.hero {
  position: relative;
  padding: 5rem 0 3rem;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 420px;
  background: radial-gradient(circle at 30% 40%, rgba(94, 234, 212, 0.18), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(129, 140, 248, 0.16), transparent 50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
}

.hero__eyebrow,
.archive-hero__eyebrow,
.single-work__eyebrow {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

.hero__title,
.archive-hero__title,
.page-content__title,
.single-work__title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
}

.hero__lead,
.archive-hero__desc {
  max-width: 920px;
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #081018;
}

.btn--ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.trademark-bar {
  padding: 0 0 1.5rem;
}

.trademark-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trademark-chip {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.trademark-chip:hover {
  border-color: rgba(94, 234, 212, 0.35);
  transform: translateY(-1px);
}

.trademark-chip__class {
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.trademark-chip__name {
  font-size: 1.05rem;
  font-weight: 600;
}

.category-card__class {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.12);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 600;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.category-hub,
.works-section {
  padding: 2rem 0 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.category-card:hover {
  border-color: rgba(94, 234, 212, 0.35);
  transform: translateY(-2px);
}

.category-card__icon {
  font-size: 2rem;
}

.category-card__title {
  margin: 0.75rem 0 0.5rem;
}

.category-card__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.category-card__cta {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.9rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.work-card:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.35);
}

.work-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}

.work-card__image,
.work-card__video,
.work-card__placeholder,
.single-work__image,
.single-work__video,
.single-work__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card__placeholder,
.single-work__placeholder {
  min-height: 320px;
}

.work-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-card__body {
  padding: 1rem;
}

.work-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.work-card__note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.works-empty {
  grid-column: 1 / -1;
  color: var(--text-muted);
}

.archive-hero,
.page-content,
.single-work {
  padding: 3rem 0 1rem;
}

.single-work__media {
  margin: 1.5rem auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.single-work__content,
.page-content__body {
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: auto;
}

.site-footer__brand {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.site-footer__note,
.site-footer__copy {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.navigation.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

@media (max-width: 960px) {
  :root {
    --container: min(100%, calc(100% - 2rem));
  }

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

@media (max-width: 720px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }
}
