/* =========================================================
   La forme de Da Vinci — Top page first view (FV)
   Snow Monkey child theme / lfdv-fv
   ========================================================= */

.lfdv-fv {
	--lfdv-ink: #1b1b1b;
	--lfdv-accent: #8b7655;            /* V colour */
	--lfdv-gutter: clamp(24px, 2.4vw, 34px);
	--lfdv-ease-rise: cubic-bezier(.25, .46, .45, .94);
	--lfdv-ease-soft: cubic-bezier(.22, 1, .36, 1);
	--lfdv-ease-line: cubic-bezier(.4, .4, 0, 1);
	--s: 1;                            /* overall animation speed (2 = twice as slow) */

	--fv-h: 100vh;
	--fv-h: 100svh;                    /* height of the one screen the FV is shown in */

	position: relative;
	z-index: 1;
	box-sizing: border-box;
	background: #fff;
	color: var(--lfdv-ink);
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-weight: 400;
	line-height: 1.4;
	/* Snow Monkey sets "antialiased" on <body>, which thins text on Mac; use the browser default here */
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
}

/* logged in: the WP admin bar pushes the page down; keep the FV exactly one screen high */
.admin-bar .lfdv-fv {
	--fv-h: calc(100vh - 32px);
	--fv-h: calc(100svh - 32px);
}

@media (max-width: 782px) {
	.admin-bar .lfdv-fv {
		--fv-h: calc(100vh - 46px);
		--fv-h: calc(100svh - 46px);
	}
}

/* preview page (fv-preview): hide the page title under the FV */
.lfdv-fv-preview .c-entry__header {
	display: none;
}

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

.lfdv-fv a {
	color: var(--lfdv-ink);
	text-decoration: none;
}

/* ---------- logo (centre) ---------- */
.lfdv-fv__hero {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 24px 64px;
	pointer-events: none;
}

/* the logo and (later) the white gathering name sit in one box, so they always line up */
.lfdv-fv__logobox {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.lfdv-fv__title {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: inherit;
	font-weight: 400;
	line-height: 1;
}

.lfdv-fv__title::before,
.lfdv-fv__title::after {
	content: none;
}

/* width follows the screen width, and also shrinks when the screen is short */
.lfdv-fv__logo {
	display: block;
	width: clamp(220px, min(38vw, calc((100vh - 124px) * 0.9565)), 540px);
	width: clamp(220px, min(38vw, calc((100svh - 124px) * 0.9565)), 540px);
	max-width: none;
	height: auto;
	overflow: visible;
}

/* line art: drawn one line at a time (mask strokes over the line-art image) */
.lfdv-fv .lfdv-g {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: lfdv-draw calc(4.4s * var(--s)) var(--lfdv-ease-soft) forwards;
	animation-delay: calc(var(--d, 0s) * var(--s));
}

.lfdv-fv .lfdv-gfill {
	opacity: 0;
	animation: lfdv-fade-in calc(1s * var(--s)) ease forwards;
	animation-delay: calc(4.9s * var(--s));
}

/* L F D V: soft fade from a blur */
.lfdv-fv .lfdv-lt {
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
	animation: lfdv-letter-in calc(3.4s * var(--s)) var(--lfdv-ease-soft) forwards;
	animation-delay: calc(var(--d, 0s) * var(--s));
}

/* La forme de Da Vinci / GALLERY: one character at a time, rising from below */
/* rise distance is given in SVG units (= one character height), not %, so that
   iPhone Safari moves the characters the same way as other browsers */
.lfdv-fv .lfdv-ch {
	--rise: 66px;
	opacity: 0;
	transform: translate(0, var(--rise));
	animation: lfdv-char-up calc(1s * var(--s)) var(--lfdv-ease-rise) forwards;
	animation-delay: calc(var(--d, 0s) * var(--s));
	will-change: transform, opacity;
}

.lfdv-fv .lfdv-ch--small {
	--rise: 30px;   /* GALLERY */
}

/* ---------- right column: JP/EN · menu · scroll ----------
   The two gaps share the free height (about 53 : 47); on a short screen
   they shrink so that everything stays on screen. */
.lfdv-fv__side {
	position: absolute;
	z-index: 2;
	top: 0;
	right: var(--lfdv-gutter);
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding-bottom: 24px;
}

.lfdv-fv__gap--top {
	flex: 292 1 0;
	min-height: 16px;
}

.lfdv-fv__gap--bottom {
	flex: 257 1 0;
	min-height: 16px;
}

/* top row: JP / EN (+ burger on tablet / phone) */
.lfdv-fv__top {
	display: flex;
	align-items: center;
	gap: 22px;
	height: clamp(56px, 4.7vw, 68px);
}

.lfdv-fv__lang {
	display: flex;
	align-items: center;
}

.lfdv-lang {
	display: flex;
	align-items: center;
	gap: .6em;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .12em;
}

.lfdv-lang li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lfdv-lang a,
.lfdv-lang__btn {
	display: inline-flex;
	align-items: center;
	height: 44px;
	margin: 0 -12px;
	padding: 0 12px;
}

/* button version (links off): reset the browser's button look */
.lfdv-lang__btn {
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.lfdv-lang a span,
.lfdv-lang__btn span {
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
}

.lfdv-lang a[aria-current="true"] span,
.lfdv-lang__btn[aria-pressed="true"] span {
	border-bottom-color: var(--lfdv-ink);
}

.lfdv-lang a:focus-visible,
.lfdv-lang__btn:focus-visible {
	outline: 1px solid var(--lfdv-ink);
	outline-offset: -8px;
}

.lfdv-lang__sep {
	opacity: .7;
}

/* menu */
.lfdv-nav__list {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1;
}

.lfdv-nav__list li {
	margin: 0;
	padding: 0;
	list-style: none;
	opacity: 0;
	transform: translateY(10px);
	animation: lfdv-nav-in calc(.9s * var(--s)) var(--lfdv-ease-rise) forwards;
}

/* one item after another */
.lfdv-nav__list li:nth-child(1) { animation-delay: calc(5.80s * var(--s)); }
.lfdv-nav__list li:nth-child(2) { animation-delay: calc(5.94s * var(--s)); }
.lfdv-nav__list li:nth-child(3) { animation-delay: calc(6.08s * var(--s)); }
.lfdv-nav__list li:nth-child(4) { animation-delay: calc(6.22s * var(--s)); }
.lfdv-nav__list li:nth-child(5) { animation-delay: calc(6.36s * var(--s)); }
.lfdv-nav__list li:nth-child(6) { animation-delay: calc(6.50s * var(--s)); }
.lfdv-nav__list li:nth-child(7) { animation-delay: calc(6.64s * var(--s)); }
.lfdv-nav__list li:nth-child(8) { animation-delay: calc(6.78s * var(--s)); }

/* when the menu comes back after the window was narrowed and widened again:
   no long wait, the items appear right away in a quick sequence */
.lfdv-fv.is-nav-quick .lfdv-nav__list li { animation-duration: .6s; }
.lfdv-fv.is-nav-quick .lfdv-nav__list li:nth-child(1) { animation-delay: 0.00s; }
.lfdv-fv.is-nav-quick .lfdv-nav__list li:nth-child(2) { animation-delay: 0.06s; }
.lfdv-fv.is-nav-quick .lfdv-nav__list li:nth-child(3) { animation-delay: 0.12s; }
.lfdv-fv.is-nav-quick .lfdv-nav__list li:nth-child(4) { animation-delay: 0.18s; }
.lfdv-fv.is-nav-quick .lfdv-nav__list li:nth-child(5) { animation-delay: 0.24s; }
.lfdv-fv.is-nav-quick .lfdv-nav__list li:nth-child(6) { animation-delay: 0.30s; }
.lfdv-fv.is-nav-quick .lfdv-nav__list li:nth-child(7) { animation-delay: 0.36s; }
.lfdv-fv.is-nav-quick .lfdv-nav__list li:nth-child(8) { animation-delay: 0.42s; }

.lfdv-nav__link {
	position: relative;
	display: inline-block;
	padding: 8px 0;
	color: var(--lfdv-ink);
}

/* hover: underline grows from the left, leaves to the right */
.lfdv-nav__link::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 4px;
	left: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform .4s var(--lfdv-ease-line);
}

.lfdv-nav__link:hover::after,
.lfdv-nav__link:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left center;
}

/* scroll */
.lfdv-fv__scroll {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.lfdv-fv__scroll-text {
	writing-mode: vertical-rl;
	font-size: 12px;
	letter-spacing: .15em;
	color: #555;
}

.lfdv-fv__scroll-line {
	position: relative;
	display: block;
	width: 1px;
	height: 44px;
	overflow: hidden;
	background: color-mix(in srgb, var(--lfdv-accent) 40%, #fff);
}

.lfdv-fv__scroll-line::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #1a1a1a;
	animation: lfdv-scroll-line 2.4s cubic-bezier(.65, 0, .35, 1) infinite;
}

/* fade (JP/EN, scroll) */
.lfdv-fv .lfdv-fade {
	opacity: 0;
	animation: lfdv-fade-in 1.4s ease forwards;
	animation-delay: calc(var(--d, 0s) * var(--s));
}

/* ---------- keyframes ---------- */
@keyframes lfdv-draw { to { stroke-dashoffset: 0; } }
@keyframes lfdv-fade-in { to { opacity: 1; } }
@keyframes lfdv-letter-in {
	0% { opacity: 0; filter: blur(10px); transform: translateY(8px); }
	100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes lfdv-char-up { to { opacity: 1; transform: translate(0, 0); } }
@keyframes lfdv-nav-in { to { opacity: 1; transform: translateY(0); } }
@keyframes lfdv-scroll-line {
	0% { transform: translateY(-100%); }
	50% { transform: translateY(0); }
	100% { transform: translateY(100%); }
}

/* ---------- short screens ---------- */
@media (max-height: 540px) {
	.lfdv-nav__link { padding: 5px 0; }
	.lfdv-nav__link::after { bottom: 2px; }
	.lfdv-fv__scroll-line { height: 28px; }
}

/* ---------- burger (tablet / phone) ---------- */
.lfdv-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	gap: 6px;
	width: 44px;
	height: 44px;
	margin: 0 -11px 0 0;
	padding: 0 11px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--lfdv-ink);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.lfdv-burger__bar {
	display: block;
	width: 22px;
	height: 1px;
	background: currentColor;
}

.lfdv-burger:focus-visible,
.lfdv-menu__close:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: -6px;
}

/* ---------- full-screen menu (opens from the burger) ---------- */
.lfdv-menu {
	--lfdv-menu-bg: rgba(27, 27, 27, .9);   /* black at 90%, with a soft blur behind */
	--lfdv-menu-fg: #ffffff;
	--lfdv-menu-sub: #a9a39a;

	position: fixed;
	z-index: 1000;
	inset: 0;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	padding:
		0
		max(var(--lfdv-gutter), env(safe-area-inset-right, 0px))
		max(32px, env(safe-area-inset-bottom, 0px))
		max(var(--lfdv-gutter), env(safe-area-inset-left, 0px));
	background: var(--lfdv-menu-bg);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: var(--lfdv-menu-fg);
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s var(--lfdv-ease-rise), visibility 0s linear .6s;
}

.lfdv-menu.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity .6s var(--lfdv-ease-rise), visibility 0s;
}

.lfdv-menu a {
	color: var(--lfdv-menu-fg);
}

.lfdv-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: clamp(56px, 4.7vw, 68px);
	padding-top: env(safe-area-inset-top, 0px);
}

/* while the menu is open the FV (which holds the menu) goes above the rising EXHIBITIONS section;
   on closing it drops back only after the menu has faded out */
.lfdv-fv { transition: z-index 0s linear .7s; }
html.lfdv-fvmenu-open .lfdv-fv { z-index: 1100; transition-delay: 0s; }

.lfdv-menu__brand a { color: inherit; text-decoration: none; }

.lfdv-menu__brand {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .02em;
}

.lfdv-menu__tools {
	display: flex;
	align-items: center;
	gap: 22px;
}

.lfdv-menu .lfdv-lang a[aria-current="true"] span,
.lfdv-menu .lfdv-lang__btn[aria-pressed="true"] span {
	border-bottom-color: var(--lfdv-menu-fg);
}

.lfdv-menu__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 -13.5px 0 0;   /* icon edge lines up with the menu text */
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--lfdv-menu-fg);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.lfdv-menu__close svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.lfdv-menu__body {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding-block: 96px 24px;
}

.lfdv-menu__list {
	display: flex;
	flex-direction: column;
	align-items: flex-end;   /* right-aligned, like the PC menu */
	text-align: right;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lfdv-menu__list li {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: clamp(34px, 6.4vw, 48px);
	line-height: 1.3;
}

/* the link is the mask the characters rise through */
.lfdv-menu__link {
	position: relative;
	display: inline-block;
	clip-path: inset(-0.1em -9999px);
}

.lfdv-menu__chars {
	display: inline-block;
	white-space: nowrap;
}

.lfdv-menu__char {
	display: inline-block;
	transform: translate3d(0, 140%, 0);
	transition: transform 0s linear .6s;   /* reset after the menu has faded out */
}

.lfdv-menu.is-open .lfdv-menu__char {
	transform: translate3d(0, 0, 0);
	transition: transform 1s var(--lfdv-ease-rise);
	transition-delay: calc(.25s + var(--row, 0) * .07s + var(--i, 0) * .012s);
}

/* hover: underline revealed from the left */
.lfdv-menu__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: .12em;
	width: 100%;
	height: 1px;
	background: currentColor;
	clip-path: inset(0 100% 0 0);
	transition: clip-path .45s var(--lfdv-ease-rise);
}

.lfdv-menu__link:hover::after,
.lfdv-menu__link:focus-visible::after {
	clip-path: inset(0);
}

.lfdv-menu__link:focus-visible {
	outline: none;
}

/* the page's own JP / EN + burger sit under the see-through menu: hide them while it is open */
html.lfdv-menu-open .lfdv-fv__top {
	visibility: hidden;
}

/* while the menu is open the page behind does not scroll */
html.lfdv-menu-open,
html.lfdv-menu-open body {
	overflow: hidden;
}

/* ---------- tablet & phone (same breakpoint as the site: 900px) ---------- */
@media (max-width: 900px) {
	.lfdv-nav { display: none; }
	.lfdv-burger { display: flex; }
	.lfdv-fv__logo {
		width: clamp(220px, min(46vw, calc((100vh - 124px) * 0.9565)), 540px);
		width: clamp(220px, min(46vw, calc((100svh - 124px) * 0.9565)), 540px);
	}
}

/* ---------- small phones (480px) ---------- */
@media (max-width: 480px) {
	.lfdv-fv__top,
	.lfdv-menu__tools { gap: 14px; }
	.lfdv-lang { font-size: 15px; }
	.lfdv-menu__brand { font-size: 15px; }
	.lfdv-menu__list li { font-size: 32px; }
	.lfdv-menu__body { padding-top: 88px; }
	.lfdv-fv__logo {
		width: clamp(220px, min(72vw, calc((100vh - 124px) * 0.9565)), 540px);
		width: clamp(220px, min(72vw, calc((100svh - 124px) * 0.9565)), 540px);
	}
}

/* the menu only exists on tablet / phone widths */
@media (min-width: 901px) {
	.lfdv-menu { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.lfdv-fv .lfdv-lt,
	.lfdv-fv .lfdv-ch,
	.lfdv-fv .lfdv-fade,
	.lfdv-nav__list li {
		animation: none;
		opacity: 1;
		transform: none;
		filter: none;
	}
	.lfdv-fv .lfdv-g { animation: none; stroke-dashoffset: 0; }
	.lfdv-fv .lfdv-gfill { animation: none; opacity: 1; }
	.lfdv-fv__scroll-line::after { animation: none; }
	.lfdv-menu,
	.lfdv-menu.is-open,
	.lfdv-menu__char,
	.lfdv-menu.is-open .lfdv-menu__char { transition: none; }
	.lfdv-menu__char { transform: none; }
}


/* =========================================================
   Scroll sequence (PC and phone share one flow)
   logo shrinks -> one dot -> collage opens -> name gathers -> pause -> EXHIBITIONS rises as an arch.
   JS (lfdv-fv.js) turns the scroll position into the CSS variables used here.
   html.lfdv-seq is set by an inline script in the template (not for reduced motion).
   ========================================================= */
.lfdv-seq .lfdv-fv {
	/* one screen of sticky stage + 3300 motion + 1000 name move + 450 pause + one screen for the rise */
	height: calc(var(--fv-h) * 2 + 4750px);
}

.lfdv-fv__stage {
	position: relative;
	height: var(--fv-h);
	overflow: hidden;
	background: #fff;
}

.lfdv-seq .lfdv-fv__stage {
	position: sticky;
	top: 0;
}

.admin-bar.lfdv-seq .lfdv-fv__stage {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar.lfdv-seq .lfdv-fv__stage {
		top: 46px;
	}
}

/* collage: six pictures that fill the screen without gaps */
.lfdv-fv .fvc-wrap {
	position: absolute;
	inset: 0;
	display: none;
	background: transparent;
	transform: translate3d(0, 0, 0);
	will-change: transform;
	pointer-events: none;
}

/* darkening while the next section rises: a black sheet (cheap) instead of a filter (slow) */
.lfdv-fv .fvc-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #000;
	opacity: var(--dimo, 0);
}

.lfdv-seq .lfdv-fv .fvc-wrap {
	display: block;
}

.lfdv-fv .fvc {
	position: absolute;
	margin: 0;
	overflow: hidden;
	background: #e8e2d8;
	opacity: 0;
	will-change: transform, opacity;
}

.lfdv-fv .fvc img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lfdv-fv .fvc:nth-child(1) { left: 0.000%; top: 0.000%; width: 33.750%; height: 58.222%; }
.lfdv-fv .fvc:nth-child(2) { left: 0.000%; top: 58.222%; width: 33.750%; height: 41.778%; }
.lfdv-fv .fvc:nth-child(3) { left: 33.750%; top: 0.000%; width: 35.833%; height: 100.000%; }
.lfdv-fv .fvc:nth-child(4) { left: 69.583%; top: 0.000%; width: 30.417%; height: 33.333%; }
.lfdv-fv .fvc:nth-child(5) { left: 69.583%; top: 33.333%; width: 30.417%; height: 33.333%; }
.lfdv-fv .fvc:nth-child(6) { left: 69.583%; top: 66.667%; width: 30.417%; height: 33.333%; }

.lfdv-fv .fvc-veil {
	position: absolute;
	inset: 0;
	background: rgba(20, 16, 12, .46);
	opacity: 0;
}

/* the one dot the logo shrinks into */
.lfdv-fv .fvc-dot {
	position: absolute;
	left: 50%;
	top: 50%;
	display: none;
	width: 3px;
	height: 3px;
	margin: -1.5px 0 0 -1.5px;
	border-radius: 50%;
	background: var(--lfdv-accent);
	opacity: 0;
}

.lfdv-seq .lfdv-fv .fvc-dot {
	display: block;
}

.lfdv-seq .lfdv-fv .lfdv-fv__title {
	transform-origin: 50% 50%;
	will-change: transform, opacity;
}

/* the white name that gathers from all sides (a copy of the logo's own letters) */
.lfdv-fv .fvn {
	position: absolute;
	left: 0;
	top: 0;
	display: none;
	width: 100%;
	height: auto;
	overflow: visible;
	fill: #fff;
	transform: translate3d(0, 0, 0);
	will-change: transform;
	pointer-events: none;
}

.lfdv-seq .lfdv-fv .fvn {
	display: block;
}

.lfdv-fv .fvn path {
	--b: clamp(0, calc(var(--v, 0) * 1.7 - var(--r, 0) * 0.7), 1);
	opacity: var(--b);
	translate: calc((1 - var(--b)) * var(--dx, 0)) calc((1 - var(--b)) * var(--dy, 0));
}

/* once the collage is open the menu, JP / EN and Scroll turn white */
.lfdv-fv .lfdv-fv__side,
.lfdv-fv .lfdv-fv__side a,
.lfdv-fv .lfdv-burger,
.lfdv-fv .lfdv-fv__scroll-text {
	transition: color .5s ease;
}

.lfdv-fv.is-light .lfdv-fv__side,
.lfdv-fv.is-light .lfdv-fv__side a,
.lfdv-fv.is-light .lfdv-burger,
.lfdv-fv.is-light .lfdv-fv__scroll-text {
	color: #fff;
}

.lfdv-fv.is-light .lfdv-lang a[aria-current="true"] span,
.lfdv-fv.is-light .lfdv-lang__btn[aria-pressed="true"] span {
	border-bottom-color: #fff;
}

.lfdv-fv.is-light .lfdv-fv__scroll-line {
	background: rgba(255, 255, 255, .5);
}

.lfdv-fv.is-light .lfdv-fv__scroll-line::after {
	background: #fff;
}

/* EXHIBITIONS rises over the stage (the section has data-lfdv-rise) */
.lfdv-seq [data-lfdv-rise] {
	position: relative;
	z-index: 5;
	margin-top: calc(var(--fv-h, 100svh) * -1);
	background: #fff;
}

.lfdv-seq [data-lfdv-rise-inner] {
	transform: translateY(var(--rise-y, 0px));
}

/* ---------- phones: EXHIBITIONS rises on the scroll position itself (JS: html.lfdv-sdrise) ----------
   The same movement the script used to write on every scroll event (translate + arch), as a
   scroll-linked animation. The browser follows its own scrolling with it, so the section no longer
   trembles against the page (the script's value always arrived a frame late). --rise-s / --rise-e (px of
   page scroll where the rise starts / ends) are written by lfdv-fv.js. */
@keyframes lfdv-rise-up {
	0% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.8000), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	2.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.7600), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.7202), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	7.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.6806), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	10% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.6415), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	12.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.6029), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	15% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.5650), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	17.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.5278), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	20% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.4915), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	22.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.4562), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	25% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.4219), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	27.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.3887), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	30% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.3567), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	32.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.3260), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	35% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.2966), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	37.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.2686), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	40% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.2419), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	42.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.2167), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	45% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.1930), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	47.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.1707), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	50% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.1500), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	52.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.1307), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	55% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.1130), 0); clip-path: ellipse(90.00% 260.0px at 50% 260.0px); }
	57.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0967), 0); clip-path: ellipse(91.23% 263.6px at 50% 263.6px); }
	60% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0819), 0); clip-path: ellipse(99.88% 288.5px at 50% 288.5px); }
	62.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0686), 0); clip-path: ellipse(123.33% 356.3px at 50% 356.3px); }
	65% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0566), 0); clip-path: ellipse(169.01% 488.3px at 50% 488.3px); }
	67.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0460), 0); clip-path: ellipse(244.32% 705.8px at 50% 705.8px); }
	70% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0367), 0); clip-path: ellipse(356.67% 1030.4px at 50% 1030.4px); }
	72.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0287), 0); clip-path: ellipse(513.46% 1483.3px at 50% 1483.3px); }
	75% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0219), 0); clip-path: ellipse(722.10% 2086.1px at 50% 2086.1px); }
	77.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0162), 0); clip-path: ellipse(990.00% 2860.0px at 50% 2860.0px); }
	80% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0115), 0); clip-path: ellipse(1324.57% 3826.5px at 50% 3826.5px); }
	82.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0078), 0); clip-path: ellipse(1733.21% 5007.1px at 50% 5007.1px); }
	85% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0050), 0); clip-path: ellipse(2223.33% 6423.0px at 50% 6423.0px); }
	87.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0029), 0); clip-path: ellipse(2802.35% 8095.7px at 50% 8095.7px); }
	90% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0015), 0); clip-path: ellipse(3477.65% 10046.6px at 50% 10046.6px); }
	92.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0006), 0); clip-path: ellipse(4256.67% 12297.0px at 50% 12297.0px); }
	95% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0002), 0); clip-path: ellipse(5146.79% 14868.5px at 50% 14868.5px); }
	97.5% { transform: translate3d(0, calc(var(--rise-h, 100svh) * -0.0000), 0); clip-path: ellipse(6155.43% 17782.4px at 50% 17782.4px); }
	100% { transform: translate3d(0, calc(var(--rise-h, 100svh) * 0.0000), 0); clip-path: ellipse(7290.00% 21060.0px at 50% 21060.0px); }
}
@keyframes lfdv-rise-in {
	0%, 20% { transform: translateY(110px); }
	100% { transform: translateY(0); }
}
@media (max-width: 900px) {
	html.lfdv-sdrise.lfdv-seq [data-lfdv-rise] {
		animation: lfdv-rise-up linear backwards;
		animation-timeline: scroll(root block);
		animation-range: var(--rise-s, 2450px) var(--rise-e, 3000px);
	}
	html.lfdv-sdrise.lfdv-seq [data-lfdv-rise-inner] {
		transform: none;
		animation: lfdv-rise-in linear backwards;
		animation-timeline: scroll(root block);
		animation-range: var(--rise-s, 2450px) var(--rise-e, 3000px);
	}
}

/* ---------- phone / tablet ---------- */
@media (max-width: 900px) {
	/* "Scroll" in the middle of the screen (the side column spans the width; only its parts take taps) */
	.lfdv-fv__side { left: var(--lfdv-gutter); pointer-events: none; }
	.lfdv-fv__side > * { pointer-events: auto; }
	.lfdv-fv__side .lfdv-fv__scroll { align-self: center; pointer-events: none; }
	/* the rise of EXHIBITIONS takes 1.7 screens of scrolling here (JS: RISE_K), so it comes up more slowly */
	.lfdv-seq .lfdv-fv { height: calc(var(--fv-h) * 2.8 + 2450px); } /* 1800 + 500 + 150 px of sequence (JS: MOTION_M / MOVE_M / HOLD_M) */
	.lfdv-fv .fvc:nth-child(1) { left: 0.000%; top: 0.000%; width: 50.256%; height: 35.545%; }
	.lfdv-fv .fvc:nth-child(2) { left: 50.256%; top: 0.000%; width: 49.744%; height: 23.223%; }
	.lfdv-fv .fvc:nth-child(3) { left: 50.256%; top: 23.223%; width: 49.744%; height: 35.545%; }
	.lfdv-fv .fvc:nth-child(4) { left: 0.000%; top: 35.545%; width: 50.256%; height: 31.280%; }
	.lfdv-fv .fvc:nth-child(5) { left: 0.000%; top: 66.825%; width: 50.256%; height: 33.175%; }
	.lfdv-fv .fvc:nth-child(6) { left: 50.256%; top: 58.768%; width: 49.744%; height: 41.232%; }
}

@media (max-width: 480px) {
	.lfdv-fv .lfdv-fv__logo {
		width: 260px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lfdv-fv .fvc-wrap,
	.lfdv-fv .fvc-dot,
	.lfdv-fv .fvn {
		display: none !important;
	}
}
