/* Year archive: /archive/ and /archive/<year>/. Same tokens and header grid as the homepage. */
:root { --bg: #eceef2; --card: #fff; --ink: #16181d; --text: #3d424d; --muted: #6b7280; --line: #e2e5ec; --accent: #ef6f6c; --accent-ink: #d2504d;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace; font-synthesis: none; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.path i { font-style: normal; opacity: .36; }
.f { display: block; } .fo { display: block; width: 100%; height: 100%; overflow: visible; }
.fo .ft, .fo .pp { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .26s cubic-bezier(.2, .8, .2, 1); }
.fo .gl { opacity: 0; transition: opacity .3s ease; } .fo .fr-open { display: none; }
.fo-hit:hover .fo .ft { transform: skewX(-9deg) scaleY(.76); } .fo-hit:hover .fo .pp { transform: translateY(-7px) rotate(-2deg); } .fo-hit:hover .fo .gl { opacity: 1; }
.fo-hit:hover .fo .fr-open { display: inline; } .fo-hit:hover .fo .fr-closed { display: none; }
header.site { position: sticky; top: 0; z-index: 50; -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); background: rgba(236, 238, 242, .8); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; min-height: 68px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--mono); font-weight: 700; font-size: 25px; letter-spacing: -.04em; line-height: 1; }
.brand .f { width: 34px; height: 34px; }
nav.top { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; font-size: 15px; font-weight: 500; color: var(--muted); }
nav.top a { text-decoration: none; } nav.top a:hover { color: var(--ink); }
nav.top a.lab { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-weight: 700; font-size: 14.5px; color: var(--ink); }
nav.top a.lab .f { width: 26px; height: 26px; margin: -4px 0; }
.ic { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* The row of years */
.years { display: flex; gap: 6px; overflow-x: auto; padding: 18px max(24px, calc((100% - 1040px) / 2 + 24px)) 14px; scroll-padding-inline: max(24px, calc((100% - 1040px) / 2 + 24px)); scrollbar-width: none; }   /* full width: the row starts on the page grid and runs off the right edge of the screen */
.years a { animation: yearin .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 28ms); }
@keyframes yearin { from { opacity: 0; transform: translateX(46px); } }
@media (prefers-reduced-motion: reduce) { .years a { animation: none; } }
.years::-webkit-scrollbar { display: none; }
.years a { flex: none; font: 700 13px/1 var(--mono); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); text-decoration: none; }
.years a:hover { color: var(--ink); }
.years a.all { color: var(--ink); }
.years a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

h1 { font-weight: 700; font-size: clamp(2.3rem, 5.6vw, 3.6rem); letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
h2 { font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2rem); letter-spacing: -.035em; line-height: 1.1; }
.lead { margin-top: 14px; color: var(--text); font-size: 18px; max-width: 62ch; }
main a.t { text-decoration-thickness: 1.5px; text-underline-offset: 3px; } main a.t:hover { color: var(--accent-ink); }

/* Org colours: one dot per studio */
.o-flarup { --o: #ef6f6c; } .o-northplay { --o: #2f9e6b; } .o-robocat { --o: #f0a22b; } .o-pixelresort { --o: #7a55e8; } .o-apply { --o: #2f7df0; } .o-personal { --o: #8b93a3; }

/* Year page top */
.top { display: grid; grid-template-columns: auto 1fr; gap: 12px 44px; align-items: start; padding: 34px 0 44px; }
.top .num { font-family: var(--mono); font-weight: 700; font-size: clamp(5rem, 17vw, 11.5rem); letter-spacing: -.08em; line-height: .86; margin-left: -.05em; font-variant-numeric: tabular-nums; }
.top .say { padding-top: .35em; }
.top .say p { color: var(--text); font-size: 18px; max-width: 54ch; }
.top .say blockquote { margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--accent); font-weight: 600; font-size: 17px; line-height: 1.45; max-width: 50ch; }
.top .say blockquote cite { display: block; margin-top: 6px; font: 500 12.5px/1.3 var(--mono); color: var(--muted); }
@media (max-width: 800px) { .top { grid-template-columns: 1fr; padding-top: 18px; } }
.tally { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tally span { font: 500 12.5px/1 var(--mono); color: var(--muted); padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.tally b { color: var(--ink); font-weight: 700; margin-right: 5px; }

/* The recap film */
.film { position: relative; display: block; border-radius: 24px; overflow: hidden; background: #0b0e14; aspect-ratio: 16 / 9; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 22px 48px -18px rgba(16,24,40,.4); text-decoration: none; color: #fff; }
.film img, .film iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,13,0) 50%, rgba(8,9,13,.78)); pointer-events: none; }
.film.on::after, .film.on .cap, .film.on .play { display: none; }
.film .cap { position: absolute; left: 24px; bottom: 20px; z-index: 1; }
.film .cap small { display: block; font: 500 12.5px/1 var(--mono); opacity: .8; }
.film .cap b { display: block; margin-top: 6px; font-size: clamp(1.1rem, 2.6vw, 1.6rem); letter-spacing: -.03em; line-height: 1.1; }
.film .play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; transition: transform .2s ease; }
.film .play::before { content: ""; border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }
.film:hover .play { transform: scale(1.08); }

section { padding: 60px 0 0; scroll-margin-top: 80px; }
section > .lead { font-size: 16.5px; }

/* The timeline. Base layout (phones, and any browser without assets/years.js): one column, rail down the left.
   On wide screens years.js adds .two and places the cards in two columns around a central rail. */
.tl { --rail: 10px; --pad: 30px; list-style: none; position: relative; margin-top: 30px; padding-left: var(--pad); max-width: 660px; }
.tl::before, .tl::after { content: ""; position: absolute; left: calc(var(--rail) - 1px); top: 8px; width: 2px; border-radius: 2px; }
.tl::before { bottom: 0; background: var(--line); }
.tl::after { height: max(0px, calc(var(--p, 0px) - 8px)); background: var(--ink); }
.tl > li { position: relative; padding-bottom: 22px; }
.tl > li::before { content: ""; box-sizing: border-box; position: absolute; z-index: 1; left: calc(var(--rail) - var(--pad)); top: 30px; width: 20px; height: 20px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line); }
.tl .mo { display: block; margin: 0 0 6px; font: 700 12.5px/1.4 var(--mono); color: var(--muted); }
.tl > li.mon::before { top: 56px; }
.tl .card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; scroll-margin-top: 90px; }
.tl .card:target { box-shadow: 0 0 0 2px var(--ink); }
.tl .pic { position: relative; background: #0b0e14; overflow: hidden; }   /* its shape comes from the picture itself (inline aspect-ratio), so nothing is cropped */
.tl .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl .pic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl .pic .watch { position: absolute; z-index: 3; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font: 700 12.5px/1 var(--mono); cursor: pointer; box-shadow: 0 6px 18px -6px rgba(0,0,0,.5); transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.tl .pic .watch:hover { transform: scale(1.05); }
.tl .pic .watch i { border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.tl .pic iframe { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.tl .pic.playing .watch { display: none; }
.tl .pic.playing[style] { aspect-ratio: 16 / 9 !important; }   /* the film plays at its own shape */
.tl .pic.sq { --ph: 225; --ps: 8%; --pl: 27%; background: radial-gradient(130% 130% at 12% 100%, hsl(var(--ph) var(--ps) var(--pl)), hsl(var(--ph) calc(var(--ps) * .75) calc(var(--pl) * .42)) 72%); }   /* tools/build_years.py sets the hue from the icon itself */
.tl .pic.sq img { inset: 0; margin: auto; width: 42%; height: auto; max-height: 78%; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)); }   /* 42% of a 4:3 frame is 56% of its height, the size tools/frame.py gives icons on a background */
.tl .pic.cycle img { opacity: 0; transform: scale(.9) rotate(-3deg); transition: opacity .4s ease, transform .6s cubic-bezier(.3, 1.5, .5, 1); }   /* several versions of one icon, shown one after another by years.js */
.tl .pic.cycle img.show { opacity: 1; transform: none; }
.tl .pic.cycle img { filter: none; }   /* a filtered image that fades shows its square layer edge in some browsers, so cycling icons get their shadow from the panel instead */
.tl .pic.cycle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -38%); border-radius: 24%; background: rgba(0,0,0,.5); filter: blur(22px); }
.tl .pic.cycle img { z-index: 1; }
.tl .pic.words { display: flex; align-items: flex-end; padding: 26px 28px; background: radial-gradient(130% 130% at 12% 100%, #343a48, #14161c 72%); }   /* an essay with no picture of its own: its title is the cover */
.tl .pic.words b { color: #fff; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; max-width: 12ch; text-wrap: balance; }
.tl .txt { padding: 18px 22px 20px; min-width: 0; }
.tl small { display: flex; margin-bottom: 8px; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 500 12.5px/1.3 var(--mono); color: var(--muted); }
.tl small .tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 7px; border-radius: 999px; background: var(--bg); color: var(--ink); font-weight: 700; }
.tl small .tag .ic { width: 13px; height: 13px; }
.tl small .gone { padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; }
.tl h3 { margin-top: 0; font-size: 21px; letter-spacing: -.025em; line-height: 1.2; }
.tl p { margin-top: 8px; color: var(--text); font-size: 15.5px; line-height: 1.55; max-width: 60ch; }
.tl p.hoped { color: var(--ink); font-weight: 500; }
.tl ul.won { list-style: none; margin-top: 12px; display: grid; gap: 6px; }
.tl ul.won li { display: flex; gap: 8px; align-items: baseline; font-size: 14.5px; font-weight: 500; }
.tl ul.won .ic { position: relative; top: 2px; color: var(--accent-ink); }
.tl .go { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font: 700 13px/1.3 var(--mono); }
.tl .go a { text-decoration: none; } .tl .go a:hover { color: var(--accent-ink); }
.tl .go a.arc { font-weight: 500; color: var(--muted); }
.tl li.moment { padding-bottom: 14px; }
.tl li.moment::before { top: 11px; width: 12px; height: 12px; background: var(--card); border-width: 2px; box-shadow: 0 0 0 2px var(--line); border-color: var(--card); }
.tl li.moment.mon::before { top: 37px; }
.tl li.moment p { margin: 0; font-size: 15.5px; color: var(--text); }

/* Two columns around a central rail. years.js sets each row's top and its side (.l or .r); the month rides on the rail as a pill. */
.tl.two { --gap: 104px; max-width: none; padding-left: 0; }
.tl.two::before, .tl.two::after { left: calc(50% - 1px); }
.tl.two > li { position: absolute; width: calc(50% - var(--gap) / 2); padding-bottom: 0; }
.tl.two > li.l { left: 0; } .tl.two > li.r { left: calc(50% + var(--gap) / 2); }
.tl.two > li::before, .tl.two > li.mon::before, .tl.two > li.moment.mon::before { top: 30px; }
.tl.two > li.l::before { left: calc(100% + var(--gap) / 2); } .tl.two > li.r::before { left: calc(var(--gap) / -2); }
.tl.two > li::after { content: ""; position: absolute; top: 29px; width: calc(var(--gap) / 2); height: 2px; background: var(--line); }   /* the tick that ties a card to its pip */
.tl.two > li.l::after { left: 100%; } .tl.two > li.r::after { right: 100%; }
.tl.two > li.mon::before { display: none; }
.tl.two .mo { position: absolute; z-index: 2; top: 30px; margin: 0; transform: translate(-50%, -50%); padding: 4px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; line-height: 1.3; box-shadow: 0 0 0 3px var(--bg); white-space: nowrap; }
.tl.two > li.l .mo { left: calc(100% + var(--gap) / 2); } .tl.two > li.r .mo { left: calc(var(--gap) / -2); }
.tl.two > li.moment { padding: 19px 0 0; } .tl.two > li.moment.l { text-align: right; }
.tl.two > li.moment::before, .tl.two > li.moment.mon::before { top: 30px; }
.tl.two > li.moment p { max-width: none; }

/* Seen and heard: the year's talks, podcasts, press */
.rows { margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.rows > div { display: grid; grid-template-columns: 148px 1fr auto; gap: 20px; align-items: center; padding: 12px 20px 12px 12px; border-top: 1px solid var(--line); }
.rows > div:first-child { border-top: 0; }
.rows img, .rows .ph { width: 148px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 10px; background: #0b0e14; outline: 1px solid rgba(16,24,40,.08); outline-offset: -1px; }
.rows .ph { display: grid; place-items: center; padding: 8px; text-align: center; color: #fff; font: 700 13px/1.15 var(--mono); letter-spacing: -.03em; background: radial-gradient(140% 120% at 0% 100%, #343a48, #14161c); }
.rows small { display: flex; align-items: center; gap: 6px; font: 500 12.5px/1.3 var(--mono); color: var(--muted); margin-bottom: 3px; }
.rows b { display: block; font-size: 16.5px; letter-spacing: -.01em; line-height: 1.3; }
.rows b a { text-decoration: none; } .rows b a:hover { color: var(--accent-ink); }
.rows span.sub { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.45; margin-top: 3px; max-width: 68ch; }
.rows em { font: 700 13px/1.6 var(--mono); font-style: normal; white-space: nowrap; text-align: right; display: grid; }
.rows em a { text-decoration: none; } .rows em a:hover { color: var(--accent-ink); }
.rows em a.arc { font-weight: 500; color: var(--muted); }
@media (max-width: 640px) { .rows > div { grid-template-columns: 104px 1fr; gap: 14px; padding: 10px 14px 10px 10px; align-items: start; } .rows img, .rows .ph { width: 104px; } .rows em { grid-column: 2; text-align: left; display: flex; gap: 14px; } }

/* Previous and next year */
.turn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 60px; }
.turn a { display: block; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; text-decoration: none; }
.turn a:hover { border-color: var(--ink); }
.turn a.next { text-align: right; grid-column: 2; }
.turn small { display: block; font: 500 12.5px/1 var(--mono); color: var(--muted); }
.turn b { display: block; margin-top: 8px; font: 700 34px/1 var(--mono); letter-spacing: -.06em; }

/* The index: every year on one rail */
.intro { padding: 44px 0 10px; }
.yl { --rail: 150px; list-style: none; position: relative; margin-top: 34px; }
.yl::before, .yl::after { content: ""; position: absolute; left: calc(var(--rail) - 1px); top: 20px; width: 2px; border-radius: 2px; }
.yl::before { bottom: 30px; background: var(--line); }
.yl::after { height: max(0px, calc(min(var(--p, 0px), 100% - 30px) - 20px)); background: var(--ink); }
.yl li { position: relative; }
.yl a { display: grid; grid-template-columns: 124px 1fr; gap: 52px; padding: 18px 0; text-decoration: none; align-items: start; }
.yl > li::before { content: ""; box-sizing: border-box; position: absolute; z-index: 1; left: var(--rail); top: 48px; width: 24px; height: 24px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); border: 4px solid var(--bg); pointer-events: none; }
.yl .y { font: 700 44px/1 var(--mono); letter-spacing: -.07em; text-align: right; padding-top: 6px; transition: color .15s; }
.yl a:hover .y { color: var(--accent-ink); }
.yl .box { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px 20px; transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease; }
.yl a:hover .box { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(16,24,40,.35); }
.yl .box p { color: var(--text); font-size: 15.5px; max-width: 70ch; }
.yl .names { margin-top: 8px; font: 500 12.5px/1.6 var(--mono); color: var(--muted); }
.yl .strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 14px; }
.yl .strip span { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #14161c; }
.yl .strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yl .strip .sq img { inset: 0; margin: auto; width: auto; height: auto; max-width: 62%; max-height: 74%; }
.yl .strip .more { display: grid; place-items: center; color: #fff; font: 700 14px/1 var(--mono); background: #2a2e38; }
@media (max-width: 800px) {
  .yl { --rail: 10px; } .yl a { grid-template-columns: 1fr; gap: 8px; padding-left: 34px; } .yl > li::before { top: 42px; }
  .yl .y { text-align: left; font-size: 34px; } .yl .strip { grid-template-columns: repeat(3, 1fr); }
}
.era { margin: 26px 0 4px 176px; font: 500 12.5px/1 var(--mono); color: var(--muted); }
@media (max-width: 800px) { .era { margin-left: 30px; } }

footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 46px 0 70px; color: var(--muted); font-size: 14.5px; }
footer .path { font-family: var(--mono); font-weight: 700; font-size: 20px; letter-spacing: -.04em; color: var(--ink); }
footer p { margin-top: 12px; max-width: 70ch; }
footer small { display: block; margin-top: 18px; font-family: var(--mono); font-weight: 500; font-size: 12.5px; }

/* Motion (assets/years.js adds .js, then .in when a row first comes into view and .on while the line has reached its pip) */
@view-transition { navigation: auto; }
.tl::after, .yl::after { transition: height .12s linear; }
.js .tl > li::before, .js .yl > li::before { transition: transform .45s cubic-bezier(.3, 1.7, .5, 1), background-color .25s ease, box-shadow .25s ease; }
.js .tl > li:not(.on)::before { background: var(--card); transform: translate(-50%, -50%) scale(.6); }
.js .yl > li:not(.on)::before { background: var(--line); transform: translate(-50%, -50%) scale(.6); }
.js .tl > li.moment.on::before { background: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.js .tl > li > .card, .js .tl > li > p, .js .yl > li > a { transition: opacity .6s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
.js .tl > li:not(.in) > .card, .js .tl > li:not(.in) > p, .js .yl > li:not(.in) > a { opacity: 0; transform: translateY(22px); }
.js .tl.two > li.l:not(.in) > .card, .js .tl.two > li.l:not(.in) > p { transform: translateX(-26px); }
.js .tl.two > li.r:not(.in) > .card, .js .tl.two > li.r:not(.in) > p { transform: translateX(26px); }
.js .tl.two > li::after { transform-origin: 0 50%; transition: transform .4s ease .1s; } .js .tl.two > li.l::after { transform-origin: 100% 50%; }
.js .tl.two > li:not(.on)::after { transform: scaleX(0); }
.js .tl .pic img { transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
.js .tl > li:not(.in) .pic:not(.sq) img { transform: scale(1.06); }
.tl .mo { transition: color .25s ease, background-color .25s ease, transform .45s cubic-bezier(.3, 1.7, .5, 1); } .js .tl > li.on .mo { color: var(--ink); }
.js .tl.two > li:not(.on) .mo { background: var(--card); color: var(--muted); transform: translate(-50%, -50%) scale(.88); }
.js .tl.two > li.on .mo { color: #fff; }
.top .num { animation: numin .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes numin { from { opacity: 0; transform: translateY(.12em); letter-spacing: -.02em; } }
@media (prefers-reduced-motion: reduce) { .top .num { animation: none; } html { scroll-behavior: auto; } }
@media print { .js .tl > li > *, .js .yl > li > a { opacity: 1 !important; transform: none !important; } }

/* The year joins the logo once the big number has left the screen: flarup/2017. Each digit rolls up into place and drops out again. */
.brand { position: relative; }
.brand .yr { position: absolute; left: 100%; top: 50%; translate: 0 -50%; display: inline-flex; overflow: hidden; margin-left: 0; padding: .12em 0; font-variant-numeric: tabular-nums; }
.brand .yr b { display: inline-block; font-weight: 700; transform: translateY(115%); opacity: 0; transition: transform .5s cubic-bezier(.2, .9, .25, 1.15), opacity .25s ease; transition-delay: calc((3 - var(--i)) * 35ms); }
.brand.pinned .yr b { transform: none; opacity: 1; transition-delay: calc(var(--i) * 55ms); }
@media (prefers-reduced-motion: reduce) { .brand .yr b { transition: none; } }

/* Index: each year leads with its main things, large and named; everything else follows as a row of small thumbnails. */
.yl .box p b { color: var(--ink); font-weight: 650; }
.top .say p b { color: var(--ink); font-weight: 650; }
.yl .his { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 14px; margin-top: 16px; }
.yl .hi { display: flex; flex-direction: column; min-width: 0; }
.yl .hi .im { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #14161c; margin-bottom: 10px; }
.yl .hi .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.yl .hi .im.sq { background: radial-gradient(120% 120% at 30% 0%, hsl(var(--ph, 225) var(--ps, 12%) calc(var(--pl, 27%) + 12%)), hsl(var(--ph, 225) var(--ps, 12%) calc(var(--pl, 27%) - 9%))); }
.yl .hi .im.sq img { inset: 0; margin: auto; width: auto; height: auto; max-width: 56%; max-height: 68%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
.yl a:hover .hi .im img { transform: scale(1.04); }
.yl .hi .k { font: 500 11.5px/1 var(--mono); color: var(--muted); margin-bottom: 5px; }
.yl .hi strong { font-size: 15.5px; line-height: 1.22; letter-spacing: -.015em; font-weight: 650; color: var(--ink); text-wrap: balance; }
.yl .strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.yl .strip span { flex: none; width: 46px; aspect-ratio: 4 / 3; border-radius: 7px; }
.yl .strip .more { width: auto; aspect-ratio: auto; background: none; color: var(--muted); font: 500 12.5px/1 var(--mono); padding-left: 6px; display: inline; }
@media (max-width: 800px) { .yl .his { grid-template-columns: repeat(2, 1fr); } .yl .strip { grid-template-columns: none; } }

/* The header navigation shares the class name "top" with the year heading; it takes none of that block's padding. */
nav.top { padding: 0; }

/* Index tiles move too: a card's loop plays in its tile, and an icon with several versions steps through them. */
.yl .hi .im video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yl .hi .im.cycle img { opacity: 0; transform: scale(.9) rotate(-3deg); transition: opacity .4s ease, transform .6s cubic-bezier(.3, 1.5, .5, 1); filter: none; }
.yl .hi .im.cycle img.show { opacity: 1; transform: none; }
.yl .hi .k { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 9px 4px 7px; border-radius: 999px; background: var(--bg); color: var(--ink); font: 700 11.5px/1 var(--mono); margin-bottom: 7px; }
.yl .hi .k .ic { width: 13px; height: 13px; }

/* Search on /archive/ */
.find { display: flex; align-items: center; gap: 12px; margin: 26px 0 6px; padding: 0 16px; height: 54px; max-width: 560px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--muted); transition: border-color .2s ease, box-shadow .2s ease; cursor: text; }
.find:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22, 24, 29, .07); color: var(--ink); }
.find svg { width: 19px; height: 19px; flex: none; }
.find input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 17px/1 var(--sans); color: var(--ink); letter-spacing: -.01em; -webkit-appearance: none; appearance: none; }
.find input::-webkit-search-cancel-button { -webkit-appearance: none; }
.find input::placeholder { color: var(--muted); }
.find kbd { font: 700 12px/1 var(--mono); padding: 5px 8px; border-radius: 7px; background: var(--bg); color: var(--muted); }
.find:focus-within kbd { display: none; }
.found { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; min-height: 50vh; align-content: start; }
.found[hidden], .yl[hidden] { display: none; }
.found a { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; padding: 10px; background: var(--card); border-radius: 18px; text-decoration: none; color: inherit; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease; animation: found .3s ease both; }
.found a:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(22, 24, 29, .09); }
@keyframes found { from { opacity: 0; transform: translateY(6px); } }
.found .im { position: relative; aspect-ratio: 4 / 3; border-radius: 11px; overflow: hidden; background: #14161c; }
.found .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.found .im.sq { background: radial-gradient(120% 120% at 30% 0%, hsl(var(--ph, 225) var(--ps, 12%) calc(var(--pl, 27%) + 12%)), hsl(var(--ph, 225) var(--ps, 12%) calc(var(--pl, 27%) - 9%))); }
.found .im.sq img { margin: auto; width: auto; height: auto; max-width: 56%; max-height: 68%; }
.found .t { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.found small { display: flex; align-items: center; gap: 6px; font: 700 11.5px/1 var(--mono); color: var(--muted); }
.found small b { color: var(--ink); margin-right: 4px; }
.found small .ic { width: 13px; height: 13px; }
.found strong { font-size: 16.5px; line-height: 1.22; letter-spacing: -.015em; font-weight: 650; color: var(--ink); }
.found em { font-style: normal; font-size: 13.5px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.found .none { grid-column: 1 / -1; padding: 22px 4px; color: var(--muted); }
@media (max-width: 800px) { .found { grid-template-columns: 1fr; } .found a { grid-template-columns: 104px 1fr; } .find kbd { display: none; } }

/* A cycling icon with a shape of its own (a logo, a Mac icon) gets a soft floor shadow, not the rounded square one. */
.tl .pic.cycle.free::after { top: 80%; width: 30%; aspect-ratio: 6 / 1; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(0,0,0,.55); filter: blur(13px); }

/* Snapshot: a moment with a picture. Not a card (it is not something I made), just a small print pinned next to its line; click to see it large. */
.tl li.moment.snap { display: flex; gap: 16px; align-items: center; }
.tl li.moment.snap p { flex: 1; min-width: 0; }
.tl .snapimg { flex: none; width: 168px; padding: 5px; border: 0; background: #fff; border-radius: 6px; cursor: zoom-in; transform: rotate(-2.2deg); box-shadow: 0 1px 2px rgba(22,24,29,.12), 0 10px 24px -8px rgba(22,24,29,.28); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s ease; }
.tl li.moment.snap.tall .snapimg { width: 132px; }
.tl li:nth-child(even) > .snapimg { transform: rotate(1.8deg); }
.tl .snapimg:hover { transform: rotate(0) scale(1.04); box-shadow: 0 2px 4px rgba(22,24,29,.12), 0 18px 34px -10px rgba(22,24,29,.34); }
.tl .snapimg img { display: block; width: 100%; height: auto; border-radius: 3px; }
.tl.two > li.moment.snap { padding-top: 6px; }
.tl.two > li.moment.snap.l { flex-direction: row-reverse; }   /* the print sits next to the rail on either side */
.tl.two > li.moment.snap::before, .tl.two > li.moment.snap.mon::before { top: 30px; }
.snapview { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 4vmin; background: rgba(22,24,29,.72); cursor: zoom-out; animation: snapin .2s ease both; }
.snapview img { max-width: min(92vw, 900px); max-height: 92vh; width: auto; height: auto; border: 8px solid #fff; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
@keyframes snapin { from { opacity: 0; } }
@media (max-width: 560px) { .tl .snapimg { width: 120px; } .tl li.moment.snap.tall .snapimg { width: 96px; } }

.tl small .when { color: var(--muted); font-weight: 500; }

/* A snapshot or card that plays a clip: a small play mark on the print, and the clip opens large with sound. */
.tl .snapimg.play { position: relative; }
.tl .snapimg.play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M13 10.5v13l11-6.5z' fill='%2316181d'/%3E%3C/svg%3E") center/100% no-repeat; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.snapview video { max-width: min(92vw, 1024px); max-height: 88vh; border: 8px solid #fff; border-radius: 8px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); cursor: default; }

/* Snapshots open large on click: a small corner mark says so, and the large view fills the screen even when the source is small. */
.tl .snapimg { position: relative; }
.tl .snapimg:not(.play)::before { content: ""; position: absolute; right: 9px; bottom: 9px; width: 22px; height: 22px; border-radius: 6px; background: rgba(22,24,29,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.5 6H16v3.5M9.5 16H6v-3.5M16 6l-4 4M6 16l4-4'/%3E%3C/svg%3E") center/100% no-repeat; opacity: .85; }
.snapview img { width: min(92vw, 1100px); max-width: none; max-height: 90vh; height: auto; object-fit: contain; background: #fff; }

.tl li.moment .mi { display: inline-block; width: 26px; height: 26px; object-fit: contain; vertical-align: -7px; margin-right: 9px; filter: drop-shadow(0 2px 3px rgba(22,24,29,.18)); }

.tl h3 .hi { display: inline-block; width: 30px; height: 30px; object-fit: contain; vertical-align: -7px; margin-right: 10px; filter: drop-shadow(0 2px 4px rgba(22,24,29,.2)); }

/* A wordmark in the corner of a card that has no icon of its own. */
.tl .txt .wm { float: right; display: block; height: 30px; width: auto; max-width: 104px; object-fit: contain; object-position: right center; margin: -3px 0 6px 12px; }
.tl .txt .wm.mono { filter: brightness(0); opacity: .82; height: 26px; margin-top: 1px; }

.tl li.moment .mi.tall { width: auto; height: 34px; vertical-align: -10px; }
.tl li.moment .ml { font: 600 12.5px/1 var(--mono); color: var(--ink); white-space: nowrap; text-decoration: none; border-bottom: 1px solid var(--line); }
.tl li.moment .ml:hover { border-color: var(--ink); }

.tl li.moment p b { font-weight: 700; color: var(--ink); }
/* The panel behind a cycling icon changes colour with each version */
@property --ph { syntax: "<number>"; inherits: true; initial-value: 225; }
@property --ps { syntax: "<percentage>"; inherits: true; initial-value: 8%; }
@property --pl { syntax: "<percentage>"; inherits: true; initial-value: 27%; }
.tl .pic.cycle, .yl .hi .im.cycle { transition: --ph .7s ease, --ps .7s ease, --pl .7s ease; }

/* Websites: the screenshot in a small browser window, on a panel coloured from the site itself */
.tl .pic.web { --ph: 225; --ps: 8%; --pl: 27%; padding: 7.5% 7.5% 8.5%; background: radial-gradient(130% 130% at 12% 100%, hsl(var(--ph) var(--ps) calc(var(--pl) + 8%)), hsl(var(--ph) calc(var(--ps) * .75) calc(var(--pl) * .5)) 72%); }
.tl .pic.web .win { position: relative; border-radius: 9px; overflow: hidden; background: #14161c; box-shadow: 0 18px 40px -12px rgba(0,0,0,.55); isolation: isolate; }   /* dark behind the picture, so no light hairline shows at the rounded corners */
.tl .pic.web .win i { display: block; height: 20px; margin: -1px -1px 0; background-color: #eceef1;
  background-image: radial-gradient(circle at 13px 11px, #ff5f57 3.5px, transparent 4.2px), radial-gradient(circle at 26px 11px, #febc2e 3.5px, transparent 4.2px), radial-gradient(circle at 39px 11px, #28c840 3.5px, transparent 4.2px); }
.tl .pic.web .win img { position: static; display: block; width: calc(100% + 2px); max-width: none; margin: 0 -1px -1px; height: auto; object-fit: fill; }
/* Where a product shipped: small labelled marks in the meta line */
.tl small .plat { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; }
.tl small .plat span { display: inline-flex; align-items: center; gap: 4px; color: var(--text, #444b59); font-weight: 600; }
.tl small .plat .ic { width: 13px; height: 13px; }
.tl .pic.web.inset { padding: 11% 17%; }
.tl .pic.web.inset .win { border-radius: 12px; }
