@charset "UTF-8";

/* timeline.css — /timeline: one chronological spine (work, writing, shows,
   recognition, feed). CV-style: year rail on the left, entries on the right. */

.timeline {
	padding: 34px 0 70px;
}

.tl-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 18px;
	margin-bottom: 18px;
}

.tl-head h1 {
	margin: 0;
	font-family: var(--sans);
	font-weight: 800;
	font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.1rem);
	letter-spacing: -.02em;
}

.tl-head .count {
	font-family: var(--mono);
	font-size: .72rem;
	letter-spacing: .04em;
	color: var(--ink-soft);
}

/* ---- filter ---- */

.tl-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 20px;
	padding: 12px 0 8px;
	border-bottom: 1px solid var(--line);
	font-family: var(--mono);
	font-size: .72rem;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.tl-filter button {
	background: none;
	border: 0;
	padding: 0 0 3px;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	color: var(--ink-soft);
	cursor: pointer;
	border-bottom: 1px solid transparent;
}

.tl-filter button:hover,
.tl-filter button:focus-visible { color: var(--ink); }

.tl-filter button.is-active {
	color: var(--ink);
	border-bottom-color: var(--ink);
}

/* ---- year block ---- */

.tl-year {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 0 34px;
	padding: 16px 0;
	border-top: 1px solid var(--line-soft);
	scroll-margin-top: 56px;
}

.tl-year:first-of-type { border-top: 0; }

.tl-year[hidden] { display: none; }

.tl-y {
	font-family: var(--mono);
	font-size: 1.05rem;
	color: var(--ink-soft);
	position: sticky;
	top: 14px;
	align-self: start;
}

.tl-year ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tl-i {
	padding: 7px 0;
	border-bottom: 1px solid var(--line-soft);
}

/* writing — per-year summary + a couple of latest titles */
.tl-latest {
	margin-top: 4px;
	font-family: var(--sans);
	font-size: .82rem;
	line-height: 1.5;
}

.tl-latest a {
	color: var(--ink-soft);
	text-decoration: none;
}

.tl-latest a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.tl-all {
	display: inline-block;
	margin-top: 8px;
	font-family: var(--mono);
	font-size: .68rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-soft);
	border-bottom: 1px solid var(--line);
}

.tl-all:hover { color: var(--ink); border-bottom-color: var(--ink); }

.tl-i:last-child { border-bottom: 0; }
.tl-i[hidden] { display: none; }

.tl-i a { text-decoration: none; }

.tl-t {
	font-family: var(--sans);
	font-weight: 600;
	font-size: .95rem;
	line-height: 1.3;
}

.tl-m {
	display: block;
	margin-top: 3px;
	font-family: var(--mono);
	font-size: .68rem;
	letter-spacing: .03em;
	color: var(--ink-soft);
}

/* work: thumb + title */
.tl-work {
	display: grid;
	grid-template-columns: 108px 1fr;
	gap: 0 16px;
	align-items: center;
}

.tl-work img {
	width: 108px;
	height: 46px;
	object-fit: cover;
	background: var(--img-ph);
	display: block;
}

.tl-work .tl-t { align-self: end; }
.tl-work .tl-m { align-self: start; margin-top: 2px; }
.tl-work:not(:has(img)) { grid-template-columns: 1fr; }
.tl-work:not(:has(img)) .tl-t,
.tl-work:not(:has(img)) .tl-m { align-self: auto; }

.tl-i--work .tl-work:hover .tl-t { text-decoration: underline; text-underline-offset: 2px; }

/* writing — compact (date + title only; full excerpts live on the diary page) */
.tl-write:hover .tl-t { text-decoration: underline; text-underline-offset: 2px; }
.tl-write--date .tl-t {
	font-family: var(--mono);
	font-weight: 500;
	font-size: .82rem;
	color: var(--ink-soft);
}

/* recognition / archive text */
.tl-frag {
	font-family: var(--sans);
	font-size: .9rem;
	line-height: 1.5;
	color: var(--ink);
}

.tl-frag a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tl-i--award .tl-frag,
.tl-i--exhibition .tl-frag,
.tl-i--event .tl-frag { color: var(--ink-soft); }

/* life — biographical anchor points on the spine */
.tl-i--life .tl-frag {
	position: relative;
	padding-left: 15px;
	font-family: var(--mono);
	font-size: .8rem;
	letter-spacing: .01em;
	color: var(--ink-soft);
}

.tl-i--life .tl-frag::before {
	content: "";
	position: absolute;
	left: 0;
	top: .52em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--ink-soft);
}

/* feed strip */
.tl-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
	margin-top: 7px;
}

.tl-strip a { display: block; line-height: 0; cursor: zoom-in; }

.tl-strip img {
	width: 46px;
	height: 46px;
	object-fit: cover;
	background: var(--img-ph);
}

/* feed-strip lightbox */
.tl-lb {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5vmin;
	background: rgba(18, 18, 20, .93);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}

.tl-lb.is-open { opacity: 1; pointer-events: auto; }

.tl-lb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	cursor: zoom-out;
}

.tl-lb__x {
	position: absolute;
	top: 14px;
	right: 18px;
	background: none;
	border: 0;
	color: #fff;
	font-family: var(--mono);
	font-size: .78rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	padding: 8px;
}

.tl-lb__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 0;
	color: #fff;
	font-size: 2.4rem;
	line-height: 1;
	padding: 12px 18px;
	cursor: pointer;
	opacity: .7;
}

.tl-lb__nav:hover { opacity: 1; }
.tl-lb__prev { left: 2vmin; }
.tl-lb__next { right: 2vmin; }

.tl-lb__cap {
	position: absolute;
	bottom: 16px;
	left: 0;
	right: 0;
	text-align: center;
	font-family: var(--mono);
	font-size: .72rem;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .7);
}

@media (prefers-reduced-motion: reduce) { .tl-lb { transition: none; } }

.tl-more {
	font-family: var(--mono);
	font-size: .68rem;
	color: var(--ink-soft);
}

@media screen and (max-width: 640px) {
	.tl-year { grid-template-columns: 52px 1fr; gap: 0 18px; }
	.tl-y { font-size: .9rem; }
	.tl-work { grid-template-columns: 84px 1fr; gap: 0 12px; }
	.tl-work img { width: 84px; height: 40px; }
}
