:root {
  --ink: #141615;
  --soft-ink: #3d433f;
  --muted: #6b756e;
  --paper: #f8f4ec;
  --white: #ffffff;
  --line: rgba(20, 22, 21, 0.14);
  --deep: #111614;
  --forest: #0c5f4b;
  --jade: #17a679;
  --gold: #c9953d;
  --red: #c84635;
  --mist: #e8efe7;
  --shadow: 0 24px 80px rgba(10, 24, 18, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "Noto Sans SC", "PingFang SC", sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(248, 244, 236, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(12, 22, 18, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  font-size: 11px;
  opacity: 0.78;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 14px;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
}

.nav-maintenance {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: var(--forest);
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.ghost-action,
.secondary-action,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ghost-action {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.primary-action {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.secondary-action {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--white);
}

.primary-action:hover,
.secondary-action:hover,
.ghost-action:hover {
  transform: translateY(-2px);
}

.site-header.is-scrolled .secondary-action,
.site-header.nav-open .secondary-action {
  border-color: var(--line);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 96vh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 12, 11, 0.88), rgba(9, 12, 11, 0.58) 44%, rgba(9, 12, 11, 0.18)),
    linear-gradient(0deg, rgba(9, 12, 11, 0.62), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 110px);
  padding-top: 90px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  margin-bottom: 22px;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(48px, 7.2vw, 110px);
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(32px, 4.3vw, 58px);
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.6vw, 20px);
}

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

.platform-strip {
  margin-top: 28px;
}

.platform-strip span {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 7px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.hero-metrics {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 clamp(18px, 4vw, 56px) 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(17, 22, 20, 0.52);
  backdrop-filter: blur(16px);
}

.hero-metrics article {
  padding: 22px clamp(16px, 3vw, 32px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-metrics article:last-child {
  border-right: 0;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.1;
}

.hero-metrics span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.ticker-band {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--deep);
  color: var(--white);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.ticker-track span {
  padding: 18px 36px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 36px;
}

.section-heading h2 {
  max-width: 860px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1290px;
  margin: 0 auto;
}

.split-copy {
  max-width: 760px;
}

.belief-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.belief-card {
  min-height: 260px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
}

.belief-card:last-child {
  border-right: 0;
}

.belief-number {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
}

.belief-card p,
.service-item p,
.service-lead p,
.case-card p,
.contact-copy p,
.process-card p {
  color: var(--muted);
}

.service-section {
  background: var(--mist);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-lead {
  padding: 34px;
  background: var(--deep);
  color: var(--white);
}

.service-lead span {
  color: var(--gold);
  font-weight: 800;
}

.service-lead p {
  color: rgba(255, 255, 255, 0.74);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.service-item {
  min-height: 220px;
  padding: 30px;
  background: var(--paper);
}

.honor-section,
.brand-section {
  background: var(--paper);
}

.honor-shell {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 16px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.carousel-arrow {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(20, 22, 21, 0.08);
}

.honor-carousel {
  overflow: hidden;
}

.honor-track {
  display: flex;
  gap: 18px;
  transition: transform 0.45s ease;
}

.honor-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(20, 22, 21, 0.08);
}

.honor-card img,
.case-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.honor-card-content {
  padding: 20px;
}

.honor-card-content p {
  margin-bottom: 0;
  color: var(--muted);
}

.case-preview-section {
  background: var(--deep);
  color: var(--white);
}

.case-preview-section .section-kicker,
.case-preview-section .inline-link {
  color: var(--gold);
}

.case-preview-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.case-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.case-preview-section .case-card {
  background: #f6f0e6;
}

.case-thumb {
  position: relative;
  min-height: 230px;
  background:
    linear-gradient(135deg, rgba(12, 95, 75, 0.92), rgba(201, 149, 61, 0.8)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 18px);
}

.case-placeholder {
  display: grid;
  height: 230px;
  place-items: center;
  padding: 22px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 900;
  text-align: center;
}

.case-category {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(17, 22, 20, 0.82);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.case-body {
  padding: 22px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.metric {
  padding: 12px;
  background: var(--mist);
}

.metric span,
.metric strong {
  display: block;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
  margin-top: 4px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.inline-link {
  color: var(--forest);
  font-weight: 800;
  white-space: nowrap;
}

.brand-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
}

.brand-logo-card {
  display: grid;
  min-height: 126px;
  place-items: center;
  padding: 22px;
  background: var(--white);
  text-align: center;
}

.brand-logo-card img {
  max-width: 140px;
  max-height: 72px;
  object-fit: contain;
}

.brand-logo-card span {
  color: var(--soft-ink);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--mist);
}

.contact-copy {
  max-width: 760px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--deep);
  color: var(--white);
}

label {
  display: grid;
  gap: 8px;
  color: inherit;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23, 166, 121, 0.16);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  background: #0b0f0d;
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(28px, 5vw, 72px);
  min-height: 76vh;
  padding: 150px clamp(18px, 4vw, 56px) 72px;
  align-items: end;
  background:
    linear-gradient(135deg, rgba(17, 22, 20, 0.92), rgba(12, 95, 75, 0.74)),
    radial-gradient(circle at 80% 12%, rgba(201, 149, 61, 0.42), transparent 34%),
    var(--deep);
  color: var(--white);
}

.case-hero-copy {
  max-width: 790px;
}

.case-hero-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.case-stat-panel {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-stat-panel article {
  padding: 24px;
  background: rgba(17, 22, 20, 0.7);
}

.case-stat-panel strong,
.case-stat-panel span {
  display: block;
}

.case-stat-panel strong {
  color: var(--gold);
  font-size: 28px;
}

.case-stat-panel span {
  color: rgba(255, 255, 255, 0.74);
}

.cases-board {
  background: var(--paper);
}

.case-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-pills button,
.studio-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.filter-pills button.is-active,
.studio-tab.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.process-section {
  background: var(--deep);
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.16);
}

.process-card {
  min-height: 250px;
  padding: 28px;
  background: #151d19;
}

.process-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
}

.studio {
  width: min(980px, calc(100vw - 28px));
  max-height: min(860px, calc(100vh - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.studio::backdrop {
  background: rgba(7, 10, 9, 0.62);
  backdrop-filter: blur(8px);
}

.studio-shell {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--paper);
}

.studio-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.studio-head h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.close-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.studio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.studio-panel {
  display: none;
  gap: 16px;
}

.studio-panel.is-active {
  display: grid;
}

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

.upload-box {
  display: grid;
  min-height: 84px;
  place-items: center;
  border: 1px dashed rgba(12, 95, 75, 0.42);
  border-radius: var(--radius);
  background: rgba(23, 166, 121, 0.08);
  text-align: center;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-box span {
  color: var(--forest);
  font-weight: 900;
}

.studio-list {
  display: grid;
  gap: 10px;
  max-height: 230px;
  overflow: auto;
  padding-right: 4px;
}

.studio-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.studio-row img {
  width: 64px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--mist);
}

.studio-row strong,
.studio-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-row span {
  color: var(--muted);
  font-size: 13px;
}

.delete-button {
  min-height: 36px;
  border: 1px solid rgba(200, 70, 53, 0.32);
  border-radius: var(--radius);
  background: rgba(200, 70, 53, 0.08);
  color: var(--red);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    grid-column: 1 / -1;
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 18px 50px rgba(20, 22, 21, 0.12);
  }

  .site-header.nav-open .main-nav {
    display: grid;
    gap: 10px;
    justify-content: stretch;
  }

  .nav-maintenance {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .ghost-action {
    display: none;
  }

  .hero-content {
    margin-left: 18px;
  }

  .hero-metrics,
  .belief-grid,
  .service-layout,
  .case-preview-grid,
  .case-grid,
  .brand-wall,
  .contact-section,
  .case-hero,
  .case-toolbar,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .service-layout,
  .contact-section,
  .case-hero,
  .case-toolbar {
    gap: 22px;
  }

  .belief-card:nth-child(2) {
    border-right: 0;
  }

  .belief-card:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .service-list,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .honor-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 900px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 12, 11, 0.9), rgba(9, 12, 11, 0.56)),
      linear-gradient(0deg, rgba(9, 12, 11, 0.74), transparent 44%);
  }

  .hero-actions,
  .platform-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics,
  .belief-grid,
  .service-layout,
  .case-preview-grid,
  .case-grid,
  .brand-wall,
  .contact-section,
  .case-hero,
  .case-toolbar,
  .process-grid,
  .form-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics article,
  .belief-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .belief-card {
    border-bottom-color: var(--line);
  }

  .belief-card:last-child {
    grid-column: auto;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .honor-shell {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    display: none;
  }

  .honor-card {
    flex-basis: 100%;
  }

  .site-footer {
    display: grid;
  }

  .filter-pills {
    justify-content: flex-start;
  }

  .studio-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .studio-row .delete-button {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
