@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Oswald:wght@400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --ink: #1a1a1a;
  --ink-muted: #666666;
  --ink-light: #999999;
  --line: #e8e8e8;
  --accent: #c8102e;
  --accent-soft: #e11d3a;
  --footer: #1c1f2a;
  --footer-text: #b8bcc8;
  --max: 1400px;
  --header-h: 110px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

ul {
  list-style: none;
}

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

/* Top bar */
.topbar {
  background: #111318;
  color: #cfd2da;
  font-size: 13px;
  height: 42px;
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar strong {
  color: #fff;
  font-weight: 500;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.site-header .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.04em;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--accent);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: #0b0d14;
}

.hero-slider {
  position: relative;
  height: clamp(360px, 42vw, 560px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-slide-link {
  display: block;
  position: absolute;
  inset: 0;
  color: inherit;
  text-decoration: none;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  max-width: min(720px, 78%);
  pointer-events: none;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.hero-slide.is-active .hero-caption {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.25s;
}

.hero-caption--left {
  left: clamp(24px, 8vw, 120px);
  text-align: left;
}

.hero-caption--center {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-caption--right {
  right: clamp(24px, 8vw, 120px);
  left: auto;
  text-align: right;
}

.hero-eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 18px;
  padding-top: 14px;
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.12em;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.4;
}

.hero-eyebrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: #7ac143;
}

.hero-caption--center .hero-eyebrow::before {
  left: 50%;
  transform: translateX(-50%);
}

.hero-caption--right .hero-eyebrow::before {
  left: auto;
  right: 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.hero-title-line {
  display: block;
}

.hero-foot {
  margin: 22px 0 0;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.92;
  line-height: 1.5;
}

.hero-pager {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}

.hero-pager button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-pager button.is-active {
  background: #fff;
}

/* 进站提示 */
.entry-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 14, 20, 0.72);
  backdrop-filter: blur(4px);
}

.entry-mask[hidden] {
  display: none !important;
}

.entry-panel {
  width: min(100%, 420px);
  background: #fff;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.entry-panel h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}

.entry-panel .wx {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin: 8px 0 20px;
  user-select: all;
}

.entry-panel p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.85;
  text-align: left;
}

.entry-panel p + p {
  margin-top: 10px;
}

.entry-panel .warn {
  color: #a30f24;
  font-weight: 500;
}

.entry-panel .btn {
  margin-top: 26px;
  min-width: 160px;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.entry-panel .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.page-hero {
  position: relative;
  height: clamp(280px, 28vw, 420px);
  overflow: hidden;
  background: #111;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-light);
  padding: 14px 0;
}

.breadcrumb .container {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span.sep {
  opacity: 0.5;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.section-title.en {
  font-family: 'Oswald', 'Noto Sans SC', sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-sub {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 16px;
  max-width: 820px;
  line-height: 1.8;
}

.detail-title-en {
  margin: 8px 0 0;
  max-width: 920px;
  font-family: 'Noto Sans SC', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--ink-muted);
}

.case-detail-main,
.article-main {
  max-width: 920px;
  margin-left: 0;
  margin-right: auto;
  width: 100%;
}

.case-detail-main .about-copy,
.article-main .about-copy {
  max-width: none;
  font-size: 15px;
  line-height: 2;
}

.news-cover-row {
  display: grid;
  grid-template-columns: 1fr;
}

.news-cover-thumb {
  aspect-ratio: 16 / 9;
}

.red-line {
  width: 36px;
  height: 3px;
  background: var(--accent);
  margin: 20px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 42px;
  padding: 0 22px;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-dark:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Intro */
.intro-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.intro-row .section-sub {
  margin-top: 18px;
}

/* Category tabs */
.tabs-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  margin: 40px 0 28px;
  border-bottom: 1px solid var(--line);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 0;
  flex: 1;
  min-width: 0;
}

.tabs-aside {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.tabs a,
.tabs button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 6px 0;
  position: relative;
}

.tabs a:hover,
.tabs a.is-active,
.tabs button:hover,
.tabs button.is-active {
  color: var(--accent);
}

.tabs a.is-active::after,
.tabs button.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -17px;
  height: 2px;
  background: var(--accent);
}

/* Grids */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.case-item {
  display: block;
}

.case-item .thumb {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eee;
}

.case-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.case-item:hover .thumb img {
  transform: scale(1.06);
}

.video-card {
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.video-thumb {
  position: relative;
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(180, 35, 24, 0.92);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.video-play::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 18px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.video-card:hover .video-play {
  background: #9b1c1c;
}

.video-mask {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
}

.video-mask[hidden] {
  display: none !important;
}

.video-panel {
  position: relative;
  width: min(960px, 100%);
  background: #000;
}

.video-panel video,
.video-panel iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.video-panel .video-close {
  position: absolute;
  top: -40px;
  right: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.video-panel .video-ext {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.case-item h3 {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.25s;
}

.case-item:hover h3 {
  color: var(--accent);
}

.case-item.is-hidden {
  display: none !important;
}

.case-item p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-light);
}

.more-wrap {
  margin-top: 48px;
  text-align: center;
}

/* Industry */
.news-item h3 {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}

.news-item:hover h3 {
  color: var(--accent);
}

.news-item p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-light);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-cols {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.link-cols h4 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--ink);
}

.link-cols h4 span {
  color: var(--ink-light);
  margin-left: 4px;
}

.link-cols li + li {
  margin-top: 10px;
}

.link-cols a {
  font-size: 14px;
  color: var(--ink-muted);
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-cols a:hover {
  color: var(--accent);
}

/* About page */
.about-hero-title {
  margin-bottom: 8px;
}

.about-copy {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 2;
  text-align: justify;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-copy.rich-content img,
.rich-content img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

/* 单图默认通栏；多图并排时保持编辑器设定的宽度 */
.about-copy.rich-content p > img:only-child,
.rich-content p > img:only-child {
  display: block;
  margin: 28px auto;
}

.about-copy.rich-content img[style*="width"],
.rich-content img[style*="width"],
.about-copy.rich-content img[style*="float"],
.rich-content img[style*="float"] {
  display: inline-block;
  margin: 12px 0.5%;
}

.about-copy.rich-content::after,
.rich-content::after {
  content: '';
  display: table;
  clear: both;
}

.about-copy.rich-content span[style],
.rich-content span[style] {
  line-height: inherit;
}

.about-copy.rich-content ul,
.about-copy.rich-content ol {
  margin: 12px 0 12px 1.2em;
  padding: 0;
}

.about-copy.rich-content li + li {
  margin-top: 6px;
}

.about-copy p.lead-mark::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
}

.quote-block {
  padding: 64px 0;
  text-align: center;
}

.quote-block p {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.8;
  max-width: 920px;
  margin: 0 auto 36px;
  letter-spacing: 0.04em;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
  margin-top: 40px;
}

.value-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.value-item h4::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex-shrink: 0;
}

.value-item p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.9;
}

/* Case detail */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 28px 0 8px;
  color: var(--ink-light);
  font-size: 14px;
}

.meta-grid strong {
  display: block;
  color: var(--ink-muted);
  font-weight: 400;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* 新闻详情：分类与标签同一排 */
.meta-grid-news {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 48px;
  align-items: start;
}

.meta-grid-news .meta-item-full {
  min-width: 0;
}

.meta-grid .meta-value {
  display: block;
  min-width: 0;
  color: var(--ink-light);
}

.meta-grid .meta-value-clip {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-gallery {
  margin-top: 40px;
  display: grid;
  gap: 28px;
}

.detail-gallery .gallery-grid-row {
  gap: 20px;
}

.detail-gallery .thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eee;
}

.detail-gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.detail-gallery a:hover img {
  transform: scale(1.04);
}

.detail-gallery .more-tag {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #ddd;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.gallery-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px 36px;
  align-items: center;
}

.gallery-split-media .thumb {
  aspect-ratio: 4 / 3;
}

.gallery-split-copy {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 2;
}

.gallery-split-copy.rich-content strong,
.gallery-dual-copy.rich-content strong,
.gallery-split-copy.rich-content b,
.gallery-dual-copy.rich-content b {
  color: var(--ink);
  font-weight: 700;
}

.gallery-split-copy p + p {
  margin-top: 14px;
}

.gallery-dual {
  display: grid;
  gap: 18px;
}

.gallery-dual-copy {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 2;
  max-width: 920px;
}

.gallery-dual-copy p + p {
  margin-top: 12px;
}

/* Contact / Join */
.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-list dt {
  font-size: 13px;
  color: var(--ink-light);
  margin-top: 22px;
  letter-spacing: 0.08em;
}

.contact-list dd {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #999;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.join-list {
  display: grid;
  gap: 20px;
}

.join-card {
  border: 1px solid var(--line);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  transition: border-color 0.3s;
}

.join-card:hover {
  border-color: #bbb;
}

.join-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.join-card p {
  color: var(--ink-muted);
  font-size: 14px;
}

.join-card .btn {
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.hr-email-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hr-email-mask[hidden] {
  display: none !important;
}

.hr-email-panel {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.hr-email-panel h2 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}

.hr-email-panel > p {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
}

.hr-email-box {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 16px 12px;
  background: #f7f7f7;
  border: 1px solid #eee;
  word-break: break-all;
  color: #1a1a1a;
}

.hr-email-tip {
  margin-top: 14px;
  color: #1a7f37;
  font-size: 13px;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 22px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
}

.footer-brand a:hover {
  color: #fff;
}

.site-footer h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 18px;
}

.site-footer li + li {
  margin-top: 10px;
}

.site-footer nav a {
  font-size: 13px;
  color: var(--footer-text);
}

.site-footer nav a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  font-size: 12px;
  color: #7d8290;
  text-align: center;
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 1em;
}

.footer-bottom a.footer-beian {
  color: #7d8290;
  text-decoration: none;
  white-space: nowrap;
}

.footer-bottom a.footer-beian:hover {
  color: #fff;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .meta-grid-news {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .gallery-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-split-media .thumb {
    aspect-ratio: 16 / 10;
  }

  .nav {
    position: absolute;
    top: calc(42px + var(--header-h));
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-row,
  .contact-panel,
  .grid-2,
  .grid-3,
  .values,
  .join-card {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
  }

  .breadcrumb .container {
    justify-content: flex-start;
  }

  .topbar {
    height: auto;
    min-height: 0;
    padding: 8px 0;
    font-size: 12px;
    line-height: 1.45;
  }

  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }

  .topbar .container > span {
    display: block;
    width: 100%;
  }

  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-sub {
    font-size: 14px;
    line-height: 1.85;
  }

  /* 分类标签：沿用设计稿底部横线风格，手机端可横向滑动 */
  .tabs-row {
    margin: 28px 0 24px;
    gap: 12px;
    align-items: center;
  }

  .tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0 22px;
    margin: 0;
    padding: 0 0 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 0;
  }

  .tabs-aside {
    padding-bottom: 14px;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tabs a,
  .tabs button {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.3;
    padding: 8px 0;
    border: 0;
    background: none;
    color: var(--ink-muted);
    white-space: nowrap;
    position: relative;
  }

  .tabs a.is-active,
  .tabs button.is-active,
  .tabs a:hover,
  .tabs button:hover {
    color: var(--accent);
    border-color: transparent;
    background: none;
  }

  .tabs a.is-active::after,
  .tabs button.is-active::after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -15px;
    height: 2px;
    background: var(--accent);
  }

  /* 手机轮播加高，保证叠字完整显示 */
  .hero {
    overflow: hidden;
  }

  .hero-slider {
    height: clamp(280px, 58vw, 420px) !important;
    min-height: 280px !important;
    max-height: none !important;
    aspect-ratio: auto;
  }

  .hero-slide {
    background: #0b0d14;
  }

  .hero-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .hero-caption {
    top: 50%;
    transform: translateY(-50%);
    max-width: 88%;
    padding: 8px 0 28px;
    box-sizing: border-box;
  }

  .hero-caption--left {
    left: 20px;
  }

  .hero-caption--center {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero-caption--right {
    right: 20px;
  }

  .hero-title {
    font-size: clamp(20px, 5.8vw, 28px);
    letter-spacing: 0.05em;
    line-height: 1.4;
  }

  .hero-eyebrow,
  .hero-foot {
    font-size: 12px;
  }

  .hero-eyebrow {
    margin-bottom: 10px;
    padding-top: 12px;
  }

  .hero-foot {
    margin-top: 12px;
  }

  .hero-pager {
    bottom: 14px;
  }

  .page-hero {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto;
    line-height: 0;
  }

  .page-hero img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    aspect-ratio: 1920 / 544;
    object-fit: cover !important;
    object-position: left center !important;
    display: block;
  }
}

@media (max-width: 560px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-header .container {
    height: 80px;
  }

  :root {
    --header-h: 80px;
  }

  .logo img {
    height: 44px;
  }

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

  .topbar {
    height: auto;
    min-height: 0;
    padding: 8px 0;
    font-size: 12px;
    line-height: 1.45;
  }

  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }

  .topbar .container > span {
    display: block;
    width: 100%;
  }

  .hero-slider {
    height: clamp(300px, 72vw, 440px) !important;
    min-height: 300px !important;
  }

  .hero-caption {
    max-width: 90%;
    padding: 6px 0 32px;
  }

  .hero-caption--left {
    left: 16px;
  }

  .hero-caption--right {
    right: 16px;
  }

  .hero-title {
    font-size: clamp(18px, 5.4vw, 24px);
  }

  .hero-eyebrow,
  .hero-foot {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .hero-pager {
    bottom: 12px;
  }

  .hero-pager button {
    width: 8px;
    height: 8px;
  }
}
