/* alinagil.pl */

@font-face {
	font-family: 'Bodoni Moda';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('../fonts/bodoni-moda-normal-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Bodoni Moda';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('../fonts/bodoni-moda-normal-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Bodoni Moda';
	font-style: italic;
	font-weight: 400 500;
	font-display: swap;
	src: url('../fonts/bodoni-moda-italic-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Bodoni Moda';
	font-style: italic;
	font-weight: 400 500;
	font-display: swap;
	src: url('../fonts/bodoni-moda-italic-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-weight: 300 500;
	font-display: swap;
	src: url('../fonts/jost-normal-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-weight: 300 500;
	font-display: swap;
	src: url('../fonts/jost-normal-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--paper: #ffffff;
	--paper-2: #f4f2f0;
	--ink: #1f1a19;
	--muted: #6e6663;
	--rule: #e6e1de;
	--red: #d43123;
	--red-hi: #f0291a;
	--iris: #171312;
	
	--serif: 'Bodoni Moda', 'Bodoni 72', Didot, 'Times New Roman', serif;
	--sans: 'Jost', Futura, 'Century Gothic', 'Segoe UI', sans-serif;
	
	--gutter: clamp(16px, 4vw, 56px);
	--max: 1480px;
	--gap: clamp(6px, 0.8vw, 12px);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	
	color-scheme: light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.65 var(--sans);
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

/* WebP with JPG fallback: the wrapper must not affect layout */
picture {
	display: contents;
}

a {
	color: inherit;
}

p {
	margin: 0 0 1em;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.1;
}

:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
}

::selection {
	background: var(--red);
	color: #fff;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 8px 14px;
	background: var(--ink);
	color: var(--paper);
	text-decoration: none;
	transform: translateY(-150%);
	transition: transform 0.2s;
}

.skip-link:focus {
	transform: none;
}

/* ------------------------------------------------------------------ */
/* Brand: aperture ring + face + wordmark (from the old fotoalina logo) */
/* ------------------------------------------------------------------ */

.mark {
	position: relative;
	display: block;
	flex: none;
	width: var(--mark, 72px);
	aspect-ratio: 161 / 160;
}

/* the face sits above the ring like in the old logo: the braid hangs over the blades */
.mark-face {
	position: absolute;
	z-index: 1;
	top: 11.25%;
	left: 0;
	width: 100%;
	height: auto;
}

.mark-ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: var(--red);
	transition: transform 0.5s var(--ease), fill 0.5s;
}

a:hover .mark-ring,
a:focus-visible .mark-ring {
	fill: var(--red-hi);
	transform: rotate(-45deg);
}

.wordmark {
	display: block;
	flex: none;
	height: var(--word, 64px);
	width: auto;
	overflow: visible;
	fill: var(--red);
	transition: fill 0.5s;
}

/* the wordmark brightens together with the rotating ring */
a:hover .wordmark,
a:focus-visible .wordmark {
	fill: var(--red-hi);
}

/* ------------------------------------------------------------------ */
/* Header + footer                                                      */
/* ------------------------------------------------------------------ */

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--max);
	margin: 0 auto;
	padding: 20px var(--gutter);
}

/*
 * Mark and wordmark share one height (--logo-h): the ring's diameter equals the lettering's height.
 * mark box is 161x160 -> width = h * 161/160; wordmark viewBox has a 0.8 margin around 86.19 of ink
 * -> svg height = h * 87.79/86.19.
 */
.brand {
	--logo-h: clamp(64px, 5.6vw, 80px);
	--mark: calc(var(--logo-h) * 1.00625);
	--word: calc(var(--logo-h) * 1.01856);
	display: flex;
	align-items: center;
	gap: calc(var(--logo-h) * 0.2);
	text-decoration: none;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 44px);
}

.site-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.6vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	position: relative;
	display: block;
	padding: 6px 0;
	font-size: 1.0625rem;
	letter-spacing: 0.02em;
	text-decoration: none;
}

.site-nav ul:first-child a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
}

.site-nav ul:first-child a:hover::after,
.site-nav a[aria-current='page']::after {
	transform: scaleX(1);
}

.social {
	gap: 6px !important;
}

.social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: var(--ink);
	border-radius: 50%;
	transition: color 0.2s, background-color 0.2s;
}

.social a:hover {
	color: var(--paper);
	background: var(--red);
}

.social svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linejoin: round;
}

.social .dot {
	fill: currentColor;
}

.site-footer {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	max-width: var(--max);
	margin: 0 auto;
	padding: 40px var(--gutter) 48px;
	border-top: 1px solid var(--rule);
	color: var(--muted);
	font-size: 0.9375rem;
}

.footer-brand {
	--mark: 44px;
}

.footer-copy {
	margin: 0;
	line-height: 1.5;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links a {
	color: var(--ink);
	text-decoration: none;
}

.footer-links a:hover {
	color: var(--red);
}

/* ------------------------------------------------------------------ */
/* Shared bits                                                          */
/* ------------------------------------------------------------------ */

main {
	display: block;
}

.section-title {
	font-size: clamp(2rem, 4.2vw, 3.5rem);
	letter-spacing: -0.01em;
}

.page-title {
	font-size: clamp(2.75rem, 7vw, 6rem);
	line-height: 1;
	letter-spacing: -0.015em;
}

.display {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	font-style: italic;
	font-size: clamp(2.75rem, 8.2vw, 8.25rem);
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.text-link {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--red);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
	transition: color 0.2s;
}

.text-link:hover {
	color: var(--red);
}

.button {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 28px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.button:hover {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* Home                                                                 */
/* ------------------------------------------------------------------ */

.hero {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.hero-frame {
	position: relative;
	height: clamp(420px, 74svh, 900px);
	overflow: hidden;
	background: var(--iris);
}

.hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.iris {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	pointer-events: none;
}

.iris-blades {
	fill: var(--iris);
}

.iris.is-done,
.iris-skip .iris {
	display: none;
}

.hero-text {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 16px 48px;
	padding: clamp(20px, 3vw, 40px) 0 0;
}

.hero-text .display {
	margin-left: -0.04em;
}

.hero-lines {
	max-width: 27em;
	margin: 0 0 0.6em;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.55;
}

.portfolio {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(80px, 11vw, 160px) var(--gutter) clamp(40px, 6vw, 80px);
}

.portfolio .section-title {
	margin-bottom: clamp(28px, 4vw, 56px);
}

.covers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(16px, 2.6vw, 40px);
	align-items: start;
}

.covers-col {
	display: flex;
	flex-direction: column;
	gap: clamp(32px, 3.6vw, 56px);
}

.cover {
	display: block;
	color: var(--ink);
	text-decoration: none;
}

.cover-frame {
	display: block;
	overflow: hidden;
	background: var(--paper-2);
}

.cover--wide .cover-frame {
	aspect-ratio: 3 / 2;
}

.cover--tall .cover-frame {
	aspect-ratio: 4 / 5;
}

.cover-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--ease);
}

.cover:hover .cover-frame img {
	transform: scale(1.035);
}

.cover-caption {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-top: 16px;
}

.cover-title {
	font-size: clamp(1.5rem, 2.4vw, 2.125rem);
	transition: color 0.25s;
}

.cover:hover .cover-title {
	color: var(--red);
}

.cover-count {
	flex: none;
	color: var(--muted);
	font-size: 0.9375rem;
}

.intro {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: center;
	column-gap: var(--gutter);
	max-width: var(--max);
	margin: clamp(48px, 8vw, 120px) auto 0;
	padding: 0 var(--gutter);
}

.intro-photo {
	grid-column: 1 / span 5;
	background: var(--paper-2);
}

.intro-photo img {
	width: 100%;
}

.intro-text {
	grid-column: 7 / span 5;
	max-width: 34em;
}

.intro-lead {
	margin-bottom: 0.6em;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.intro-text p {
	font-size: 1.125rem;
}

.reach {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(96px, 12vw, 180px) var(--gutter) clamp(72px, 9vw, 128px);
	text-align: center;
}

.reach .section-title {
	margin-bottom: 0.4em;
	color: var(--muted);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-family: var(--sans);
	letter-spacing: 0.02em;
}

.reach-mail {
	margin: 0 0 0.5em;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(2rem, 6.4vw, 5.5rem);
	line-height: 1.1;
	letter-spacing: -0.015em;
	overflow-wrap: anywhere;
}

.reach-mail a {
	text-decoration: none;
	background: linear-gradient(var(--red), var(--red)) no-repeat left 92% / 0 1px;
	transition: background-size 0.5s var(--ease), color 0.25s;
}

.reach-mail a:hover {
	color: var(--red);
	background-size: 100% 1px;
}

.reach-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 36px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.reach-social a {
	text-decoration: none;
}

.reach-social span {
	color: var(--muted);
}

.reach-social a:hover,
.reach-social a:hover span {
	color: var(--red);
}

/* ------------------------------------------------------------------ */
/* Gallery                                                              */
/* ------------------------------------------------------------------ */

.page-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 8px 32px;
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(24px, 5vw, 72px) var(--gutter) clamp(28px, 4vw, 56px);
}

.crumb {
	grid-column: 1 / -1;
	margin: 0 0 4px;
	font-size: 0.9375rem;
}

.crumb a {
	color: var(--muted);
	text-decoration: none;
}

.crumb a::before {
	content: '';
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	margin: 0 0.6em 0.12em 0.1em;
	border-left: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg);
}

.crumb a:hover {
	color: var(--red);
}

.page-meta {
	margin: 0 0 0.5em;
	color: var(--muted);
}

.page-intro {
	grid-column: 1;
	max-width: 36em;
	margin: 0.9em 0 0;
	font-size: 1.125rem;
	line-height: 1.6;
}

.justified {
	--row: clamp(200px, 25vw, 400px);
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.justified::after {
	content: '';
	flex-grow: 1000000;
}

.tile {
	position: relative;
	display: block;
	flex: var(--r) 1 calc(var(--row) * var(--r));
	aspect-ratio: var(--r);
	overflow: hidden;
	background: var(--paper-2);
	cursor: zoom-in;
}

.tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease), opacity 0.3s;
}

.tile:hover img {
	transform: scale(1.02);
}

.more {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(56px, 7vw, 96px);
}

.more .section-title {
	margin-bottom: clamp(24px, 3vw, 44px);
}

.more-covers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gutter);
}

/* Lightbox */

.lightbox {
	width: 100vw;
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.97);
	color: var(--ink);
	overflow: hidden;
	overscroll-behavior: contain;
}

.lightbox::backdrop {
	background: rgba(255, 255, 255, 0.6);
}

.lightbox[open] {
	display: grid;
	grid-template: 64px 1fr 56px / 72px 1fr 72px;
	animation: lb-in 0.3s var(--ease);
}

@keyframes lb-in {
	from {
		opacity: 0;
	}
}

.lb-stage {
	position: relative;
	grid-area: 2 / 2;
	min-height: 0;
	margin: 0;
	touch-action: pan-y pinch-zoom;
}

.lb-img {
	position: absolute;
	inset: 0;
	margin: auto;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 30px 60px -30px rgba(31, 26, 25, 0.45);
	transition: opacity 0.25s, transform 0.35s var(--ease);
	user-select: none;
	-webkit-user-drag: none;
}

.lb-img.is-loading {
	opacity: 0;
	transform: scale(0.985);
}

.lb-count {
	grid-area: 3 / 2;
	align-self: center;
	margin: 0;
	color: var(--muted);
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.lb-btn {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.lb-btn:hover {
	background: var(--red);
	color: #fff;
}

.lb-btn svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
}

.lb-close {
	grid-area: 1 / 3;
	place-self: center;
}

.lb-prev {
	grid-area: 2 / 1;
	place-self: center;
}

.lb-next {
	grid-area: 2 / 3;
	place-self: center;
}

/* ------------------------------------------------------------------ */
/* About                                                                */
/* ------------------------------------------------------------------ */

.about {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gutter);
	align-items: start;
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(24px, 5vw, 72px) var(--gutter) clamp(80px, 10vw, 140px);
}

.about-photo {
	grid-column: 1 / span 6;
	background: var(--paper-2);
}

.about-photo img {
	width: 100%;
}

.about-text {
	grid-column: 8 / span 5;
	padding-top: clamp(8px, 4vw, 64px);
}

.about-text .page-title {
	margin-bottom: 0.45em;
}

.about-lead {
	margin-bottom: 1.2em;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
	line-height: 1.15;
	color: var(--red);
}

.about-text p:not([class]) {
	max-width: 30em;
	font-size: 1.125rem;
	line-height: 1.7;
}

.about-cta {
	margin-top: 2em;
}

/* ------------------------------------------------------------------ */
/* Contact                                                              */
/* ------------------------------------------------------------------ */

.contact {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gutter);
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(24px, 5vw, 72px) var(--gutter) clamp(80px, 10vw, 140px);
}

.contact-info {
	grid-column: 1 / span 5;
}

.contact-info .page-title {
	margin-bottom: 0.5em;
}

.contact-info .reach-mail {
	font-size: clamp(1.5rem, 2.8vw, 2.5rem);
}

.contact-info .reach-social {
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.contact-form,
.contact-sent {
	grid-column: 7 / span 6;
	padding-top: clamp(8px, 2vw, 24px);
}

.field {
	margin: 0 0 28px;
}

.field label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.9375rem;
	color: var(--muted);
}

.field input,
.field textarea {
	display: block;
	width: 100%;
	padding: 10px 0 12px;
	border: 0;
	border-bottom: 1px solid var(--ink);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 1.125rem;
	transition: border-color 0.2s;
}

.field textarea {
	min-height: 9em;
	resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
	color: #a49d99;
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-bottom-color: var(--red);
	box-shadow: 0 1px 0 0 var(--red);
}

.field input:user-invalid,
.field textarea:user-invalid {
	border-bottom-color: var(--red);
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	margin-top: 8px;
}

.form-note {
	flex: 1 1 16em;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

.contact-sent:focus {
	outline: none;
}

.contact-sent-title {
	margin-bottom: 0.3em;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(2.5rem, 5vw, 4rem);
	color: var(--red);
}

/* ------------------------------------------------------------------ */
/* 404                                                                  */
/* ------------------------------------------------------------------ */

.notfound {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(48px, 10vw, 140px) var(--gutter);
}

.notfound .page-title {
	margin-bottom: 0.4em;
}

.notfound p {
	max-width: 34em;
}

.notfound .button {
	margin-right: 20px;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                           */
/* ------------------------------------------------------------------ */

@media (max-width: 1080px) {
	.intro-photo {
		grid-column: 1 / span 6;
	}
	
	.intro-text {
		grid-column: 7 / span 6;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 1rem;
	}
	
	.site-header {
		flex-wrap: wrap;
		gap: 12px 16px;
		padding-top: 14px;
		padding-bottom: 14px;
	}
	
	.brand {
		--logo-h: 56px;
	}
	
	.site-nav {
		gap: 12px;
	}
	
	.site-nav ul:first-child {
		gap: 16px;
	}
	
	.site-nav .social {
		display: none;
	}
	
	.hero-frame {
		height: auto;
		aspect-ratio: 4 / 5;
	}
	
	.hero-text {
		grid-template-columns: 1fr;
	}
	
	.covers,
	.intro,
	.about,
	.contact {
		grid-template-columns: minmax(0, 1fr);
	}
	
	.intro-photo,
	.intro-text,
	.about-photo,
	.about-text,
	.contact-info,
	.contact-form,
	.contact-sent {
		grid-column: 1;
		margin-top: 0;
	}
	
	.covers {
		row-gap: 44px;
	}
	
	.covers-col {
		display: contents;
	}
	
	.covers .cover {
		order: var(--order);
	}
	
	.cover--wide .cover-frame,
	.cover--tall .cover-frame {
		aspect-ratio: 4 / 3;
	}
	
	.intro-photo,
	.about-photo {
		max-width: 520px;
		margin-bottom: 32px;
	}
	
	.page-head {
		grid-template-columns: 1fr;
	}
	
	.justified {
		--row: 160px;
	}
	
	.justified::after {
		flex-grow: 0;
	}
	
	.more-covers {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.contact-info {
		margin-bottom: 40px;
	}
	
	.site-footer {
		grid-template-columns: auto 1fr;
	}
	
	.footer-links {
		grid-column: 1 / -1;
		flex-wrap: nowrap;
		gap: 8px clamp(12px, 5vw, 28px);
		font-size: min(0.9375rem, 4.4vw);
	}
	
	.footer-links a {
		white-space: nowrap;
	}
	
	.lightbox[open] {
		grid-template: 56px 1fr 64px / 0 1fr 0;
	}
	
	.lb-prev,
	.lb-next {
		grid-area: 3 / 2;
		z-index: 1;
	}
	
	.lb-prev {
		justify-self: start;
	}
	
	.lb-next {
		justify-self: end;
	}
	
	.lb-close {
		grid-area: 1 / 2;
		justify-self: end;
		margin-right: 4px;
	}
	
	.lb-img {
		box-shadow: none;
	}
}

@media (max-width: 400px) {
	.brand .wordmark {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
