/* The pages behind the menu: the same paper, ink and type as the welcome. Each opens with a large two-line heading. */
.phero { padding: calc(var(--hh) + 11vh) var(--gut) 7vh; max-width: 1640px; margin: 0 auto; }
.phero > .mono { margin: 0 0 22px; }
.phero h1 { font-size: var(--fs-h1); line-height: .98; letter-spacing: -.048em; }
.phero h1 span { display: block; }
.phero h1 .l2 { color: var(--head2); }
.phero .lede { max-width: 52ch; margin: 34px 0 0; font-size: var(--fs-lede); color: var(--ink2); }
.wrap { padding: 0 var(--gut) 14vh; max-width: 1640px; margin: 0 auto; }
.fine { font-size: 13px; color: var(--muted); margin-top: 40px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line2); font-size: 13px; color: var(--ink2); transition: border-color .25s, color .25s, background .25s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed=true] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.watch { display: inline-flex; align-items: center; gap: 14px; font-size: 16px; }
.watch i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line3); display: grid; place-items: center; font-style: normal; transition: background .3s, color .3s; }
.watch i svg { width: 34%; height: 34%; }
.watch:hover i { background: var(--ink); color: var(--bg); }
img.lines, .lines img { object-fit: contain; }
[data-theme=dark] img.lines, [data-theme=dark] .fpic.lines img { filter: invert(1) hue-rotate(180deg) brightness(1.1); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1.1s var(--expo); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ films */
.fgroup { margin: 0 0 9vh; }
.fgroup > h2 { margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 44px 28px; }
.fcard { display: block; width: 100%; text-align: left; }
.fpic { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg2); }
.fpic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--expo), filter .6s; }
.fpic.lines img { object-fit: contain; padding: 8%; }
.fpic i { position: absolute; left: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: #fff; border: 1px solid rgba(255,255,255,.75); backdrop-filter: blur(6px); background: rgba(0,0,0,.2); transition: transform .5s var(--expo); }
.fpic i svg { width: 34%; height: 34%; }
.fpic.lines i { color: var(--ink); border-color: var(--line3); background: transparent; }
.fcard:hover .fpic img { transform: scale(1.04); }
.fcard:hover .fpic i { transform: scale(1.08); }
.fmeta { display: block; padding-top: 16px; }
.fmeta b { display: block; font-weight: 400; font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.fmeta small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.fmeta em { display: inline-block; margin-top: 10px; font-style: normal; }

/* ------------------------------------------------------------------ photographs */
.pgrid { list-style: none; margin: 0; padding: 0; columns: 3 320px; column-gap: 28px; }
.pgrid li { break-inside: avoid; margin: 0 0 34px; }
.ph { display: block; width: 100%; overflow: hidden; background: var(--bg2); }
.ph img { width: 100%; height: auto; transition: transform 1.2s var(--expo); }
.ph:hover img { transform: scale(1.03); }
.pgrid p { margin: 12px 0 0; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.pgrid p b { font-weight: 400; }
.lightbox .card { width: min(1400px, 100%); height: 100%; border: 0; background: transparent; justify-content: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-height: calc(100% - 56px); }
.lightbox figure img { max-height: calc(100vh - 220px); width: auto; max-width: 100%; object-fit: contain; }
.lightbox figcaption { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.lightbox figcaption b { font-weight: 400; font-size: 18px; }
.lightbox figcaption span { font-size: 13px; color: var(--muted); max-width: 70ch; }
.lbnav { display: flex; justify-content: center; gap: 40px; margin-top: 14px; }
.lbnav button { color: var(--muted); } .lbnav button:hover { color: var(--ink); }

/* ------------------------------------------------------------------ press */
.seenrow { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.seenrow li { font-size: clamp(22px, 2.4vw, 40px); font-weight: 700; letter-spacing: -.03em; color: var(--ink2); }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plist li { display: grid; grid-template-columns: 80px minmax(160px, 1.1fr) 2fr 120px; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.plist li:hover { background: var(--wash); }
.plist .out { font-size: 20px; letter-spacing: -.02em; }
.plist .what { font-size: 15px; color: var(--ink2); }
.plist .go { text-align: right; font-size: 14px; }
@media (max-width: 760px) { .plist li { grid-template-columns: 56px 1fr; } .plist .what, .plist .go { grid-column: 2; text-align: left; } }

/* ------------------------------------------------------------------ timeline */
.tl-ctl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; }
.tl-ctl .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-ctl .play { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); padding: 10px 0; }
.tl-ctl .play i { font-style: normal; display: grid; place-items: center; width: 14px; height: 14px; }
.tl-ctl .play i svg { width: 14px; height: 14px; }
.tl { position: relative; display: grid; grid-template-columns: minmax(280px, .9fr) 1.6fr; gap: 0 var(--gut); padding: 0 var(--gut) 18vh; max-width: 1640px; margin: 0 auto; }
.tl-road { grid-row: 1; grid-column: 1 / -1; position: sticky; top: var(--hh); z-index: 5; background: var(--bg); padding: 14px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 6vh; }
.tl-track { position: relative; height: 92px; }
.tl-axis { position: absolute; left: 0; right: 0; bottom: 0; height: 20px; border-top: 1px solid var(--line2); }
.tl-axis .yr { position: absolute; top: 6px; transform: translateX(-50%); font: 400 10px/1 var(--mono); color: var(--muted); letter-spacing: .06em; }
.tl-lanes { position: absolute; left: 0; right: 0; top: 0; bottom: 22px; display: flex; flex-direction: column; }
.tl-lanes .lane { flex: 1; position: relative; border-top: 1px dashed var(--line); }
.tl-lanes .lane span { position: absolute; left: -2px; top: 1px; font-size: 9px; opacity: .7; transform: translateX(-100%); padding-right: 10px; display: none; }
.tl-dots { position: absolute; inset: 0 0 22px 0; }
.tl-dots button { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; display: grid; place-items: center; }
.tl-dots button::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .45; transition: transform .4s var(--expo), opacity .3s, background .3s; }
.tl-dots button:hover::before { opacity: 1; transform: scale(1.4); }
.tl-dots button.on::before { opacity: 1; transform: scale(1.8); background: var(--accent); }
.tl-dots button.off::before { opacity: .1; }
.tl-dots .cursor { position: absolute; top: -4px; bottom: -22px; width: 1px; background: var(--ink); transition: left .7s var(--expo); }
.tl-board { grid-row: 2; grid-column: 1; position: sticky; top: calc(var(--hh) + 150px); align-self: start; height: calc(100vh - var(--hh) - 190px); display: flex; flex-direction: column; gap: 20px; }
.tl-year { display: flex; flex-direction: column; gap: 6px; }
.odo { display: flex; font-size: clamp(64px, 8vw, 140px); line-height: 1; letter-spacing: -.05em; height: 1em; overflow: hidden; }
.odo .dg { display: block; height: 1em; overflow: hidden; }
.odo .dg i { display: block; font-style: normal; transition: transform 1s var(--expo); }
.odo .dg i span { display: block; height: 1em; line-height: 1; }
.tl-when { color: var(--ink); }
.tl-map { flex: 1; min-height: 0; width: 100%; max-height: 52vh; }
.tl-map .uk, .tl-map .ie { fill: none; stroke: var(--ink); stroke-width: .9; opacity: .55; vector-effect: non-scaling-stroke; }
.tl-map .ie { opacity: .25; }
.tl-map circle { fill: var(--ink); opacity: .18; transition: opacity .5s, r .5s; }
.tl-map circle.on { opacity: 1; r: 7; fill: var(--accent); }
.tl-stops { grid-row: 2; grid-column: 2; display: flex; flex-direction: column; gap: 9vh; }
.stop { display: grid; grid-template-columns: 1fr; gap: 22px; opacity: .28; transition: opacity .6s var(--ease); scroll-margin-top: calc(var(--hh) + 150px); }
.stop.on { opacity: 1; }
.stop.hide { display: none; }
.smedia { aspect-ratio: 16 / 9; background: var(--bg2); overflow: hidden; }
.smedia img { width: 100%; height: 100%; object-fit: cover; }
.smedia img.lines { object-fit: contain; padding: 6%; }
.smedia:empty { display: none; }
.stext h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.035em; margin: 10px 0 14px; }
.stext p { font-size: 17px; color: var(--ink2); max-width: 56ch; }
.slinks { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; }
@media (max-width: 900px) {
  .tl-axis .yr:nth-child(even) { display: none; }
  .treewrap { overflow-x: auto; padding-bottom: 4vh; -webkit-overflow-scrolling: touch; }
  .tree { min-width: 900px; }
  .tl { grid-template-columns: 1fr; }
  .tl-board { display: none; }
  .tl-stops { grid-column: 1; }
  .tl-track { height: 60px; }
}

/* ------------------------------------------------------------------ innovations */
.treewrap { padding: 0 var(--gut) 8vh; max-width: 1400px; margin: 0 auto; }
.tree { width: 100%; height: auto; overflow: visible; }
.tree path { fill: none; stroke: var(--ink); stroke-linecap: round; }
.tree .trunk { stroke-width: 2.4; }
.tree .bough { stroke-width: 1.4; opacity: .85; }
.tree .twig, .tree .root, .tree .stem { stroke-width: .9; opacity: .55; transition: opacity .3s, stroke-width .3s; }
.tree .stem { stroke-width: 1.2; opacity: .75; }
.tree .ground { stroke-width: .8; opacity: .35; stroke-dasharray: 3 5; }
.tree .blabel { font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); }
.tree .leaf circle { fill: var(--bg); stroke: var(--ink); stroke-width: 1.3; transition: r .4s var(--expo), fill .3s; }
.tree .leaf text { font: 400 14px var(--font); fill: var(--ink2); opacity: .9; transition: opacity .3s; paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; letter-spacing: -.01em; }
.tree .leaf text.yr { font: 400 10px var(--mono); letter-spacing: .06em; fill: var(--muted); }
.tree .leaf.soon circle { stroke-dasharray: 2 2; }
.tree .leaf:hover circle, .tree .leaf.on circle { r: 8; fill: var(--ink); }
[data-theme=dark] .tree .leaf:hover circle, [data-theme=dark] .tree .leaf.on circle { fill: var(--gold); stroke: var(--gold); }
.tree .leaf:hover text, .tree .leaf.on text { opacity: 1; fill: var(--ink); }
.tree.lit .twig, .tree.lit .root { opacity: .14; }
.tree.lit .twig.on, .tree.lit .root.on { opacity: 1; stroke-width: 1.8; }
.tree.lit .leaf:not(.on) text { opacity: .28; }
.tree.lit .leaf:not(.on) circle { opacity: .4; }
.tree path.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.8s var(--io); }
.tree.drawn path.draw { stroke-dashoffset: 0; }
.igrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.igrid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.icard { display: flex; flex-direction: column; height: 100%; padding: 22px 22px 26px; transition: background .4s; }
.icard:hover { background: var(--wash); }
.iart { display: block; height: 150px; margin-bottom: 18px; }
.iart img { width: 100%; height: 100%; object-fit: contain; opacity: .78; transition: transform 1s var(--expo), opacity .4s; }
.icard:hover .iart img { transform: scale(1.06); opacity: 1; }
.iart .noart { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, transparent 0 9px, var(--line) 9px 10px); }
.imeta .mono { display: block; margin-bottom: 10px; }
.imeta b { display: block; font-weight: 400; font-size: 22px; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 8px; }
.imeta small { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.icard.soon .imeta b::after { content: 'To come'; margin-left: 10px; font: 400 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); vertical-align: middle; }
.dossiers .card { width: min(820px, 100%); max-height: 92vh; overflow: auto; padding: 56px clamp(24px, 4vw, 56px) 46px; }
.dossier { display: none; }
.dossier.on { display: block; animation: rise .7s var(--expo); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.dossier > .mono { margin: 0 0 14px; }
.dossier h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 10px; }
.dossier .who { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.dossier > p { font-size: 17px; color: var(--ink2); max-width: 60ch; }
.dossier h3 { margin: 32px 0 10px; }
.dl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.dl span.mono { margin-left: 6px; }
.dossier .dl + h3, .dossier p + h3 { margin-top: 30px; }
.modal .x:focus-visible { outline-offset: -4px; outline-width: 1px; }
.dossier .rel { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------------ play: one fine circle and a triangle. Ink on the page, white over a picture */
.pl { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; border: 1px solid currentColor; color: var(--ink); font-style: normal; transition: transform .5s var(--expo), background .3s, color .3s; }
.pl svg { width: 34%; height: 34%; }
.pl.w { color: #fff; border-color: rgba(255,255,255,.8); background: rgba(0,0,0,.2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
a:hover > .pl, button:hover > .pl, button:hover .pl, a:hover .pl { transform: scale(1.06); }

/* ------------------------------------------------------------------ innovations: each card opens on a frame of its film */
.iart { height: auto; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0d16; }
.iart img { opacity: 1; object-fit: cover; }
.icard:hover .iart img { transform: scale(1.04); }
.iart.none { display: grid; place-items: center; background: repeating-linear-gradient(135deg, transparent 0 9px, var(--line) 9px 10px); border: 1px solid var(--line); }
.iart.none em { padding: 5px 10px; font: 400 10px var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.ibadge { display: inline-flex; align-self: flex-start; margin-top: 14px; padding: 4px 9px; border: 1px solid var(--line2); font-style: normal; font-size: 10px; color: var(--ink2); }
.imeta .ibadge { display: inline-flex; }

/* ------------------------------------------------------------------ in a dossier: the film, in its pieces; then the words */
.dmedia { margin: 4px 0 28px; }
.dmedia .dplay { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0d16; }
.dmedia .dplay img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--expo); }
.dmedia .dplay .pl { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.dmedia .dplay:hover img { transform: scale(1.03); }
.dmedia figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding-top: 12px; }
.dmedia figcaption b { font-weight: 400; font-size: 16px; color: var(--ink); }
.pieces { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 18px; border-top: 1px solid var(--line); }
.pieces button { display: grid; grid-template-columns: 26px 1fr auto; align-items: baseline; gap: 8px; width: 100%; padding: 11px 2px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; color: var(--ink2); transition: color .2s, background .2s; }
.pieces button:hover, .pieces button:focus-visible { color: var(--ink); background: var(--wash); }
.pieces button.here { color: var(--ink); }
.pieces button.here span::after { content: 'Starts here'; margin-left: 10px; font: 400 9.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pieces i { font-style: normal; font-size: 10px; color: var(--muted); }
.pieces small { font-size: 10px; color: var(--muted); }
.placeholder { margin: 18px 0 0; padding: 14px 16px; border: 1px dashed var(--line2); }
.dcta { margin: 24px 0 0; }
.dcta .btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 20px; border: 1px solid var(--ink); font-size: 15px; color: var(--ink); transition: background .25s, color .25s; }
.dcta .btn:hover { background: var(--ink); color: var(--bg); }
.dsee { list-style: none; margin: 18px 0 0; padding: 0; }
.dsee button { display: inline-flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14.5px; color: var(--ink); text-align: left; }
.dsee .pl { width: 26px; height: 26px; }
.dsee .mono { color: var(--muted); }
.dsee button:hover span:not(.mono) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.shelfh { margin: 32px 0 10px; }
.shelf { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.shelf button { display: block; width: 100%; text-align: left; }
.shelf .spic { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0d16; }
.shelf img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--expo); }
.shelf .pl { position: absolute; left: 12px; bottom: 12px; width: 36px; height: 36px; }
.shelf button:hover img { transform: scale(1.03); }
/* a clip or a link still to come has its place */
.shelf .spic.none { display: grid; place-items: center; background: repeating-linear-gradient(135deg, transparent 0 9px, var(--line) 9px 10px); border: 1px solid var(--line); }
.shelf .spic.none em { padding: 5px 10px; font: 400 10px var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.shelf .tocome .stxt b { color: var(--muted); }
.shelf .tolink { display: block; color: inherit; }
.shelf .stxt { display: block; padding-top: 9px; }
.shelf b { display: block; font-weight: 400; font-size: 14.5px; color: var(--ink); }
.shelf small { font-size: 10px; }
@media (max-width: 520px) { .shelf { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ the final invention: one dark card, the width of the page; gold, because it is on black */
.igrid li.final { grid-column: 1 / -1; }
.icard.gold { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 60px); padding: clamp(18px, 2.4vw, 32px); background: #0d1013; color: #e9ecef; }
.icard.gold:hover { background: #0d1013; }
.icard.gold .gart { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.icard.gold .gart img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--expo); }
.icard.gold:hover .gart img { transform: scale(1.03); }
.icard.gold .imeta .mono { color: #979b9f; }
.icard.gold .imeta b { font-size: clamp(32px, 3.8vw, 56px); letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; color: #e9c47a; }
.icard.gold .imeta small { max-width: 42ch; font-size: 15.5px; color: rgba(233,236,239,.74); }
.gcta { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; font-style: normal; font-size: 15px; color: #e9ecef; }
.gcta .pl { width: 46px; height: 46px; }
@media (max-width: 760px) { .icard.gold { grid-template-columns: 1fr; } }

/* films: how long, and in how many pieces */
.fpic s { position: absolute; right: 12px; bottom: 14px; padding: 4px 8px; text-decoration: none; font-size: 10px; color: #fff; background: rgba(10,13,22,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fcard.atlas .fpic { background: #0a0d16; }
