:root {
  --ink: #1d2327;
  --muted: #63706d;
  --paper: #fff8e8;
  --paper-2: #f4ecd7;
  --mint: #8bd7c4;
  --mint-dark: #2c7c72;
  --coral: #f47d6b;
  --coral-soft: #ffd2c8;
  --blue: #6a98d8;
  --blue-soft: #d9e8ff;
  --line: #1d2327;
  --shadow: 6px 6px 0 #1d2327;
  --shadow-small: 4px 4px 0 #1d2327;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
  background:
    linear-gradient(90deg, rgba(29, 35, 39, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(29, 35, 39, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 3px solid var(--line);
  background: rgba(255, 248, 232, 0.94);
  backdrop-filter: blur(10px);
}

.nav {
  width: min(100% - 32px, var(--max));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 3px solid var(--line);
  background: var(--mint);
  box-shadow: var(--shadow-small);
  font-weight: 900;
}

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

.nav-links a {
  padding: 9px 12px;
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--line);
  background: #fff;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 3px solid var(--line);
  background: var(--coral);
  color: var(--ink);
  box-shadow: var(--shadow-small);
  font-weight: 900;
  cursor: pointer;
}

.nav-cta:hover,
.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--line);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}

.button.secondary {
  background: #fff;
}

.button.mint {
  background: var(--mint);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 168px);
  padding: 42px 0 32px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 10px;
  border: 2px solid var(--line);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--coral);
  border: 2px solid var(--line);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.28;
}

.lead {
  max-width: 660px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.inline-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-card {
  position: relative;
  border: 4px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center 25%;
  image-rendering: auto;
}

.hero-note {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 4px solid var(--line);
  background: var(--paper-2);
}

.hero-note span {
  min-height: 78px;
  padding: 12px;
  display: grid;
  align-content: center;
  border-right: 3px solid var(--line);
  font-size: 14px;
  font-weight: 900;
}

.hero-note span:last-child {
  border-right: 0;
}

.section {
  padding: 72px 0;
}

.section.alt {
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  background: rgba(217, 232, 255, 0.55);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-header p {
  max-width: 560px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.pixel-card {
  min-height: 100%;
  padding: 22px;
  border: 3px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-small);
}

.pixel-card.tint-mint {
  background: #e9fff7;
}

.pixel-card.tint-coral {
  background: #fff0ec;
}

.pixel-card.tint-blue {
  background: #eff6ff;
}

.pixel-card p,
.timeline p,
.note p {
  color: var(--muted);
}

.media-panel {
  border: 4px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-panel img {
  width: 100%;
  object-fit: cover;
}

.media-panel.profile img {
  aspect-ratio: 4 / 5;
  object-position: top center;
}

.media-panel.wide img {
  aspect-ratio: 16 / 10;
}

.caption {
  padding: 12px 14px;
  border-top: 3px solid var(--line);
  background: var(--paper-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.proof-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.proof-list li {
  padding: 10px 12px;
  border: 2px solid var(--line);
  background: #fff;
  font-weight: 800;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  padding: 12px;
  border: 2px solid var(--line);
  background: #fff;
}

.mini-list strong {
  display: block;
  margin-bottom: 4px;
}

.risk-note {
  color: var(--muted);
  font-size: 14px;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 8px;
  border: 2px solid var(--line);
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 800;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 3px solid var(--line);
  background: #fff;
}

.service-index {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  background: var(--mint);
  font-weight: 900;
}

.checker {
  border: 3px solid var(--line);
  background:
    linear-gradient(45deg, rgba(244, 125, 107, 0.35) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(244, 125, 107, 0.35) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(106, 152, 216, 0.35) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(106, 152, 216, 0.35) 75%),
    #fff;
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}

.case-preview {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 20px;
  font-weight: 900;
  text-align: center;
}

.case-gallery {
  align-items: start;
}

.case-card {
  padding: 0;
  overflow: hidden;
}

.case-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
  border-bottom: 3px solid var(--line);
  cursor: zoom-in;
  transition: transform 160ms ease, filter 160ms ease;
}

.case-card:hover .case-photo,
.case-photo:focus-visible {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.01);
}

.case-photo:focus-visible {
  outline: 4px solid var(--coral);
  outline-offset: -4px;
}

.case-photo.wide {
  aspect-ratio: 6 / 5;
}

.case-card-body {
  padding: 18px;
}

.case-card-body p {
  color: var(--muted);
}

.case-gallery.compact .case-card-body {
  min-height: 150px;
}

.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 86px;
  background: rgba(10, 13, 15, 0.88);
}

.image-lightbox.is-open {
  display: flex;
}

.lightbox-frame {
  width: min(100%, 1120px);
  margin: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 146px);
  border: 4px solid #fff8e8;
  background: #fff;
  box-shadow: 8px 8px 0 #000;
  object-fit: contain;
}

.lightbox-caption {
  max-width: min(100%, 900px);
  padding: 8px 12px;
  border: 3px solid #fff8e8;
  background: var(--ink);
  color: #fff8e8;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 1001;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 3px solid #fff8e8;
  background: var(--coral);
  color: var(--ink);
  box-shadow: 4px 4px 0 #000;
  font: 900 34px/1 Arial, sans-serif;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #000;
  outline: 0;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translate(2px, calc(-50% + 2px));
  box-shadow: 2px 2px 0 #000;
  outline: 0;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.video-grid {
  align-items: start;
}

.video-card {
  padding: 0;
  overflow: hidden;
}

.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  border-bottom: 3px solid var(--line);
  background: #050505;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
  padding: 0;
}

.trust-list li {
  list-style: none;
  padding: 12px;
  border: 3px solid var(--line);
  background: #fff7c6;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 3px solid var(--line);
  background: #fff;
}

.timeline-day {
  display: grid;
  place-items: center;
  min-height: 70px;
  border: 3px solid var(--line);
  background: var(--blue-soft);
  font-weight: 900;
  text-align: center;
}

.cta-band {
  padding: 42px;
  border: 4px solid var(--line);
  background: var(--mint);
  box-shadow: var(--shadow);
}

.cta-band .lead {
  color: #24433d;
}

.wechat-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 20px;
  padding: 12px;
  border: 3px solid var(--line);
  background: #fff;
  font-weight: 900;
}

.copy-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--mint-dark);
  font-weight: 800;
}

.wechat-qr {
  width: min(220px, 100%);
  margin: 12px 0 0;
  padding: 10px;
  border: 3px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-small);
}

.wechat-qr img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.wechat-qr figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.page-hero {
  padding: 70px 0 40px;
  border-bottom: 3px solid var(--line);
  background: rgba(139, 215, 196, 0.35);
}

.not-found-hero {
  min-height: calc(100vh - 220px);
  display: grid;
  align-items: center;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.note {
  padding: 18px;
  border: 3px solid var(--line);
  background: #fff7c6;
}

.category-grid .pixel-card,
.article-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.category-card {
  min-height: 210px;
}

.article-count {
  width: fit-content;
  padding: 4px 9px;
  border: 2px solid var(--line);
  background: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.article-thumb {
  display: block;
  margin: -22px -22px 0;
  border-bottom: 3px solid var(--line);
  background: #fff;
}

.article-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-thumb {
  display: block;
  margin: -22px -22px 2px;
  border-bottom: 3px solid var(--line);
  background: #fff;
}

.project-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-card-body {
  display: grid;
  gap: 8px;
}

.article-card h3 a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.article-meta span {
  padding: 3px 8px;
  border: 2px solid var(--line);
  background: var(--paper-2);
}

.article-hero h1 {
  max-width: 920px;
}

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

.article-main {
  padding: 0;
  overflow: hidden;
}

.article-cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-bottom: 3px solid var(--line);
  background: #fff;
}

.article-content {
  padding: 28px;
}

.article-content h2 {
  margin-top: 28px;
  font-size: clamp(24px, 3vw, 34px);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin-top: 22px;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 17px;
}

.article-content ul {
  display: grid;
  gap: 8px;
  padding-left: 1.2em;
}

.article-content blockquote {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 6px solid var(--mint-deep);
  background: var(--paper-2);
  color: var(--muted);
  font-weight: 800;
}

.article-inline-media {
  margin: 24px 0;
}

.article-inline-media img {
  width: 100%;
  border: 3px solid var(--line);
  background: #fff;
}

.article-media-block {
  margin-top: 30px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 3px solid var(--line);
  background: var(--paper-2);
}

.faq-item summary {
  min-height: 52px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 900;
}

.faq-item summary::marker {
  color: var(--coral);
}

.faq-answer {
  padding: 0 16px 16px;
  border-top: 2px solid var(--line);
  background: #fff;
}

.faq-answer p {
  margin: 12px 0 0;
}

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

.article-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 3px solid var(--line);
  background: #fff;
}

.honor-gallery {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.honor-gallery img {
  object-fit: contain;
  padding: 8px;
}

.article-video-grid {
  display: grid;
  gap: 14px;
}

.article-video {
  width: 100%;
  max-height: 520px;
  border: 3px solid var(--line);
  background: #111;
}

.article-disclaimer {
  margin: 0 28px 28px;
  padding: 14px;
  border: 3px solid var(--line);
  background: #fff7c6;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.article-aside {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 92px;
}

.wechat-box.compact {
  align-items: stretch;
}

.aside-links {
  display: grid;
  gap: 10px;
}

.aside-links a {
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.cms-empty {
  color: var(--muted);
  font-weight: 900;
}

.site-footer {
  padding: 34px 0;
  border-top: 3px solid var(--line);
  background: var(--ink);
  color: #fff8e8;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
}

.footer-grid p {
  color: #d7dccf;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.footer-links a {
  color: #fff8e8;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.legal {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 248, 232, 0.3);
  color: #d7dccf;
  font-size: 13px;
  display: grid;
  gap: 10px;
}

.legal a {
  color: #fff8e8;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.legal-note {
  display: block;
}

.legal-records {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.police-beian {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  vertical-align: middle;
}

.police-beian img {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
    padding: 26px 0 18px;
  }

  .hero-grid,
  .grid.three,
  .grid.two,
  .grid.four,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-card img {
    aspect-ratio: 16 / 8;
  }

  .hero-note {
    display: none;
  }

  .timeline-item,
  .service-item {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 24px;
  }

  .nav-cta,
  .button {
    width: 100%;
  }

  .article-gallery {
    grid-template-columns: 1fr;
  }

  .wechat-qr {
    width: 100%;
  }

  .image-lightbox {
    padding: 66px 12px 88px;
  }

  .lightbox-image {
    max-height: calc(100vh - 198px);
    border-width: 3px;
    box-shadow: 5px 5px 0 #000;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 48px;
    height: 48px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-prev {
    left: 18px;
  }

  .lightbox-next {
    right: 18px;
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: translate(2px, 2px);
  }
}
