/* =========================================================
   La forme de Da Vinci — TOP (everything below the FV)
   Snow Monkey child theme / lfdv-top
   Ported from the approved design canvas, board "TOP 全体ラフ"
   (values match the TOP tab of the design spec).
   ========================================================= */

.lfdv-top {
	--ink: #1b1b1b;
	--sub: #666462;
	--accent: #91732D;
	--rule: rgba(145, 115, 45, .22);
	--ph-a: #ece8e1;
	--ph-b: #dcd5ca;
	--display: "Cormorant Garamond", "Times New Roman", serif;
	--jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--ease: cubic-bezier(.4, .4, 0, 1);

	position: relative;
	box-sizing: border-box;
	background: #fff;
	color: var(--ink);
	font-family: var(--jp);
	-webkit-font-smoothing: auto;
	/* clip (not hidden) so the position:sticky ARTISTS keeps working */
	overflow-x: clip;
}
.lfdv-top * { box-sizing: border-box; }
.lfdv-top a { color: inherit; text-decoration: none; }
.lfdv-top ul { list-style: none; margin: 0; padding: 0; }
.lfdv-top p { margin: 0; }

.lfdv-top .gut { padding-left: clamp(24px, 2.4vw, 34px); padding-right: clamp(24px, 2.4vw, 34px); }
.lfdv-top .wrap { max-width: 1180px; margin: 0 auto; }
.lfdv-top .sec { padding-top: clamp(140px, 11vw, 176px); }

/* ---- headings ---- */
.lfdv-top .big {
	margin: 0;
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(34px, calc(4.6vw - 10px), 56px);
	line-height: 1.05;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.lfdv-top .sub {
	margin: 0;
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(26px, 2.4vw, 34px);
	line-height: 1.1;
	letter-spacing: .04em;
}
/* big English title + small Japanese title beside it, sharing a baseline */
.lfdv-top .hj { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 22px; }
.lfdv-top .hj p { font-family: var(--jp); font-size: 16px; letter-spacing: .24em; color: var(--sub); }
.lfdv-top .hj--sub { gap: 6px 26px; }
.lfdv-top .hj--sub p { font-size: 14px; letter-spacing: .2em; }
.lfdv-top .hj--c { justify-content: center; }

/* ---- text + arrow link (View More / View All) ---- */
.lfdv-top .sec-foot { display: flex; justify-content: center; margin-top: 56px; }
.lfdv-top .nw .sec-foot { grid-column: 2; margin-top: -16px; } /* centred under the rules (the grid gap already adds 72px) */
.lfdv-top .lk {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: 44px;
	font-family: var(--display);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: .12em;
}
.lfdv-top .ul {
	padding-bottom: 2px;
	background: linear-gradient(currentColor, currentColor) 100% calc(100% - 3px) / 0 1px no-repeat;
	transition: background-size .4s var(--ease);
}
.lfdv-top .lk:hover .ul,
.lfdv-top .ex-tl:hover .ul,
.lfdv-top .cs-card > a:hover .ul,
.lfdv-top .lk:focus-visible .ul,
.lfdv-top .ex-tl:focus-visible .ul,
.lfdv-top .cs-card > a:focus-visible .ul { background-position: 0 calc(100% - 3px); background-size: 100% 1px; }
.lfdv-top .go { display: flex; align-items: center; transition: transform .4s var(--ease); }
.lfdv-top .lk:hover .go,
.lfdv-top .lk:focus-visible .go { transform: translateX(6px); }
@media (min-width: 901px) { .lfdv-top .lk:not(.lk--sm) .go { position: relative; top: -4px; } } /* the arrow line (drawn at the bottom of its box) sits at the middle of the text */
.lfdv-top .arr { width: 34px; height: 7px; flex: 0 0 auto; }
.lfdv-top .arr--sm { width: 23px; height: 7px; }
.lfdv-top a:focus-visible,
.lfdv-top button:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* ---- pictures: the frame crops, the picture inside is a little taller so it can drift
        (parallax) and grows 1.04x on hover ---- */
.lfdv-top .img {
	position: relative;
	display: block;
	overflow: hidden;
	background: linear-gradient(135deg, var(--ph-a), var(--ph-b));
}
.lfdv-top .img .pl { position: absolute; inset: 0; display: block; }
.lfdv-top .img img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 1.4s cubic-bezier(.2, .7, .1, 1);
}
.lfdv-top a:hover .img img,
.lfdv-top a:focus-visible .img img { transform: scale(1.04); }
.lfdv-top .plx .pl { inset: -8% 0; transform: translateY(var(--py, 0px)); }

/* ---- scroll reveal (only when JS runs and motion is allowed: html.lfdv-top-js) ---- */
.lfdv-top-js .lfdv-top .rv {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1.1s ease, transform 1.3s cubic-bezier(.2, .7, .1, 1);
}
.lfdv-top-js .lfdv-top .rv.in { opacity: 1; transform: none; }
/* pictures rise from below through a cut-out */
.lfdv-top-js .lfdv-top .rv-img {
	clip-path: inset(100% 0 0 0);
	transform: translateY(60px);
	transition: clip-path 1.4s cubic-bezier(.76, 0, .18, 1), transform 1.6s cubic-bezier(.2, .7, .1, 1);
}
.lfdv-top-js .lfdv-top .rv-img.in { clip-path: inset(0 0 0 0); transform: none; }
/* NOW SHOWING main / sub: bleed in from a blur, more slowly */
.lfdv-top-js .lfdv-top .rv-img.slow {
	clip-path: none;
	opacity: 0;
	filter: blur(8px);
	transform: translateY(36px) scale(1.03);
	transition: opacity 2.8s cubic-bezier(.25, .1, .25, 1), filter 2.6s ease, transform 3.4s cubic-bezier(.16, .8, .2, 1);
}
.lfdv-top-js .lfdv-top .rv-img.slow.in { opacity: 1; filter: none; transform: none; }
.lfdv-top-js .lfdv-top .rv-img.sd { transition-delay: .7s; }
/* COMING SOON cards: rise one after another */
.lfdv-top-js .lfdv-top .cs-card.rv {
	transform: translateY(140px);
	transition-duration: 1.4s, 1.9s;
	transition-timing-function: ease, cubic-bezier(.16, .8, .2, 1);
}
.lfdv-top-js .lfdv-top .cs-card.rv.in { transform: none; }
.lfdv-top-js .lfdv-top .cd1 { transition-delay: 0s; }
.lfdv-top-js .lfdv-top .cd2 { transition-delay: .45s; }
.lfdv-top-js .lfdv-top .cd3 { transition-delay: .9s; }
.lfdv-top-js .lfdv-top .cd4 { transition-delay: 1.35s; }
.lfdv-top-js .lfdv-top .d1 { transition-delay: .12s; }
.lfdv-top-js .lfdv-top .d2 { transition-delay: .24s; }
.lfdv-top-js .lfdv-top .d3 { transition-delay: .36s; }

/* =========================================================
   EXHIBITIONS / NOW SHOWING
   Centred heading block; below it the main picture (left) and the sub picture (right, lower),
   both opening from a thin vertical line; a huge pale name drifts left behind them.
   The first section on the page is also the one that rises over the FV (see lfdv-fv.css).
   ========================================================= */
.lfdv-top .ex { position: relative; padding: 96px 0 150px; overflow-x: clip; }
.lfdv-top .ex-head { position: relative; z-index: 1; text-align: center; }
.lfdv-top .ex-head .hj { justify-content: center; }
/* the right-hand block beside the main picture: NOW SHOWING / date / title (View More is placed under it) */
/* the right-hand column (PC): text, View More and the sub picture sit in one column, so when the title
   runs to two lines everything below it moves down together */
.lfdv-top .ex-col { position: absolute; left: calc(785 * var(--u)); top: 0; width: calc(420 * var(--u)); display: flex; flex-direction: column; }
.lfdv-top .ex-side { padding-top: 70px; text-align: left; }
.lfdv-top .nsh { display: block; margin: 0; }
.lfdv-top .nsh h3 {
	margin: 0;
	font-family: var(--display);
	font-weight: 500;
	font-size: 20px;
	letter-spacing: .16em;
	line-height: 1;
	color: var(--accent);
}
/* NOW SHOWING: a gold band passes left -> right, and the letters turn white only under it
   (same movement as the exhibitions list). One round 4.5s: ~2.5s moving, ~2s resting. */
/* same size of band and same gold as the exhibitions list page */
.lfdv-top .nsh h3.is-now { position: relative; display: inline-block; padding: 5px calc(14px - .11em) 5px 14px; margin-left: 0; }
.lfdv-top .nsh h3.is-now .fx {
	position: absolute;
	inset: 0;
	padding: 5px calc(14px - .11em) 5px 14px;
	background: rgba(145, 115, 45, .7);
	color: #fff;
	white-space: nowrap;
	clip-path: inset(0 100% 0 0);
	animation: lfdv-top-band 4.5s infinite;
	pointer-events: none;
}
/* the band starts when NOW SHOWING comes into view (it used to run from page load, so one had to wait for the next round) */
.lfdv-top-js .lfdv-top .nsh h3.is-now .fx { animation-play-state: paused; }
.lfdv-top-js .lfdv-top .nsh.in h3.is-now .fx { animation-play-state: running; animation-delay: .1s; }
@keyframes lfdv-top-band {
	0%   { clip-path: inset(0 100% 0 0); animation-timing-function: cubic-bezier(.4, .4, 0, 1); }
	28%  { clip-path: inset(0 0 0 0);    animation-timing-function: cubic-bezier(.4, .4, 0, 1); }
	55%  { clip-path: inset(0 0 0 100%); }
	100% { clip-path: inset(0 0 0 100%); }
}
.lfdv-top .ex-info { margin-top: 26px; }
.lfdv-top .ex-d {
	font-family: var(--display);
	font-weight: 500;
	font-size: 25px;
	line-height: 1.3;
	letter-spacing: .06em;
	font-variant-numeric: lining-nums tabular-nums;
}
.lfdv-top .ex-t { margin-top: 2px; font-weight: 500; font-size: 32px; letter-spacing: .08em; line-height: 1.35; }
.lfdv-top .ex-tl { color: inherit; text-decoration: none; }
.lfdv-top .ex-tl .ul { padding-bottom: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* the stage is 1130px wide; everything scales down together (--u) when the window is narrower, or too short to show both pictures */
.lfdv-top .ex-body { --u: min(1px, calc(100vw / 1245), calc((100vh - 60px) / 1046)); --u: min(1px, calc(100vw / 1245), calc((100svh - 60px) / 1046)); position: relative; margin-top: 52px; }
.lfdv-top .ex-stage { position: relative; z-index: 1; width: calc(1225 * var(--u)); height: calc(1046 * var(--u)); margin: 0 auto; }
.lfdv-top .ex-main,
.lfdv-top .ex-sub {
	position: absolute;
	display: flex;
	justify-content: center;
	overflow: hidden;
}
.lfdv-top .ex-main { left: 0; top: 0; width: calc(712 * var(--u)); height: calc(1007 * var(--u)); background: #ddd6cb; }
.lfdv-top .ex-sub { position: relative; width: 100%; height: calc(594 * var(--u)); margin-top: calc(38 * var(--u)); background: #d6cfc3; }
/* an A4-portrait picture, full height, in the middle of its mount */
.lfdv-top .ex-main img,
.lfdv-top .ex-sub img { display: block; height: 100%; width: 100%; object-fit: cover; } /* the frame itself is A4 (588x832, 420x594) */
.lfdv-top .ex-more { margin-top: calc(168 * var(--u)); text-align: right; }
.lfdv-top .lk--sm { gap: 12px; font-size: 18px; letter-spacing: .08em; }
.lfdv-top .lk--sm .ul { padding-bottom: 2px; }
/* the pale name behind the pictures: the lower edge of the main picture crosses its upper half */
.lfdv-top .ex-bg {
	position: absolute;
	left: 0;
	top: calc(1007 * var(--u) + 52px - 140px);
	z-index: 0;
	margin: 0;
	font-family: var(--display);
	font-weight: 400;
	font-size: 230px;
	line-height: 1;
	letter-spacing: .02em;
	white-space: nowrap;
	color: #e7e2da;
	transform: translateX(var(--bx, 0px));
	pointer-events: none;
}
/* MAIN: opens from a thin vertical line (the scroll position sets --cx and --ws; JS only).
   SUB: after the main has opened it rises a little and fades in on its own (class "in"), so it
   always finishes, however fast or far the page was scrolled. */
.lfdv-top-js .lfdv-top .ex-main {
	clip-path: inset(0 var(--cx, 49.5%) 0 var(--cx, 49.5%));
	will-change: clip-path;
}
.lfdv-top-js .lfdv-top .ex-main img {
	transform: scale(calc(var(--ws, 1.15) * 1.2));
	translate: 0 var(--my, 0px);
	will-change: transform, translate;
}
.lfdv-top-js .lfdv-top .ex-sub { translate: 0 var(--sf, 0px); } /* the whole sub frame also moves a little differently from the main one */
.lfdv-top-js .lfdv-top .ex-sub img {
	transform: scale(1.2);
	translate: 0 var(--sy, 0px);
	will-change: translate;
}
.lfdv-top-js .lfdv-top .ex-sub {
	opacity: 0;
	transform: translateY(56px);
	transition: opacity 1.8s ease .25s, transform 2.1s cubic-bezier(.16, .8, .2, 1) .25s;
}
.lfdv-top-js .lfdv-top .ex-sub.in { opacity: 1; transform: none; }

/* =========================================================
   COMING SOON — full-width carousel
   ========================================================= */
.lfdv-top .cs-head {
	max-width: 1180px;
	margin: 0 auto;
	padding-left: 50px;
	padding-right: 20px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}
.lfdv-top .cs-view { overflow: hidden; margin-top: 25px; }
.lfdv-top .cs-track { display: flex; transition: transform .9s cubic-bezier(.7, 0, .2, 1); }
.lfdv-top .cs-card { flex: 0 0 25%; min-width: 0; }
.lfdv-top .cs-card > a { display: block; color: var(--ink); }
.lfdv-top .cs-card .img { aspect-ratio: 210 / 297; }
.lfdv-top .cs-card .img img { object-fit: cover; object-position: center top; width: 100%; height: 100%; }
/* wide pictures (set by JS) are shown whole instead of being cut */
.lfdv-top .cs-card .img.is-land img { object-fit: contain; object-position: center; }
.lfdv-top .cs-txt { display: block; padding: 8px 18px 0; }
.lfdv-top .cs-d {
	display: block;
	margin-top: 10px;
	line-height: 1.3;
	font-family: var(--display);
	font-weight: 500;
	font-size: 18px;
	letter-spacing: .06em;
	color: var(--accent);
	font-variant-numeric: lining-nums tabular-nums;
}
.lfdv-top .cs-t .ul { -webkit-box-decoration-break: clone; box-decoration-break: clone; } /* the underline follows each line of a wrapped title */
.lfdv-top .cs-t { display: block; margin-top: 5px; font-weight: 500; font-size: 21px; letter-spacing: .08em; line-height: 1.4; }
.lfdv-top .cs-a { display: block; margin-top: 4px; font-family: var(--display); font-style: italic; font-size: 17px; color: var(--sub); }
.lfdv-top .cs-a.is-jp { font-family: var(--jp); font-style: normal; font-size: 14px; letter-spacing: .06em; }

/* PREV / NEXT, centred 40px below the cards (PC only) */
.lfdv-top .cs-foot { display: flex; align-items: center; justify-content: center; max-width: 1180px; margin: 60px auto 0; padding: 0 20px; }
.lfdv-top .cs-arws { display: flex; align-items: center; gap: 56px; }
.lfdv-top .cs-arw {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 48px;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	font-family: var(--display);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: .16em;
	transition: opacity .35s, color .35s;
	-webkit-tap-highlight-color: transparent;
}
.lfdv-top .cs-arw svg { position: relative; top: -5px; width: 68px; height: 11px; transition: transform .45s var(--ease); } /* arrow line (at the bottom of the svg) up to the middle of the text */
.lfdv-top .cs-arw:hover { color: var(--accent); }
.lfdv-top .cs-arw.next:hover svg { transform: translateX(6px); }
.lfdv-top .cs-arw.prev:hover svg { transform: translateX(-6px); }
.lfdv-top .cs-arw:disabled { opacity: .22; cursor: default; color: var(--ink); }
.lfdv-top .cs-arw:disabled svg { transform: none; }

/* HOLD (added by JS): the contents stick for a moment while this spacer scrolls past */
.lfdv-top .lfdv-hold { position: sticky; top: 72px; }
.lfdv-top .has-hold::after { content: ""; display: block; height: 220px; }

@media (min-width: 901px) {
	/* the intro text: at most 410px wide, a little to the right of the column's centre */
	.lfdv-top .ar2 .ar2-txt .hj--c { justify-content: flex-start; }
	.lfdv-top .ar2 .ar2-txt { box-sizing: border-box; width: min(410px, calc(100% - 48px)); margin-left: max(24px, calc((100% - 410px) / 2 + 28px)); padding-left: 0; padding-right: 0; }
	.lfdv-top .ar2 .ar2-txt { text-align: left; }
	.lfdv-top .ar2 .ar2-txt .ar2-lead { max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
	.lfdv-top .ar2 .ar2-txt .ar2-more { display: flex; justify-content: flex-end; text-align: right; }
	#artists.sec { padding-top: calc(clamp(140px, 11vw, 176px) + 120px); } /* the whole ARTISTS section sits lower */
}

/* =========================================================
   ARTISTS — text stays, pictures stack over each other
   ========================================================= */
.lfdv-top .ar2 { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 60%); align-items: start; }
.lfdv-top .ar2-txt { position: sticky; top: 72px; align-self: start; height: calc(100vh - 72px); height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 0 clamp(24px, 4vw, 64px); } /* the box is one screen high and the text is centred in it: it rises with the page, then stays in the middle while the pictures stack */
.lfdv-top .ar2-lead { margin: 36px auto 0; max-width: 410px; font-size: 15px; line-height: 2.1; letter-spacing: .06em; }
.lfdv-top .ar2-more { margin-top: 52px; }
.lfdv-top .ar2-list { display: flex; flex-direction: column; gap: 160px; padding-bottom: 40px; }
.lfdv-top .stk { position: sticky; display: block; width: 100%; max-width: 700px; margin-inline: auto; color: var(--ink); transform-origin: 50% 0; will-change: transform; } /* a card gets smaller (JS) as the next one covers it */
.lfdv-top .stk-img { height: min(75vh, 680px); }
.lfdv-top .stk-img { width: 100%; }
.lfdv-top .stk-img img { object-fit: cover; object-position: center top; }
.lfdv-top .stk-lb {
	position: absolute;
	left: 0;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 5px 20px 4px 28px;
	background: rgba(255, 255, 255, .82);
}
.lfdv-top .stk-nm { display: flex; align-items: baseline; gap: 16px; }
.lfdv-top .ar-jp { display: block; font-weight: 500; font-size: 17px; letter-spacing: .08em; }
.lfdv-top .ar-en { display: block; font-family: var(--display); font-style: italic; font-size: 16px; color: var(--sub); }

/* =========================================================
   NEWS — layout unchanged; the row at the middle of the screen is the darkest and the
   rules are drawn from the left as the rows come into view (values set by lfdv-top.js).
   ========================================================= */
.lfdv-top .nw { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 72px; align-items: start; }
.lfdv-top .nw-head { padding-left: 50px; }
.lfdv-top .nw-list li { position: relative; }
.lfdv-top .nw-list li::after,
.lfdv-top .nw-list li:first-child::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--rule);
	transform-origin: 0 50%;
}
.lfdv-top-js .lfdv-top .nw-list li::after,
.lfdv-top-js .lfdv-top .nw-list li:first-child::before {
	transform: scaleX(0);
	transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}
.lfdv-top-js .lfdv-top .nw-list.in li::after,
.lfdv-top-js .lfdv-top .nw-list.in li:first-child::before { transform: scaleX(1); }
/* order: the top rule first, then the one under row 1, row 2, ... (0.45s apart) */
.lfdv-top-js .lfdv-top .nw-list li:first-child::before { transition-delay: 0s; }
.lfdv-top-js .lfdv-top .nw-list li:nth-child(1)::after { transition-delay: .45s; }
.lfdv-top-js .lfdv-top .nw-list li:nth-child(2)::after { transition-delay: .9s; }
.lfdv-top-js .lfdv-top .nw-list li:nth-child(3)::after { transition-delay: 1.35s; }
.lfdv-top-js .lfdv-top .nw-list li:nth-child(4)::after { transition-delay: 1.8s; }
.lfdv-top-js .lfdv-top .nw-list li:nth-child(5)::after { transition-delay: 2.25s; }
.lfdv-top .nw-list li::after { bottom: 0; }
.lfdv-top .nw-list li:first-child::before { top: 0; }
.lfdv-top .nw-list a {
	display: grid;
	grid-template-columns: 118px 132px minmax(0, 1fr);
	gap: 24px;
	align-items: baseline;
	padding: 25px;
}
.lfdv-top .nw-d { font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: .06em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.lfdv-top .nw-c { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .18em; color: var(--accent); }
.lfdv-top .nw-t {
	justify-self: start; /* the underline is only as long as the title */
	font-size: 16px;
	line-height: 1.75;
	letter-spacing: .05em;
	/* same underline as the View links: it is drawn from the left on hover */
	padding-bottom: 6.5px;
	background: linear-gradient(currentColor, currentColor) 100% calc(100% - 4.5px) / 0 1px no-repeat; /* underline about 2px from the text */
	transition: background-size .4s var(--ease);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.lfdv-top .nw-list a:hover .nw-t,
.lfdv-top .nw-list a:focus-visible .nw-t { background-position: 0 calc(100% - 4.5px); background-size: 100% 1px; }

/* =========================================================
   ABOUT — the page stops (sticky) while a small picture opens to the full screen,
   darkens, and the white text rises on it. JS writes --ax/--ay (open), --az (zoom),
   --ad (darkness) and --ao/--aty (text) from the scroll position.
   ========================================================= */
.lfdv-top .abp { position: relative; height: 3100px; margin-top: clamp(140px, 11vw, 176px); }
.lfdv-top .abp-stage { position: sticky; top: 72px; height: calc(100vh - 72px); height: calc(100svh - 72px); overflow: hidden; }
.lfdv-top .abp-pic { position: absolute; inset: 0; background: #2a221c; }
.lfdv-top .abp-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lfdv-top-js .lfdv-top .abp-pic { clip-path: inset(var(--ay, 30%) var(--ax, 37.5%) var(--ay, 30%) var(--ax, 37.5%)); }
.lfdv-top-js .lfdv-top .abp-pic img { transform: scale(var(--az, 1.18)); }
.lfdv-top .abp-dim { position: absolute; inset: 0; background: #1b1610; opacity: var(--ad, .5); }
.lfdv-top-js .lfdv-top .abp-dim { opacity: var(--ad, 0); }
.lfdv-top .abp-txt {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: 64px;
	align-items: center;
	height: 100%;
	max-width: 1180px;
	margin: 0 auto;
	color: #fff;
}
.lfdv-top-js .lfdv-top .abp-l,
.lfdv-top-js .lfdv-top .abp-r { opacity: 0; transform: translateY(110px); transition: opacity .45s ease, transform .6s ease; } /* going away: quick */
.lfdv-top-js .lfdv-top .abp.is-txt .abp-l,
.lfdv-top-js .lfdv-top .abp.is-txt .abp-r { opacity: 1; transform: none; transition: opacity 1.5s ease, transform 1.8s cubic-bezier(.16, .6, .2, 1); } /* coming in */
.lfdv-top-js .lfdv-top .abp.is-txt .abp-r { transition-delay: .3s; }
.lfdv-top .abp .big { color: #fff; }
.lfdv-top .abp-jp { margin-top: 2px; font-size: 16px; letter-spacing: .24em; color: rgba(255, 255, 255, .8); }
.lfdv-top .abp-lead { font-weight: 500; font-size: 30px; line-height: 1.6; letter-spacing: .08em; }
.lfdv-top .abp-body { margin-top: 28px; max-width: 640px; font-size: 15px; line-height: 2.1; letter-spacing: .05em; color: rgba(255, 255, 255, .88); }
.lfdv-top .lk--w { display: flex; width: fit-content; margin: 28px 16px 0 auto; color: #fff; }
@media (min-width: 901px) { .lfdv-top .abp-l { text-align: center; } } /* ABOUT / JP title centred in the left area */

/* =========================================================
   CONTACT (plan B): the thin frame is drawn from its four corners towards the middle of
   each side, then the contents rise. Bronze L-shaped corners and the glowing button stay.
   ========================================================= */
.lfdv-top .ct-sec { padding-bottom: clamp(120px, 10vw, 160px); }
.lfdv-top .cb {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
	padding: 88px 64px 80px;
	text-align: center;
}
.lfdv-top .ed { position: absolute; background: rgba(145, 115, 45, .3); transition: transform 1.6s cubic-bezier(.65, 0, .35, 1); }
.lfdv-top .ed.h { height: 1px; width: 50%; }
.lfdv-top .ed.v { width: 1px; height: 50%; }
.lfdv-top .ed.t1 { top: 0; left: 0; transform-origin: 0 50%; }
.lfdv-top .ed.t2 { top: 0; right: 0; transform-origin: 100% 50%; }
.lfdv-top .ed.b1 { bottom: 0; left: 0; transform-origin: 0 50%; }
.lfdv-top .ed.b2 { bottom: 0; right: 0; transform-origin: 100% 50%; }
.lfdv-top .ed.l1 { left: 0; top: 0; transform-origin: 50% 0; }
.lfdv-top .ed.l2 { left: 0; bottom: 0; transform-origin: 50% 100%; }
.lfdv-top .ed.r1 { right: 0; top: 0; transform-origin: 50% 0; }
.lfdv-top .ed.r2 { right: 0; bottom: 0; transform-origin: 50% 100%; }
.lfdv-top-js .lfdv-top .cb .ed.h { transform: scaleX(0); }
.lfdv-top-js .lfdv-top .cb .ed.v { transform: scaleY(0); }
.lfdv-top-js .lfdv-top .cb.in .ed.h { transform: scaleX(1); }
.lfdv-top-js .lfdv-top .cb.in .ed.v { transform: scaleY(1); }
.lfdv-top-js .lfdv-top .cb .cb-in { opacity: 0; transform: translateY(24px); transition: opacity 1.1s ease .9s, transform 1.3s cubic-bezier(.2, .7, .1, 1) .9s; }
.lfdv-top-js .lfdv-top .cb.in .cb-in { opacity: 1; transform: none; }
.lfdv-top .tick { position: absolute; width: 22px; height: 22px; border: 0 solid var(--accent); }
.lfdv-top .tick.tl { left: -1px; top: -1px; border-top-width: 1px; border-left-width: 1px; }
.lfdv-top .tick.tr { right: -1px; top: -1px; border-top-width: 1px; border-right-width: 1px; }
.lfdv-top .tick.bl { left: -1px; bottom: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.lfdv-top .tick.br { right: -1px; bottom: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.lfdv-top .cb .hj { justify-content: center; }
.lfdv-top .cb-line { width: 40px; height: 1px; margin: 32px auto; background: var(--accent); opacity: .6; }
.lfdv-top .ct-txt { font-size: 15px; line-height: 2.05; letter-spacing: .05em; }
html[lang^="en"] .lfdv-top .ct-txt { font-size: 16px; }
.lfdv-top .ct-meta { margin-top: 14px; font-size: 13px; line-height: 2; color: var(--sub); }
.lfdv-top .ct-meta b { margin-right: 8px; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .14em; color: var(--accent); }

/* the button: a gold light runs round its edge (a rotating cone, with a white face laid
   1px inside so only the rim shows). Fixed pixel width so both ends of the pill stay round. */
.lfdv-top .pill {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 300px;
	height: 56px;
	margin-top: 40px;
	border-radius: 28px;
	clip-path: inset(0 round 28px);
	background: rgba(145, 115, 45, .75);
	font-family: var(--jp);
	font-size: 14px;
	letter-spacing: .1em;
}
.lfdv-top .st-light {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 0;
	width: 200%;
	aspect-ratio: 1;
	transform: translate(-50%, -50%) rotate(0deg);
	background: conic-gradient(transparent 0deg, transparent 250deg, rgba(201, 162, 79, .5) 300deg, #d9b25a 335deg, #f7e3a6 350deg, #fffaf0 356deg, transparent 360deg);
	animation: lfdv-top-star 4.5s linear infinite;
}
@keyframes lfdv-top-star {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.lfdv-top .st-face { position: absolute; inset: 1px; z-index: 1; border-radius: 27px; background: #fff; transition: background .35s; }
.lfdv-top .st-label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 16px; color: #7a6026; }
.lfdv-top .pill:hover .st-face,
.lfdv-top .pill:focus-visible .st-face { background: #f1ede2; }

/* =========================================================
   Phone / tablet (900px and below)
   ========================================================= */
@media (max-width: 900px) {
	.lfdv-top .nw .sec-foot { grid-column: auto; margin-top: 26px; }
	.lfdv-top .cs-head,
	.lfdv-top .nw-head { padding-left: 0; }
	.lfdv-top .cs-head { padding-left: 24px; padding-right: 24px; }
	.lfdv-top .hj { gap: 4px 16px; }
	.lfdv-top .hj p { font-size: 13px; }
	.lfdv-top .hj--sub p { font-size: 11px; }

	/* EXHIBITIONS: centred heading, full-width main, sub at 60% on the right, overlapping the main a little */
	.lfdv-top .ex { padding: 30px 0 24px; }
	.lfdv-top #soon.sec { padding-top: 64px; } /* less white between EXHIBITIONS and COMING SOON */
	.lfdv-top .ex-info { margin-top: 18px; }
	.lfdv-top .ex-d { font-size: 22px; }
	.lfdv-top .ex-t { font-size: 24px; line-height: 1.4; }
	.lfdv-top .ex-body { margin-top: 35px; }
	.lfdv-top .ex-stage { width: auto; height: auto; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
	/* the NOW SHOWING / date / title block goes under the main picture */
	.lfdv-top .ex-col { display: contents; }
	.lfdv-top .ex-side { position: static; width: 100%; margin-top: 40px; padding: 0 clamp(24px, 2.4vw, 34px); text-align: left; }
	.lfdv-top .nsh { display: flex; justify-content: flex-start; }
	.lfdv-top .ex-main { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 588 / 832; }
	.lfdv-top .ex-more { position: relative; left: auto; top: auto; width: 100%; margin: 40px 0 24px; padding: 0 clamp(24px, 2.4vw, 34px); }
	.lfdv-top .ex-sub { display: none; } /* the sub picture is PC only */
	.lfdv-top .lk,
	.lfdv-top .lk--sm { font-size: 18px; } /* every View More / View All */
	/* the arrow line sits in the middle of the text height (it was a little low) */
	.lfdv-top .lk .go { position: relative; top: -.3em; }
	.lfdv-top .ex-bg { top: calc(130vw - 34px); font-size: 96px; }

	/* COMING SOON: no arrows — swipe, about 1.5 cards visible */
	.lfdv-top .cs-foot { display: none; }
	.lfdv-top .cs-view {
		overflow-x: auto;
		overflow-y: hidden;
		margin-top: 20px;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 24px;
		scrollbar-width: none;
	}
	.lfdv-top .cs-view::-webkit-scrollbar { display: none; }
	.lfdv-top .cs-track { transform: none !important; transition: none; padding: 0 24px; }
	.lfdv-top .cs-track::after { content: ""; flex: 0 0 24px; }
	.lfdv-top .cs-card { flex: 0 0 58%; scroll-snap-align: start; }
	.lfdv-top .cs-txt { padding: 6px 2px 0; }
	.lfdv-top .cs-d { margin-top: 10px; font-size: 15px; }
	.lfdv-top .cs-t { margin-top: 0; font-size: 16px; line-height: 1.55; }
	.lfdv-top .cs-a { font-size: 15px; }
	.lfdv-top .cs-a.is-jp { font-size: 13px; }
	/* each card rises from below when it comes into view; no waiting for the cards before it,
	   so the card that is really coming in is the one that rises */
	.lfdv-top-js .lfdv-top .cs-card.rv { transform: translateY(90px); transition-duration: .9s, 1.1s; }
	.lfdv-top-js .lfdv-top .cs-card.rv.in { transform: none; }
	.lfdv-top-js .lfdv-top .cd1,
	.lfdv-top-js .lfdv-top .cd3,
	.lfdv-top-js .lfdv-top .cd4 { transition-delay: 0s; }
	.lfdv-top-js .lfdv-top .cd2 { transition-delay: .15s; }

	/* ARTISTS: one column, the text flows normally */
	.lfdv-top .ar2,
	.lfdv-top .nw,
	.lfdv-top .ab { grid-template-columns: 1fr; }
	/* the heading and lead stay on top; View All goes under the pictures */
	.lfdv-top .ar2-txt { display: contents; }
	.lfdv-top .ar2-txt > * { padding-inline: clamp(24px, 2.4vw, 34px); }
	.lfdv-top .ar2-lead { margin: 20px 0 0; max-width: none; text-align: left; line-height: 1.8; }
	.lfdv-top .ar2-txt .hj { justify-content: flex-start; }
	.lfdv-top .ar2-txt { text-align: left; }
	.lfdv-top .ar2-list { order: 1; margin-top: 24px; padding: 0 clamp(24px, 2.4vw, 34px) 0; }
	.lfdv-top .ar2-more { order: 2; display: flex; justify-content: center; margin-top: 34px; }
	.lfdv-top .ar-jp { font-weight: 400; }
	.lfdv-top .stk-img { height: 56vh; }
	.lfdv-top .has-hold::after { height: 160px; }

	.lfdv-top .nw { gap: 32px; }
	/* date and category on one line, the title under them */
	.lfdv-top .nw-list a { grid-template-columns: auto 1fr; gap: 6px 18px; padding: 22px 0; }
	.lfdv-top .nw-t { grid-column: 1 / -1; }

	/* ABOUT: stops under the 64px header, one text column */
	/* the picture stage is at least one screen high and grows with the text (long text is never cut off);
	   the 1000px spacer is the scrolling while the picture opens (540px) and the text is read (the rest) (the stage stays put for it) */
	.lfdv-top .abp { height: auto; }
	.lfdv-top .abp::after { content: ""; display: block; height: 1000px; }
	.lfdv-top .abp-stage { top: 64px; height: auto; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); }
	.lfdv-top-js .lfdv-top .abp-pic { clip-path: inset(var(--ay, 32%) var(--ax, 22%) var(--ay, 32%) var(--ax, 22%)); }
	.lfdv-top .abp-dim { opacity: var(--ad, .55); }
	/* the text starts at the top of the stage (the title is always seen); generous space above and below */
	.lfdv-top .abp-txt { grid-template-columns: 1fr; gap: 18px; align-content: start; height: auto; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); box-sizing: border-box; padding-top: 56px; padding-bottom: 72px; }
	.lfdv-top .abp-l { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
	.lfdv-top .abp-jp { margin-top: 0; font-size: 13px; }
	.lfdv-top .abp-lead { font-size: 21px; line-height: 1.6; }
	.lfdv-top .abp-body { margin-top: 24px; font-size: 16px; line-height: 1.8; }
	.lfdv-top .lk--w { margin-top: 38px; }
	/* the text comes up a shorter way (a long rise looked like the page moving up by itself) */
	.lfdv-top-js .lfdv-top .abp-l,
	.lfdv-top-js .lfdv-top .abp-r { transform: translateY(48px); }
	.lfdv-top-js .lfdv-top .abp.is-txt .abp-l,
	.lfdv-top-js .lfdv-top .abp.is-txt .abp-r { transform: none; }
	.lfdv-top .cb { padding: 56px 24px 52px; }
	.lfdv-top .pill { width: 236px; }
}

@media (prefers-reduced-motion: reduce) {
	.lfdv-top .rv,
	.lfdv-top .rv-img { opacity: 1; transform: none; clip-path: none; filter: none; transition: none; }
	.lfdv-top .plx .pl { transform: none; }
	.lfdv-top .nsh h3.is-now .fx { display: none; }
	.lfdv-top .st-light { display: none; }
	.lfdv-top .abp { height: auto; }
	.lfdv-top .abp-stage { position: relative; top: 0; height: min(100svh, 760px); }
	.lfdv-top .img img,
	.lfdv-top .cs-track,
	.lfdv-top .go,
	.lfdv-top .ul { transition: none; }
}
