/* 4K影视 · 官方网站（本地新站，尚未上线） */

:root {
  --ink: #14161A;
  --ink-2: #4A4F57;
  --ink-3: #878D96;
  --line: #E5E6E8;
  --paper: #FFFFFF;
  --paper-2: #F6F5F3;
  --accent: #6B4C9A;
  --accent-soft: #F2EEF8;
  --radius: 14px;
  --max: 1120px;
  --nav-h: 64px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

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

a.inlink {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

a.inlink:hover { opacity: 0.8; }

button, input {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  z-index: 200;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ——— 导航 ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin: 0;
  flex-shrink: 0;
}

.brand span {
  color: var(--ink-3);
  font-weight: 400;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 12px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle span { top: 20px; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

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

.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.active {
  color: var(--ink);
  font-weight: 500;
  border-bottom-color: var(--accent);
}

/* ——— 页面头 / Hero ——— */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px 0;
}

.hero-page {
  padding-bottom: 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 18px;
  font-weight: 500;
}

.hero h1,
.page-title {
  font-size: 44px;
  line-height: 1.26;
  letter-spacing: -1px;
  margin: 0 0 22px;
  font-weight: 500;
  max-width: 720px;
}

.lede {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 0 34px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

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

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

.btn-ghost {
  border-color: var(--line);
  color: var(--ink-2);
}

.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }

/* ——— 区块 ——— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px;
}

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

.section-alt {
  max-width: 100%;
  background: var(--paper-2);
  padding: 92px 24px;
}

.section-alt > .wrap,
.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head { margin-bottom: 20px; }

.section-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin: 0 0 10px;
  font-weight: 500;
}

.section-head h2 {
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  margin: 0;
  font-weight: 500;
}

.section-lede {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 600px;
  margin: 0 0 44px;
}

.section-head + .section-lede { margin-top: 16px; }

.spirit {
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 36em;
}
.spirit strong {
  display: block;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}
.spirit p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ——— 网格 ——— */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

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

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

/* ——— 主业务大块 ——— */
.lead-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.lead-block.is-main {
  border-color: var(--accent);
  background: var(--paper);
}

.lead-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 14px;
  font-weight: 500;
}

.lead-block h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}

.lead-block p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 24px;
  line-height: 1.75;
  flex: 1;
}

.lead-block .btn { align-self: flex-start; }

.side-block {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.side-block:first-child { border-top: 0; padding-top: 0; }

.side-block h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
}

.side-tag {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.side-block p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 16px;
  line-height: 1.75;
}

/* ——— 卡片 ——— */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.card-num {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  font-variant-numeric: tabular-nums;
}

.card h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

.card p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.75;
}

.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.track {
  background: var(--paper);
  padding: 26px 22px;
}

.track h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 10px;
}

.track p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.7;
}

/* ——— 资质 ——— */
.cred-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.cred-item {
  background: var(--paper);
  padding: 28px 24px;
}

.cred-item strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.cred-item span {
  font-size: 13px;
  color: var(--ink-3);
}

/* ——— 视频案例卡 ——— */
.note-quiet {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 28px;
  max-width: 560px;
  line-height: 1.7;
}

.works-masonry {
  column-count: 4;
  column-gap: 20px;
}

.works-masonry.cols-3 { column-count: 3; }

.video-card {
  break-inside: avoid;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.video-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ink);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.video-thumb.is-portrait { aspect-ratio: 9 / 16; }
.video-thumb.is-landscape { aspect-ratio: 16 / 9; }

.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.18s, border-color 0.18s;
  pointer-events: none;
}

.video-thumb.is-landscape .play-mark {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
}

.video-thumb:has(.typo-cover) .play-mark {
  left: auto;
  top: auto;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  margin: 0;
}

.video-thumb:has(.typo-cover) .play-mark::after {
  border-width: 5px 0 5px 8px;
  margin-left: 2px;
}

.play-mark::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.video-thumb:hover .play-mark,
.video-thumb:focus-visible .play-mark {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.04);
}

.video-info {
  padding: 16px 18px 18px;
}

.video-info h3 {
  font-size: 15.5px;
  font-weight: 500;
  margin: 0 0 4px;
}

.video-info p {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
}

/* 字体封面（历年影像，无剧照） */
.typo-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 48px 18px 18px;
  background: var(--ink);
  color: #fff;
  text-align: left;
}

.typo-cover .typo-year {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
}

.typo-cover .typo-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.35;
  margin: 0 0 6px;
}

.typo-cover .typo-tag {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* 筛选 */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.chip {
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.chip:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

.chip-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.works-group { margin-top: 56px; }

.works-group h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 8px;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
}

.empty-state[hidden],
.works-group[hidden],
.works-masonry[hidden] { display: none; }

/* ——— 播放层 ——— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.62);
}

.lightbox-dialog {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  box-shadow: none;
}

.lightbox-dialog.is-portrait {
  width: min(720px, 100%);
  grid-template-columns: 0.72fr 1fr;
}

.lightbox-player {
  background: var(--ink);
  position: relative;
  min-height: 240px;
}

.lightbox-dialog.is-landscape .lightbox-player { aspect-ratio: 16 / 9; }
.lightbox-dialog.is-portrait .lightbox-player { aspect-ratio: 9 / 16; max-height: calc(100vh - 48px); }

.lightbox-player img,
.lightbox-player .typo-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.lightbox-body .btn { align-self: flex-start; }

.lightbox-body h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.lb-meta {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 20px;
}

.lb-note {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 24px;
  line-height: 1.7;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 26, 0.08);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.lightbox-close:hover { background: var(--accent-soft); color: var(--accent); }

body.lb-open { overflow: hidden; }

/* ——— 流程 / 图示 ——— */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-step {
  padding: 28px 22px 26px;
  border-left: 1px solid var(--line);
  background: var(--paper);
  position: relative;
}

.process-step:first-child { border-left: 0; }

.process-step .card-num { margin-bottom: 12px; }

.process-step h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
}

.process-step p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.7;
}

.diagram {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px 24px 8px;
}

.diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

.diagram-caption {
  font-size: 13px;
  color: var(--ink-3);
  padding: 8px 4px 16px;
  margin: 0;
}

/* ——— 列表 ——— */
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.plain-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.plain-list .list-title { font-weight: 500; }
.plain-list .list-meta {
  color: var(--ink-3);
  font-size: 13px;
  flex-shrink: 0;
  text-align: right;
}

/* ——— 时间线 ——— */
.timeline {
  border-left: 1px solid var(--line);
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 32px;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}

.timeline p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

/* ——— CTA / 页脚 ——— */
.cta {
  background: var(--ink);
  color: #fff;
  padding: 84px 24px;
}

.cta h2 {
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 14px;
  letter-spacing: -0.4px;
}

.cta p {
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 30px;
  font-size: 16px;
  max-width: 520px;
}

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

.cta .btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 24px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px 40px;
}

.footer-note,
.footer-info p,
.footer-links a {
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
}

.footer-links a:hover { color: var(--ink); }

.footer-info { text-align: right; }

.footer-info a:hover { color: var(--ink); }

/* ——— 合作页 ——— */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

.info-block {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.info-block:first-child { border-top: none; padding-top: 0; }

.info-block h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 10px;
}

.info-block p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.8;
}

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

.qr-box {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
}

.qr-box img {
  width: 180px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  margin: 0 auto 18px;
}

.qr-box p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
}

.steps {
  counter-reset: s;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 24px 42px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
}

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 12.5px;
  top: 30px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}

.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }

.steps strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

/* ——— 关于页引用 ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

/* ——— 响应式 ——— */
@media (max-width: 1020px) {
  .works-masonry { column-count: 3; }
  .process { grid-template-columns: 1fr 1fr; }
  .process-step { border-left: 0; border-top: 1px solid var(--line); }
  .process-step:first-child,
  .process-step:nth-child(2) { border-top: 0; }
  .process-step:nth-child(2) { border-left: 1px solid var(--line); }
  .process-step:nth-child(4) { border-left: 1px solid var(--line); }
}

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

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

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

  .nav-links a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .nav-links a.active { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--accent); padding-left: 11px; }

  .hero { padding-top: 52px; }
  .hero h1, .page-title { font-size: 32px; letter-spacing: -0.6px; }
  .lede { font-size: 16px; margin-bottom: 28px; }
  .section, .section-alt { padding: 64px 24px; }
  .section-tight { padding-top: 40px; }
  .section-head h2 { font-size: 24px; }
  .cta h2 { font-size: 26px; }

  .grid-4,
  .grid-3,
  .grid-2,
  .contact-layout,
  .about-grid,
  .cred-row { grid-template-columns: 1fr; }

  .cred-row { border: 0; background: transparent; gap: 12px; }
  .cred-item { border: 1px solid var(--line); border-radius: var(--radius); }

  .works-masonry,
  .works-masonry.cols-3 { column-count: 2; }

  .lightbox-dialog,
  .lightbox-dialog.is-portrait {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }

  .lightbox-dialog.is-portrait .lightbox-player,
  .lightbox-dialog.is-landscape .lightbox-player {
    aspect-ratio: 16 / 9;
    max-height: 42vh;
  }

  .lightbox-dialog.is-portrait .lightbox-player img { object-fit: contain; background: #000; }
  .lightbox-dialog.is-portrait .lightbox-player { aspect-ratio: 9 / 16; max-height: 46vh; }

  .footer-inner { flex-direction: column; }
  .footer-info { text-align: left; }

  .lead-block { padding: 28px 22px; }
}

@media (max-width: 560px) {
  .works-masonry,
  .works-masonry.cols-3 { column-count: 1; }

  .process { grid-template-columns: 1fr; }
  .process-step,
  .process-step:nth-child(2),
  .process-step:nth-child(4) { border-left: 0; }
  .process-step:nth-child(2) { border-top: 1px solid var(--line); }

  .plain-list li { flex-direction: column; gap: 4px; }
  .plain-list .list-meta { text-align: left; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play-mark, .nav-links a, .btn, .chip { transition: none; }
}

/* 等宽网格：竖图与横图各守自己的比例，按行重排 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  align-items: start;
}

.works-grid .video-card { margin-bottom: 0; }

.home-portraits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

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

.home-lands.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-lands.cols-1 { grid-template-columns: minmax(0, 560px); }

@media (max-width: 880px) {
  .home-portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .home-portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-lands,
  .home-lands.cols-3,
  .home-lands.cols-1 { grid-template-columns: 1fr; }
}


/* 照片案例：不要播放按钮 */
.video-thumb.is-photo { cursor: zoom-in; }

/* 展厅案例图集 */
.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.case-gallery .video-card { margin-bottom: 0; }
.case-gallery-plan {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.case-gallery-plan .video-card { margin-bottom: 0; }
.case-gallery-plan .plan-note {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
  margin: 8px 0 0;
}

/* A 漫品牌 */
.brand-lockup {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 36px 48px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  background: var(--paper);
}
.brand-lockup img {
  width: 200px;
  height: auto;
  display: block;
  justify-self: center;
}
.brand-lockup .eyebrow { margin-bottom: 8px; }
.brand-lockup h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}
.brand-lockup p { margin: 0; }

@media (max-width: 720px) {
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery-plan { grid-template-columns: 1fr; }
  .brand-lockup {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    text-align: center;
  }
  .brand-lockup img { width: 160px; }
}
