/* 造梦谷 · 首页原型（纯净白默认 + 随画面动态取色流转） */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #f3f5fa; }

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #08090d;
  --surface: #12141b;
  --surface-2: #191c25;
  --ink: #f3f5fa;
  --ink-2: rgba(243, 245, 250, .74);
  --ink-3: rgba(243, 245, 250, .48);
  --line: rgba(255, 255, 255, .09);
  --accent: #f3f5fa;
  --accent-strong: color-mix(in srgb, var(--accent) 82%, #ffffff);
  --on-accent: #090a0f;

  --rail: 68px;
  --gut: 16px;
  --pad-l: calc(var(--gut) + var(--rail) + 36px);
  --pad-r: 40px;
  --top: 76px;
  --stage-h: max(640px, calc(100vh - 190px));
  --box-l: 16vw;

  --f-display: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  --f-ui: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --f-num: "New York", ui-serif, "Iowan Old Style", Georgia, serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; transition: --accent .95s ease; }
body { margin: 0; min-height: 100vh; font: 14px/1.5 var(--f-ui); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, video { display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
kbd { font: 11px var(--f-mono); padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: var(--ink-3); }
[hidden] { display: none !important; }
::selection { background: color-mix(in srgb, var(--accent) 55%, transparent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { opacity: 0; animation: rise 1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }

/* ---------- 玻璃 ---------- */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045));
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(255, 255, 255, .04), 0 30px 70px -24px rgba(0, 0, 0, .7);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(220px circle at var(--mx, -400px) var(--my, -400px), rgba(255, 255, 255, .8), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .05) 38%, rgba(255, 255, 255, .03) 62%, rgba(255, 255, 255, .2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* ---------- 舞台 ---------- */
.stage { position: fixed; inset: 0 0 auto 0; height: var(--stage-h); z-index: 0; pointer-events: none; overflow: hidden; }
#dust { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.crisp {
  position: absolute;
  left: var(--box-l);
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  --m: linear-gradient(90deg, transparent 4%, #000 40%), linear-gradient(180deg, #000 60%, transparent 95%), radial-gradient(circle at var(--hx, -999px) var(--hy, -999px), transparent 0, transparent calc(var(--hr, 0px) * .4), #000 var(--hr, 0px));
  -webkit-mask-image: var(--m);
  -webkit-mask-composite: source-in;
  mask-image: var(--m);
  mask-composite: intersect;
}
.crisp img, .crisp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crisp video { opacity: 0; transition: opacity .6s; }
.crisp video.on { opacity: 1; }
.stage.nogl .crisp { opacity: 1 !important; }
.scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0, rgba(8, 9, 14, .84) 22%, rgba(8, 9, 14, .22) 44%, rgba(8, 9, 14, 0) 60%),
    linear-gradient(270deg, rgba(8, 9, 14, .74) 0, rgba(8, 9, 14, .32) 18%, rgba(8, 9, 14, 0) 42%),
    linear-gradient(180deg, rgba(8, 9, 14, .72) 0, rgba(8, 9, 14, .26) 14%, rgba(8, 9, 14, 0) 28%, rgba(8, 9, 14, 0) 56%, var(--bg) 98%);
}
.grain {
  position: absolute;
  inset: 0;
  opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 左侧导航 ---------- */
.rail {
  position: fixed;
  left: var(--gut);
  top: var(--gut);
  bottom: var(--gut);
  width: var(--rail);
  z-index: 20;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
}
.rail .item {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 48px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  color: var(--ink-3);
  transition: color .25s;
}
.rail .item svg { width: 19px; height: 19px; transition: transform .5s var(--ease-spring); }
.rail .item:hover { color: var(--ink); }
.rail .item:hover svg { transform: translateY(-1px) scale(1.08); }
.rail .item.on { color: var(--ink); }
.rail .pill {
  position: absolute;
  top: 0;
  left: 6px;
  width: 56px;
  height: 48px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 24px -6px var(--accent);
  transform: translateY(12px);
  transition: transform .6s var(--ease-out);
}
.rail-foot { margin-top: auto; font: 10px var(--f-mono); letter-spacing: .12em; color: var(--ink-3); padding-bottom: 4px; }

.account {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 20;
  height: 44px;
  padding: 5px 5px 5px 16px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.credit { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.credit i { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 10px var(--accent); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--f-display); color: var(--on-accent); background: linear-gradient(135deg, #fff, var(--accent)); }

/* ---------- 首屏 ---------- */
.page { position: relative; z-index: 1; }
.top { height: var(--top); padding-left: calc(var(--pad-l) - 8px); display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }

.hero {
  position: relative;
  height: calc(var(--stage-h) - var(--top) - 62px);
  padding: 0 var(--pad-r) 40px var(--pad-l);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.hero.grabbing { cursor: grabbing; }
.hero-copy { width: min(680px, 52vw); cursor: auto; }

.hello { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font: 12px var(--f-mono); letter-spacing: .16em; color: var(--ink-3); }
.hello i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

h1 { margin: 0 0 26px; font: 900 clamp(46px, 4.7vw, 76px)/1.08 var(--f-display); letter-spacing: -.01em; white-space: nowrap; text-shadow: 0 4px 28px rgba(4, 6, 12, .72), 0 1px 4px rgba(0, 0, 0, .55); }
h1 span { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(10px); animation: charIn 1.1s var(--ease-out) forwards; animation-delay: calc(.9s + var(--i) * 55ms); }
h1 .dream { color: var(--accent); text-shadow: 0 4px 24px rgba(4, 6, 12, .72), 0 0 38px color-mix(in srgb, var(--accent) 44%, transparent); }
@keyframes charIn { to { opacity: 1; transform: none; filter: none; } }

.composer { border-radius: 28px; padding: 16px 16px 12px; transition: box-shadow .3s; }
.composer:focus-within, .composer.drop { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 30px 80px -24px color-mix(in srgb, var(--accent) 45%, #000); }
.composer .row { display: flex; gap: 14px; }
.ref {
  position: relative;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .03);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  overflow: hidden;
  transition: color .25s, border-color .25s, transform .5s var(--ease-spring);
}
.ref svg { width: 22px; height: 22px; }
.ref:hover { color: var(--ink); border-color: rgba(255, 255, 255, .5); transform: rotate(-4deg) scale(1.04); }
.ref.has { border-style: solid; border-color: rgba(255, 255, 255, .4); }
.ref img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.field { position: relative; flex: 1; min-height: 78px; }
.field textarea, .ghost { font: 16px/1.62 var(--f-ui); padding: 2px 0; }
.field textarea { display: block; width: 100%; height: 78px; resize: none; background: none; border: 0; outline: 0; color: var(--ink); caret-color: var(--accent); user-select: text; -webkit-user-select: text; }
.ghost { position: absolute; inset: 0; pointer-events: none; color: var(--ink-3); }
.ghost kbd { margin-left: 8px; opacity: 0; transition: opacity .5s; }
.ghost.done kbd { opacity: 1; }

.bar { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.seg { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.seg button { position: relative; z-index: 1; height: 30px; padding: 0 15px; border-radius: 999px; font-size: 13px; color: var(--ink-3); transition: color .3s; }
.seg button[aria-pressed="true"] { color: #111; font-weight: 600; }
.seg .thumb { position: absolute; top: 3px; left: 3px; height: calc(100% - 6px); width: 0; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.seg.small button { height: 28px; padding: 0 13px; font-size: 12.5px; }
.opt { height: 32px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12.5px; color: var(--ink-2); background: rgba(255, 255, 255, .07); transition: background .2s, color .2s; font-variant-numeric: tabular-nums; }
button.opt:hover { background: rgba(255, 255, 255, .14); color: var(--ink); }
.opt.static { background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
.go {
  margin-left: auto;
  height: 42px;
  padding: 0 12px 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 620;
  color: var(--on-accent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 82%, #ffffff), var(--accent));
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--accent) 62%, transparent), inset 0 1px 0 rgba(255, 255, 255, .48);
  transition: transform .5s var(--ease-spring), box-shadow .3s, filter .2s, background .8s ease;
}
.go:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.06); box-shadow: 0 14px 36px -10px color-mix(in srgb, var(--accent) 72%, transparent), inset 0 1px 0 rgba(255, 255, 255, .56); }
.go:active { transform: scale(.97); }
.go kbd { background: rgba(0, 0, 0, .16); color: rgba(0, 0, 0, .6); }

.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip {
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background .25s, color .25s, transform .5s var(--ease-spring);
}
.chip svg { width: 15px; height: 15px; }
.chip:hover { color: var(--ink); background: rgba(255, 255, 255, .13); transform: translateY(-2px); }
.chip.primary { color: var(--ink); background: rgba(255, 255, 255, .13); }

.now { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; cursor: auto; }
.now .count { display: flex; align-items: baseline; gap: 8px; font: italic 400 15px var(--f-num); color: rgba(243, 245, 250, .74); text-shadow: 0 2px 16px rgba(4, 6, 12, .85), 0 1px 3px rgba(0, 0, 0, .68); }
.now .count b { font: italic 500 46px/1 var(--f-num); color: var(--ink); text-shadow: 0 4px 24px rgba(4, 6, 12, .82), 0 1px 4px rgba(0, 0, 0, .65); }
.now h2 { margin: 0; font: 700 26px/1.2 var(--f-display); letter-spacing: .02em; text-shadow: 0 3px 20px rgba(4, 6, 12, .86), 0 1px 4px rgba(0, 0, 0, .68); }
.now .meta { margin: 0 0 6px; font: 11.5px var(--f-mono); letter-spacing: .1em; color: rgba(243, 245, 250, .76); text-shadow: 0 2px 14px rgba(4, 6, 12, .86), 0 1px 3px rgba(0, 0, 0, .65); }
.strip { display: flex; gap: 8px; }
.strip button { position: relative; width: 66px; height: 42px; border-radius: 10px; overflow: hidden; opacity: .5; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); transition: opacity .3s, transform .5s var(--ease-out), box-shadow .3s; }
.strip button img { width: 100%; height: 100%; object-fit: cover; }
.strip button:hover { opacity: .9; transform: translateY(-3px); }
.strip button.on { opacity: 1; transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 12px 24px -8px rgba(0, 0, 0, .8); }
.strip .tick { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--k, 0)); }
.now .hint { margin: 2px 0 0; font-size: 12px; color: var(--ink-3); }

/* ---------- 下方内容 ---------- */
.sheet { position: relative; z-index: 2; padding: 0 var(--pad-r) 72px var(--pad-l); background: linear-gradient(180deg, transparent 0, var(--bg) 130px); }
.sec { padding-top: 96px; scroll-margin-top: 0; }
.sec.first { padding-top: 22px; }
.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.sec-head h3 { margin: 0; font: 900 30px/1 var(--f-display); letter-spacing: .02em; }
.sec.first .sec-head { margin-bottom: 14px; }
.sec.first .sec-head h3 { font-size: 20px; }
.sec-head p { margin: 0; font-size: 13px; color: var(--ink-3); }
.sec-head .more, .sec-head .note, .sec-head .seg { margin-left: auto; }
.sec-head .more { font-size: 13px; color: var(--ink-2); padding: 4px 0; border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.sec-head .more:hover { color: var(--ink); border-color: var(--ink); }
.sec-head .note { font: 11px var(--f-mono); letter-spacing: .1em; color: var(--ink-3); padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.sec-head .seg { align-self: center; }

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  text-align: left;
  background: #111114;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease-out), box-shadow .4s;
}
.tile.tilting { transition: transform .1s linear, box-shadow .4s; }
.tile:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .14); }
.tile > img, .tile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; z-index: -1; transition: transform 1.1s var(--ease-out), opacity .5s; }
.tile > video { opacity: 0; }
.tile.playing > video { opacity: 1; }
.tile:hover > img, .tile:hover > video { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(340px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .2), transparent 60%); }
.tile:hover::after { opacity: 1; }
.tag { position: absolute; top: 12px; left: 12px; padding: 3px 9px; border-radius: 999px; font: 10.5px var(--f-mono); letter-spacing: .08em; color: var(--ink-2); background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cards:not(.all) > :nth-child(n+6) { display: none; }
.card { border-radius: 20px; aspect-ratio: 16 / 11; }
.card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; display: flex; flex-direction: column; gap: 1px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); }
.card .cap b { font-size: 13.5px; font-weight: 600; }
.card .cap span { font: 11px var(--f-mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.new { background: #0d0d10; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; width: 100%; }
.card.new .dots { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1.5px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(150px circle at var(--gx, 50%) var(--gy, 46%), #000, rgba(0, 0, 0, .14) 75%); mask-image: radial-gradient(150px circle at var(--gx, 50%) var(--gy, 46%), #000, rgba(0, 0, 0, .14) 75%); }
.card.new .plus { width: 54px; height: 54px; margin-bottom: 22px; border-radius: 50%; display: grid; place-items: center; color: #111; background: var(--ink); box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 14px 30px -10px rgba(0, 0, 0, .8); transition: transform .6s var(--ease-spring), background .3s; }
.card.new .plus svg { width: 22px; height: 22px; stroke-width: 2; }
.card.new:hover .plus { transform: rotate(90deg) scale(1.12); background: var(--accent); }
.card.new .lbl { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; }
.card.draft { background: radial-gradient(130% 100% at 0% 0%, color-mix(in srgb, var(--c) 36%, #131317), #0d0d10 72%); box-shadow: inset 0 0 0 1px var(--line); }
.card.draft .quote { margin: 0; padding: 42px 14px 0; font: 700 15px/1.5 var(--f-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.draft .cap { background: none; }
.card .del { position: absolute; top: 9px; right: 9px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; font-size: 16px; line-height: 1; color: var(--ink-2); background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .2s, background .2s; }
.card:hover .del { opacity: 1; }
.card .del:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.card.fresh { animation: pop .8s var(--ease-spring); }
@keyframes pop { from { opacity: 0; transform: scale(.82); } }

.flows { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 214px; gap: 16px; }
.flow { grid-column: span 3; border-radius: 24px; }
.flow.big { grid-column: span 6; grid-row: span 2; }
.flow .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 20px 18px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82)); }
.flow h4 { margin: 0; font: 700 20px/1.25 var(--f-display); letter-spacing: .01em; }
.flow.big h4 { font-size: 40px; font-weight: 900; }
.flow.big .body { padding: 120px 28px 26px; }
.flow .body p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.flow .steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.flow .steps span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 999px; font-size: 11.5px; color: var(--ink-2); background: rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .4s, color .4s; }
.flow .steps i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font: 600 10px var(--f-mono); font-style: normal; background: rgba(255, 255, 255, .16); }
.flow .steps span.on { background: var(--accent); color: var(--on-accent); }
.flow .steps span.on i { background: rgba(0, 0, 0, .16); }
.flow .arrow { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #111; background: var(--ink); opacity: 0; transform: translate(-6px, 6px) scale(.8); transition: opacity .3s, transform .6s var(--ease-spring); }
.flow .arrow svg { width: 17px; height: 17px; stroke-width: 2; }
.flow:hover .arrow { opacity: 1; transform: none; }

.wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 16px; }
.shot { grid-column: span var(--span, 4); border-radius: 20px; }
.wall.filtered .shot { grid-column: span 4; }
.shot .over { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .85)); opacity: 0; transition: opacity .4s; }
.shot:hover .over { opacity: 1; }
.shot .over p { margin: 0 0 12px; max-width: 34em; font: 14.5px/1.55 var(--f-display); transform: translateY(10px); transition: transform .7s var(--ease-out); }
.shot:hover .over p { transform: none; }
.same { height: 32px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #111; background: var(--ink); transition: background .25s, transform .5s var(--ease-spring); }
.same:hover { background: var(--accent); transform: scale(1.05); }

.foot { margin-top: 84px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }

.toast { position: fixed; left: 50%; bottom: 30px; z-index: 50; padding: 12px 20px; border-radius: 999px; font-size: 13.5px; pointer-events: none; opacity: 0; transform: translate(-50%, 18px); transition: opacity .4s, transform .6s var(--ease-out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  .now { display: none; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards:not(.all) > :nth-child(n+4) { display: none; }
  .flow { grid-column: span 6; }
  .flow.big { grid-column: span 12; }
  .shot, .wall.filtered .shot { grid-column: span 6; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, h1 span { animation: none; opacity: 1; transform: none; filter: none; }
  .tile, .tile > img, .tile > video { transition: none; }
}
