:root {
  --ink: #101828;
  --ink-2: #263445;
  --muted: #667085;
  --line: #d7e6f4;
  --paper: #ffffff;
  --soft: #f2f8fe;
  --brand-blue: #0877bd;
  --brand-blue-2: #1397dc;
  --brand-blue-3: #63bce9;
  --deep-blue: #075287;
  --teal: var(--brand-blue);
  --teal-2: var(--brand-blue-2);
  --gold: #f0a33a;
  --red: #b94141;
  --shadow: 0 18px 45px rgba(8, 119, 189, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Segoe UI",
    Arial,
    sans-serif;
  background: var(--paper);
  line-height: 1.65;
}

body.motion-active .site-header {
  animation: masHeaderIn 520ms ease-out both;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header,
.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  border-bottom: 1px solid rgba(216, 222, 232, 0.7);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  display: block;
  width: 340px;
  height: 88px;
  object-fit: contain;
}

.site-header .brand {
  min-width: 340px;
}

.site-header {
  min-height: 96px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  clip-path: polygon(50% 2%, 98% 92%, 76% 92%, 50% 42%, 24% 92%, 2% 92%);
  color: white;
  background: linear-gradient(135deg, var(--brand-blue-3), var(--brand-blue));
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.15;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

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

.nav-group {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  min-width: 144px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  background: white;
  box-shadow: var(--shadow);
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  display: grid;
  gap: 2px;
}

.nav-menu a {
  white-space: nowrap;
}

.main-nav a,
.tab-button {
  border: 0;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav a.active,
.tab-button:hover,
.tab-button.active {
  color: var(--brand-blue);
  background: rgba(8, 119, 189, 0.08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: center;
  padding: 84px 6vw 72px;
  color: var(--ink);
  overflow: hidden;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 40%, rgba(255, 255, 255, 0.78) 54%, rgba(255, 255, 255, 0.1) 72%),
    url("../images/hero-industrial-planning.png") center right / cover no-repeat;
}

body.motion-active .hero {
  animation: masHeroIn 820ms ease-out both;
}

.hero::after {
  content: "";
  position: absolute;
  top: 72px;
  right: 5vw;
  bottom: 72px;
  width: min(34vw, 560px);
  background:
    linear-gradient(135deg, rgba(8, 119, 189, 0.95) 0 14px, transparent 14px),
    linear-gradient(315deg, rgba(8, 119, 189, 0.9) 0 14px, transparent 14px),
    linear-gradient(45deg, transparent 0 62%, rgba(8, 119, 189, 0.18) 62% 63.6%, transparent 63.6% 100%);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  border: 2px solid rgba(8, 119, 189, 0.62);
  opacity: 0.42;
  pointer-events: none;
}

body.motion-active .hero::after {
  animation: masPanelIn 900ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero::before {
  content: "";
  position: absolute;
  right: min(38vw, 620px);
  bottom: 9vh;
  width: 132px;
  aspect-ratio: 1;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, rgba(8, 119, 189, 0.86), rgba(99, 188, 233, 0.55));
  opacity: 0.3;
  pointer-events: none;
}

body.motion-active .hero::before {
  animation: masTriangleIn 980ms 120ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(790px, 52vw);
  padding: 18px 24px 20px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9) 78%, transparent);
}

body.motion-active .hero-content > * {
  animation: masFadeUp 920ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

body.motion-active .hero-content > :nth-child(1) {
  animation-delay: 90ms;
}

body.motion-active .hero-content > :nth-child(2) {
  animation-delay: 180ms;
}

body.motion-active .hero-content > :nth-child(3) {
  animation-delay: 280ms;
}

body.motion-active .hero-content > :nth-child(4) {
  animation-delay: 380ms;
}

.section-kicker,
.eyebrow {
  color: var(--teal-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--brand-blue);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 18px;
  color: var(--brand-blue);
  font-size: clamp(42px, 5.2vw, 68px);
  max-width: 9.8em;
}

.hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 18px;
}

.hero-actions,
.section-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  padding: 10px 16px;
  color: white;
  background: var(--teal);
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.32) 48%, transparent 62% 100%);
  transform: translateX(-120%);
  transition: transform 560ms ease;
  pointer-events: none;
}

.button:hover {
  background: var(--deep-blue);
  box-shadow: 0 12px 28px rgba(8, 119, 189, 0.2);
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(120%);
}

.button.secondary {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: white;
}

.button.ghost {
  color: var(--teal);
  background: white;
}

.section {
  padding: 82px 6vw;
}

.section.alt {
  background: var(--soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.section-head p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: white;
}

.metric::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 720ms ease;
}

.metric.is-visible::after {
  transform: scaleX(1);
}

.metric strong {
  display: block;
  color: var(--brand-blue);
  font-size: 34px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
}

.about-grid {
  display: block;
}

.highlight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight-list li,
.feature-pill {
  border-left: 3px solid var(--gold);
  padding: 16px 18px;
  background: white;
  box-shadow: 0 1px 0 var(--line);
}

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: white;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, transparent 0 48%, rgba(8, 119, 189, 0.1) 48%);
  pointer-events: none;
  transition:
    width 260ms ease,
    height 260ms ease,
    background 260ms ease;
}

.card:hover {
  border-color: rgba(8, 119, 189, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card:hover::before {
  width: 94px;
  height: 94px;
  background: linear-gradient(135deg, transparent 0 48%, rgba(8, 119, 189, 0.16) 48%);
}

.card-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 30px;
  margin-bottom: 12px;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  color: white;
  background: var(--brand-blue);
  font-size: 13px;
  font-weight: 800;
}

.card small {
  color: var(--gold);
  font-weight: 700;
}

.card h3 {
  margin-top: 8px;
  font-size: 21px;
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--deep-blue);
  background: rgba(8, 119, 189, 0.09);
  font-size: 13px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.split-band > * {
  padding: 32px;
  background: white;
}

.split-band h3 {
  max-width: 13em;
}

.split-band .muted {
  max-width: 24em;
}

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

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.insight-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.insight-card:hover {
  border-color: rgba(8, 119, 189, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.insight-card-media {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  padding: 34px;
  color: white;
  background:
    linear-gradient(120deg, rgba(3, 54, 107, 0.96), rgba(8, 119, 189, 0.88)),
    url("../images/hero-industrial-planning.png") center / cover no-repeat;
}

.insight-card-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.insight-card-media.has-image {
  background-position: center;
  background-size: cover;
}

.insight-cover-brand {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 12px;
  font-weight: 700;
}

.insight-card-media strong {
  position: relative;
  z-index: 1;
  max-width: 18em;
  font-size: 24px;
  line-height: 1.45;
}

.insight-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 24px;
}

.insight-card-body time {
  margin-bottom: 10px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.insight-card-title {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}

.insight-card-summary {
  display: -webkit-box;
  margin-top: 12px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.insight-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--brand-blue);
  font-weight: 700;
}

.insight-card-link span {
  font-size: 20px;
  transition: transform 180ms ease;
}

.insight-card:hover .insight-card-link span {
  transform: translateX(4px);
}

.archive-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.archive-search {
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 13px;
  color: var(--ink);
  background: white;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pager-button {
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-2);
  background: white;
  cursor: pointer;
}

.pager-button:hover,
.pager-button.active {
  border-color: var(--brand-blue);
  color: white;
  background: var(--brand-blue);
}

.case-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.case-visual {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(8, 119, 189, 0.12)),
    url("../images/industry-cases.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

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

.case-list .card {
  min-height: auto;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.logo-wall img {
  width: 100%;
  height: 74px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
  filter: saturate(0.88);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease,
    transform 220ms ease;
}

.logo-wall img:hover {
  border-color: rgba(8, 119, 189, 0.36);
  box-shadow: 0 12px 28px rgba(8, 119, 189, 0.12);
  filter: saturate(1.06);
  transform: translateY(-3px) scale(1.015);
}

.honor-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.honor-gallery figure {
  display: grid;
  place-items: center;
  min-height: 150px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
}

.honor-gallery img {
  max-width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.news-row {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: white;
  overflow: hidden;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.news-row:has(.news-thumb) {
  grid-template-columns: 180px 120px 1fr;
  align-items: center;
}

.news-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(8, 119, 189, 0.12);
}

.news-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand-blue);
  opacity: 0.72;
}

.news-row:hover {
  border-color: rgba(8, 119, 189, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.news-row time {
  color: var(--brand-blue);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.contact {
  color: white;
  background: linear-gradient(90deg, rgba(8, 119, 189, 0.98), rgba(19, 151, 220, 0.92));
}

.contact .section-kicker,
.contact .muted,
.contact-info {
  color: rgba(255, 255, 255, 0.86);
}

.contact-info {
  display: grid;
  gap: 12px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-info p {
  margin: 0;
}

.contact-info span {
  color: rgba(255, 255, 255, 0.92);
}

.contact-qr {
  width: min(188px, 100%);
  margin: 6px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 12px;
  background: white;
  box-shadow: 0 18px 36px rgba(0, 55, 95, 0.18);
}

.contact-qr img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.contact-qr figcaption {
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 42px;
}

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

.contact-form input,
.contact-form textarea,
.field,
.select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
}

.contact-form input,
.contact-form textarea {
  border-color: rgba(255, 255, 255, 0.72);
}

.contact-form textarea,
.field.textarea {
  min-height: 116px;
  resize: vertical;
}

.form-error {
  margin: 0;
  border: 1px solid rgba(185, 65, 65, 0.32);
  border-radius: 6px;
  padding: 10px 12px;
  color: #8f2424;
  background: #fff4f4;
}

.form-error[data-type="success"] {
  border-color: rgba(32, 128, 76, 0.35);
  color: #17633a;
  background: #f1fbf5;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 6vw;
  color: rgba(255, 255, 255, 0.75);
  background: #063d68;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: min(260px, 44vw);
  padding: 8px 14px;
  border-radius: 6px;
  background: white;
}

.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.detail-hero {
  padding: 86px 6vw 40px;
  background:
    linear-gradient(120deg, rgba(242, 248, 254, 0.98), rgba(255, 255, 255, 0.9)),
    linear-gradient(135deg, transparent 0 65%, rgba(8, 119, 189, 0.18) 65% 74%, transparent 74%);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 36px;
  align-items: center;
  max-width: 1180px;
}

.detail-cover {
  min-height: 260px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 48px rgba(19, 62, 100, 0.16);
}

.detail-body {
  max-width: 920px;
  padding: 48px 6vw 82px;
}

.detail-lead {
  margin-top: 0;
  color: var(--ink-2);
  font-size: 20px;
}

.detail-result {
  border-left: 4px solid var(--brand-blue);
  padding: 14px 18px;
  background: var(--soft);
}

.detail-section {
  margin-top: 34px;
}

.detail-section h2 {
  position: relative;
  margin-bottom: 12px;
  padding-left: 18px;
  color: var(--brand-blue);
  font-size: 26px;
}

.detail-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-blue-3));
  transform: scaleY(0.28);
  transform-origin: top;
  transition: transform 520ms ease;
}

.detail-section.is-visible h2::before {
  transform: scaleY(1);
}

.detail-section p {
  margin: 0 0 1.05rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.95;
}

.detail-section .body-subhead {
  margin: 2rem 0 0.75rem;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.45;
  font-weight: 800;
}

.detail-section .body-caption {
  margin: 0.45rem 0 1.15rem;
  color: var(--brand-blue);
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 700;
}

.news-gallery {
  display: grid;
  gap: 22px;
}

.news-gallery figure {
  margin: 0;
}

.news-gallery img {
  display: block;
  width: min(100%, 880px);
  max-height: 680px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(5, 42, 72, 0.12);
  background: white;
}

.detail-quote {
  margin: 36px 0 0;
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  color: var(--ink-2);
  background: #fff9ef;
}

.muted {
  color: var(--muted);
}

.admin-shell {
  background: var(--soft);
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 6vw 60px;
}

.admin-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 8px;
  align-self: start;
}

.tab-button {
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: white;
}

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

.editor-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbfcfe;
}

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

.form-grid label,
.full {
  display: grid;
  gap: 6px;
}

.full {
  grid-column: 1 / -1;
}

.export-box {
  white-space: pre-wrap;
  max-height: 360px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #063d68;
  color: #dce8f8;
}

.lead-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

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

.lead-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbfcfe;
}

.lead-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.lead-card-head strong,
.lead-card-head span {
  display: block;
}

.lead-card-head span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.lead-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

.lead-meta div {
  border-left: 3px solid rgba(8, 119, 189, 0.28);
  padding-left: 10px;
}

.lead-meta dt {
  color: var(--muted);
  font-size: 12px;
}

.lead-meta dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.motion-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 860ms ease,
    transform 860ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: calc(var(--motion-order, 0) * 55ms);
}

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

@keyframes masHeaderIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes masHeroIn {
  from {
    opacity: 0;
    filter: saturate(0.88) brightness(1.04);
  }
  to {
    opacity: 1;
    filter: saturate(1) brightness(1);
  }
}

@keyframes masFadeUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes masPanelIn {
  from {
    opacity: 0;
    transform: translateX(38px) skewX(-4deg);
  }
  to {
    opacity: 0.42;
    transform: translateX(0) skewX(0);
  }
}

@keyframes masTriangleIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.86);
  }
  to {
    opacity: 0.3;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 6vw;
    border-bottom: 1px solid var(--line);
    background: white;
  }

  .site-header .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(300px, calc(100vw - 94px));
    height: 82px;
  }

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

  .nav-group,
  .nav-menu {
    position: static;
  }

  .nav-menu {
    display: grid;
    min-width: 0;
    margin-left: 18px;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .hero {
    min-height: 720px;
    background-position: 68% center;
  }

  .hero::after,
  .hero::before {
    opacity: 0.1;
  }

  .hero-content {
    width: min(100%, 720px);
    background: rgba(255, 255, 255, 0.92);
  }

  .section-head,
  .site-footer,
  .contact-grid,
  .split-band,
  .detail-hero-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }

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

  .section-head,
  .site-footer {
    display: grid;
  }

  .grid,
  .metrics,
  .case-showcase {
    grid-template-columns: 1fr;
  }

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

  .case-visual {
    min-height: 320px;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header,
  .admin-header {
    padding-inline: 18px;
  }

  .hero,
  .section,
  .detail-hero,
  .detail-body,
  .site-footer,
  .admin-layout {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: 40px;
    max-width: 100%;
  }

  .news-row,
  .news-row:has(.news-thumb),
  .form-grid,
  .archive-tools {
    grid-template-columns: 1fr;
  }

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

  .insight-card-media {
    min-height: 190px;
    padding: 26px;
  }

  .archive-tools {
    display: grid;
    align-items: stretch;
  }

  .detail-cover {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .motion-reveal {
    opacity: 1;
    transform: none;
  }
}
