@charset "utf-8";
/* ==========================================================================
   Longtee 门户 · v2
   设计基调：暗房 / 胶片条 —— 冷调台面 + 单一信号红 + 等宽数据字
   兼容性：面向国内老浏览器（360 极速等），不使用 dvh / CSS 嵌套 / :is()
   ========================================================================== */

/* ── 1. 令牌 ────────────────────────────────────────────────────────── */
:root {
  --paper: #e4e7ea;      /* 台面 */
  --paper-2: #d9dde1;    /* 台面暗一档 */
  --sheet: #f7f8f9;      /* 印品 / 卡片 */
  --ink: #14171b;        /* 主文字、负片 */
  --ink-2: #4b525a;      /* 次级文字 */
  --ink-3: #8b9299;      /* 数据字 */
  --rule: #c4cad0;       /* 发丝线 */
  --rule-soft: #d8dde2;
  --safe: #ff3b12;       /* 安全灯红 —— 唯一强调色 */
  --safe-deep: #d92d08;
  --cyan: #00788a;       /* 技术色 */
  --neg: #101316;        /* 负片 */
  --neg-2: #1b1f24;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC",
               "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Bahnschrift", "DIN Alternate", "Oswald", "Arial Narrow",
                  "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --pad: clamp(20px, 4.4vw, 64px);
  --maxw: 1360px;
  --radius: 16px;
  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* ── 2. 基础 ────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; border: 0; display: block; }
a { color: inherit; }

code, pre, .mono { font-family: var(--font-mono); }

::selection { background: var(--safe); color: #fff; }

a:focus,
button:focus,
[tabindex]:focus {
  outline: 2px solid var(--safe);
  outline-offset: 3px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── 3. 排版元件 ───────────────────────────────────────────────────── */
.kicker,
.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.kicker { margin-bottom: 22px; }
.kicker-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--safe);
  margin-right: 10px;
  vertical-align: 1px;
}

.eyebrow { margin-bottom: 16px; }
.eyebrow-invert { color: rgba(255, 255, 255, .48); }

.section-title {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink);
}

.section-lead {
  margin-top: 14px;
  max-width: 58ch;
  color: var(--ink-2);
  font-size: 15px;
}

.section {
  padding: clamp(56px, 8vw, 112px) var(--pad);
}

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }

/* ── 4. 按钮 ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease);
}
.btn-arrow { font-family: var(--font-mono); font-weight: 400; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-safe { background: var(--safe); color: #fff; }
.btn-safe:hover { background: var(--safe-deep); transform: translateY(-2px); }

.btn-invert-ghost { background: transparent; color: #eef1f3; border-color: rgba(255, 255, 255, .26); }
.btn-invert-ghost:hover { border-color: rgba(255, 255, 255, .6); transform: translateY(-2px); }

.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ── 5. 顶栏 ────────────────────────────────────────────────────────── */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.masthead-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.brand-copy { margin-left: 11px; display: block; line-height: 1.15; }
.brand-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .2em;
  font-stretch: condensed;
}
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--ink-3);
  margin-top: 2px;
}

.masthead-nav { display: flex; align-items: center; margin-left: auto; margin-right: 28px; }
.masthead-nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  padding: 8px 0;
  margin-left: 26px;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.masthead-nav a:hover { color: var(--ink); border-bottom-color: var(--safe); }

.masthead-actions { display: flex; align-items: center; flex: 0 0 auto; }
.masthead-actions .btn { margin-left: 14px; }

/* 账号菜单 */
.account { position: relative; }
.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 12px 0 6px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--font-sans);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s var(--ease);
}
.account-trigger:hover { border-color: var(--ink-3); }
.account-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.account-copy { display: block; text-align: left; line-height: 1.2; }
.account-copy strong { display: block; font-size: 13px; font-weight: 600; }
.account-copy small { display: block; font-size: 11px; color: var(--ink-3); font-family: var(--font-mono); }
.account-caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .18s var(--ease);
}
.account.is-open .account-caret { transform: rotate(225deg) translate(-3px, -3px); }

.account-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 250px;
  padding: 8px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(20, 23, 27, .16);
  z-index: 50;
}
.account-summary { padding: 10px 12px 12px; border-bottom: 1px solid var(--rule-soft); margin-bottom: 6px; }
.account-summary strong { display: block; font-size: 14px; }
.account-summary small { display: block; font-size: 12px; color: var(--ink-3); }
.account-panel a,
.account-logout {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-sans);
  text-align: left;
  width: 100%;
  cursor: pointer;
}
.account-panel a:hover { background: var(--paper); color: var(--ink); }
.account-logout { color: var(--safe-deep); }
.account-logout:hover { background: var(--paper); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  margin-left: 10px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars { display: block; width: 14px; }
.nav-toggle-bars i { display: block; height: 1.5px; background: var(--ink); margin: 3px 0; }

/* ── 6. 主视觉 ──────────────────────────────────────────────────────── */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--pad) clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.28fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.028em;
  color: var(--ink);
}
.hero-em { color: var(--safe); }

.hero-lead {
  margin-top: 20px;
  max-width: 38ch;
  font-size: clamp(14.5px, 1.05vw, 16px);
  color: var(--ink-2);
}

.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; }
.hero-actions .btn { margin: 0 12px 12px 0; }

.hero-facts {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
}
.fact { margin-right: 40px; }
.fact dt {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--ink);
}
.fact dd {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-3);
}

/* ── 7. 胶片条（签名元件）───────────────────────────────────────────── */
.hero-film { min-width: 0; }

.film {
  background: var(--neg);
  border-radius: var(--radius);
  padding: 0 18px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(16, 19, 22, .28);
}

.film-perf {
  height: 13px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='13'><rect x='3' y='2' width='14' height='9' rx='2.2' fill='%23e4e7ea'/></svg>");
  background-repeat: repeat-x;
  background-size: 20px 13px;
  background-position: center;
}
.film-perf-top { margin-top: 13px; }
.film-perf-bottom { margin-bottom: 13px; }

.film-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 6px 0 10px;
}

.cellwrap {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.cell {
  position: relative;
  display: block;
  padding-bottom: 177.78%;
  border-radius: 5px;
  overflow: hidden;
  background: #05070a;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.cellwrap:hover .cell {
  transform: translateY(-7px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
}

.cell-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cell-badge {
  position: absolute;
  top: 7px; left: 7px;
  padding: 3px 7px;
  background: rgba(10, 12, 15, .62);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  border-radius: 4px;
  backdrop-filter: none;
}

/* 负片格：真正把第一帧反相 */
.cell-neg {
  background: #05070a;
  border: 1px solid rgba(255, 255, 255, .1);
}
.cell-neg-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: invert(1) grayscale(1) contrast(1.15) brightness(.72);
  opacity: .5;
}
.cell-neg-top {
  position: absolute;
  top: 7px; left: 7px; right: 7px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
}
.cell-neg-tag {
  color: var(--safe);
  border: 1px solid var(--safe);
  border-radius: 4px;
  padding: 2px 6px;
}
.cell-neg-live { color: rgba(255, 255, 255, .55); }
.cell-neg-mark {
  position: absolute;
  top: 42%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .82);
}
.cell-neg-foot {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
}
.cell-neg-title {
  display: block;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .01em;
}
.cell-neg-code {
  display: block;
  margin-top: 3px;
  color: var(--safe);
  font-size: 9.5px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.cell-meta { display: block; padding-top: 10px; }
.cell-tc {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-3);
  transition: color .18s var(--ease);
}
.cellwrap:hover .cell-tc { color: var(--safe); }
.cell-name {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.cell-note {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .42);
}

.film-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-2);
  max-width: 62ch;
}

/* ── 8. 交付清单 ────────────────────────────────────────────────────── */
.works { background: var(--sheet); border-top: 1px solid var(--rule); }

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

.work-card {
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.work-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--safe);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .32s var(--ease);
  z-index: 2;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule);
  box-shadow: 0 16px 34px rgba(20, 23, 27, .09);
}
.work-card:hover::before { transform: scaleX(1); }

.work-media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
}
.work-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s var(--ease);
}
.work-card:hover .work-media img { transform: scale(1.035); }

.work-body { padding: 20px 22px 20px; }

.work-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.work-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.work-status {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--cyan);
}
.work-status i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 7px;
}

.work-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.work-desc {
  margin-top: 9px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
}

.spec { margin-top: 18px; border-top: 1px solid var(--rule-soft); }
.spec div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 12.5px;
}
.spec dt {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--ink-3);
  padding-top: 3px;
}
.spec dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--safe);
  padding-bottom: 2px;
  transition: color .18s var(--ease), gap .18s var(--ease);
}
.work-link:hover { color: var(--safe); gap: 12px; }

/* ── 9. 底片 / API ──────────────────────────────────────────────────── */
.negative {
  background: var(--neg);
  color: #e9edf0;
  position: relative;
  overflow: hidden;
}
.negative::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -30%;
  width: 52%;
  height: 160%;
  background: radial-gradient(closest-side, rgba(255, 59, 18, .14), transparent 72%);
  pointer-events: none;
}
.negative-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.negative .section-title { color: #fff; }
.negative-lead {
  margin-top: 18px;
  max-width: 44ch;
  color: rgba(233, 237, 240, .72);
  font-size: 16px;
}
.negative-actions { margin-top: 30px; display: flex; flex-wrap: wrap; }
.negative-actions .btn { margin: 0 12px 12px 0; }

.negative-code {
  background: #0a0c0f;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  overflow: hidden;
}
.code-head {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .5);
}
.code-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--safe);
  margin-right: 10px;
}
.code-title { color: rgba(255, 255, 255, .78); }
.code-lang { margin-left: auto; color: var(--safe); }

.code-body {
  margin: 0;
  padding: 20px 18px;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.85;
  color: #cfd6db;
  white-space: pre;
}
.c-key { color: var(--safe); }
.c-str { color: #7fd1c0; }

.code-foot {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
  color: rgba(255, 255, 255, .46);
}

/* ── 10. 能力类型 ───────────────────────────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.cap-card {
  padding: 22px 20px 24px;
  background: var(--sheet);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.cap-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.cap-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--safe);
}
.cap-card h3 {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.005em;
}
.cap-card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.cap-card-link { background: var(--ink); color: #fff; }
.cap-card-link .cap-index { color: var(--safe); }
.cap-card-link p { color: rgba(255, 255, 255, .66); }
.cap-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--safe);
  padding-bottom: 2px;
}

/* ── 11. 画布素材 ───────────────────────────────────────────────────── */
.canvas { background: var(--sheet); border-top: 1px solid var(--rule); }
.canvas-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.canvas-actions { margin-top: 28px; display: flex; flex-wrap: wrap; }
.canvas-actions .btn { margin: 0 12px 12px 0; }

.canvas-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}
.canvas-tag {
  margin: 0 8px 8px 0;
  padding: 7px 13px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-2);
  background: var(--paper);
}

/* ── 12. CTA ────────────────────────────────────────────────────────── */
.cta { background: var(--paper-2); }
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta-title {
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -.024em;
}
.cta-lead {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 16px;
}
.cta-actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; }
.cta-actions .btn { margin: 0 8px 12px; }

/* ── 13. 页脚（精简）─────────────────────────────────────────────────── */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 24px var(--pad) 28px;
}
.footer-bar {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-3);
}
.footer-bar a { color: var(--ink-2); text-decoration: none; }
.footer-bar a:hover { color: var(--safe); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
  margin-left: auto;
}

/* ── 14. 入场动效 ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .work-card:hover, .cap-card:hover, .cellwrap:hover .cell { transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ── 15. 响应式 ─────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 680px; }
  .cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .negative-inner { grid-template-columns: minmax(0, 1fr); }
  .canvas-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .masthead-nav {
    position: absolute;
    left: 0; right: 0; top: 68px;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 6px var(--pad) 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    display: none;
  }
  .masthead-nav.is-open { display: flex; }
  .masthead-nav a { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .account-copy { display: none; }
  .account-trigger { padding: 0 10px 0 6px; }

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

  /* 胶片条转为横向滑动 */
  .film-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 52%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
  }
  .cellwrap { scroll-snap-align: center; }
  .film { padding: 0 14px; }
}

@media (max-width: 620px) {
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact { margin-right: 0; min-width: 0; }
  .fact dt { font-size: 24px; }
  .fact dd { font-size: 10px; letter-spacing: .02em; line-height: 1.5; overflow-wrap: anywhere; }
  .cap-grid { grid-template-columns: minmax(0, 1fr); }
  .film-row { grid-auto-columns: 46%; }
  .masthead-inner { height: 60px; }
  .masthead-nav { top: 60px; }
  .masthead-actions .btn { display: none; }
  .footer-nav { margin-left: 0; }

  /* 顶栏在窄屏收紧，避免溢出 */
  .brand-mark { width: 30px; height: 30px; }
  .brand-copy { margin-left: 9px; }
  .brand-word { font-size: 15px; letter-spacing: .16em; }
  .brand-sub { display: none; }
  .nav-toggle { padding: 0 10px; margin-left: 8px; }
  .nav-toggle-label { display: none; }
}
