/* 无人机编队表演方案 · 模板样式。颜色、字体、字号只在 :root 里定义，换活动改这里。 */
:root {
  --bg: #111111;
  --surface: #1c1c1c;
  --ink: #f2f2f2;
  --muted: #a3a3a3;
  --accent: #a08672;
  --accent-hover: #b39b88;
  --accent-ink: #111111;
  --paper: #f2f2f2;
  --paper-ink: #111111;
  --paper-muted: #555555;
  --sky: #07080b;

  --display: "Songti SC", "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif CN", "STSong", "SimSun", serif;
  --text: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif;

  /* 六档字号：小字、正文、导语、标题、片名，外加“一字一屏”的大字 */
  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: min(8.4vw, 15svh);
  --step-verb: clamp(6rem, 17vw, 18.75rem);

  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(16px, 1.7vw, 24px);
  --section: clamp(120px, 14vw, 200px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--step-body)/1.6 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, iframe { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: var(--step-head); line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 0;
  font-size: var(--step-body); font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, transform .15s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px) scale(.99); }
.tlink { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; transition: text-underline-offset .2s; }
.tlink:hover { text-underline-offset: .4em; }
button.link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; }
button.link:hover { color: var(--ink); }

/* ------------------------------------------------------------ 顶部 */
.top {
  position: absolute; z-index: 10; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 22px var(--m); font-size: var(--step-small);
}
.top .mark { text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.top nav { display: flex; gap: clamp(14px, 2vw, 28px); }
.top nav a { text-decoration: none; opacity: .86; transition: opacity .2s; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.top nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }

/* ------------------------------------------------------------ 首屏：观众席实录按宽银幕铺满，片名落在下沿树影里 */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--sky); }
.hero-media { position: absolute; top: 0; left: 0; right: 0; height: min(100svh, 44.25vw); overflow: hidden; animation: shutter 1.15s cubic-bezier(.7, 0, .2, 1) .1s both; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: settle 1.8s var(--ease) .1s both; }
.hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; pointer-events: none;
  background: linear-gradient(to top, var(--sky), rgba(7, 8, 11, 0)); } /* taste-skill-ignore：照片上文字底下的中性压暗 */
.hero-text { position: absolute; z-index: 2; left: var(--m); right: var(--m); bottom: clamp(18px, 3.4svh, 32px); }
.hero h1 { font-size: var(--step-display); line-height: .95; letter-spacing: -0.03em; white-space: nowrap; animation: rise 1s var(--ease) .75s both; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 28px; animation: rise 1s var(--ease) .9s both; }
.hero .lede { font-size: var(--step-lead); line-height: 1.45; max-width: 46ch; }
.hero-cap { position: absolute; z-index: 2; top: 64px; right: var(--m); display: flex; gap: 14px; align-items: baseline;
  font-size: var(--step-small); color: #c7c7c7; animation: rise .8s var(--ease) 1.2s both; }
@keyframes shutter { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ 引言：标题跨到照片上 */
.intro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--section) var(--m) calc(var(--section) * .6);
}
.cross { grid-column: 1 / 11; grid-row: 1; z-index: 2; font-size: var(--step-display); line-height: 1.04; letter-spacing: -0.03em; }
.cross span { display: block; }
.cross span + span { padding-left: 2.6em; }
.intro-tall { grid-column: 7 / 13; grid-row: 1 / 3; margin: 1.1em calc(-1 * var(--m)) 0 0; font-size: var(--step-display); }
.intro-tall figcaption { padding-right: var(--m); font-size: var(--step-small); }
.intro-tall img, .intro-small img { width: 100%; height: auto; }
.intro-body { grid-column: 1 / 6; grid-row: 2; padding-top: clamp(40px, 6vw, 88px); }
.statement { font-size: var(--step-lead); line-height: 1.5; max-width: 30ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gap); margin: 56px 0 0; }
.facts dt { font-family: var(--display); font-weight: 700; font-size: var(--step-head); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts dd { margin: 10px 0 0; color: var(--muted); font-size: var(--step-small); line-height: 1.45; }
.intro-small { grid-column: 8 / 12; grid-row: 3; margin-top: 64px; }

/* ------------------------------------------------------------ 概念图整屏画板（可选段，show.json 写了 concepts 才出现） */
.sec-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  padding: 0 var(--m) 72px;
}
.sec-head h2 { grid-column: 1 / 7; }
.sec-head p { grid-column: 8 / 13; max-width: 46ch; }
.concepts { padding-top: calc(var(--section) * .5); }
.panel { position: relative; height: 100svh; overflow: hidden; background: var(--sky); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.panel.in img { transform: scale(1); }
.row { position: absolute; z-index: 2; left: var(--m); right: var(--m); top: 72%; display: grid; grid-template-columns: 10% 1fr auto; align-items: baseline; gap: 16px; font-size: var(--step-small); }
.r-title { font-size: var(--step-lead); }
.p-task { position: absolute; z-index: 2; left: calc(var(--m) + 10% + 16px); right: var(--m); bottom: 48px; max-width: 44ch; }

/* ------------------------------------------------------------ 每一场：左边概念图，右边真实航迹，滚动切场 */
.formations { position: relative; height: calc(var(--scenes) * 55svh + 100svh); background: var(--sky); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
#fcanvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#fcanvas:active { cursor: grabbing; }
.f-head { position: absolute; z-index: 2; top: clamp(32px, 6svh, 56px); left: var(--m); width: min(38vw, 560px); pointer-events: none; }
.f-head h2 span { display: block; }
.f-pic { position: absolute; z-index: 2; left: var(--m); top: calc(clamp(32px, 6svh, 56px) + 2.3 * var(--step-head)); width: min(36vw, calc((100svh - 540px) * 1.7778)); aspect-ratio: 16 / 9; }
.f-pic figure { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.f-pic figure.on { opacity: 1; }
.f-pic img { width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
.f-pic figcaption { position: absolute; left: 0; right: 0; top: 100%; }
.f-now { position: absolute; z-index: 2; left: var(--m); bottom: clamp(28px, 5svh, 48px); width: min(38vw, 560px); pointer-events: none; }
.f-now h3 { font-size: var(--step-head); line-height: 1.05; }
.f-meta { margin-top: 12px; color: var(--muted); font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.f-task { margin-top: 8px; max-width: 34ch; }
.f-now.swap h3, .f-now.swap p { animation: swap .5s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.f-tools { position: absolute; z-index: 2; right: var(--m); bottom: clamp(28px, 5svh, 48px); width: min(30vw, 400px); text-align: right; }
.f-tip { margin-bottom: 18px; }
.seg { display: inline-flex; background: var(--surface); }
.seg button { border: 0; background: none; padding: 0 18px; min-height: 44px; cursor: pointer; color: var(--muted); font-size: var(--step-small); transition: color .2s, background-color .2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.f-after { max-width: 46ch; margin: 0 var(--m) 0 auto; padding-top: 28px; color: var(--muted); line-height: 1.6; }

/* ------------------------------------------------------------ 放映 */
.player {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
  padding: var(--section) var(--m);
}
.pl-text { grid-column: 1 / 5; }
.pl-text p { margin-top: 24px; max-width: 34ch; }
.pl-text .pl-small { color: var(--muted); }
.pl-frame { grid-column: 5 / 13; position: relative; aspect-ratio: 16 / 9; background: var(--sky); overflow: hidden; }
.pl-frame img, .pl-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.pl-frame img { transition: transform 1.2s var(--ease); }
.pl-frame:hover img { transform: scale(1.02); }
.pl-load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); min-height: 56px; padding: 0 36px; }
.pl-load:active { transform: translate(-50%, -50%) scale(.98); }

.films { padding: 0 0 var(--section); }
.film { margin: 0 var(--m) 48px; }
.film video { width: 100%; aspect-ratio: 16 / 9; background: var(--sky); }

/* ------------------------------------------------------------ 做法：一字一屏 */
.process { padding-top: calc(var(--section) * .4); }
.verb-panel { position: relative; height: 100svh; overflow: hidden; background: var(--sky); }
.verb-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.verb-panel::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 62%; z-index: 1; pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, .82), rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, 0)); } /* taste-skill-ignore：照片上文字底下的中性压暗 */
.verb-wrap { position: sticky; top: 50%; z-index: 2; transform: translateY(-50%); padding: 0 var(--m); }
.verb { font-size: var(--step-verb); line-height: .9; letter-spacing: 0; font-weight: 900; }
.verb-text { position: absolute; z-index: 2; left: var(--m); bottom: clamp(28px, 7svh, 64px); max-width: 34ch; font-size: var(--step-lead); line-height: 1.5; }

/* ------------------------------------------------------------ 安全 */
.safety {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--section) var(--m);
}
.sf-head { grid-column: 1 / 5; }
.sf-head p { margin-top: 20px; max-width: 30ch; }
.sf-body { grid-column: 5 / 13; padding-top: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 16px 14px; vertical-align: baseline; }
thead th { color: var(--muted); font-weight: 400; font-size: var(--step-small); }
tbody tr:nth-child(odd) { background: var(--surface); }
tbody th { font-weight: 600; white-space: nowrap; }
td:nth-child(3), td:nth-child(4) { font-weight: 600; }
.sf-note { margin-top: 28px; color: var(--muted); max-width: 52ch; }

/* ------------------------------------------------------------ 节目单：一张纸 */
.programme { background: var(--surface); padding: calc(var(--section) * .8) var(--m); }
.sheet {
  width: min(680px, 100%); margin: 0 auto; padding: 80px 64px 72px; background: var(--paper); color: var(--paper-ink); text-align: center;
  clip-path: polygon(0.000% 0, 2.941% 9px, 5.882% 0, 8.824% 9px, 11.765% 0, 14.706% 9px, 17.647% 0, 20.588% 9px, 23.529% 0, 26.471% 9px, 29.412% 0, 32.353% 9px, 35.294% 0, 38.235% 9px, 41.176% 0, 44.118% 9px, 47.059% 0, 50.000% 9px, 52.941% 0, 55.882% 9px, 58.824% 0, 61.765% 9px, 64.706% 0, 67.647% 9px, 70.588% 0, 73.529% 9px, 76.471% 0, 79.412% 9px, 82.353% 0, 85.294% 9px, 88.235% 0, 91.176% 9px, 94.118% 0, 97.059% 9px, 100.000% 0, 100.000% 100%, 97.059% calc(100% - 9px), 94.118% 100%, 91.176% calc(100% - 9px), 88.235% 100%, 85.294% calc(100% - 9px), 82.353% 100%, 79.412% calc(100% - 9px), 76.471% 100%, 73.529% calc(100% - 9px), 70.588% 100%, 67.647% calc(100% - 9px), 64.706% 100%, 61.765% calc(100% - 9px), 58.824% 100%, 55.882% calc(100% - 9px), 52.941% 100%, 50.000% calc(100% - 9px), 47.059% 100%, 44.118% calc(100% - 9px), 41.176% 100%, 38.235% calc(100% - 9px), 35.294% 100%, 32.353% calc(100% - 9px), 29.412% 100%, 26.471% calc(100% - 9px), 23.529% 100%, 20.588% calc(100% - 9px), 17.647% 100%, 14.706% calc(100% - 9px), 11.765% 100%, 8.824% calc(100% - 9px), 5.882% 100%, 2.941% calc(100% - 9px), 0.000% 100%);
}
.sh-note { margin-top: 14px; font-size: var(--step-small); color: var(--paper-muted); }
.act { margin-top: 56px; }
.act h3 { font-size: var(--step-lead); letter-spacing: 0; }
.act ul { list-style: none; margin: 22px auto 0; padding: 0; max-width: 460px; text-align: left; }
.act li + li { margin-top: 18px; }
.it { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; font-weight: 600; }
.it .tm { font-variant-numeric: tabular-nums; font-weight: 400; white-space: nowrap; }
.act li p { margin-top: 4px; line-height: 1.55; color: var(--paper-ink); }
.sh-close { margin-top: 56px; font-size: var(--step-small); line-height: 1.8; }

/* ------------------------------------------------------------ 问答 */
.faq {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start;
  padding: var(--section) var(--m);
}
.faq-text { grid-column: 1 / 6; }
.faq-facts { list-style: none; margin: 28px 0 0; padding: 0; }
.faq-facts li + li { margin-top: 8px; }
.qa { margin-top: 44px; }
.qa details + details { margin-top: 20px; }
.qa summary { position: relative; list-style: none; cursor: pointer; padding-right: 36px; font-weight: 600; line-height: 1.4; min-height: 44px; display: flex; align-items: center; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.qa details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa summary:hover { color: #ffffff; }
.qa details p { margin-top: 6px; max-width: 46ch; }
.faq-act { display: flex; gap: 28px; align-items: center; margin-top: 48px; flex-wrap: wrap; }
.faq-pics { grid-column: 7 / 13; position: relative; margin-bottom: 40px; }
.faq-pics .tall { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; }
.faq-pics .sq { position: absolute; left: -40px; bottom: -40px; width: 36%; aspect-ratio: 1; height: auto; object-fit: cover; }

/* ------------------------------------------------------------ 页脚 */
.foot { min-height: 72svh; display: flex; flex-direction: column; background: var(--accent); color: var(--accent-ink); padding: 40px var(--m) 28px; }
.ft-top { display: flex; justify-content: space-between; gap: 24px; font-size: var(--step-small); }
.ft-line { margin-top: auto; padding-top: 80px; font-family: var(--display); font-weight: 700; font-size: var(--step-display); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; text-decoration: none; transition: opacity .2s; }
.ft-line:hover { opacity: .85; }
.ft-meta { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; font-size: var(--step-small); }
.ft-meta a { text-decoration: none; }
.ft-meta a:hover { text-decoration: underline; }

/* ------------------------------------------------------------ 进场：每块里的元素依次升起（脚本没跑也会显示） */
.js [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].in > *, .reveal-all [data-reveal] > * { opacity: 1; transform: none; }

/* ------------------------------------------------------------ 平板 */
@media (max-width: 1100px) {
  .pl-text { grid-column: 1 / 13; margin-bottom: 40px; }
  .pl-frame { grid-column: 1 / 13; }
  .sf-head { grid-column: 1 / 13; margin-bottom: 40px; }
  .sf-body { grid-column: 1 / 13; }
}
@media (max-height: 760px) and (min-width: 721px) { .f-task { display: none; } }

/* ------------------------------------------------------------ 手机：自己的版式 */
@media (max-width: 720px) {
  .top { padding: 16px var(--m); }
  .top { gap: 12px; }
  .top nav { gap: 14px; }
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; padding-top: 52px; }
  .hero-media { position: relative; inset: auto; height: 42svh; }
  .hero-text { position: relative; inset: auto; padding: 22px var(--m) 0; }
  .hero h1 { white-space: normal; font-size: 15vw; line-height: 1.05; }
  .hero h1 .t1, .hero h1 .t2 { display: block; }
  .hero h1 .tdot { display: none; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 18px; }
  .hero .lede { font-size: var(--step-lead); }
  .hero-cap { position: relative; top: auto; right: auto; padding: 20px var(--m) 24px; flex-wrap: wrap; gap: 8px 14px; }

  .intro { grid-template-columns: 1fr; padding-top: 104px; }
  .cross { grid-column: 1; font-size: 15vw; }
  .cross span + span { padding-left: 1em; }
  .intro-tall { grid-column: 1; grid-row: 2; justify-self: end; width: 78%; margin: -0.5em calc(-1 * var(--m)) 0 0; font-size: 15vw; }
  .intro-body { grid-column: 1; grid-row: 3; padding-top: 40px; }
  .facts { margin-top: 40px; }
  .intro-small { grid-column: 1; grid-row: 4; width: 56%; margin-top: 48px; }

  .sec-head { grid-template-columns: 1fr; padding-bottom: 48px; }
  .sec-head h2, .sec-head p { grid-column: 1; }
  .sec-head p { margin-top: 18px; }

  .formations { height: calc(var(--scenes) * 50svh + 100svh); }
  .f-head { top: 20px; width: auto; right: var(--m); }
  .f-pic { top: calc(28px + 2.3 * var(--step-head)); left: var(--m); right: var(--m); width: auto; }
  .f-pic figcaption { margin-top: 6px; }
  .f-now { bottom: 92px; width: auto; right: var(--m); }
  .f-task { display: none; }
  .f-tools { left: var(--m); right: var(--m); bottom: 24px; width: auto; text-align: left; }
  .f-tip { display: none; }
  .f-after { margin: 0 var(--m); padding-top: 24px; }

  .verb-panel::before { width: 100%; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .2) 60%, rgba(0, 0, 0, .35)); } /* taste-skill-ignore：照片上文字底下的中性压暗 */
  .verb { font-size: 26vw; }
  .verb-text { right: var(--m); font-size: var(--step-body); }

  th, td { padding: 12px 10px; font-size: var(--step-small); }
  .sheet { padding: 56px 24px 48px; }
  .act ul { max-width: none; }

  .faq { grid-template-columns: 1fr; }
  .faq-pics { grid-column: 1; grid-row: 1; margin: 0 0 72px; }
  .faq-pics .sq { left: auto; right: -8px; bottom: -32px; width: 38%; }
  .faq-text { grid-column: 1; grid-row: 2; }
  .faq-act .btn { width: 100%; }

  .ft-line { white-space: normal; font-size: 15vw; }
  .ft-line .t1, .ft-line .t2 { display: block; }
  .ft-line .tdot { display: none; }
  .ft-meta { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media, .hero-media video, .hero h1, .hero-row, .hero-cap { animation: none; }
  .js [data-reveal] > * { opacity: 1; transform: none; transition: none; }
  .panel img, .pl-frame img { transform: none; transition: none; }
  .f-now.swap h3, .f-now.swap p { animation: none; }
  .f-pic figure { transition: none; }
}

/* ------------------------------------------------------------ 门户：方案列表（一张卡片 = 左边实录，右边名称、数字、四个入口） */
.portal-hero { padding: 112px var(--m) 48px; }
.portal-hero h1 { font-size: min(6.4vw, 12svh); line-height: 1; letter-spacing: -0.03em; }
.portal-hero .statement { margin-top: 24px; max-width: 46ch; }
.projects { padding: 0 var(--m) var(--section); }
.card { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); background: var(--surface); }
.card + .card { margin-top: 48px; }
.card-media { grid-column: 1 / 8; position: relative; min-height: 100%; background: var(--sky); overflow: hidden; }
.card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-media:hover video { transform: scale(1.02); }
.card-body { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 2.8vw, 40px); }
.card-body h2 { font-size: clamp(1.75rem, 0.6rem + 2.6vw, 3rem); line-height: 1.1; }
.card-title { margin-top: -8px; font-family: var(--display); font-weight: 700; font-size: var(--step-lead); }
.card-body .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 4px 0 0; }
.card-body .facts dt { font-size: var(--step-lead); }
.card-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.card-act .btn { padding: 0 18px; }
.btn.alt { background: var(--bg); color: var(--ink); }
.btn.alt:hover { background: #2a2a2a; }

/* ------------------------------------------------------------ 设计图、预演视频这类子页 */
.sub-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding: calc(var(--section) * .8) var(--m) 64px; }
.sub-hero h1 { grid-column: 1 / 7; font-size: var(--step-display); line-height: 1; letter-spacing: -0.03em; }
.sub-lede { grid-column: 8 / 13; }
.sub-lede .statement { font-family: var(--display); font-weight: 700; margin-bottom: 12px; }
.gallery { padding: 0 var(--m); }
.plate { margin: 0 0 clamp(72px, 9vw, 140px); }
.plate img { width: 100%; height: auto; background: var(--surface); }
.plate figcaption { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 20px; color: var(--ink); font-size: var(--step-body); }
.plate h2 { grid-column: 1 / 5; font-size: var(--step-lead); line-height: 1.25; }
.plate .pl-meta { grid-column: 5 / 8; color: var(--muted); font-size: var(--step-small); padding-top: 6px; }
.plate figcaption p:last-child { grid-column: 8 / 13; }
.next { padding: calc(var(--section) * .4) var(--m) var(--section); max-width: 60ch; }
.next p { margin-top: 20px; }
.vbox { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 0 var(--m) var(--section); align-items: start; }
.vmain { grid-column: 1 / 10; }
.vmain .seg { margin-bottom: 16px; }
.vmain video { width: 100%; aspect-ratio: 16 / 9; background: var(--sky); }
.vdesc { margin-top: 14px; color: var(--muted); }
.vside { grid-column: 10 / 13; padding-top: 60px; }
.vside h2 { font-size: var(--step-lead); }
.chapters { list-style: none; margin: 16px 0 0; padding: 0; }
.chapters button { display: flex; gap: 14px; width: 100%; text-align: left; background: none; border: 0; padding: 9px 0; cursor: pointer; color: var(--muted); font-size: var(--step-small); line-height: 1.45; transition: color .2s; }
.chapters button:hover { color: var(--ink); }
.chapters .ct { min-width: 3.2em; font-variant-numeric: tabular-nums; }
.chapters button[aria-current="true"] { color: var(--ink); }
.chapters button[aria-current="true"] .ct::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--accent); vertical-align: .1em; }

@media (max-width: 1100px) {
  .card-media, .card-body { grid-column: 1 / 13; }
  .card-media { aspect-ratio: 1600 / 708; min-height: 0; }
  .vmain, .vside { grid-column: 1 / 13; }
  .vside { padding-top: 40px; }
}
@media (max-width: 720px) {
  .portal-hero { padding: 96px var(--m) 36px; }
  .portal-hero h1 { font-size: 9.4vw; }
  .card-body h2 { font-size: 1.75rem; }
  .card-act { order: 3; margin-top: 4px; padding-top: 0; }
  .card-body > p:not(.card-title) { order: 4; }
  .card-body .facts { order: 5; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-act .btn { flex: 1 1 40%; padding: 0 12px; }
  .sub-hero { grid-template-columns: 1fr; padding-top: 112px; }
  .sub-hero h1 { grid-column: 1; font-size: 15vw; }
  .sub-lede { grid-column: 1; margin-top: 28px; }
  .plate figcaption { grid-template-columns: 1fr; row-gap: 6px; }
  .plate h2, .plate .pl-meta, .plate figcaption p:last-child { grid-column: 1; }
  .vmain .seg { display: flex; }
  .vmain .seg button { flex: 1; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) { .card-media video { transition: none; } }
