.lay-rowscroll-info-btn {
	position: fixed;
	top: var(--lay-rowscroll-info-top, 8px);
	right: var(--lay-rowscroll-info-right, 8px);
	z-index: 1000003;
	box-sizing: content-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--lay-rowscroll-info-icon-size, 22px);
	height: var(--lay-rowscroll-info-icon-size, 22px);
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111111;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
}

/* Above the info modal while it is open. */
html.lay-rowscroll-info-open .lay-rowscroll-info-btn {
	z-index: 2147483647;
}

/*
 * Project from rowscroll sits above the + icon, but site title stays higher
 * (see stainless-steel.css → .sitetitle / .mobile-title at 2147483646).
 */
html.show-project-overlay .lay-rowscroll-info-btn,
html.lay-rowscroll-modal-open .lay-rowscroll-info-btn {
	z-index: 999990 !important;
	pointer-events: none;
}

.lay-rowscroll-info-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.lay-rowscroll-info-btn__icon {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}

.lay-rowscroll-info-btn__line {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 2px;
	margin-top: -1px;
	margin-left: -50%;
	background: currentColor;
	border-radius: 1px;
	transform: rotate(0deg);
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Closed: + */
.lay-rowscroll-info-btn__line:nth-child(1) {
	transform: rotate(0deg);
}

.lay-rowscroll-info-btn__line:nth-child(2) {
	transform: rotate(90deg);
}

/* Open: − */
.lay-rowscroll-info-btn.is-open .lay-rowscroll-info-btn__line:nth-child(1),
.lay-rowscroll-info-btn.is-open .lay-rowscroll-info-btn__line:nth-child(2) {
	transform: rotate(0deg);
}

/* Open + hover/focus: × */
.lay-rowscroll-info-btn.is-open:hover .lay-rowscroll-info-btn__line:nth-child(1),
.lay-rowscroll-info-btn.is-open:focus-visible .lay-rowscroll-info-btn__line:nth-child(1) {
	transform: rotate(45deg);
}

.lay-rowscroll-info-btn.is-open:hover .lay-rowscroll-info-btn__line:nth-child(2),
.lay-rowscroll-info-btn.is-open:focus-visible .lay-rowscroll-info-btn__line:nth-child(2) {
	transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
	.lay-rowscroll-info-btn__line {
		transition: none;
	}
}

.lay-rowscroll-info-modal {
	position: fixed;
	inset: 0;
	z-index: 1000000;
}

.lay-rowscroll-info-modal[hidden] {
	display: none !important;
}

.lay-rowscroll-info-modal__backdrop {
	position: absolute;
	inset: 0;
	background-color: var(--lay-steel-project-bg, #d2d6da);
	background-image: var(--lay-steel-project-gradient, none);
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 1;
	transition: opacity 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}

.lay-rowscroll-info-modal__panel {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	max-width: 100vw;
	overflow: hidden;
}

.lay-rowscroll-info-modal--closing .lay-rowscroll-info-modal__backdrop {
	opacity: 0;
}

.lay-rowscroll-info-modal__scroll {
	position: absolute;
	inset: 0;
	z-index: 1;
	min-width: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	/* Match project modal content top; outer pad-top is extra inset below that. */
	padding:
		calc(
			var(--lay-rowscroll-overlay-content-top, calc(56px + env(safe-area-inset-top, 0px))) +
				var(--lay-rowscroll-info-pad-top, 0px)
		)
		var(--lay-rowscroll-info-pad-right, 32px)
		var(--lay-rowscroll-info-pad-bottom, 32px)
		var(--lay-rowscroll-info-pad-left, 32px);
	box-sizing: border-box;
	background-color: var(--lay-steel-project-bg, #d2d6da);
	background-image: var(--lay-steel-project-gradient, none);
	background-size: cover;
	background-repeat: no-repeat;
	transform: translateY(0);
	opacity: 1;
	transition:
		transform 0.48s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}

.lay-rowscroll-info-modal--closing .lay-rowscroll-info-modal__scroll {
	transform: translateY(36px);
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.lay-rowscroll-info-modal__backdrop,
	.lay-rowscroll-info-modal__scroll {
		transition-duration: 0.01ms;
	}

	.lay-rowscroll-info-modal--closing .lay-rowscroll-info-modal__scroll {
		transform: none;
	}
}

.lay-rowscroll-info-modal__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.15fr);
	grid-template-rows: minmax(0, 1fr) auto;
	column-gap: var(--lay-rowscroll-info-column-gap, 40px);
	row-gap: 0;
	align-items: stretch;
	width: 100%;
	max-width: none;
	margin: 0;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	font-family: var(--lay-rowscroll-info-font-family, inherit);
	font-size: var(--lay-rowscroll-info-font-size, 16px);
	line-height: var(--lay-rowscroll-info-line-height, 1.45);
}

.lay-rowscroll-info-modal__col {
	min-width: 0;
	min-height: 0;
}

.lay-rowscroll-info-modal__col[hidden] {
	display: none !important;
}

.lay-rowscroll-info-modal__photo {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	align-self: stretch;
	min-height: 0;
	height: 100%;
	overflow: hidden;
}

.lay-rowscroll-info-modal__about {
	grid-column: 2;
	grid-row: 1;
}

.lay-rowscroll-info-modal__exhibitions {
	grid-column: 3;
	grid-row: 1;
}

.lay-rowscroll-info-modal__about,
.lay-rowscroll-info-modal__exhibitions {
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
	overflow: hidden;
}

.lay-rowscroll-info-modal__heading {
	margin: 0 0 var(--lay-rowscroll-info-about-title-space, 14px);
	font-size: inherit;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	flex: 0 0 auto;
}

/* Invisible twin of About title so exhibitions body lines up with About body. */
.lay-rowscroll-info-modal__heading--spacer {
	visibility: hidden;
	pointer-events: none;
	user-select: none;
}

.lay-rowscroll-info-modal__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-gutter: stable;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: #111111;
	white-space: normal;
	padding-right: 8px;
}

/* Absorbs leftover pixels so both scroll viewports end on a full text line. */
.lay-rowscroll-info-modal__line-snap {
	flex: 0 0 auto;
	height: 0;
	pointer-events: none;
}

/* CONTACT full-width bottom row from the left; left inset via setting. */
.lay-rowscroll-info-modal__contact {
	grid-column: 1 / -1;
	grid-row: 2;
	align-self: end;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: var(--lay-rowscroll-info-contact-space-top, 0px) 0 0;
	padding: 0 0 0 var(--lay-rowscroll-info-contact-space-left, 0px);
	box-sizing: border-box;
	font-family: inherit;
	font-size: var(--lay-rowscroll-info-contact-font-size, var(--lay-rowscroll-info-font-size, 16px));
	line-height: inherit;
	color: #111111;
	background: transparent;
	white-space: normal;
	overflow: visible;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.lay-rowscroll-info-modal__contact-sep {
	font-weight: 400;
	padding: 0 0.15em;
}

.lay-rowscroll-info-modal__contact[hidden] {
	display: none !important;
}

.lay-rowscroll-info-modal__contact .lay-rowscroll-info-em,
.lay-rowscroll-info-modal__contact strong.lay-rowscroll-info-em {
	font-weight: 700;
	font-style: inherit;
}

.lay-rowscroll-info-modal__contact .lay-rowscroll-info-em-italic,
.lay-rowscroll-info-modal__contact em.lay-rowscroll-info-em-italic {
	font-style: italic;
	font-weight: 400;
}

.lay-rowscroll-info-modal__contact em.lay-rowscroll-info-em-italic .lay-rowscroll-info-em,
.lay-rowscroll-info-modal__contact em.lay-rowscroll-info-em-italic strong.lay-rowscroll-info-em,
.lay-rowscroll-info-modal__contact em.lay-rowscroll-info-em-italic a.lay-rowscroll-info-link {
	font-weight: 700;
	font-style: italic;
}

.lay-rowscroll-info-modal__contact a.lay-rowscroll-info-link {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.lay-rowscroll-info-modal__contact a.lay-rowscroll-info-link:hover,
.lay-rowscroll-info-modal__contact a.lay-rowscroll-info-link:focus-visible {
	text-decoration: underline;
}

.lay-rowscroll-info-modal__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	flex: 1 1 auto;
	min-height: 0;
	object-fit: cover;
	object-position: center;
}

.lay-rowscroll-info-modal__body--plain {
	white-space: pre-wrap;
}

.lay-rowscroll-info-modal__body .lay-rowscroll-info-em,
.lay-rowscroll-info-modal__body strong.lay-rowscroll-info-em {
	font-weight: 700;
	font-style: inherit;
}

.lay-rowscroll-info-modal__body .lay-rowscroll-info-em-italic,
.lay-rowscroll-info-modal__body em.lay-rowscroll-info-em-italic {
	font-style: italic;
	font-weight: 400;
}

.lay-rowscroll-info-modal__body a.lay-rowscroll-info-link {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.lay-rowscroll-info-modal__body a.lay-rowscroll-info-link:hover,
.lay-rowscroll-info-modal__body a.lay-rowscroll-info-link:focus-visible {
	text-decoration: underline;
}

.lay-rowscroll-info-modal__body p:first-child {
	margin-top: 0;
}

.lay-rowscroll-info-modal__body p:last-child {
	margin-bottom: 0;
}

.lay-rowscroll-info-modal__body ul,
.lay-rowscroll-info-modal__body ol {
	margin: 0 0 1em;
	padding-left: 1.1em;
}

html.lay-rowscroll-info-open {
	overflow: hidden;
}

html.lay-rowscroll-info-open .sitetitle,
html.lay-rowscroll-info-open .mobile-title {
	position: fixed !important;
	z-index: 1000002 !important;
	pointer-events: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
}

@media (max-width: 900px) {
	.lay-rowscroll-info-modal__scroll {
		/* Fixed viewport column under site title + mobile space setting. */
		padding-top: calc(
			var(
					--lay-rowscroll-info-mobile-title-clear,
					var(--lay-rowscroll-overlay-content-top, calc(56px + env(safe-area-inset-top, 0px)))
				) + var(--lay-rowscroll-info-mobile-top-space, 1vh)
		);
		padding-right: var(--lay-rowscroll-info-mobile-pad-right, 20px);
		padding-bottom: var(--lay-rowscroll-info-pad-bottom, 32px);
		padding-left: var(--lay-rowscroll-info-mobile-pad-left, 20px);
		box-sizing: border-box;
		height: 100%;
		max-height: 100%;
		min-height: 0;
		overflow: hidden;
		display: flex;
		flex-direction: column;
	}

	/* Stack sections in normal document flow — do not reuse desktop grid cells. */
	.lay-rowscroll-info-modal__layout {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		gap: var(--lay-rowscroll-info-column-gap, 28px);
		column-gap: normal;
		row-gap: normal;
		grid-template-columns: none !important;
		grid-template-rows: none !important;
		width: 100%;
		flex: 1 1 auto;
		min-height: 0;
		height: auto !important;
		max-height: 100%;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior-y: contain;
		-webkit-overflow-scrolling: touch;
	}

	.lay-rowscroll-info-modal__photo,
	.lay-rowscroll-info-modal__about,
	.lay-rowscroll-info-modal__exhibitions,
	.lay-rowscroll-info-modal__contact {
		display: block !important;
		position: static !important;
		float: none !important;
		grid-area: auto !important;
		grid-column: unset !important;
		grid-row: unset !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		overflow: visible !important;
		flex: 0 0 auto !important;
		align-self: stretch !important;
		z-index: auto !important;
	}

	.lay-rowscroll-info-modal__heading--spacer,
	.lay-rowscroll-info-modal__line-snap {
		display: none !important;
	}

	.lay-rowscroll-info-modal__heading {
		position: static !important;
		flex: none !important;
	}

	.lay-rowscroll-info-modal__body {
		display: block !important;
		position: static !important;
		flex: none !important;
		width: 100%;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow: visible !important;
		padding-right: 0;
		scrollbar-gutter: auto;
	}

	.lay-rowscroll-info-modal__about {
		padding-top: 1vh;
	}

	.lay-rowscroll-info-modal__contact {
		margin-top: var(--lay-rowscroll-info-contact-space-top, 0px) !important;
		/* Outer mobile pad already on __scroll — do not add desktop CONTACT left inset. */
		padding: 0 !important;
	}

	/* Three lines: CONTACT / Instagram (…) / Email (…) */
	.lay-rowscroll-info-modal__contact > .lay-rowscroll-info-modal__contact-sep {
		display: none;
	}

	.lay-rowscroll-info-modal__contact > .lay-rowscroll-info-em-italic:first-child {
		display: block;
	}

	.lay-rowscroll-info-modal__contact > .lay-rowscroll-info-em-italic:not(:first-child)::before {
		content: '';
		display: block;
	}

	.lay-rowscroll-info-modal__photo img {
		display: block;
		position: static !important;
		width: 100%;
		height: auto !important;
		max-width: 100%;
		max-height: none !important;
		flex: none !important;
		object-fit: contain;
	}
}
