/* === tokens === */
@property --zoom {
	syntax: "<number>";
	inherits: true;
	initial-value: 1;
}

@property --breath {
	syntax: "<number>";
	inherits: true;
	initial-value: 0;
}

@property --open {
	syntax: "<number>";
	inherits: true;
	initial-value: 1;
}

@property --iris {
	syntax: "<number>";
	inherits: true;
	initial-value: 1;
}

:root {
	--c-paper: #ffffff;
	--c-mist: #f6f4f1;
	--c-ink: #231f20;
	--c-charcoal: #333132;
	--c-muted: #6b6566;
	--c-brick: #8f3d33;
	--c-line: #e4dfda;
	--c-frame: rgb(255 255 255 / 0.9);
	--c-shade: rgb(35 31 32 / 0.62);
	--c-veil: rgb(255 255 255 / 0.16);
	--c-dim: rgb(35 31 32 / 0.26);
	--ff-text: Montserrat, system-ui, sans-serif;
	--ff-big: "Source Sans 3", "Myriad Pro", system-ui, sans-serif;
	--fs-label: 0.875rem;
	--fs-small: 1rem;
	--fs-body: 1.125rem;
	--fs-lead: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
	--fs-title: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
	--fs-display: clamp(3.25rem, 1.9rem + 6.6vw, 7.5rem);
	--sp-1: 0.5rem;
	--sp-2: 1rem;
	--sp-3: 1.5rem;
	--sp-4: 2.5rem;
	--sp-5: clamp(4.5rem, 3rem + 7vw, 10rem);
	--gutter: 1rem;
	--wide: 80rem;
	--stage-h: max(100svh, 31rem);
	--frame-inset: clamp(0.875rem, 4.5%, 2.25rem);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--tap: 2.75rem;
}

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

html,
body {
	overflow-x: clip;
}

/* Large monitors get a proportionally larger page instead of a small island of content. */
html {
	font-size: clamp(100%, 50% + 0.6vw, 125%);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--c-paper);
	color: var(--c-ink);
	font-family: var(--ff-text);
	-webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
	padding: 0;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

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

p {
	margin: 0 0 var(--sp-2);
}

/* === page transitions === */
/* Where the browser can, going from a story's card to its page lets the cover photograph travel and grow into place. */
@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}

	::view-transition-group(*) {
		animation-duration: 0.5s;
		animation-timing-function: var(--ease);
	}
}

/* === nav === */
.jfp-nav {
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	padding: var(--sp-1);
	transition: transform 0.24s var(--ease), background-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

/* Fixed only once the script that hides it on the way down is running. */
.is-scripted .jfp-nav {
	position: fixed;
}

.jfp-nav.is-solid {
	background: var(--c-paper);
	box-shadow: 0 1px 0 var(--c-line);
}

.jfp-nav.is-away {
	transform: translateY(-100%);
}

.jfp-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	padding: 0 0.625rem;
	font-size: var(--fs-label);
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: color 0.2s var(--ease);
}

/* The four words must fit a 320 px screen. */
/* On a phone the menu takes the whole width: two words, the drawing, two words. */
@media (max-width: 47.99em) {
	.jfp-nav {
		justify-content: space-between;
		padding: 0.25rem 0.5rem;
	}

	.jfp-nav__home {
		min-width: var(--tap);
		justify-content: center;
	}
}

@media (max-width: 26em) {
	.jfp-nav__link {
		padding: 0 0.375rem;
		letter-spacing: 0.1em;
	}
}

@media (max-width: 22.5em) {
	.jfp-nav {
		padding-right: 0.25rem;
		padding-left: 0.25rem;
	}

	.jfp-nav__link {
		padding: 0 0.25rem;
		font-size: 0.8125rem;
		letter-spacing: 0.04em;
	}

	.jfp-nav__home img {
		height: 2.75rem;
	}
}

.jfp-nav__link:hover {
	color: var(--c-brick);
}

/* His drawing in the middle of the menu is the way home, on a phone as well. */
.jfp-nav__home {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	margin: 0 0.125rem;
}

.jfp-nav__home img {
	width: auto;
	height: 3.25rem;
}

/* On the cover his drawing already fills the page; the small one joins the bar once the cover is left behind. */
.jfp-nav__home--cover {
	opacity: 0;
	transition: opacity 0.24s var(--ease);
}

.jfp-nav.is-solid .jfp-nav__home--cover {
	opacity: 1;
}

/* How far down the page the visitor is: nobody should wonder how much scrolling is left. */
.jfp-nav__progress {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	background: var(--c-brick);
	transform: scaleX(0);
	transform-origin: left;
}

/* === components === */
.jfp-stack {
	display: grid;
	margin: 0 0 var(--sp-4);
	font-weight: 400;
	line-height: 0.92;
}

.jfp-stack__small {
	padding-left: 0.5em;
	font-size: clamp(0.9375rem, 0.8rem + 0.6vw, 1.25rem);
	font-weight: 300;
	letter-spacing: 0.34em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* The large word rises from behind its own baseline; the padding keeps descenders and diacritics inside the mask. */
.jfp-stack__big {
	display: block;
	margin: -0.1em 0 -0.2em;
	padding: 0.1em 0 0.2em;
	overflow: clip;
	font-family: var(--ff-big);
	font-size: var(--fs-display);
	letter-spacing: -0.015em;
	text-transform: lowercase;
}

.jfp-stack__word {
	display: block;
}

h3.jfp-stack .jfp-stack__big {
	font-size: calc(var(--fs-display) * 0.72);
}

.jfp-verse {
	max-width: 32rem;
	font-size: var(--fs-lead);
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 1.5;
}

.jfp-verse p {
	margin-bottom: 1.4em;
}

.jfp-link {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	border-bottom: 1px solid currentcolor;
	color: var(--c-brick);
	font-size: var(--fs-small);
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	transition: color 0.2s var(--ease);
}

.jfp-link:hover {
	color: var(--c-ink);
}

.jfp-link--quiet {
	border-bottom-color: transparent;
	color: var(--c-muted);
	font-weight: 400;
}

.jfp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.5rem;
	padding: 0 var(--sp-4);
	background: var(--c-ink);
	color: var(--c-paper);
	font-size: var(--fs-small);
	font-weight: 500;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.jfp-button:hover {
	background: var(--c-brick);
	transform: translateY(-2px);
}

.jfp-photo {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--c-mist);
	view-transition-name: var(--travels, none);
}

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

/* The thin white rectangle he draws inside his photographs in the offers. */
.jfp-photo__frame {
	position: absolute;
	inset: var(--frame-inset);
	border: 1px solid var(--c-frame);
	pointer-events: none;
}

.jfp-photo--round {
	aspect-ratio: 1;
	border: 0.375rem solid var(--c-paper);
	border-radius: 50%;
}

.jfp-story__link {
	display: grid;
	gap: var(--sp-3);
}

.jfp-story__photos {
	position: relative;
	display: block;
	padding-bottom: 14%;
}

.jfp-story__cover {
	width: 82%;
	aspect-ratio: 4 / 5;
}

.jfp-story__detail {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 40%;
}

.jfp-story:nth-child(even) .jfp-story__cover {
	margin-left: auto;
}

.jfp-story:nth-child(even) .jfp-story__detail {
	right: auto;
	left: 0;
}

.jfp-story__text {
	display: grid;
	gap: var(--sp-1);
}

.jfp-story:nth-child(odd) .jfp-story__text {
	justify-items: end;
	text-align: right;
}

.jfp-story__meta {
	font-size: var(--fs-label);
	font-weight: 400;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.jfp-story__cover img {
	transition: scale 0.6s var(--ease);
}

.jfp-story__link:hover .jfp-story__cover img {
	scale: 1.04;
}

.jfp-story__title {
	font-family: var(--ff-big);
	font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
	line-height: 1.05;
	text-transform: lowercase;
	transition: color 0.2s var(--ease);
}

.jfp-story__link:hover .jfp-story__title {
	color: var(--c-brick);
}

.jfp-film {
	display: grid;
	flex: 0 0 82vw;
	gap: var(--sp-2);
	max-width: 34rem;
	scroll-snap-align: start;
}

.jfp-film__cover {
	aspect-ratio: 2.35 / 1;
	background: var(--c-ink);
}

/* The video stills carry cinema bars; the enlarged wide crop leaves them out. */
.jfp-film__cover img {
	scale: 1.14;
	transition: scale 0.6s var(--ease);
}

.jfp-film:hover .jfp-film__cover img {
	scale: 1.2;
}

.jfp-film__cover::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	width: 3.75rem;
	aspect-ratio: 1;
	border: 1px solid var(--c-frame);
	border-radius: 50%;
	background: var(--c-veil);
	translate: -50% -50%;
	transition: scale 0.3s var(--ease);
}

.jfp-film:hover .jfp-film__cover::before {
	scale: 1.12;
}

.jfp-film__cover::after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	border-top: 0.5rem solid transparent;
	border-bottom: 0.5rem solid transparent;
	border-left: 0.8125rem solid var(--c-paper);
	translate: -35% -50%;
}

.jfp-film__title {
	font-family: var(--ff-big);
	font-size: var(--fs-title);
	line-height: 1.05;
	text-transform: lowercase;
}

.jfp-pack {
	display: flex;
	flex-direction: column;
	gap: var(--sp-1);
	padding: var(--sp-4) var(--gutter) var(--sp-4);
	background: var(--c-paper);
	font-size: var(--fs-body);
	line-height: 1.5;
}

.jfp-pack__photo img {
	transition: scale 0.6s var(--ease);
}

.jfp-pack:hover .jfp-pack__photo img {
	scale: 1.05;
}

.jfp-pack--dark {
	background: var(--c-charcoal);
	color: var(--c-paper);
}

.jfp-pack--brick {
	background: var(--c-brick);
	color: var(--c-paper);
}

.jfp-pack__photo {
	width: 60%;
	max-width: 17rem;
	aspect-ratio: 5 / 7;
	margin-bottom: var(--sp-2);
}

.jfp-pack__photo--wide {
	width: 100%;
	max-width: none;
	aspect-ratio: 7 / 4;
}

.jfp-pack__name {
	margin: 0 0 var(--sp-1);
	font-size: var(--fs-title);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.jfp-pack__name span {
	font-weight: 300;
	text-transform: none;
}

.jfp-pack__price {
	margin: auto 0 0;
	padding-top: var(--sp-2);
	font-size: var(--fs-title);
	font-weight: 500;
}

.jfp-pack__price span {
	font-size: var(--fs-label);
	font-weight: 400;
	letter-spacing: 0.26em;
	text-transform: uppercase;
}

.jfp-faq__item {
	border-bottom: 1px solid var(--c-line);
}

.jfp-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-2);
	min-height: 3.75rem;
	padding: var(--sp-2) 0;
	cursor: pointer;
	font-size: var(--fs-body);
	font-weight: 600;
	list-style: none;
}

.jfp-faq__item summary::-webkit-details-marker {
	display: none;
}

.jfp-faq__item summary::after {
	content: "+";
	flex: none;
	color: var(--c-brick);
	font-size: var(--fs-title);
	font-weight: 200;
	line-height: 1;
	transition: transform 0.2s var(--ease);
}

.jfp-faq__item[open] summary::after {
	transform: rotate(45deg);
}

@supports (interpolate-size: allow-keywords) {
	.jfp-faq__item {
		interpolate-size: allow-keywords;
	}

	.jfp-faq__item::details-content {
		height: 0;
		overflow: clip;
		transition: height 0.24s var(--ease), content-visibility 0.24s allow-discrete;
	}

	.jfp-faq__item[open]::details-content {
		height: auto;
	}
}

.jfp-faq__item p {
	max-width: 38rem;
	font-size: var(--fs-body);
	line-height: 1.6;
}

.jfp-voice {
	display: grid;
	align-content: start;
	justify-items: center;
	gap: var(--sp-2);
	margin: 0;
	text-align: center;
}

.jfp-voice__photo {
	width: 7.5rem;
	border: 0;
}



.jfp-voice__text {
	max-width: 30rem;
	margin: 0;
	font-size: var(--fs-body);
	font-weight: 300;
	line-height: 1.65;
}

.jfp-voice__name {
	font-size: var(--fs-label);
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

/* === home: the lens === */
/* Two pages share one stage: a paper with his drawn self, and a photograph that lives behind the lens of the drawn camera. */
.jfp-lens {
	/* Where the camera lens sits in logo.svg: 47.97% across, 88.73% down, radius 6.8% of the width. */
	--lens-x: calc(50% - var(--logo-w) * 0.0203);
	--lens-y: calc(var(--logo-top) + var(--logo-w) * 1.4538);
	--lens-r: calc(var(--logo-w) * 0.068);
	--zoom: 1;
}

.jfp-lens__stage {
	position: relative;
}

.jfp-lens__paper {
	position: relative;
	height: var(--stage-h);
	background: var(--c-paper);
}

.jfp-lens__logo {
	position: absolute;
	top: var(--logo-top);
	left: calc(50% - var(--logo-w) / 2);
	width: var(--logo-w);
	max-width: none;
}

.jfp-lens__world {
	position: relative;
	display: grid;
	place-items: center;
	height: var(--stage-h);
	overflow: hidden;
	background: var(--c-ink);
	color: var(--c-paper);
}

.jfp-lens__photo,
.jfp-lens__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jfp-lens__frame {
	position: absolute;
	inset: 22% 14% 20%;
	border: 1px solid var(--c-frame);
}

.jfp-lens__words {
	position: relative;
	display: grid;
	gap: var(--sp-2);
	margin: 0;
	text-align: center;
	text-transform: uppercase;
}

.jfp-lens__words strong {
	font-size: clamp(1.625rem, 1.1rem + 2.6vw, 3rem);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.jfp-lens__words span {
	font-size: clamp(0.9375rem, 0.8rem + 0.8vw, 1.375rem);
	font-weight: 300;
	letter-spacing: 0.42em;
}

/* === home: intro === */
.jfp-intro {
	--logo-w: min(56vw, var(--stage-h) * 0.34);
	
	/* Never so high that his name slides under the menu on a short screen. */
	--logo-top: max(8.25rem, var(--stage-h) * 0.5 - var(--logo-w) * 0.86);
}

.jfp-intro__wordmark {
	position: absolute;
	top: calc(var(--logo-top) - 4.75rem);
	left: 0;
	right: 0;
	display: grid;
	justify-content: center;
	justify-items: end;
	margin: 0;
	line-height: 1.1;
	text-transform: uppercase;
}

.jfp-intro__name {
	font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.125rem);
	font-weight: 200;
	letter-spacing: 0.1em;
}

.jfp-intro__role {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.36em;
}

.jfp-intro__tagline {
	position: absolute;
	top: calc(var(--logo-top) + var(--logo-w) * 1.6384 + 1.25rem);
	left: var(--gutter);
	right: var(--gutter);
	margin: 0;
	font-size: var(--fs-small);
	font-weight: 300;
	letter-spacing: 0.14em;
	line-height: 1.6;
	text-align: center;
}

.jfp-intro__tagline span {
	white-space: nowrap;
}

.jfp-intro__hint {
	display: none;
}

.jfp-intro__wordmark,
.jfp-intro .jfp-lens__logo,
.jfp-intro__tagline {
	animation: jfp-arrive 1.1s var(--ease) both;
}

.jfp-intro .jfp-lens__logo {
	animation-delay: 0.15s;
}

.jfp-intro__tagline {
	animation-delay: 0.45s;
}

@keyframes jfp-arrive {
	from {
		opacity: 0;
		translate: 0 1rem;
	}
}

.has-motion .jfp-intro .jfp-lens__world {
	animation: jfp-open 1.1s var(--ease) 0.9s both;
}

@keyframes jfp-open {
	from {
		--open: 0;
	}
}

@keyframes jfp-breath {
	50% {
		--breath: 1;
	}
}

@keyframes jfp-hint {
	0% {
		transform: scaleY(0);
	}

	55% {
		transform: scaleY(1);
		opacity: 1;
	}

	100% {
		transform: scaleY(1);
		opacity: 0;
	}
}

/* === home: sections === */
.jfp-section {
	width: 100%;
	max-width: var(--wide);
	margin: 0 auto;
	padding: var(--sp-5) var(--gutter) 0;
}

.jfp-hello {
	display: grid;
	gap: var(--sp-4);
}

.jfp-hello__photos {
	position: relative;
	padding-bottom: 16%;
}

.jfp-hello__portrait {
	width: 74%;
	aspect-ratio: 2 / 3;
}

.jfp-hello__detail {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 44%;
}

.jfp-hello__text,
.jfp-album__text,
.jfp-love__intro {
	display: grid;
	justify-items: end;
	text-align: right;
}

.jfp-hello__text .jfp-stack,
.jfp-album__text .jfp-stack,
.jfp-love__intro .jfp-stack {
	justify-items: end;
}

.jfp-love__ring,
.jfp-love__glass {
	display: none;
}

.jfp-love__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sp-3) var(--sp-2);
	margin: 0;
	padding: var(--sp-4) var(--gutter) 0;
	list-style: none;
}

.jfp-love__line {
	display: grid;
	margin: var(--sp-1) 0 0;
	text-align: center;
}

.jfp-love__verb {
	font-size: var(--fs-label);
	font-weight: 300;
	letter-spacing: 0.34em;
	text-transform: uppercase;
}

.jfp-love__what {
	font-family: var(--ff-big);
	font-size: var(--fs-title);
	line-height: 1.05;
}

.jfp-love__end {
	margin: var(--sp-4) 0 0;
	padding: 0 var(--gutter);
	font-size: var(--fs-small);
	font-weight: 300;
	letter-spacing: 0.34em;
	line-height: 1.7;
	text-align: center;
	text-transform: uppercase;
}

.jfp-stories__list {
	display: grid;
	gap: var(--sp-5);
}

.jfp-stories__more {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-1) var(--sp-3);
	margin: var(--sp-5) 0 0;
}

.jfp-films {
	margin-top: var(--sp-5);
	background: var(--c-charcoal);
	color: var(--c-paper);
}

.jfp-films__inner {
	max-width: var(--wide);
	margin: 0 auto;
	padding: var(--sp-5) 0;
}

.jfp-films .jfp-stack {
	padding: 0 var(--gutter);
}

.jfp-films__row {
	display: flex;
	gap: var(--sp-3);
	overflow-x: auto;
	padding: 0 var(--gutter);
	scroll-padding-left: var(--gutter);
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.jfp-album {
	display: grid;
	gap: var(--sp-4);
}

.jfp-album__photos {
	position: relative;
	margin: 0 calc(var(--gutter) * -1);
	padding-bottom: 18%;
}

.jfp-album__main {
	aspect-ratio: 5 / 4;
}

.jfp-album__detail {
	position: absolute;
	bottom: 0;
	left: var(--gutter);
	width: 44%;
}

.jfp-packs__list {
	display: grid;
}

.jfp-packs__terms {
	padding-top: var(--sp-3);
	color: var(--c-muted);
	font-size: var(--fs-small);
	font-weight: 500;
}

.jfp-packs__terms p {
	margin-bottom: var(--sp-1);
}

.jfp-faq {
	display: grid;
	gap: var(--sp-4);
}

.jfp-faq__text {
	order: -1;
}

.jfp-faq__photo {
	margin: 0 calc(var(--gutter) * -1);
	aspect-ratio: 5 / 4;
}

.jfp-voices {
	margin-top: var(--sp-5);
	padding-bottom: var(--sp-5);
	background: var(--c-mist);
}

.jfp-voices__list {
	display: grid;
	gap: var(--sp-5);
}

.jfp-end {
	--logo-w: min(40vw, var(--stage-h) * 0.24);
	--text-h: 17rem;

	/* Drawing and farewell are centred together as one group. */
	--logo-top: max(1rem, (var(--stage-h) - var(--logo-w) * 1.6384 - var(--text-h)) / 2);
}

/* The last photograph is pale; a veil of ink keeps his white words readable on it. */
.jfp-end .jfp-lens__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-dim);
}

.jfp-end__text {
	position: absolute;
	top: calc(var(--logo-top) + var(--logo-w) * 1.6384 + 1.5rem);
	left: var(--gutter);
	right: var(--gutter);
	display: grid;
	justify-items: center;
	font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.5rem);
	font-weight: 300;
	letter-spacing: 0.04em;
	line-height: 1.45;
	text-align: center;
}

.jfp-end__text p {
	max-width: 24rem;
	margin-bottom: 0.6em;
}

.jfp-end__thanks strong {
	display: block;
	font-size: 1.4em;
	font-weight: 400;
	letter-spacing: 0;
}

.jfp-end__text .jfp-end__actions {
	margin: 0.4em 0 0;
}

/* === home: scroll scenes === */
/* Only where the script runs and the screen is tall enough to hold a pinned stage; a phone on its side reads the plain page. */
@media (min-height: 31rem) {
	/* Each scene asks for about one swipe more than a plain screen would. */
	.has-motion .jfp-lens {
		height: 230svh;
	}

	.has-motion .jfp-end {
		height: 200svh;
	}

	.has-motion .jfp-lens__stage {
		position: sticky;
		top: 0;
		height: 100svh;
		overflow: hidden;
	}

	.has-motion .jfp-lens__paper {
		height: 100%;
		transform: scale(var(--zoom));
		transform-origin: var(--lens-x) var(--lens-y);
	}

	/* Promoted only on the cover and only once it moves: it then starts at its natural size, while a layer promoted at rest or enlarged sixty times is painted in tiles that arrive late. */
	.has-motion .jfp-intro .jfp-lens__stage:not(.is-resting) .jfp-lens__paper {
		will-change: transform;
	}

	.has-motion .jfp-lens__world {
		position: absolute;
		z-index: 1;
		inset: 0;
		height: auto;
		clip-path: circle(calc(var(--lens-r) * var(--zoom) * var(--open) * (1 + var(--breath) * 0.16)) at var(--lens-x) var(--lens-y));
	}

	/* At rest the lens breathes, so the eye finds the light inside the camera. */
	.has-motion .jfp-lens__stage.is-resting {
		animation: jfp-breath 3.4s ease-in-out 1.2s infinite;
	}

	.has-motion .jfp-intro__hint {
		position: absolute;
		bottom: var(--sp-3);
		left: 50%;
		display: block;
		width: 1px;
		height: 2.75rem;
		background: var(--c-ink);
		transform-origin: top;
		animation: jfp-hint 2.2s var(--ease) infinite;
	}

	/* The six loves share one round frame; the scroll turns the aperture ring a stop and opens each photograph like an iris. */
	.has-motion .jfp-love__track {
		height: calc(100svh + (var(--count) - 1) * 44svh);
	}

	.has-motion .jfp-love__stage {
		position: sticky;
		top: 0;
		display: grid;
		place-items: center;
		height: 100svh;
		overflow: hidden;
	}

	.has-motion .jfp-love__lens {
		position: relative;
		width: min(72vw, 56svh);
		aspect-ratio: 1;
		translate: 0 -4svh;
	}

	.has-motion .jfp-love__ring {
		position: absolute;
		top: -15%;
		left: -15%;
		display: block;
		width: 130%;
		height: 130%;
		overflow: visible;
	}

	.jfp-love__ring line {
		stroke: var(--c-muted);
		stroke-width: 0.35;
	}

	.jfp-love__ring line.is-stop {
		stroke: var(--c-ink);
		stroke-width: 0.6;
	}

	.jfp-love__ring text {
		fill: var(--c-ink);
		font-size: 5.6px;
		font-weight: 400;
		letter-spacing: 0.08em;
		text-anchor: middle;
	}

	.jfp-love__mark {
		fill: var(--c-brick);
	}

	.has-motion .jfp-love__list {
		position: absolute;
		inset: 0;
		display: block;
		padding: 0;
	}

	.has-motion .jfp-love__item {
		position: absolute;
		inset: 0;
	}

	.has-motion .jfp-love__item:not(:first-child) {
		--iris: 0;
	}

	.has-motion .jfp-love__photo {
		width: 100%;
		border: 0;
		clip-path: circle(calc(var(--iris) * 50.5%) at 50% 50%);
	}

	/* The line is set twice on the same spot: ink on the paper, white behind the glass, so the edge of the lens cuts through the letters. */
	.has-motion .jfp-love__line {
		position: absolute;
		top: 73%;
		left: 50%;
		width: max-content;
		margin: 0;
		translate: -50% 0;
	}

	.has-motion .jfp-love__glass {
		position: absolute;
		inset: 0;
		display: block;
		background: linear-gradient(transparent 46%, var(--c-shade));
		color: var(--c-paper);
		clip-path: circle(calc(var(--iris) * 50%) at 50% 50%);
	}

	.has-motion .jfp-love__item:not(:first-child) .jfp-love__line {
		opacity: 0;
	}

	.has-motion .jfp-love__verb {
		font-size: clamp(0.875rem, 0.7rem + 0.6vw, 1.125rem);
		font-weight: 400;
	}

	.has-motion .jfp-love__what {
		font-size: min(14vw, 15svh);
		line-height: 1;
	}
}

/* === story === */
.jfp-tale__head {
	padding-top: 7rem;
}

.jfp-tale__back {
	margin: 0 0 var(--sp-2);
}

.jfp-tale__head .jfp-stack {
	margin-bottom: var(--sp-3);
}

.jfp-tale__head .jfp-stack__big {
	font-size: clamp(2.75rem, 1.6rem + 5.6vw, 6.5rem);
}

.jfp-tale__photo {
	aspect-ratio: 4 / 5;
	max-height: 88svh;
	width: 100%;
}

.jfp-tale__words {
	display: grid;
	justify-items: end;
	text-align: right;
}

.jfp-tale__words blockquote {
	margin: 0 0 1.4em;
	font-family: var(--ff-big);
	font-size: var(--fs-title);
	line-height: 1.15;
}

.jfp-tale__words :is(h2, h3, h4, h5, h6) {
	margin: 0 0 var(--sp-1);
	font-size: var(--fs-small);
	font-weight: 300;
	letter-spacing: 0.34em;
	text-transform: uppercase;
}

.jfp-tale__count {
	margin: var(--sp-3) 0 0;
	color: var(--c-muted);
	font-size: var(--fs-label);
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.jfp-reel {
	margin-top: var(--sp-4);
}

.jfp-reel__rows {
	display: grid;
	gap: clamp(1rem, 0.4rem + 3vw, 4rem);
}

.jfp-reel__row {
	display: flex;
	gap: 0.5rem;
	width: 100%;
	max-width: var(--wide);
	margin: 0 auto;
}

/* Every photograph keeps the proportions he gave it; only its width and side change with the rhythm. */
.jfp-shot {
	display: block;
	width: 100%;
	aspect-ratio: var(--ratio);
	overflow: hidden;
	background: var(--c-mist);
	cursor: zoom-in;
}

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

.jfp-reel__row--left .jfp-shot,
.jfp-reel__row--right .jfp-shot {
	width: 86%;
}

.jfp-reel__row--tall-left .jfp-shot,
.jfp-reel__row--tall-right .jfp-shot {
	width: 74%;
}

.jfp-reel__row--right,
.jfp-reel__row--tall-right {
	justify-content: flex-end;
}

.jfp-reel__row--pair,
.jfp-reel__row--pair-low {
	align-items: flex-start;
	padding: 0 var(--gutter);
}

.jfp-reel__row--pair .jfp-shot:last-child,
.jfp-reel__row--pair-low .jfp-shot:first-child {
	margin-top: 14%;
}

.has-motion .jfp-reel:not(.is-sheet) .jfp-shot {
	opacity: 0;
	translate: 0 1.75rem;
	transition: opacity 0.9s var(--ease), translate 0.9s var(--ease);
}

.has-motion .jfp-reel:not(.is-sheet) .jfp-shot.is-seen {
	opacity: 1;
	translate: 0;
}

/* The contact sheet: the whole story at a glance, for those who would rather choose than scroll. */
.jfp-reel.is-sheet .jfp-reel__rows {
	grid-template-columns: repeat(4, 1fr);
	gap: 3px;
	max-width: var(--wide);
	margin: 0 auto;
	padding: 0 3px;
}

.jfp-reel.is-sheet .jfp-reel__row {
	display: contents;
}

.jfp-reel.is-sheet .jfp-shot {
	width: auto;
	margin: 0;
	aspect-ratio: 1;
}

.jfp-reel__bar {
	position: fixed;
	z-index: 9;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	padding: 0.25rem var(--gutter) max(0.25rem, env(safe-area-inset-bottom));
	border-top: 1px solid var(--c-line);
	background: var(--c-paper);
	transform: translateY(100%);
	transition: transform 0.24s var(--ease);
}

.jfp-reel__bar.is-on {
	transform: none;
}

.jfp-reel__mode,
.jfp-reel__play,
.jfp-viewer button {
	min-width: var(--tap);
	min-height: var(--tap);
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
}

.jfp-reel__mode {
	font-size: var(--fs-label);
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

/* A focusing scale: fine ticks, a needle where the visitor is. A tap jumps there. */
.jfp-reel__scale {
	position: relative;
	flex: 1;
	height: var(--tap);
	background: repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px 6px) center / 100% 0.625rem no-repeat;
	cursor: pointer;
}

.jfp-reel__needle {
	position: absolute;
	top: 50%;
	left: 0;
	width: 2px;
	height: 1.25rem;
	margin: -0.625rem 0 0 -1px;
	background: var(--c-brick);
}

.jfp-reel__counter {
	color: var(--c-muted);
	font-size: var(--fs-label);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.jfp-reel__counter b {
	color: var(--c-ink);
	font-weight: 500;
}

.jfp-reel__play,
.jfp-viewer__play {
	position: relative;
}

.jfp-reel__play::before,
.jfp-viewer__play::before {
	content: "";
	position: absolute;
	inset: 0.3125rem;
	border: 1px solid currentcolor;
	border-radius: 50%;
}

.jfp-reel__play::after,
.jfp-viewer__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	border-top: 0.375rem solid transparent;
	border-bottom: 0.375rem solid transparent;
	border-left: 0.5625rem solid currentcolor;
	translate: -35% -50%;
}

.jfp-viewer__play.is-playing::after {
	width: 0.5rem;
	height: 0.75rem;
	border: solid currentcolor;
	border-width: 0 0.1875rem;
	translate: -50% -50%;
}

.jfp-tale__foot {
	display: grid;
}

.jfp-tale__next {
	max-width: 30rem;
}

.jfp-farewell {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2) var(--sp-4);
	margin-bottom: 0;
	padding-bottom: var(--sp-5);
}

/* === viewer === */
.is-viewing {
	overflow: hidden;
}

/* Opens like the lens on the cover: a circle growing from the photograph that was touched. */
.jfp-viewer {
	position: fixed;
	z-index: 20;
	inset: 0;
	background: var(--c-ink);
	color: var(--c-paper);
	clip-path: circle(0 at var(--x, 50%) var(--y, 50%));
	transition: clip-path 0.55s var(--ease), visibility 0s 0.55s;
	visibility: hidden;
}

.jfp-viewer.is-open {
	clip-path: circle(150% at var(--x, 50%) var(--y, 50%));
	transition: clip-path 0.55s var(--ease);
	visibility: visible;
}

.jfp-viewer__track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	overscroll-behavior: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.jfp-viewer__slide {
	display: grid;
	flex: 0 0 100%;
	place-items: center;
	height: 100%;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

.jfp-viewer__slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.jfp-viewer__top,
.jfp-viewer__foot {
	position: absolute;
	right: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem var(--gutter);
	pointer-events: none;
}

.jfp-viewer__top {
	top: 0;
	background: linear-gradient(var(--c-shade), transparent);
}

.jfp-viewer__foot {
	bottom: 0;
	justify-content: center;
	gap: var(--sp-3);
	padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
	background: linear-gradient(transparent, var(--c-shade));
}

.jfp-viewer button {
	pointer-events: auto;
}

.jfp-viewer__counter {
	margin: 0;
	font-size: var(--fs-label);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.12em;
}

/* While the slideshow runs each photograph drifts closer, slowly, like a projected slide. */
.jfp-viewer.is-playing .jfp-viewer__slide.is-current img {
	animation: jfp-drift 6s ease-out both;
}

@keyframes jfp-drift {
	to {
		scale: 1.06;
	}
}

.jfp-viewer__send {
	margin-left: auto;
	font-size: var(--fs-label);
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.jfp-viewer__close {
	margin-left: var(--sp-3);
	font-size: var(--fs-label);
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.jfp-viewer__step {
	display: none;
	font-size: 1.5rem;
}

/* The slideshow's pace, drawn as a line that fills under the photograph. */
.jfp-viewer__pace {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--c-paper);
	transform: scaleX(0);
	transform-origin: left;
}

.jfp-viewer.is-playing .jfp-viewer__pace {
	animation: jfp-pace var(--pace) linear infinite;
}

@keyframes jfp-pace {
	to {
		transform: scaleX(1);
	}
}

/* === templates === */
.jfp-page,
.jfp-contact,
.jfp-folio__head,
.jfp-about__hello {
	padding-top: 7rem;
}

.jfp-page,
.jfp-contact {
	padding-bottom: var(--sp-5);
}

/* A page title can be one long word ("confidențialitate"); it must shrink and, at worst, break rather than widen the page. */
.jfp-page .jfp-stack__big {
	font-size: clamp(2.25rem, 1.2rem + 5.2vw, 5rem);
	overflow-wrap: anywhere;
}

/* His pages were written centred or in mixed markup; here they all read as his verse. */
.jfp-words :is(p, h2, h3, h4, h5, h6) {
	text-align: inherit;
}

.jfp-words :is(h2, h3, h4, h5, h6) {
	margin: 0 0 var(--sp-1);
	font-size: var(--fs-small);
	font-weight: 300;
	letter-spacing: 0.34em;
	text-transform: uppercase;
}

.jfp-words p:empty {
	display: none;
}

.jfp-folio__head .jfp-stack {
	margin-bottom: var(--sp-3);
}

.jfp-folio__kinds {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--sp-3);
}

.jfp-folio__claim {
	margin: 0 0 var(--sp-3);
	font-size: var(--fs-small);
	font-weight: 300;
	letter-spacing: 0.3em;
	line-height: 1.6;
	text-transform: uppercase;
}

.jfp-folio__words {
	display: grid;
	justify-items: end;
	text-align: right;
}

.jfp-pack__ask {
	margin: var(--sp-1) 0 0;
}

.jfp-pack--dark .jfp-link,
.jfp-pack--brick .jfp-link {
	color: inherit;
}

.jfp-missing__drawing {
	width: min(40vw, 9rem);
	margin-bottom: var(--sp-3);
}

.jfp-folio__list {
	padding-top: var(--sp-4);
}

.jfp-voices--all .jfp-voices__list {
	row-gap: var(--sp-5);
}

.jfp-films--page {
	margin-top: 0;
}

/* The dark band starts below the menu, which is ink on paper everywhere. */
.jfp-film-page {
	padding-top: 3.75rem;
}

.jfp-films--page .jfp-films__inner {
	padding-top: var(--sp-4);
}

.jfp-player,
.jfp-player__frame {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	background: var(--c-ink);
}

.jfp-player .jfp-player__poster {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}

.jfp-cine {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--c-ink);
	color: var(--c-paper);
}

.jfp-cine:fullscreen {
	aspect-ratio: auto;
}

.jfp-cine__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.jfp-cine button {
	min-width: var(--tap);
	min-height: var(--tap);
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	font: 500 var(--fs-label) / 1 var(--ff-text);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.jfp-cine__start {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 5rem;
	aspect-ratio: 1;
	border: 1px solid var(--c-frame);
	border-radius: 50%;
	background: var(--c-veil);
	translate: -50% -50%;
	transition: scale 0.3s var(--ease), opacity 0.3s var(--ease);
}

.jfp-cine .jfp-cine__start {
	border: 1px solid var(--c-frame);
	background: var(--c-veil);
}

.jfp-cine__start::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	border-top: 0.625rem solid transparent;
	border-bottom: 0.625rem solid transparent;
	border-left: 1rem solid currentcolor;
	translate: -35% -50%;
}

.jfp-cine__start:hover {
	scale: 1.08;
}

.jfp-cine.is-playing .jfp-cine__start {
	opacity: 0;
	pointer-events: none;
}

.jfp-cine__bar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	gap: var(--sp-1);
	padding: var(--sp-3) var(--sp-2) 0.25rem;
	background: linear-gradient(transparent, var(--c-shade));
	transition: opacity 0.3s var(--ease);
}

.jfp-cine.is-idle .jfp-cine__bar {
	opacity: 0;
}

@media (max-width: 30em) {
	.jfp-cine__bar {
		gap: 0;
		padding-right: var(--sp-1);
		padding-left: var(--sp-1);
	}

	.jfp-cine .jfp-cine__bar button {
		min-width: 0;
		padding: 0 0.375rem;
		font-size: 0.75rem;
		letter-spacing: 0.06em;
	}

	.jfp-cine__time {
		padding: 0 0.375rem;
	}
}

.jfp-cine__time {
	font-size: var(--fs-label);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* The same thin scale with a needle that runs under a story's photographs. */
.jfp-cine__seek {
	flex: 1;
	height: var(--tap);
	margin: 0;
	appearance: none;
	background: linear-gradient(var(--c-paper), var(--c-paper)) left center / var(--played, 0%) 2px no-repeat, linear-gradient(var(--c-veil), var(--c-veil)) center / 100% 2px no-repeat;
	cursor: pointer;
}

.jfp-cine__seek::-webkit-slider-thumb {
	width: 2px;
	height: 1.25rem;
	appearance: none;
	background: var(--c-paper);
}

.jfp-cine__seek::-moz-range-thumb {
	width: 2px;
	height: 1.25rem;
	border: 0;
	border-radius: 0;
	background: var(--c-paper);
}

.jfp-film-page__note {
	margin: var(--sp-1) 0 0;
	padding: 0 var(--gutter);
	font-size: var(--fs-label);
	opacity: 0.7;
}

.jfp-film-page__words {
	margin: var(--sp-4) 0 var(--sp-5);
	padding: 0 var(--gutter);
}

/* === enquiry === */
.jfp-ask {
	max-width: 36rem;
	margin-bottom: var(--sp-5);
}

.jfp-ask__progress {
	color: var(--c-muted);
	font-size: var(--fs-label);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.12em;
}

.jfp-ask__progress b {
	color: var(--c-ink);
	font-weight: 500;
}

.jfp-ask__step {
	display: none;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.jfp-ask__step.is-current {
	display: block;
	animation: jfp-arrive 0.5s var(--ease) both;
}

.jfp-ask__question {
	margin: 0 0 var(--sp-3);
	padding: 0;
	font-family: var(--ff-big);
	font-size: calc(var(--fs-display) * 0.62);
	line-height: 1;
	text-transform: lowercase;
}

.jfp-ask__choices {
	display: grid;
	border-top: 1px solid var(--c-line);
}

.jfp-ask__choice {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	min-height: 3.75rem;
	border-bottom: 1px solid var(--c-line);
	cursor: pointer;
	font-size: var(--fs-lead);
	font-weight: 300;
	transition: color 0.2s var(--ease), padding 0.2s var(--ease);
}

.jfp-ask__choice:hover,
.jfp-ask__choice:has(:checked) {
	padding-left: var(--sp-1);
	color: var(--c-brick);
}

.jfp-ask__choice input {
	width: 1.125rem;
	height: 1.125rem;
	margin: 0;
	accent-color: var(--c-brick);
}

.jfp-ask__field {
	display: grid;
	gap: var(--sp-1);
	margin-bottom: var(--sp-3);
}

.jfp-ask__field span {
	color: var(--c-muted);
	font-size: var(--fs-label);
	letter-spacing: 0.12em;
}

.jfp-ask__field :is(input, textarea) {
	width: 100%;
	padding: 0.75rem 0;
	border: 0;
	border-bottom: 1px solid var(--c-ink);
	border-radius: 0;
	background: none;
	color: inherit;
	font: 300 var(--fs-lead) / 1.4 var(--ff-text);
}

.jfp-ask__field :is(input, textarea):focus-visible {
	outline: 0;
	border-bottom: 2px solid var(--c-brick);
}

/* Filled only by programs that fill everything; people never see it. */
.jfp-ask__trap {
	position: absolute;
	left: -200vw;
}

.jfp-ask__check {
	display: flex;
	gap: var(--sp-2);
	align-items: flex-start;
	font-size: var(--fs-small);
	line-height: 1.5;
	cursor: pointer;
}

.jfp-ask__check input {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0.1rem 0 0;
	accent-color: var(--c-brick);
}

.jfp-ask__privacy {
	margin: var(--sp-2) 0 0;
	color: var(--c-muted);
	font-size: var(--fs-label);
}

.jfp-ask__privacy a,
.jfp-footer__legal a {
	border-bottom: 1px solid currentcolor;
}

.jfp-ask__answer {
	min-height: 3em;
	margin: var(--sp-2) 0 0;
	font-size: var(--fs-body);
	font-weight: 500;
	line-height: 1.5;
}

.jfp-ask__error {
	margin: var(--sp-2) 0 0;
	color: var(--c-brick);
	font-size: var(--fs-small);
	font-weight: 500;
}

.jfp-ask__error:empty {
	display: none;
}

.jfp-ask__moves {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-2);
	margin: var(--sp-3) 0 0;
}

.jfp-ask button {
	cursor: pointer;
	font-family: inherit;
}

.jfp-ask :is(.jfp-ask__back, .jfp-ask__skip) {
	padding: 0;
	border-width: 0 0 1px;
	background: none;
}

.jfp-ask .jfp-button {
	padding: 0 var(--sp-3);
	border: 0;
	white-space: nowrap;
}

.jfp-ask.is-first .jfp-ask__back {
	visibility: hidden;
}

.jfp-ask.is-last .jfp-ask__next,
.jfp-ask:not(.is-last) .jfp-ask__send {
	display: none;
}

.jfp-ask.is-sending .jfp-ask__send {
	opacity: 0.5;
	pointer-events: none;
}

.jfp-ask__thanks {
	margin-bottom: var(--sp-5);
}

.jfp-cal {
	max-width: 24rem;
}

.jfp-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.jfp-cal__month {
	margin: 0;
	font-size: var(--fs-small);
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.jfp-cal__move {
	width: var(--tap);
	height: var(--tap);
	border: 0;
	background: none;
	color: inherit;
	font-size: 1.25rem;
}

.jfp-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
}

.jfp-cal__name {
	padding: var(--sp-1) 0;
	color: var(--c-muted);
	font-size: var(--fs-label);
	text-align: center;
}

.jfp-cal__day {
	position: relative;
	aspect-ratio: 1;
	min-height: var(--tap);
	border: 0;
	border-radius: 50%;
	background: none;
	color: inherit;
	font-size: var(--fs-small);
	font-variant-numeric: tabular-nums;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.jfp-cal__day:hover:not(:disabled) {
	background: var(--c-mist);
}

.jfp-cal__day:disabled {
	color: var(--c-line);
	cursor: default;
}

/* A taken day keeps its number and is crossed with one thin stroke, the way a day is crossed in a paper diary. */
.jfp-cal__day.is-busy:not(:disabled) {
	color: var(--c-muted);
}

.jfp-cal__day.is-busy:not(:disabled)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 22%;
	left: 22%;
	height: 1px;
	background: var(--c-brick);
	rotate: -30deg;
}

.jfp-cal__day.is-chosen {
	background: var(--c-ink);
	color: var(--c-paper);
}

.jfp-contact__ways {
	display: grid;
	gap: var(--sp-1);
	margin: 0;
	padding: 0;
	font-family: var(--ff-big);
	font-size: var(--fs-title);
	list-style: none;
}

.jfp-contact__ways a {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	transition: color 0.2s var(--ease);
}

.jfp-contact__ways a:hover {
	color: var(--c-brick);
}

/* === footer === */
.jfp-footer {
	display: grid;
	justify-items: center;
	gap: var(--sp-3);
	padding: var(--sp-4) var(--gutter);
	border-top: 1px solid var(--c-line);
	text-align: center;
}

.jfp-footer__motto {
	width: min(72vw, 21rem);
}

.jfp-footer__motto svg {
	display: block;
	width: 100%;
	height: auto;
}

.jfp-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 var(--sp-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.jfp-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	transition: color 0.2s var(--ease);
}

.jfp-footer__links a:hover {
	color: var(--c-brick);
}

.jfp-footer__legal {
	margin: 0;
	color: var(--c-muted);
	font-size: var(--fs-label);
}

.jfp-credit {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 0.25rem;
	margin: var(--sp-2) 0 0;
	color: var(--c-muted);
	font-size: var(--fs-label);
	font-style: italic;
}

.jfp-credit a {
	margin-left: 0.3em;
	font-style: normal;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: color 0.2s var(--ease);
}

.jfp-credit a:hover {
	color: var(--c-ink);
}

.jfp-credit__thread {
	width: 11rem;
	height: 1rem;
	overflow: visible;
}

.jfp-credit__thread path {
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

/* Their mark, in this site's ink: a knot is pulled straight, holds while the words are read, then tangles again. At rest (no motion) the thread is simply straight. */
.jfp-credit__knot {
	clip-path: inset(0 0 0 100%);
}

.jfp-credit__pull {
	position: absolute;
	bottom: 0.5rem;
	left: calc(50% - 5.5rem);
	width: 0.375rem;
	height: 0.375rem;
	margin: 0 0 -0.1875rem -0.1875rem;
	border-radius: 50%;
	background: var(--c-ink);
	opacity: 0;
}

.has-motion .jfp-credit__knot {
	animation: jfp-knot 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.has-motion .jfp-credit__line {
	animation: jfp-thread 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.has-motion .jfp-credit__pull {
	animation: jfp-pull 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.jfp-credit:has(a:hover) :is(.jfp-credit__knot, .jfp-credit__line, .jfp-credit__pull) {
	animation-duration: 2.4s;
}

@keyframes jfp-knot {
	0%,
	88%,
	100% {
		clip-path: inset(0 0 0 0);
	}

	30%,
	58% {
		clip-path: inset(0 0 0 100%);
	}
}

@keyframes jfp-thread {
	0%,
	88%,
	100% {
		clip-path: inset(0 100% 0 0);
	}

	30%,
	58% {
		clip-path: inset(0 0 0 0);
	}
}

@keyframes jfp-pull {
	0% {
		translate: 0;
		opacity: 0;
		scale: 0.4;
	}

	3% {
		opacity: 1;
		scale: 1;
	}

	28% {
		translate: 11rem;
		opacity: 1;
	}

	33%,
	58% {
		translate: 11rem;
		opacity: 0;
		scale: 0.4;
	}

	61% {
		translate: 11rem;
		opacity: 1;
		scale: 1;
	}

	86% {
		translate: 0;
		opacity: 1;
	}

	90%,
	100% {
		translate: 0;
		opacity: 0;
		scale: 0.4;
	}
}

/* === wider screens === */
@media (min-width: 48em) {
	:root {
		--gutter: 2.5rem;
	}

	.jfp-nav {
		align-items: center;
		gap: var(--sp-3);
	}

	.jfp-nav__home {
		margin: 0 var(--sp-2);
	}

	.jfp-nav__home img {
		height: 3.25rem;
	}

	.jfp-lens__frame {
		inset: 16% 30%;
	}

	/* On a wide screen the couple stands right of centre; the welcome moves into the open field on the left. */
	@media (min-aspect-ratio: 1/1) {
		.jfp-intro .jfp-lens__frame {
			inset: 18% 56% 18% 8%;
		}

		.jfp-intro .jfp-lens__words {
			translate: -24vw 0;
		}
	}

	.jfp-love__list {
		grid-template-columns: repeat(3, 1fr);
	}

	/* On a tablet each package is a band: its photograph beside its words. */
	.jfp-pack {
		display: grid;
		grid-template-columns: 2fr 3fr;
		align-content: start;
		column-gap: var(--sp-4);
		padding: var(--sp-4) var(--gutter);
	}

	.jfp-pack > * {
		grid-column: 2;
	}

	.jfp-pack .jfp-pack__photo {
		grid-column: 1;
		grid-row: 1 / span 5;
		width: 100%;
		max-width: none;
		margin: 0;
		aspect-ratio: 4 / 3;
	}

	.jfp-film {
		flex-basis: 44vw;
	}
}

@media (min-width: 64em) {
	.jfp-tale__photo {
		aspect-ratio: 16 / 9;
	}

	/* The conversation on the left, the direct ways to reach him beside it. */
	.jfp-contact {
		display: grid;
		grid-template-columns: 3fr 2fr;
		align-items: start;
		column-gap: var(--sp-5);
	}

	.jfp-contact > .jfp-stack {
		grid-column: 1 / -1;
	}

	.jfp-contact__ways {
		grid-column: 2;
		grid-row: 2;
		justify-items: end;
		text-align: right;
	}

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

	.jfp-reel__row--left .jfp-shot,
	.jfp-reel__row--right .jfp-shot {
		width: 62%;
	}

	.jfp-reel__row--tall-left .jfp-shot,
	.jfp-reel__row--tall-right .jfp-shot {
		width: 40%;
	}

	.jfp-reel__row--left,
	.jfp-reel__row--right,
	.jfp-reel__row--tall-left,
	.jfp-reel__row--tall-right {
		padding: 0 var(--gutter);
	}

	.jfp-reel__row--pair,
	.jfp-reel__row--pair-low {
		gap: var(--sp-3);
		max-width: 62rem;
	}

	.jfp-reel.is-sheet .jfp-reel__rows {
		grid-template-columns: repeat(8, 1fr);
	}

	.jfp-viewer__step {
		display: block;
	}

	.jfp-hello,
	.jfp-album,
	.jfp-faq {
		grid-template-columns: 5fr 6fr;
		align-items: center;
		gap: var(--sp-5);
	}

	/* The portrait stays while his verse scrolls past it, the right edge of the verse against the photograph. */
	.jfp-hello {
		grid-template-columns: 6fr 5fr;
		align-items: start;
		gap: clamp(3rem, 6vw, 6rem);
	}

	.jfp-hello__photos {
		position: sticky;
		top: 10svh;
		order: 1;
		width: min(100%, 60svh);
	}

	.jfp-hello__portrait {
		width: 84%;
	}

	.jfp-album {
		grid-template-columns: 6fr 5fr;
		gap: clamp(3rem, 6vw, 6rem);
	}

	.jfp-album__text,
	.jfp-album__text .jfp-stack {
		justify-items: start;
		text-align: left;
	}

	.jfp-album__photos,
	.jfp-faq__photo {
		margin: 0;
	}

	.jfp-album__detail {
		left: -6%;
	}

	.jfp-faq__photo {
		aspect-ratio: 3 / 4;
	}

	.jfp-faq__text {
		order: 0;
	}

	.jfp-stories__list {
		grid-template-columns: 1fr 1fr;
		column-gap: clamp(3rem, 8vw, 8rem);
	}

	.jfp-story:nth-child(even) {
		margin-top: var(--sp-5);
	}

	.jfp-packs__list {
		grid-template-columns: repeat(3, 1fr);
	}

	.jfp-pack {
		display: flex;
		padding: var(--sp-5) var(--sp-4) var(--sp-4);
	}

	.jfp-pack .jfp-pack__photo {
		margin-bottom: var(--sp-2);
	}

	.jfp-voices__list {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--sp-4);
	}

	.jfp-films__row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--sp-4) var(--sp-3);
		overflow: visible;
	}

	.jfp-film {
		max-width: none;
	}
}

/* === utilities === */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms;
		transition-duration: 0.01ms;
	}
}

/* === print === */
@media print {
	.jfp-nav,
	.jfp-button {
		display: none;
	}
}
