/* 一路向上時間軸 — the page climbs from 2021 (ground) to the roof */
:root {
  --bg: #0A0A0A; --ink: #F2EFE8; --paint: #191917; --muted: #9A978F; --accent: #FFC300; --step: #161614;
  --display: "Anton", "Noto Sans TC", sans-serif; --body: "Noto Sans TC", system-ui, sans-serif;
  --m: clamp(16px, 2.4vw, 40px);      /* outer margin, equal on both sides */
  --side: calc(var(--m) + 128px);      /* desktop: room for the lift on the right, mirrored on the left */
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
b { font-weight: 900; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--bg); }

/* ---------- bar ---------- */
.bar { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: 16px var(--m); color: var(--ink); background: var(--bg); }
.bar .mark { font: 400 22px/1 var(--display); margin-right: auto; letter-spacing: .01em; }
.bar .links { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
.bar .links a:hover { color: var(--accent); }
.act { background: var(--accent); color: var(--bg); font-weight: 700; font-size: 15px; padding: 10px 18px; transition: transform .25s var(--ease); }
.act:hover { transform: translateY(-2px); }
.act:active { transform: translateY(1px); }

/* ---------- the lift ---------- */
.lift { position: fixed; z-index: 25; right: var(--m); top: 50%; transform: translateY(-50%); background: var(--bg); padding: 12px 10px 12px 12px; display: grid; grid-template-columns: auto 8px; column-gap: 12px; align-items: end; }
.lift-now { grid-column: 1 / -1; font: 400 44px/1 var(--display); color: var(--accent); text-align: right; margin-bottom: 14px; overflow: hidden; height: 52px; padding: 4px 0 4px 8px; background: var(--bg); justify-self: end; }
.lift-now span { display: block; transition: transform .35s var(--ease), opacity .35s; }
.lift-now span.flip { transform: translateY(-60%); opacity: 0; }
.lift-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; justify-items: end; }
.lift-keys a { display: block; font: 400 17px/1 var(--display); letter-spacing: .02em; padding: 8px 10px; color: var(--muted); transition: color .2s, background .2s, transform .2s var(--ease); }
.lift-keys a:hover { color: var(--ink); transform: translateX(-3px); }
.lift-keys a[aria-current="true"] { background: var(--accent); color: var(--bg); }
.lift-shaft { grid-row: 2; grid-column: 2; align-self: stretch; background: var(--step); position: relative; }
.lift-shaft span { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--accent); }

/* ---------- tower: JS turns on the climb ---------- */
#tower { display: flex; flex-direction: column; }
.climb #tower { position: fixed; top: 0; left: 0; right: 0; flex-direction: column-reverse; will-change: transform; }
.floor { position: relative; display: flex; flex-direction: column; gap: clamp(40px, 4.4vw, 72px); padding: clamp(64px, 6vw, 104px) var(--side) 40px; }
.floor > * { position: relative; z-index: 1; }
/* the year, painted big on the wall BEHIND the works: it never takes a screen of its own */
.floor::before { content: attr(data-year); position: absolute; z-index: 0; left: calc(var(--side) - .04em); bottom: 96px; font: 400 clamp(180px, 34vw, 560px)/.78 var(--display); letter-spacing: -.03em; color: var(--paint); pointer-events: none; transform: translate3d(0, var(--sp, 0px), 0) scaleY(var(--stretch, 1)); transform-origin: 50% 100%; transition: color 1s var(--ease); }
.floor.here::before { color: #232321; }
.roof::before { content: none; }
.f2021::before { bottom: calc(var(--vh, 100svh) + 120px); }
.climb .floor { flex-direction: column-reverse; }

/* the floor number, painted like a stairwell wall */
.slab { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px clamp(16px, 2.4vw, 36px); }
.slab::after { content: ""; position: absolute; left: calc(var(--side) * -1); right: calc(var(--side) * -1); bottom: -22px; height: 14px; background: var(--paint); transition: background .8s var(--ease); }
.slab h2 { font: 400 clamp(48px, 5vw, 80px)/.9 var(--display); letter-spacing: -.01em; color: var(--ink); transition: color .8s var(--ease); }
.floor.here .slab h2 { color: var(--accent); }
.floor.here .slab::after { background: var(--ink); }
.slab-side { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; }
.slab-side p { font: 900 22px/1.3 var(--body); }
.slab-side .award { font: 500 17px/1.3 var(--body); color: var(--muted); }

/* ---------- ground (2021) ---------- */
.f2021 { padding-bottom: 0; }
.f2021 .ground { margin-top: 24px; }
.ground { position: relative; height: var(--vh, 100svh); margin: 0 calc(var(--side) * -1); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.ground-film { position: absolute; inset: 0; transform: scale(1.04); animation: drift 24s ease-in-out infinite alternate; }
.ground::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(10,10,10,.42); }
.ground-copy { position: relative; z-index: 2; padding: 0 var(--side) 28px; }
.ground h1 { font: 400 calc((100vw - 2 * var(--side)) / 5.8)/.86 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.ground-line { font-size: 22px; font-weight: 500; max-width: 34em; margin-top: 32px; }
.cue { margin-top: 18px; font-weight: 700; color: var(--accent); }
.cue span { display: inline-block; animation: up 1.6s var(--ease) infinite; }
.bedrock { position: relative; z-index: 2; background: var(--step); padding: 18px var(--side); display: grid; grid-template-columns: auto 1fr 200px; gap: 8px 32px; align-items: center; }
.bedrock-clip { aspect-ratio: 16 / 9; overflow: hidden; }
.bedrock-title { font: 400 32px/1 var(--display); color: var(--accent); }
@keyframes drift { to { transform: scale(1.12) translateY(-2%); } }
@keyframes up { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- works ---------- */
.work h3 { font: 900 clamp(26px, 2.6vw, 40px)/1.1 var(--body); margin-bottom: 10px; }
.work .who { color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.work .fact { margin-top: 20px; }
.work .fact b { font: 400 clamp(44px, 4.4vw, 64px)/1 var(--display); display: block; letter-spacing: -.01em; }
.pic { overflow: hidden; background: var(--step); }
.pic img, .pic video { transform: translate3d(0, var(--py, 0px), 0) skewY(var(--skew, 0deg)) scale(var(--hs, 1.18)); transition: transform .5s var(--ease); }
.work:hover .pic { --hs: 1.24; }

.w-onetime { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.w-onetime .pic { aspect-ratio: 3 / 2; }

.w-247first .pic.wide { margin: 0 calc(var(--side) * -1); aspect-ratio: 21 / 9; }
.w-247first .txt { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 32px; margin-top: 32px; align-items: start; }
.w-247first .txt .fact { margin-top: 0; }

.collage { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.collage .pic { margin-bottom: 16px; }
.collage .c1 { grid-column: 1 / 8; } .collage .c1 .pic { aspect-ratio: 16 / 10; }
.collage .c2 { grid-column: 8 / 13; margin-top: 18%; } .collage .c2 .pic { aspect-ratio: 4 / 5; }
.collage .c3 { grid-column: 1 / 5; } .collage .c3 .pic { aspect-ratio: 1; }
.collage .c4 { grid-column: 5 / 9; margin-top: 12%; } .collage .c4 .pic { aspect-ratio: 4 / 5; }
.collage .c5 { grid-column: 9 / 13; } .collage .c5 .pic { aspect-ratio: 16 / 10; }

.w-street { position: relative; margin: 0 calc(var(--side) * -1); }
.w-street .pic.full { height: 92vh; min-height: 520px; }
.w-street .txt.over { position: absolute; left: 0; bottom: 0; max-width: calc(560px + var(--side)); background: var(--bg); padding: 32px 36px 32px var(--side); }

.w-vr { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.w-vr .pic.tall { aspect-ratio: 4 / 3; }
.w-vr .second { margin-top: 40px; }

.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.mosaic .pic { margin-bottom: 16px; }
.mosaic .m1 { grid-column: 1 / 9; } .mosaic .m1 .pic { aspect-ratio: 16 / 9; }
.mosaic .m2 { grid-column: 9 / 13; } .mosaic .m2 .pic { aspect-ratio: 4 / 3; }
.mosaic .m3 { grid-column: 1 / 7; } .mosaic .m3 .pic { aspect-ratio: 16 / 9; }
.mosaic .m4 { grid-column: 7 / 10; } .mosaic .m4 .pic { aspect-ratio: 4 / 5; } .mosaic .m4 img { object-fit: contain; background: #EFE9E2; }
.mosaic .m5 { grid-column: 10 / 13; } .mosaic .m5 .pic { aspect-ratio: 4 / 5; }

/* ---------- roof ---------- */
.roof { background: var(--step); color: var(--ink); gap: clamp(56px, 6vw, 96px); padding-top: 150px; padding-bottom: 32px; }
.roof-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; font-weight: 700; }
.roof-numbers b { display: block; font: 400 clamp(44px, 4.4vw, 64px)/1 var(--display); letter-spacing: -.01em; }
.brands { margin: 0 calc(var(--side) * -1); overflow: hidden; }
.brands-run { display: flex; width: max-content; font: 400 clamp(44px, 4.4vw, 64px)/1.1 var(--display); letter-spacing: .01em; animation: run 38s linear infinite; }
.brands-run span { padding-right: .4em; white-space: nowrap; }
@keyframes run { to { transform: translateX(-50%); } }
@keyframes mdrift { from { transform: scale(1); } to { transform: scale(1.06) translate(-1.2%, -1%); } }
.roof h2 { font: 900 clamp(44px, 7.4vw, 128px)/1.05 var(--body); letter-spacing: -.02em; }
.roof-note { font-weight: 700; font-size: 22px; margin-top: 24px; }
.roof-mail { display: inline-block; margin-top: 28px; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 22px; padding: 14px 22px; transition: transform .25s var(--ease); }
.roof-mail:hover { transform: translateY(-3px); }
.roof-links { margin-top: 24px; font-weight: 700; }
.roof-links a:hover { color: var(--accent); }
.roof-name { margin: 0; padding: .06em 0 0; font: 400 calc((100vw - 2 * var(--side)) / 5.8)/.95 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.roof-foot { font-size: 15px; font-weight: 500; }

/* ---------- entrances (only when JS is on) ---------- */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .pic.reveal { clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease); }
.js .pic.reveal.in { clip-path: inset(0 0 0 0); }

/* ---------- tablet & phone ---------- */
@media (max-width: 1000px) {
  :root { --side: var(--m); }
  .lift { top: auto; bottom: 0; right: 0; left: 0; transform: none; display: flex; align-items: center; gap: 4px; padding: 8px var(--m); background: var(--bg); }
  .lift-now { display: none; }
  .lift-keys { display: flex; flex-direction: row-reverse; justify-content: space-between; width: 100%; gap: 0; }
  .lift-keys a { padding: 10px 8px; font-size: 18px; }
  .lift-shaft { display: none; }
  .floor { padding-top: 72px; padding-bottom: 72px; }
  .f2021 { padding-bottom: 0; }
  .bedrock { grid-template-columns: 1fr 140px; }
  .bedrock-title { grid-column: 1 / -1; }
  .ground { height: calc(var(--vh, 100svh) - 56px); }
  .floor { padding-bottom: 96px; }
  .floor::before { bottom: 140px; }
}
@media (max-width: 760px) {
  .bar .links { display: none; }
  .bar .act { margin-left: auto; padding: 8px 14px; }
  .slab h2 { font-size: 56px; }
  .floor::before { font-size: 46vw; }
  .w-onetime, .w-vr, .w-247first .txt { grid-template-columns: 1fr; }
  .w-247first .pic.wide { aspect-ratio: 4 / 3; }
  .collage, .mosaic { grid-template-columns: 1fr; }
  .collage > *, .mosaic > * { grid-column: 1 !important; margin-top: 0 !important; }
  .climb .collage, .climb .mosaic { display: flex; flex-direction: column-reverse; }
  .lift-keys a { padding: 10px 6px; font-size: 17px; }
  .w-street .pic.full { height: 70vh; min-height: 420px; }
  .w-street .txt.over { position: static; padding: 24px var(--m) 0; max-width: none; }
  .roof-numbers { grid-template-columns: 1fr; gap: 24px; }
  .ground h1 { font-size: calc((100vw - 2 * var(--m)) / 5.8); }
}
@media (prefers-reduced-motion: reduce) {
  .ground-film { animation: none; transform: none; }
  .brands-run { animation: none; flex-wrap: wrap; width: auto; }
  .pic, .pic img, .pic video, .floor::before { transform: none !important; }
  .cue span { animation: none; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .js .pic.reveal { clip-path: none; transition: none; }
  .pic img, .act, .roof-mail, .lift-keys a, .lift-now span { transition: none; }
}

/* film grain on pictures and footage, as on the live site (never over text) */
.pic, .ground, .bedrock-clip { position: relative; }
.pic::after, .ground::after, .bedrock-clip::after { content: ""; position: absolute; inset: -40%; z-index: 1; pointer-events: none; opacity: .12; animation: grain 1s steps(6) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ground::after { z-index: 1; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }
@media (prefers-reduced-motion: reduce) { .pic::after, .ground::after, .bedrock-clip::after { animation: none; } }

/* ---------- small moves while climbing ---------- */
/* arriving at a floor: its year steps up digit by digit, and a light sweeps along the floor */
.slab h2 { display: inline-flex; overflow: hidden; }
.slab h2 .d { display: inline-block; }
.slab.arrive h2 .d { animation: digit .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes digit { from { transform: translateY(105%); } to { transform: none; } }
.slab::before { content: ""; position: absolute; z-index: 1; left: calc(var(--side) * -1); right: calc(var(--side) * -1); bottom: -22px; height: 14px; background: var(--accent); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.slab.arrive::before { animation: sweep 1s var(--ease) both; }
@keyframes sweep { 0% { transform: scaleX(0); opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
/* numbers count up from zero as they come on screen */
b { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .slab.arrive h2 .d, .slab.arrive::before { animation: none; }
}

/* ---------- 新北 Mixtape: the song plays inside the site ---------- */
.has-track .pic { position: relative; }
#mixtapePlayer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); border: 0; }
.work.playing #mixtapePlayer { opacity: 1; pointer-events: auto; }
.play { position: absolute; z-index: 3; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--bg); font: 700 15px/1 var(--body); padding: 12px 16px 12px 14px; border: 0; cursor: pointer; transition: transform .25s var(--ease); }
.play:hover { transform: translateY(-2px); }
.play:active { transform: translateY(1px); }
.play-icon { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.work.playing .play { opacity: 0; pointer-events: none; }

.np { position: fixed; z-index: 35; left: var(--m); bottom: 24px; width: min(580px, calc(100vw - 2 * var(--m))); display: grid; grid-template-columns: 44px auto 1fr auto auto auto auto; align-items: center; gap: 10px 12px; padding: 12px 14px 10px; background: var(--step); color: var(--ink); transform: translateY(160%); transition: transform .45s var(--ease); }
.np.up { transform: none; }
.np[hidden] { display: none; }
.np-disc { width: 44px; height: 44px; border-radius: 50%; background: #050505; position: relative; animation: spin 2.4s linear infinite; animation-play-state: paused; }
.np-disc::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--accent); }
.music-on .np-disc { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.np-eq { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.np-eq i { width: 4px; height: 100%; background: var(--accent); transform-origin: bottom; transform: scaleY(.25); }
.music-on .np-eq i { animation: eq .9s ease-in-out infinite alternate; }
.music-on .np-eq i:nth-child(2) { animation-duration: .7s; } .music-on .np-eq i:nth-child(3) { animation-duration: 1.1s; } .music-on .np-eq i:nth-child(4) { animation-duration: .8s; }
@keyframes eq { 0% { transform: scaleY(.2); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.45); } }
.np-text { display: grid; min-width: 0; }
.np-title { font-weight: 900; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-from { font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-toggle, .np-close { width: 40px; height: 40px; display: grid; place-items: center; background: var(--bg); color: var(--ink); border: 0; cursor: pointer; font: 400 22px/1 var(--body); transition: background .2s, color .2s; }
.np-toggle:hover, .np-close:hover { background: var(--accent); color: var(--bg); }
.np-icon { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.np.paused .np-icon { width: 0; height: 0; border-right: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
@media (max-width: 1000px) { .np { bottom: 64px; } }
@media (prefers-reduced-motion: reduce) { .np-disc, .music-on .np-eq i { animation: none; } .np { transition: none; } }

/* the festival clip is shot upright */
.collage .c5 .pic { aspect-ratio: 4 / 5; }
.np-from a { color: var(--accent); font-weight: 700; }

/* ---------- 新北街頭學校: a burst of photos played like footage, and a running film strip ---------- */
.burst img { position: absolute; inset: 0; opacity: 0; }
.burst img.on { opacity: 1; }
.burst { position: relative; }
.filmstrip { margin: 0 calc(var(--side) * -1); overflow: hidden; }
.filmstrip-run { display: flex; gap: 10px; width: max-content; animation: run 60s linear infinite; }
.filmstrip-run img { height: clamp(90px, 9vw, 140px); width: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(1.1); }
@media (prefers-reduced-motion: reduce) { .filmstrip-run { animation: none; } }
.play.is-on .play-icon { width: 10px; height: 13px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }

/* 來去台東: the A side and B side MVs take turns, like flipping a record */
.sides { position: relative; }
.sides video { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.sides video.on { opacity: 1; }
.side-tag { position: absolute; z-index: 3; left: 12px; top: 12px; display: flex; align-items: center; gap: 10px; background: var(--bg); padding: 8px 12px 8px 8px; max-width: calc(100% - 24px); }
.side-ab { background: var(--accent); color: var(--bg); font: 400 17px/1 var(--display); padding: 5px 8px; }
.side-song { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* play buttons that open the full video on YouTube */
.watch { text-decoration: none; }
.watch:focus-visible { outline: 3px solid var(--ink); }

/* the song can be skipped through: drag the bar, or jump 10 seconds */
.np-skip { height: 40px; padding: 0 10px; background: var(--bg); color: var(--ink); border: 0; cursor: pointer; font: 400 17px/1 var(--display); letter-spacing: .02em; transition: background .2s, color .2s; }
.np-skip:hover { background: var(--accent); color: var(--bg); }
.np-seekrow { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font: 400 15px/1 var(--display); letter-spacing: .03em; color: var(--muted); }
.np-seekrow span { min-width: 3.2em; } .np-dur { text-align: right; }
.np-track { position: relative; flex: 1; height: 22px; --p: 0%; }
.np-track::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 6px; background: #2c2c29; }
.np-fill { position: absolute; left: 0; top: 8px; height: 6px; width: var(--p); background: var(--accent); }
.np-seek { position: absolute; inset: 0; width: 100%; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; margin: 0; }
.np-seek::-webkit-slider-runnable-track { height: 22px; background: transparent; }
.np-seek::-moz-range-track { height: 22px; background: transparent; }
.np-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: 3px; background: var(--ink); border: 0; }
.np-seek::-moz-range-thumb { width: 16px; height: 16px; background: var(--ink); border: 0; border-radius: 0; }
.np-seek:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) { .np { grid-template-columns: 40px 1fr auto auto auto auto; } .np-eq { display: none; } .np-text { min-width: 0; } }
.np-close { grid-row: 1; grid-column: -2; }

/* ================= 手機版：每層樓左右滑的直式卡片 ================= */
@media (max-width: 760px) {
  .m .bar { padding: 10px var(--m); }
  .m .bar .mark { font-size: 19px; }
  .m .bar .act { font-size: 14px; padding: 7px 12px; }
  .m .floor { gap: 18px; padding: 72px 0 56px; }
  .m .f2021 { padding-bottom: 0; }
  .m .floor::before { display: none; }
  .m .slab { padding: 0 var(--m); gap: 4px 14px; }
  .m .slab h2 { font-size: 72px; line-height: .9; }
  .m .slab-side p { font-size: 18px; }
  .m .slab-side .award { font-size: 14px; }
  .m .slab::after { left: 0; right: 0; bottom: -18px; height: 8px; }
  .m .ground { margin: 0; height: calc(var(--vh, 100svh) - 0px); }
  .m .ground-copy { padding: 0 var(--m) 18px; }
  .m .ground-line { font-size: 17px; margin-top: 18px; }
  .m .bedrock { padding: 14px var(--m); grid-template-columns: 1fr 120px; }
  .m .bedrock > p:not(.bedrock-title) { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  /* the row of cards: each card is its picture at its own shape, with the words underneath */
  .m-rail { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--m); scroll-padding: 0 var(--m); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .m-rail::-webkit-scrollbar { display: none; }
  .m-rail > .work { position: relative; flex: 0 0 86vw; scroll-snap-align: start; margin: 0 !important; display: flex; flex-direction: column; background: none; }
  .m-rail > .work:only-child { flex-basis: 100%; }
  .m-rail > .work > .pic { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 10 !important; margin: 0 !important; background: #050505; }
  .m-rail .pic.m-tall img, .m-rail .pic.m-tall video { object-fit: contain; }
  /* upright clips fill the card like the others, framed on the stage; upright posters stay whole */
  .m-rail .pic.m-tall video { object-fit: cover; object-position: 50% 55%; }
  .m-rail .burst img, .m-rail .sides video { position: absolute; inset: 0; }
  .m-rail .pic img, .m-rail .pic video { object-fit: cover; }
  .m-rail .m4 .pic img { object-fit: contain; }
  /* sharp on a phone: no zoom, drift, lean or grain on the pictures */
  .m .pic img, .m .pic video { transform: none; transition: none; }
  /* still photos drift slowly (only 6% zoom, so they stay sharp); clips and the photo burst already move */
  .m-rail .pic:not(.burst):not(.m-tall) > img { animation: mdrift 14s ease-in-out infinite alternate; transform-origin: 50% 60%; }
  .m-rail .work:nth-child(2n) .pic:not(.burst):not(.m-tall) > img { animation-duration: 17s; animation-direction: alternate-reverse; transform-origin: 40% 45%; }
  .m .filmstrip { margin: 0; }
  .m .filmstrip-run img { height: 64px; }
  .m .pic::after, .m .ground::after, .m .bedrock-clip::after { display: none; }

  /* the words, under the picture */
  .m-text { position: static; padding: 12px 2px 0; display: grid; gap: 6px; background: none; }
  .m-text h3 { font-size: 22px; margin: 0; line-height: 1.2; }
  .m-text .who { font-size: 14px; margin: 0; }
  .m-text p { font-size: 15px; line-height: 1.55; }
  .m-text .fact { margin: 0; font-size: 14px; }
  .m-text .fact b { font-size: 30px; display: inline; margin-right: 6px; }
  .m-text .second { margin-top: 8px; }
  .m-rail > .work:not(.m-open) .m-text p:not(.who):not(.fact) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .m-rail > .work:not(.m-open) .m-text p:not(.who):not(.fact) ~ p:not(.who):not(.fact) { display: none; }
  .m-rail > .work:not(.m-open) .m-text .second, .m-rail > .work:not(.m-open) .m-text .second ~ * { display: none; }
  .m-more { justify-self: start; margin-top: 2px; background: none; border: 0; padding: 4px 0; color: var(--accent); font: 700 14px/1.2 var(--body); cursor: pointer; }

  /* buttons on the picture move to the top so they never sit on the words */
  .m-rail .play { top: 12px; bottom: auto; left: auto; right: 12px; font-size: 13px; padding: 9px 12px 9px 10px; }
  .m-rail .side-tag { left: 10px; top: 10px; max-width: calc(100% - 20px); }
  .m-rail .sides .side-link { top: 58px; }
  .m-rail .side-song { font-size: 13px; }

  /* which card you are on */
  .m-dots { display: flex; gap: 6px; padding: 0 var(--m); }
  .m-dots i { width: 18px; height: 4px; background: #2c2c29; transition: background .2s, width .2s; }
  .m-dots i.on { background: var(--accent); width: 30px; }

  /* the lift: one yellow floor button; tap to choose a floor */
  .m .lift { top: auto; left: auto; right: 14px; bottom: 16px; transform: none; display: grid; justify-items: end; gap: 6px; padding: 0; background: transparent; }
  .m .lift-now { display: block; order: 2; height: auto; margin: 0; padding: 10px 14px; background: var(--accent); color: var(--bg); font: 400 26px/1 var(--display); cursor: pointer; }
  .m .lift-now span { transition: none; }
  .m .lift-keys { order: 1; display: none; flex-direction: column; align-items: flex-end; width: auto; gap: 4px; background: var(--bg); padding: 8px; }
  .m .lift.m-open .lift-keys { display: flex; }
  .m .lift-keys a { font-size: 22px; padding: 8px 12px; }
  .m .lift-shaft { display: none; }
  .m.music-on .lift { bottom: 150px; }

  /* the roof */
  .m .roof { padding: 96px var(--m) 32px; }
  .m .roof h2 { font-size: 40px; }
  .m .roof-numbers b { font-size: 44px; }
  .m .roof-name { font-size: calc((100vw - 2 * var(--m)) / 5.8); }

  .m .np { bottom: 14px; }
}
@media (max-width: 760px) { .m-rail .pic.full { height: auto !important; min-height: 0 !important; } }
@media (prefers-reduced-motion: reduce) { .m-rail .pic > img { animation: none !important; } }
