/* films.imshengli.com：与 imshengli.com、motion.imshengli.com 同一品牌家族。
   全站米白底，只有播放器“舞台”是深色；唯一的强调色是品牌红。
   断点：≤1100px 详情页收起两侧的上一支/下一支；≤720px 手机版式（左右 16px）。 */

:root {
  --paper: #F7F6F2;
  --paper-2: #E9E6DF;
  --ink: #171717;
  --muted: #57554F;
  --soft: #6B6962;
  --line: #DEDBD2;
  --line-2: #CFCBC0;
  --red: #C81B1C;
  --stage: #111110;
  --stage-2: #1B1A18;
  --on-stage: #F1EFE9;
  --on-stage-2: rgba(241, 239, 233, .72);
  --stage-line: rgba(241, 239, 233, .14);

  --serif: Georgia, 'Noto Serif SC', 'Songti SC', serif;
  --sans: 'Latin Quotes', 'Noto Sans SC', -apple-system, 'PingFang SC', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --logo: Georgia, 'Times New Roman', serif;

  --max: 1280px;
  --pad: 32px;
  color-scheme: light;
}
@media (max-width: 720px) { :root { --pad: 16px; } }
/* 英文页：西文字体在前，中文字体兜底 */
:root:lang(en) { --sans: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Noto Sans SC', 'PingFang SC', sans-serif; }
/* 中文字体里的 ‘ ’ 是全角的，I’m 会被撑开；单引号改用西文字形 */
@font-face {
  font-family: 'Latin Quotes';
  src: local('Helvetica Neue'), local('HelveticaNeue'), local('Arial'), local('Roboto'), local('Segoe UI');
  unicode-range: U+2018-2019;
}

/* ---------- 基础 ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  background: var(--paper); color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, p, dl, dd, figure { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }

.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.red { color: var(--red); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
.only-narrow { display: none; }
@media (max-width: 720px) {
  .only-wide { display: none; }
  .only-narrow { display: inline; }
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper);
}
.skip:focus { top: 12px; color: var(--paper); }

/* ---------- 顶栏 ---------- */

.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-word { font: 24px/1 var(--logo); letter-spacing: -.02em; }
.brand-badge {
  margin-left: 6px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px;
  font: 11px/1.2 var(--mono); letter-spacing: .12em; color: var(--muted);
}
.topnav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.topnav-link { padding: 12px 0; }
.topnav-sep { width: 1px; height: 18px; background: var(--line); }
.lang-pill {
  display: flex; align-items: center; min-height: 40px; min-width: 44px; justify-content: center; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; font: 12px/1 var(--mono);
}
.topbar-dark { background: var(--stage); border-bottom-color: var(--stage-line); color: var(--on-stage); }
.topbar-dark .brand, .topbar-dark .brand:hover { color: var(--on-stage); }
.topbar-dark .brand-badge { border-color: rgba(241, 239, 233, .2); color: var(--on-stage-2); }
.topbar-dark .topnav-link, .topbar-dark .lang-pill { color: var(--on-stage-2); }
.topbar-dark .topnav-link:hover, .topbar-dark .lang-pill:hover { color: var(--on-stage); }
.topbar-dark .topnav-sep { background: rgba(241, 239, 233, .2); }
.topbar-dark .lang-pill { border-color: rgba(241, 239, 233, .2); }

@media (max-width: 720px) {
  .topbar-inner { padding: 8px var(--pad); gap: 12px; flex-wrap: nowrap; }
  .brand { gap: 8px; }
  .brand .mark { width: 17px; height: 23px; }
  .brand-word { font-size: 21px; }
  .brand-badge { margin-left: 4px; padding: 3px 6px; font-size: 10px; }
  .topnav-link, .topnav-sep { display: none; }
}

/* ---------- 按钮、标签胶囊、文字链接 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn svg { width: 14px; height: 14px; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; color: var(--paper); }
.btn-line { border: 1px solid var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }

.pill {
  display: inline-block; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; line-height: 1.5; color: var(--muted); white-space: nowrap;
}
.pill-dark { padding: 3px 10px; border-color: rgba(241, 239, 233, .24); color: rgba(241, 239, 233, .8); }

.text-link { padding: 12px 0 2px; font-size: 14px; border-bottom: 1px solid var(--red); white-space: nowrap; }

/* ---------- 首页首屏 ---------- */

.hero {
  max-width: var(--max); margin: 0 auto; padding: 80px var(--pad) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; row-gap: 28px;
  grid-template-areas: "copy feature" "actions feature";
}
.hero-copy { grid-area: copy; align-self: end; display: flex; flex-direction: column; gap: 28px; }
.hero-actions { grid-area: actions; align-self: start; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-kicker { font-size: 12px; letter-spacing: .14em; color: var(--red); }
.hero-title {
  font: 500 68px/1.12 var(--serif); letter-spacing: -.01em;
  text-wrap: balance;
}
.hero-lede { max-width: 460px; color: var(--muted); font-size: 17px; line-height: 1.8; text-wrap: pretty; }

.feature { grid-area: feature; align-self: center; display: flex; flex-direction: column; gap: 20px; }
.feature-stage {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--stage); border-radius: 6px; color: var(--on-stage);
}
.feature-stage:hover { color: var(--on-stage); }
.feature-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(17, 17, 16, .45), rgba(17, 17, 16, 0) 32%);
}
.feature-label {
  position: absolute; top: 18px; left: 20px; z-index: 2;
  display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--on-stage-2);
}
.play-disc {
  position: absolute; top: 50%; left: 50%; z-index: 2; width: 80px; height: 80px; margin: -40px 0 0 -40px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--red); color: var(--paper); transition: transform .2s ease;
}
.play-disc svg { width: 28px; height: 28px; }
.feature-stage:hover .play-disc { transform: scale(1.06); }
.feature-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.feature-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feature-title { font: 32px/1.2 var(--serif); }
.feature-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 15px; }

@media (max-width: 960px) {
  .hero-title { font-size: 52px; }
}
@media (max-width: 720px) {
  .hero {
    padding-top: 40px; grid-template-columns: minmax(0, 1fr); row-gap: 16px;
    grid-template-areas: "copy" "feature" "actions";
  }
  .hero-copy { gap: 20px; margin-bottom: 12px; }
  .hero-kicker { font-size: 11px; }
  .hero-title { font-size: 40px; line-height: 1.18; }
  .hero-lede { font-size: 15px; }
  .feature { gap: 16px; }
  .feature-label { top: 12px; left: 14px; gap: 6px; font-size: 10px; }
  .feature-label .dot { width: 5px; height: 5px; }
  .play-disc { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .play-disc svg { width: 22px; height: 22px; }
  .feature-title { font-size: 26px; line-height: 1.25; }
  .feature-text { gap: 6px; }
  .feature-sub { font-size: 14px; }
  .feature-meta .text-link { display: none; }
  .hero-actions { gap: 10px; flex-wrap: nowrap; }
  .hero-actions .btn { flex: 1 1 0; min-height: 48px; padding: 0 12px; }
}

/* ---------- 全部短片 ---------- */

.films { max-width: var(--max); margin: 0 auto; padding: 120px var(--pad) 0; scroll-margin-top: 24px; }
.films-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.section-title { display: flex; align-items: baseline; gap: 14px; font: 500 40px/1.2 var(--serif); }
.section-title-sm { font-size: 36px; }
.count { font: 13px/1 var(--mono); color: var(--soft); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--ink);
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip-n { font: 11px/1 var(--mono); color: var(--soft); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] .chip-n { color: rgba(247, 246, 242, .7); }

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 40px 24px; padding-top: 32px;
}
.films:not(.is-expanded) .card[data-over="desktop"] { display: none; }
.more { display: flex; justify-content: center; padding-top: 48px; }
.more[data-need=""], .more[data-need="mobile"] { display: none; }
.more-btn { min-height: 48px; padding: 0 28px; font-size: 14px; }

.card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); border-radius: 4px; }
.card:hover { color: var(--ink); }
.card:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.poster {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 4px; background: var(--stage);
  transition: transform .2s ease;
}
.poster img, .poster video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster video { opacity: 0; transition: opacity .3s; }
.poster video.on { opacity: 1; }
.poster-time {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  padding: 3px 6px; border-radius: 3px; background: rgba(17, 17, 16, .8);
  font: 11px/1.3 var(--mono); color: var(--on-stage);
}
.card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.card-title { font: 20px/1.3 var(--serif); transition: color .2s; }
.card-hook { color: var(--muted); font-size: 14px; line-height: 1.5; }
.card-body .pill { margin-top: 4px; }
.card:hover .card-title { color: var(--red); }
.card:hover .poster { transform: translateY(-2px); }

@media (max-width: 720px) {
  .films { padding: 72px 0 0; }
  .films-head { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 0; }
  .films-head .section-title { padding: 0 var(--pad) 16px; font-size: 30px; gap: 12px; }
  .films-head .count { font-size: 12px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding: 0 var(--pad) 20px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; white-space: nowrap; }
  .films .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; padding: 20px var(--pad) 0; }
  .films:not(.is-expanded) .card[data-over="mobile"] { display: none; }
  .more { padding: 32px var(--pad) 0; }
  .more[data-need="mobile"] { display: flex; }
  .more-btn { width: 100%; }

  .card { gap: 10px; border-radius: 3px; }
  .poster { border-radius: 3px; }
  .poster-time { right: 6px; bottom: 6px; padding: 2px 5px; border-radius: 2px; font-size: 10px; }
  .card-body { gap: 4px; }
  .card-title { font-size: 17px; }
  .card-hook { font-size: 13px; }
  .card-body .pill { margin-top: 2px; padding: 1px 7px; font-size: 11px; }
}

/* ---------- 页脚 ---------- */

.footer { max-width: var(--max); margin: 0 auto; padding: 144px var(--pad) 0; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  padding: 40px 0 28px; border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); }
.footer-brand span { font: 22px/1 var(--logo); letter-spacing: -.02em; }
.footer-tagline { max-width: 380px; color: var(--muted); font-size: 14px; line-height: 1.75; text-align: right; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-bottom: 40px; font-size: 11px; letter-spacing: .1em; color: var(--soft);
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { padding: 12px 0; color: var(--soft); }
.footer-links a:hover { color: var(--ink); }
@media (max-width: 720px) {
  .footer { padding: 96px var(--pad) 32px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 0 0; }
  .footer-brand { gap: 8px; }
  .footer-brand span { font-size: 20px; }
  .footer-tagline { text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 0 0; }
  .footer-links { gap: 0 20px; }
}

/* ---------- 详情页：舞台 ---------- */

.stage { background: var(--stage); color: var(--on-stage); }
.back { display: none; }
.stage-grid {
  max-width: 1440px; margin: 0 auto; padding: 40px var(--pad) 48px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1120px) minmax(0, 1fr);
  gap: 24px; align-items: center;
}
.side { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; color: var(--on-stage-2); }
.side-prev { justify-self: end; text-align: right; }
.side-next { justify-self: start; }
.side-label { font-size: 11px; }
.side-title { font: 18px/1.3 var(--serif); transition: color .2s; }
.side:hover { color: var(--on-stage-2); }
.side:hover .side-title { color: var(--on-stage); }

.player {
  grid-column: 2; position: relative; width: 100%; justify-self: center;
  max-width: calc((100svh - 220px) * 16 / 9); min-width: min(100%, 480px);
  aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--stage-2); border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(241, 239, 233, .08);
}
.stage[data-orient="vertical"] .player {
  aspect-ratio: 9 / 16; width: auto; min-width: 0;
  height: max(480px, calc(100svh - 220px)); max-width: 100%;
}
.player:fullscreen { max-width: none; width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; }
.player-video { width: 100%; height: 100%; object-fit: contain; background: var(--stage-2); cursor: pointer; }
.player-big {
  position: absolute; top: 50%; left: 50%; z-index: 3; width: 88px; height: 88px; margin: -44px 0 0 -44px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--red); color: var(--paper); transition: transform .2s ease, opacity .2s;
}
.player-big svg { width: 30px; height: 30px; }
.player-big:hover { transform: scale(1.06); }
.player.is-playing .player-big { opacity: 0; pointer-events: none; }
.controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 56px 16px 10px; display: flex; align-items: center; gap: 8px;
  background: linear-gradient(to top, rgba(17, 17, 16, .85), rgba(17, 17, 16, 0));
  transition: opacity .3s;
}
.player.is-idle .controls { opacity: 0; }
.player.is-idle { cursor: none; }
.ctl {
  width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 4px; color: var(--on-stage);
}
.ctl:hover { background: rgba(241, 239, 233, .12); }
.ctl svg { width: 18px; height: 18px; }
.ctl-play svg + svg, .player.is-playing .ctl-play svg:first-child { display: none; }
.player.is-playing .ctl-play svg + svg { display: block; }
.ctl-mute .cross, .player.is-muted .ctl-mute .wave { display: none; }
.player.is-muted .ctl-mute .cross { display: inline; }
.ctl-time { font-size: 12px; letter-spacing: 0; text-transform: none; color: rgba(241, 239, 233, .85); white-space: nowrap; }
.ctl-seek { flex-grow: 1; min-width: 0; margin: 0 8px; height: 44px; accent-color: var(--red); cursor: pointer; }

.stage-bar { grid-column: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ratio { display: flex; padding: 3px; gap: 2px; border: 1px solid rgba(241, 239, 233, .2); border-radius: 999px; }
.ratio button {
  min-height: 36px; min-width: 44px; padding: 0 14px; border-radius: 999px;
  font: 12px/1 var(--mono); color: var(--on-stage-2); transition: background .2s, color .2s;
}
.ratio button:hover { color: var(--on-stage); }
.ratio button[aria-pressed="true"] { background: var(--on-stage); color: var(--stage); }
.stage-spec { font-size: 12px; text-transform: none; color: rgba(241, 239, 233, .6); }
.stage-steps { display: none; gap: 8px; }
.round {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(241, 239, 233, .2); border-radius: 50%; color: var(--on-stage-2);
}
.round:hover { color: var(--on-stage); border-color: rgba(241, 239, 233, .5); }
.round svg { width: 16px; height: 16px; }

@media (max-width: 1100px) {
  .stage-grid { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .player, .stage-bar { grid-column: 1; }
  .stage-spec { display: none; }
  .stage-steps { display: flex; margin-left: auto; }
  .stage-bar .ratio { margin: 0 auto; }
}
@media (max-width: 720px) {
  .back { display: inline-flex; align-items: center; min-height: 44px; margin: 4px var(--pad); font-size: 13px; color: var(--on-stage-2); }
  .back:hover { color: var(--on-stage); }
  .stage-grid { padding: 0 0 18px; gap: 0; }
  .player { border-radius: 0; box-shadow: none; max-width: none; min-width: 0; }
  .stage[data-orient="vertical"] .player { height: auto; width: min(100%, calc((100svh - 150px) * 9 / 16)); }
  .player-big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .player-big svg { width: 22px; height: 22px; }
  .controls { padding: 24px 4px 0 12px; gap: 6px; }
  .ctl-play, .ctl-mute { display: none; }
  .ctl-time { font-size: 11px; }
  .ctl-seek { margin: 0 4px; }
  .stage-bar { padding: 14px var(--pad) 0; gap: 12px; flex-wrap: nowrap; }
  .stage-bar .pill-dark { display: none; }
  .stage-bar .ratio { margin: 0; }
}

/* ---------- 详情页：信息 ---------- */

.info {
  max-width: var(--max); margin: 0 auto; padding: 72px var(--pad) 0;
  display: flex; gap: 72px; flex-wrap: wrap; align-items: flex-start;
}
.info-main { flex: 1 1 560px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.info-tag { display: flex; }
.info-tag .pill { padding: 2px 10px; }
.info-title { font: 500 60px/1.12 var(--serif); text-wrap: balance; }
.info-hook { font: 22px/1.4 var(--serif); color: var(--red); }
.info-lede { max-width: 620px; margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.9; text-wrap: pretty; }
.info-side { flex: 0 1 400px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.facts { border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; color: var(--soft); }
.facts dd { font-size: 14px; text-align: right; }
.copy { align-self: flex-start; min-height: 48px; padding: 0 22px; font-size: 14px; }
.copy svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .info { padding-top: 36px; gap: 28px; }
  .info-main { gap: 12px; flex-basis: 100%; }
  .info-title { font-size: 38px; line-height: 1.15; }
  .info-hook { font-size: 18px; }
  .info-lede { margin-top: 6px; font-size: 15px; line-height: 1.85; }
  .info-side { flex-basis: 100%; gap: 20px; }
  .facts div { padding: 12px 0; }
  .facts-tag { display: none !important; }
  .copy { align-self: stretch; }
}

/* ---------- 详情页：相关短片 ---------- */

.related { max-width: var(--max); margin: 0 auto; padding: 120px var(--pad) 0; }
.related-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.related-all { padding: 12px 0; font-size: 14px; }
.grid-related { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
@media (max-width: 720px) {
  .related { padding-top: 64px; }
  .related-head { align-items: baseline; padding-bottom: 8px; border-bottom: 0; }
  .related-head .section-title { font-size: 24px; }
  .related-all { font-size: 13px; }
  .grid-related { display: flex; flex-direction: column; gap: 0; padding-top: 0; }
  .grid-related .card { flex-direction: row; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); border-radius: 0; }
  .grid-related .poster { flex-shrink: 0; width: 136px; }
  .grid-related .poster-time { right: 5px; bottom: 5px; padding: 1px 4px; }
  .grid-related .card-body { min-width: 0; }
}

/* ---------- 404 ---------- */

.lost { max-width: var(--max); margin: 0 auto; padding: 120px var(--pad) 0; display: flex; flex-direction: column; gap: 28px; }
.lost-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
