:root {
  --accent: #d96c2a;
  --accent-soft: #f2b885;
  --surface: #171311;
  --surface-soft: #241b18;
  --surface-float: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6eee9;
  --muted: rgba(246, 238, 233, 0.72);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(217, 108, 42, 0.18), transparent 42%),
    linear-gradient(180deg, #0f0d0e 0%, var(--surface) 40%, #0e0d10 100%);
  font-family: "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

.cluster-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(14, 13, 16, 0.76);
  border-bottom: 1px solid var(--line);
}

.topbar__inner,
.hero,
.section,
.footer {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.topbar__actions {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.topbar__tools {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__name {
  font-family: "Source Han Serif SC", "Noto Serif SC", "STSong", serif;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 1px;
}

.brand__tagline,
.meta-note,
.article-meta,
.card__meta,
.footer__meta {
  color: var(--muted);
  font-size: 14px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav a,
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.search-form {
  display: flex;
  flex: 1 1 360px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.search-field {
  min-width: min(100%, 320px);
  flex: 1 1 320px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.search-field::placeholder {
  color: rgba(246, 238, 233, 0.5);
}

.search-form button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #110d0b;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.search-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(242, 184, 133, 0.28);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(242, 184, 133, 0.08);
}

.phone-pill strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.phone-pill__label {
  color: var(--muted);
  font-size: 13px;
}

.nav a:hover,
.chip:hover,
.card:hover,
.panel:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: stretch;
  padding: 48px 0 18px;
}

.hero__main,
.hero__aside,
.panel,
.article-layout__content,
.article-layout__side,
.card,
.stat,
.footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__main,
.hero__aside,
.panel,
.article-layout__content,
.article-layout__side,
.card,
.stat {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.01);
  border-radius: 28px;
  overflow: hidden;
}

.hero__main {
  position: relative;
  min-height: 420px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  background: var(--hero-image, linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02))) center/cover no-repeat;
}

.hero__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.74));
  z-index: 1;
}

.hero__main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(217, 108, 42, 0.35) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  max-width: min(720px, 100%);
}

.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-carousel-fade var(--hero-carousel-duration, 20s) infinite;
  animation-delay: var(--hero-carousel-delay, 0s);
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.04) contrast(1.02);
}

.hero__carousel-top {
  position: absolute;
  inset: 20px 20px auto 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero__carousel-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(14, 11, 10, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  letter-spacing: 0.08em;
}

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

.hero__carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  opacity: 0.28;
  animation: hero-carousel-dot var(--hero-carousel-duration, 20s) infinite;
  animation-delay: var(--hero-carousel-delay, 0s);
}

@keyframes hero-carousel-fade {
  0%,
  18% {
    opacity: 1;
  }

  24%,
  100% {
    opacity: 0;
  }
}

@keyframes hero-carousel-dot {
  0%,
  18% {
    opacity: 1;
    transform: scale(1);
  }

  24%,
  100% {
    opacity: 0.28;
    transform: scale(0.82);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #171311;
  background: linear-gradient(90deg, var(--accent-soft), #fff2dd);
}

.hero h1,
.page-hero h1,
.article-head h1 {
  margin: 18px 0 12px;
  font-family: "Source Han Serif SC", "Noto Serif SC", "STSong", serif;
  line-height: 1.1;
  font-size: clamp(34px, 5vw, 62px);
}

.hero p,
.page-hero p,
.article-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
  font-size: 17px;
}

.hero__aside {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}

.stat-grid,
.card-grid,
.landing-grid,
.link-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.stat {
  padding: 20px;
}

.stat__value {
  display: block;
  margin-top: 14px;
  font-size: 30px;
  font-weight: 700;
}

.section {
  padding: 20px 0 32px;
}

.section__head,
.page-hero,
.article-head {
  margin-bottom: 18px;
}

.section__head h2,
.page-hero h1,
.article-head h1 {
  margin-bottom: 8px;
}

.section__head p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

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

.landing-grid,
.link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
}

.card__media {
  aspect-ratio: 16 / 10;
  background: #0f0d0e;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
}

.card h3,
.panel h3,
.article-layout__side h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.card p,
.panel p,
.article-layout__side p,
.link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.meta-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
}

.cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  border-radius: 999px;
  padding: 12px 16px;
  color: #110d0b;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

.panel {
  padding: 24px;
}

.search-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-form--page {
  flex: 0 0 auto;
  width: 100%;
  justify-content: flex-start;
}

.search-form--page .search-field {
  flex: 1 1 520px;
}

.search-results-meta {
  margin: 0;
}

.search-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 24px;
  padding: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.page-hero,
.article-head {
  padding: 26px 0 10px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.article-layout__content {
  padding: 28px;
}

.article-layout__side {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.article-cover {
  margin: 18px 0 28px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.article-body {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.9;
}

.article-body p,
.article-body li {
  margin: 0 0 1em;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 1.2em 0 0.6em;
  font-family: "Source Han Serif SC", "Noto Serif SC", "STSong", serif;
}

.article-body img {
  margin: 18px 0;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.footer {
  margin-top: 42px;
  margin-bottom: 36px;
  padding: 24px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}

.footer h3 {
  margin-top: 0;
}

.link-card {
  border-radius: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

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

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

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

  .article-layout__side {
    position: static;
  }
}

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

  .topbar__actions,
  .topbar__tools,
  .nav {
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
  }

  .search-form {
    width: 100%;
  }

  .search-field {
    min-width: 0;
    width: 100%;
  }

  .phone-pill {
    width: 100%;
    justify-content: space-between;
  }

  .hero__main,
  .hero__aside,
  .panel,
  .article-layout__content,
  .article-layout__side,
  .footer {
    border-radius: 22px;
  }

  .hero__main,
  .hero__aside,
  .panel,
  .article-layout__content,
  .article-layout__side {
    padding: 22px;
  }

  .stat-grid,
  .card-grid,
  .landing-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero__main {
    min-height: 360px;
  }

  .hero__carousel-top {
    inset: 18px 18px auto 18px;
  }
}
