@font-face {
	font-family: "Bebas Neue";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/bebas.woff2") format("woff2");
}
@font-face {
	font-family: "EB Garamond";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("/fonts/garamond.woff2") format("woff2");
}
@font-face {
	font-family: "EB Garamond";
	font-style: italic;
	font-weight: 400 800;
	font-display: swap;
	src: url("/fonts/garamond-italic.woff2") format("woff2");
}

:root {
	--bg: #121214;
	--deep: #1b1b1f;
	--paper: #e8e8e5;
	--paper-ink: #121214;
	--paper-soft: #55555a;
	--accent: #d8102e;
	--accent-strong: #b50d26;
	--ink: #ebebe9;
	--soft: #9c9c9a;
	--display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	--text: "EB Garamond", Georgia, "Times New Roman", serif;
	--step-small: 1rem;
	--step-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem);
	--step-lead: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
	--step-head: clamp(2.6rem, 1.4rem + 5vw, 5.5rem);
	--step-display: clamp(5rem, 12vw, 13rem);
	--margin: clamp(1rem, 2.5vw, 2rem);
	--gutter: clamp(0.75rem, 1.6vw, 1.5rem);
	--bar: 64px;
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
	--ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
	--t-press: 140ms;
	--t-hover: 180ms;
	--t-ui: 240ms;
	--t-reveal: 800ms;
	--stagger-line: 90ms;
	--stagger-item: 70ms;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--text);
	font-size: var(--step-body);
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
picture { display: contents; }
p { margin: 0 0 0.8em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
	font-family: var(--display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	line-height: 0.9;
	margin: 0 0 0.35em;
	text-wrap: balance;
}
h1, h2 { font-size: var(--step-head); }
h3 { font-size: calc(var(--step-lead) * 1.35); line-height: 0.95; }

a { color: inherit; text-decoration: none; }
.link, p a, address a, li a.plain {
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 0.06em;
	transition: text-decoration-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
	.link:hover, p a:hover, address a:hover { text-decoration-color: currentColor; }
}
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.small { font-size: var(--step-small); }
.meta { font-size: var(--step-body); color: var(--soft); margin: 0 0 0.5rem; }
.meta a { color: inherit; }
.soft { color: var(--soft); }
.lead { font-size: var(--step-lead); line-height: 1.3; max-width: 34em; margin: 0 0 1.2em; }
.statement { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2.2rem); line-height: 1.2; margin: 0 0 1em; text-wrap: pretty; }

.button {
	display: inline-block;
	background: var(--accent);
	color: #fff;
	text-decoration: none;
	font-family: var(--display);
	font-size: var(--step-lead);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1;
	padding: 0.75em 1.2em 0.6em;
	transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
	.button:hover { background: var(--accent-strong); }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin: 0; }

.skip {
	position: absolute;
	left: -200vw;
	top: 0.5rem;
	background: var(--accent);
	color: #fff;
	padding: 0.5rem 1rem;
	z-index: 100;
}
.skip:focus { left: 0.5rem; }

.frame { max-width: 1440px; margin: 0 auto; padding: 0 var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

.chapter { padding: clamp(5rem, 11vw, 10rem) 0; overflow: clip; }
.chapter[data-chapter="dark"] { background: var(--bg); color: var(--ink); }
.chapter[data-chapter="deep"] { background: var(--deep); color: var(--ink); }
.chapter[data-chapter="paper"] { background: var(--paper); color: var(--paper-ink); }
.chapter[data-chapter="paper"] .meta, .chapter[data-chapter="paper"] .soft { color: var(--paper-soft); }
.chapter[data-chapter="red"] { background: var(--accent); color: #fff; }

.bar {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 20;
	height: var(--bar);
	color: var(--ink);
	background: var(--bg);
	transition: color 300ms ease, background-color 300ms ease;
}
.bar[data-chapter="deep"] { background: var(--deep); }
.bar[data-chapter="red"] { background: var(--accent); color: #fff; }
.bar-row { display: flex; align-items: center; justify-content: flex-end; height: var(--bar); }
.bar[data-chapter="paper"] { color: var(--paper-ink); background: var(--paper); }
.brand { position: relative; width: clamp(96px, 18vw, 220px); margin-right: auto; }
.brand img { width: 100%; height: auto; transition: opacity 300ms ease; }
.brand-paper { position: absolute; inset: 0; opacity: 0; }
.bar[data-chapter="paper"] .brand-dark { opacity: 0; }
.bar[data-chapter="paper"] .brand-paper { opacity: 1; }
.bar nav { display: flex; gap: clamp(0.8rem, 2.4vw, 2rem); }
.bar nav a {
	font-family: var(--display);
	font-size: var(--step-lead);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1;
	padding: 0.3em 0;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 0.22em;
	text-decoration-thickness: 0.08em;
	transition: text-decoration-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
	.bar nav a:hover { text-decoration-color: var(--accent); }
}

.hero { padding-top: calc(var(--bar) + clamp(2rem, 8vh, 5rem)); padding-bottom: clamp(3rem, 8vh, 5rem); min-height: 84svh; display: flex; align-items: center; }
.hero .frame { width: 100%; }
.sentence {
	font-size: var(--step-display);
	letter-spacing: -0.03em;
	line-height: 0.88;
	margin: 0 0 0.3em;
	text-wrap: initial;
}
.sentence .line { display: inline; }
.wordmark { margin: 0 0 clamp(1.5rem, 5vh, 3rem); line-height: 0; }
.wordmark img { width: 100%; height: auto; aspect-ratio: 4584 / 456; }
.slot {
	display: block;
	aspect-ratio: 16 / 9;
	max-height: 62svh;
	width: 100%;
	overflow: hidden;
	position: relative;
	background: var(--deep);
	margin-bottom: clamp(1.2rem, 3vh, 2rem);
}
.slot img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.slot img.next { opacity: 0; }
.hero .lead { max-width: 30em; }
.hero-grid {
	--gap: clamp(1.5rem, 4vw, 4rem);
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--gap);
	align-items: center;
}
.hero-grid .wordmark { margin: 0; }
.hero-picture { margin: 0; }
.hero-actions { margin-top: clamp(1.5rem, 5vh, 3rem); }
@media (min-width: 901px) {
	.hero-lead { grid-column: 1; grid-row: 1; position: relative; z-index: 2; }
	.hero-grid .wordmark {
		width: calc((100% + var(--gap)) / 0.6686);
		pointer-events: none;
	}
	.hero-grid .wordmark img { filter: drop-shadow(0 0 0.6rem rgb(0 0 0 / 0.45)); }
	.hero-picture { grid-column: 2; grid-row: 1; }
}
.hero-picture .slot { aspect-ratio: 3 / 2; margin-bottom: 0.6rem; }
.hero-picture figcaption { color: var(--soft); }
.wordmark .hello { display: block; font-family: var(--display); font-size: calc(var(--step-head) * 0.4); line-height: 1; margin: 0 0 0.25em; }
.intro { padding-block: clamp(3.5rem, 9vw, 7rem) 0; }
.intro-text { grid-column: 3 / span 8; }
.intro-text::before { content: ""; display: block; width: 3rem; height: 3px; background: var(--accent); margin: 0 0 1.6rem; }
.intro .welcome-lead { font-size: calc(var(--step-lead) * 1.2); line-height: 1.4; margin: 0 0 1em; }
.intro .more p { font-size: var(--step-lead); line-height: 1.45; margin: 0 0 1em; }
.chapter[data-chapter="paper"] .more summary { color: var(--paper-soft); }
@media (max-width: 900px) { .intro-text { grid-column: 1 / span 12; } }
.more summary { cursor: pointer; list-style: none; width: fit-content; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; color: var(--soft); margin-bottom: 1em; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { display: none; }
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hero-lead { display: contents; }
	.hero-grid .wordmark { order: 1; }
	.hero-picture { order: 2; }
	.hero-actions { order: 3; margin-top: 0; }
}
@media (max-width: 700px) {
	.slot { aspect-ratio: 4 / 3; }
	.hero-picture .slot { aspect-ratio: 4 / 3; }
}

.prints-field {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gutter);
	align-items: start;
	padding-block: clamp(1rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem);
}
.prints-head { grid-column: 1 / -1; grid-row: 1; justify-self: center; font-size: var(--step-display); text-align: center; line-height: 0.85; margin: 0; letter-spacing: -0.03em; position: relative; z-index: 1; }
.print {
	position: relative;
	background: #fff;
	padding: 8px 8px 2.2rem;
	transform: rotate(var(--r));
	transition: transform 220ms var(--ease-out);
	z-index: 2;
}
.print img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.print-caption {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 0.55rem;
	font-size: var(--step-small);
	color: var(--paper-soft);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.print-1 { --r: -6deg; grid-column: 3 / span 3; grid-row: 2; margin-top: clamp(1.5rem, 3vw, 3rem); }
.print-2 { --r: 5deg; grid-column: 7 / span 3; grid-row: 2; margin-top: clamp(3rem, 6vw, 6rem); }
.print-3 { --r: 3deg; grid-column: 10 / span 2; grid-row: 1 / span 2; align-self: center; margin-top: 4vw; }
@media (hover: hover) and (pointer: fine) {
	.print:hover { transform: rotate(0deg); z-index: 3; }
}
@media (max-width: 900px) {
	.print-1 { grid-column: 1 / span 6; }
	.print-2 { grid-column: 7 / span 6; }
	.print-3 { display: none; }
}
@media (max-width: 700px) {
	.prints-head { font-size: clamp(5rem, 30vw, 9rem); }
}

.stream-head, .year-head { margin-bottom: 0.6em; }
.rows { display: grid; row-gap: clamp(3rem, 7vw, 6rem); }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.row .row-title { font-size: calc(var(--step-head) * 0.72); line-height: 0.92; margin-bottom: 0.35em; }
.row-text > :last-child { margin-bottom: 0; }
.row-text { grid-column: 1 / span 5; grid-row: 1; }
.row-picture { display: block; grid-column: 6 / span 7; grid-row: 1; overflow: hidden; background: var(--deep); aspect-ratio: 3 / 2; }
.row-picture img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) {
	.row-picture:hover img { transform: scale(1.03); }
}
.row:nth-child(even) .row-text { grid-column: 8 / span 5; grid-row: 1; }
.row:nth-child(even) .row-picture { grid-column: 1 / span 7; grid-row: 1; }
.row .row-title a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
	.row .row-title a:hover { color: var(--accent); }
}
@media (max-width: 900px) {
	.row { display: block; }
	.row-picture { margin-bottom: 1rem; }
	h3 { font-size: clamp(1.5rem, 1.2rem + 2vw, 2.2rem); }
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2.5rem 0 0; }
.chips a, .chips strong, .chips span {
	font-family: var(--display);
	font-size: var(--step-lead);
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 0.55em 0.8em 0.4em;
	background: var(--deep);
	color: var(--ink);
	transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.chapter[data-chapter="paper"] .chips a { background: #fff; color: var(--paper-ink); }
.chips strong { background: var(--accent); color: #fff; font-weight: 400; }
.chips span { background: none; color: var(--soft); padding-inline: 0.2em; }
@media (hover: hover) and (pointer: fine) {
	.chips a:hover { background: var(--accent); color: #fff; }
}
.year .chips { margin: 0 0 3rem; }

.archive-head { grid-column: 1 / span 12; margin-bottom: 0.6em; text-indent: 3vw; }
.archive-text { grid-column: 1 / span 6; grid-row: 2; margin: 0 0 3rem; max-width: 40rem; }
.archive-text p { margin: 0 0 1em; }
.archive-text .archive-count { font-family: var(--display); font-size: calc(var(--step-head) * 0.75); line-height: 0.95; text-transform: uppercase; margin: 0 0 0.9em; }
.archive-count span { display: block; }
.archive-picture { grid-column: 1 / span 4; grid-row: 3; align-self: end; max-width: 22vw; background: var(--bg); overflow: hidden; }
.archive-picture img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.table-name { grid-column: 7 / span 1; grid-row: 2 / span 2; font-size: var(--step-small); color: var(--soft); margin: 0.3rem 0 0; }
.table { grid-column: 8 / span 5; grid-row: 2 / span 2; display: grid; row-gap: 1.3rem; align-content: start; }
.table li:nth-child(4n + 1):not(:first-child) { margin-top: 1.6rem; }
.table a { display: grid; grid-template-columns: 4.5em 1fr auto; align-items: baseline; column-gap: 1rem; font-size: var(--step-body); }
.table .k { font-family: var(--display); font-size: var(--step-lead); line-height: 1; }
.table .p { color: var(--soft); }
.table .v { text-align: right; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
	.table a:hover .v { color: var(--accent); }
}
@media (max-width: 900px) {
	.archive-head { text-indent: 0; }
	.table-name { display: none; }
	.table { grid-column: 1 / span 12; }
	.archive-text { grid-column: 1 / span 12; }
	.table { grid-row: 3; }
	.archive-picture { grid-column: 6 / span 7; grid-row: 4; max-width: none; justify-self: end; width: 60%; margin-top: 2rem; }
	.table a { grid-template-columns: 4em 1fr auto; }
}

.about-head { grid-column: 1 / span 2; grid-row: 1; font-size: calc(var(--step-lead) * 1.35); }
.facts { grid-column: 1 / span 2; grid-row: 2; font-size: var(--step-small); color: var(--paper-soft); display: grid; row-gap: 0.8rem; align-content: start; }
.about-text { grid-column: 3 / span 6; grid-row: 1 / span 2; }
.about-portrait { grid-column: 9 / span 4; grid-row: 1 / span 2; margin: 0; align-self: start; }
.about-portrait img { width: 100%; height: auto; box-shadow: 0 1.2rem 2.4rem -1rem rgb(0 0 0 / 0.45); }
.about-portrait figcaption { margin-top: 0.8rem; color: var(--paper-soft); }
.about-text .statement { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); line-height: 1.2; }
@media (min-width: 901px) and (max-width: 1280px) {
	.about-head { grid-column: 1 / -1; grid-row: 1; margin-bottom: 0.8em; }
	.about-text { grid-column: 1 / span 7; grid-row: 2; }
	.about-portrait { grid-column: 8 / span 5; grid-row: 2 / span 2; }
	.facts { grid-column: 1 / span 7; grid-row: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; margin-top: 1.5rem; }
}
@media (max-width: 900px) {
	.about-head { grid-column: 1 / span 12; }
	.facts { grid-column: 1 / span 12; grid-row: 4; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; margin-top: 2rem; }
	.about-text { grid-column: 1 / span 12; grid-row: 3; }
	.about-portrait { grid-column: 1 / span 12; grid-row: 2; width: min(66%, 340px); margin: 1.5rem 0 2rem; }
	.about-text .statement { font-size: 1.375rem; line-height: 1.25; }
}

.contact { padding-top: clamp(6rem, 14vw, 10rem); padding-bottom: clamp(4rem, 9vw, 7.5rem); }
.contact-head { grid-column: 1 / span 12; }
.contact-sentence { grid-column: 1 / span 6; margin: 0; }
.contact-links { grid-column: 8 / span 5; display: grid; row-gap: 0.6rem; align-content: start; }
.contact-links .question { font-weight: 500; margin: 0 0 0.4rem; }
.contact-links .small { color: var(--soft); margin: 0.6rem 0 0; }
@media (max-width: 900px) {
	.contact-sentence { grid-column: 1 / span 12; }
	.contact-links { grid-column: 1 / span 12; margin-top: 2rem; }
}

.partners { padding-top: 0; }
.partners-head { font-size: calc(var(--step-lead) * 1.35); margin-bottom: 1.2rem; }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.partner-logos li { background: #fff; padding: 0.6rem 0.9rem; }
.partner-logos img { max-height: 40px; width: auto; max-width: 130px; }

.foot { padding: 3rem 0 2rem; }
.foot .frame { display: flex; flex-direction: column; gap: 2.5rem; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; font-size: var(--step-small); }
.foot-top p { margin: 0; }
.foot-contact {
	font-family: var(--display);
	font-size: calc(var(--step-lead) * 1.35);
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0;
}
.foot-contact a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
	.foot-contact a:hover { color: var(--paper-ink); }
}
.foot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: var(--step-small); }
.foot-meta p { margin: 0; }
.foot-meta a, .foot-top a { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.06em; }
.foot-meta a.hush { text-decoration: none; }
@media (max-width: 700px) {
	.foot-meta { flex-direction: column; }
}

.event .meta { margin-bottom: 1rem; }
.event-head { max-width: 16em; }
@media (max-width: 600px) { .event-head { font-size: clamp(1.9rem, 1rem + 4.6vw, 2.6rem); } h3 { font-size: 1.5rem; } }
.event-text { max-width: 36em; }
.event .actions { margin: 1rem 0 2.5rem; }
.gallery { display: flex; flex-wrap: wrap; gap: 6px; }
.gallery a {
	display: block;
	max-width: 100%;
	flex-grow: calc(var(--w) / var(--h) * 240);
	flex-basis: calc(var(--w) / var(--h) * 240px);
	aspect-ratio: var(--w) / var(--h);
	background: var(--deep);
	overflow: hidden;
}
.gallery .filler { flex-grow: 1000000; flex-basis: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) {
	.gallery a:hover img { transform: scale(1.03); }
}
@media (max-width: 600px) {
	.gallery a { flex-basis: calc(var(--w) / var(--h) * 160px); flex-grow: calc(var(--w) / var(--h) * 160); }
}
.neighbours { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 4rem 0 0; }
.neighbour { display: block; font-family: var(--display); text-transform: uppercase; font-size: var(--step-lead); line-height: 1; }
.neighbour .small { display: block; font-family: var(--text); text-transform: none; color: var(--soft); margin-bottom: 0.3rem; }
.neighbour.older { grid-column: 2; text-align: right; }
@media (hover: hover) and (pointer: fine) {
	.neighbour:hover { color: var(--accent); }
}

.text-measure { max-width: 42em; }
.text h2 { margin-top: 2em; font-size: calc(var(--step-lead) * 1.35); }
.text ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.text address { font-style: normal; margin-bottom: 1em; }

dialog#viewer {
	border: 0;
	padding: 0;
	margin: 0;
	background: #050506;
	color: var(--ink);
	width: 100vw;
	height: 100dvh;
	max-width: none;
	max-height: none;
	overflow: hidden;
}
dialog#viewer::backdrop { background: #050506; }
dialog#viewer figure { margin: 0; height: calc(100dvh - 3.8rem); display: flex; align-items: center; justify-content: center; }
dialog#viewer figure img { max-width: 100vw; max-height: calc(100dvh - 3.8rem); object-fit: contain; }
.viewer-bar {
	height: 3.8rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	padding: 0 1rem;
	font-size: var(--step-small);
	color: var(--soft);
	background: var(--deep);
}
.viewer-bar p { margin: 0; }
.viewer-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--display); font-size: var(--step-lead); text-transform: uppercase; color: var(--ink); }
.viewer-counter { font-variant-numeric: tabular-nums; }
.viewer-actions { display: flex; justify-content: flex-end; align-items: center; gap: 0.6rem; }
.viewer-actions a, .viewer-actions button {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	padding: 0.5em 0.85em 0.45em;
	background: none;
	border: 1px solid rgb(235 235 233 / 0.28);
	color: var(--ink);
	font-family: var(--display);
	font-size: 1.15rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease;
}
.viewer-actions svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: -0.1em; }
.viewer-actions .share { background: var(--accent); border-color: var(--accent); color: #fff; }
.viewer-actions .i-apple { display: none; }
.apple .viewer-actions .i-apple { display: block; }
.apple .viewer-actions .i-other { display: none; }
@media (hover: hover) and (pointer: fine) {
	.viewer-actions a:hover, .viewer-actions button:not(.share):hover { border-color: var(--ink); }
	.viewer-actions .share:hover { background: #b80d27; border-color: #b80d27; }
}
@media (max-width: 600px) {
	.viewer-actions { gap: 0.4rem; }
	.viewer-actions a, .viewer-actions button { padding: 0.5em 0.6em 0.45em; font-size: 1.05rem; }
	.viewer-actions .close span { display: none; }
}
dialog#viewer .prev, dialog#viewer .next {
	position: absolute;
	top: 0;
	bottom: 3.8rem;
	width: 18%;
	background: none;
	border: 0;
	color: #fff;
	font-size: 3rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	transition: opacity var(--t-ui) ease;
	display: flex;
	align-items: center;
	padding: 0 1rem;
}
dialog#viewer .prev { left: 0; justify-content: flex-start; }
dialog#viewer .next { right: 0; justify-content: flex-end; }
dialog#viewer .prev:hover, dialog#viewer .next:hover, dialog#viewer .prev:focus-visible, dialog#viewer .next:focus-visible { opacity: 0.9; }
@media (max-width: 700px) {
	.viewer-bar { grid-template-columns: minmax(0, 1fr) auto; }
	.viewer-title { display: none; }
	dialog#viewer .prev, dialog#viewer .next { opacity: 0.6; width: 25%; font-size: 2.4rem; }
}

dialog#suche {
	border: 0;
	background: var(--deep);
	color: var(--ink);
	padding: 0;
	width: min(720px, 94vw);
	margin: 8vh auto;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
}
dialog#suche:not([open]) { display: none; }
dialog#suche::backdrop { background: rgba(5, 5, 6, 0.85); }
.search-form { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.6rem 0.7rem 1.2rem; background: #26262b; }
.search-form input { flex: 1; background: none; border: 0; color: var(--ink); font: inherit; font-size: var(--step-lead); padding: 0.4rem 0; min-width: 0; }
.search-form input:focus { outline: none; }
.search-form .close { background: none; border: 0; color: var(--soft); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.5rem; }
.search-results { padding: 0.4rem 0; overflow-y: auto; }
.search-results li a { display: block; padding: 0.7rem 1.2rem; transition: background-color var(--t-hover) ease; }
.search-results li a:hover, .search-results li a:focus-visible { background: #26262b; outline: none; }
.search-results .name { display: block; font-family: var(--display); text-transform: uppercase; font-size: var(--step-lead); line-height: 1; margin-bottom: 0.2rem; }
.search-results .meta { display: block; margin: 0; }
.search-results .hint { padding: 0.9rem 1.2rem; color: var(--soft); }

@media (prefers-reduced-motion: no-preference) {
	.js .sentence .line, .js .lines .line { display: inline-block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; vertical-align: baseline; }
	.js .lines .line { display: block; }
	.js [data-line] { display: inline-block; transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(140ms + var(--i, 0) * 110ms); }
	.js .lines [data-line] { animation: none; transform: translateY(105%); transition: transform 900ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 110ms); }
	.js .lines.is-in [data-line] { transform: none; }
	.js [data-load] { opacity: 0; transform: translateY(12px); animation: load-rise 500ms var(--ease-out) forwards; animation-delay: var(--d, 400ms); }
	.js .slot img.current { animation: settle 1400ms var(--ease-expo) forwards; transform: scale(1.1); }
	.js .slot img { transition: opacity 900ms ease; }
	.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger-item)); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }
	.js .print[data-reveal] { transform: translateY(40px) rotate(var(--r)); }
	.js .print[data-reveal].is-in { transform: rotate(var(--r)); }
	.js .print[data-reveal].is-in:hover { transform: rotate(0deg); }
	.js .gallery a[data-reveal] { transform: scale(0.96); transition-delay: calc(var(--i, 0) * 40ms); }
	.js .gallery a[data-reveal].is-in { transform: none; }
	}
@media (prefers-reduced-motion: reduce) {
	.js .sentence .line { display: inline; }
	.js .slot img { transition: opacity 300ms ease; }
}
@keyframes line-up { to { transform: none; } }
@keyframes load-rise { to { opacity: 1; transform: none; } }
@keyframes settle { to { transform: none; } }

.row-picture img, .slot img, .archive-picture img, .print img { object-position: 50% 22%; }

@media (max-width: 600px) {
	.facts { grid-template-columns: minmax(0, 1fr); }
	.bar nav { gap: 0.7rem; }
	.bar nav a { font-size: 1rem; }
}
