/*
Theme Name: Blue Ink & Golden Leaves — Vertical Slice
Description: Local review-only Gutenberg block theme for one Artwork, aligned to the owner-supplied Blue Ink style guide.
Author: Mauro Carraro / Studio Native
Version: 0.2.46
Requires at least: 6.9
Tested up to: 7.0.2
Text Domain: blue-ink-golden-leaves
*/

:root :where(.blue-ink-brand-signature),
:root :where(.blue-ink-brand-mark),
:root :where(.blue-ink-private-review-image),
:root :where(.blue-ink-review-gallery figure),
:root :where(.blue-ink-review-carousel figure) {
	margin-block: 0;
}

:root :where(.blue-ink-brand-signature img),
:root :where(.blue-ink-brand-mark img),
:root :where(.blue-ink-private-review-image img),
:root :where(.blue-ink-review-gallery img),
:root :where(.blue-ink-review-carousel img) {
	display: block;
	height: auto;
}

:root :where(a, button, input, select, summary, textarea):focus-visible {
	outline: 3px solid var(--wp--preset--color--deep-blue);
	outline-offset: 4px;
	box-shadow: 0 0 0 6px var(--wp--preset--color--gold-leaf);
}

:root :where(.blue-ink-site-header) {
	--blue-ink-scroll-progress: 7%;
	position: relative;
	z-index: 10;
	border-bottom: 1px solid var(--wp--preset--color--powder-blue);
	background: var(--wp--preset--color--paper);
}

:root :where(.blue-ink-site-header-shell) {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--wp--preset--color--paper);
}

:root :where(.blue-ink-site-header) {
	transition:
		padding 180ms ease,
		box-shadow 180ms ease;
}

body.blue-ink-header-is-compact :where(.blue-ink-site-header) {
	box-shadow: 0 0.7rem 1.4rem rgba(11, 46, 116, 0.08);
}

body.blue-ink-header-is-compact :where(.blue-ink-site-header .blue-ink-brand-signature img) {
	width: 172px !important;
}

:root :where(.blue-ink-site-header)::after {
	position: absolute;
	bottom: -1px;
	left: var(--wp--preset--spacing--30);
	width: var(--blue-ink-scroll-progress, 3.5rem);
	max-width: calc(100% - (var(--wp--preset--spacing--30) * 2));
	height: 1px;
	background: var(--wp--preset--color--gold-leaf);
	content: "";
}

/*
 * WooCommerce may append its account and mini-cart blocks to the site header.
 * Keep those commerce controls out of the private design-review template only;
 * other templates and all WooCommerce state remain untouched.
 */
body.page-template-page-private-review .blue-ink-site-header .wc-block-customer-account,
body.page-template-page-private-review .blue-ink-site-header .wp-block-woocommerce-customer-account,
body.page-template-page-private-review .blue-ink-site-header .wc-block-mini-cart,
body.page-template-page-private-review .blue-ink-site-header .wp-block-woocommerce-mini-cart {
	display: none !important;
}

.blue-ink-site-header .blue-ink-review-navigation a {
	color: var(--wp--preset--color--ink-blue) !important;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
	text-underline-offset: 0.35em;
}

.blue-ink-site-header .blue-ink-review-navigation a:hover {
	color: var(--wp--preset--color--deep-blue) !important;
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--gold-leaf);
	text-decoration-thickness: 2px;
}

:root :where(.blue-ink-site-header .blue-ink-brand-signature img) {
	width: 220px !important;
}

:root :where(.blue-ink-site-footer) {
	border-top: 1px solid var(--wp--preset--color--gold-leaf);
}

:root :where(.blue-ink-site-footer p) {
	letter-spacing: 0.02em;
}

:root :where(.blue-ink-site-footer-inner) {
	max-width: 62rem;
	text-align: center;
}

:root :where(.blue-ink-footer-signature img) {
	width: min(100%, 240px) !important;
}

:root :where(.blue-ink-footer-identity) {
	margin: 1.5rem 0 0;
	color: var(--wp--preset--color--paper);
	font-family: var(--wp--preset--font-family--averia-serif-libre);
	font-size: 1.05rem;
	font-weight: 700;
}

:root :where(.blue-ink-footer-note) {
	margin: 0.25rem 0 0;
	color: var(--wp--preset--color--powder-blue);
	font-family: var(--wp--preset--font-family--avenir-next);
	font-size: 0.92rem;
	font-style: normal;
	font-weight: 500;
}

:root :where(.blue-ink-footer-navigation) {
	width: min(100%, 42rem);
	margin: 1.25rem auto 0;
}

:root :where(.blue-ink-footer-navigation .wp-block-navigation__container) {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	width: 100%;
}

:root :where(.blue-ink-footer-navigation .wp-block-navigation-item) {
	justify-content: center;
}

:root :where(.blue-ink-footer-navigation a) {
	color: var(--wp--preset--color--powder-blue) !important;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-decoration-color: var(--wp--preset--color--gold-leaf) !important;
	text-underline-offset: 0.35em;
	text-transform: uppercase;
}

:root :where(.blue-ink-footer-navigation a:hover) {
	color: var(--wp--preset--color--paper) !important;
}

:root :where(.blue-ink-footer-copyright) {
	max-width: 42rem;
	margin: 2rem auto 0;
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--powder-blue);
	color: var(--wp--preset--color--powder-blue);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.045em;
	line-height: 1.55;
	text-align: center;
}

:root :where(.blue-ink-footer-copyright--mobile) {
	display: none;
}

/* Single Artwork shell. It remains content-neutral until an Artwork is admitted. */
:root :where(.blue-ink-artwork-shell) {
	padding-top: clamp(2.75rem, 6vw, 6.5rem);
}

:root :where(.blue-ink-artwork-intro) {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 0.85fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: end;
}

:root :where(.blue-ink-artwork-kicker),
:root :where(.blue-ink-review-marker),
:root :where(.blue-ink-review-series),
:root :where(.blue-ink-review-section-label) {
	display: flex;
	gap: 0.65rem;
	align-items: center;
	color: var(--wp--preset--color--ink-blue);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

:root :where(.blue-ink-artwork-kicker)::before,
:root :where(.blue-ink-review-marker)::before,
:root :where(.blue-ink-review-series)::before,
:root :where(.blue-ink-review-section-label)::before {
	width: 2.5rem;
	height: 2px;
	flex: 0 0 auto;
	background: var(--wp--preset--color--gold-leaf);
	content: "";
}

:root :where(.blue-ink-artwork-title) {
	max-width: 13ch;
	margin-top: clamp(1rem, 2vw, 1.75rem);
	margin-bottom: 0;
	font-size: clamp(3.25rem, 6vw, 5.25rem) !important;
	letter-spacing: -0.025em;
	line-height: 0.98 !important;
}

:root :where(.blue-ink-artwork-facts) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.35rem 1.75rem;
	padding: clamp(1.25rem, 2vw, 1.75rem);
	border-top: 3px solid var(--wp--preset--color--gold-leaf);
	border-bottom: 1px solid var(--wp--preset--color--powder-blue);
	background: var(--wp--preset--color--soft-paper);
}

:root :where(.blue-ink-artwork-facts > .wp-block-group) {
	min-width: 0;
}

:root :where(.blue-ink-artwork-facts > .wp-block-group > p:first-child),
:root :where(.blue-ink-review-fact-label) {
	margin: 0;
	color: var(--wp--preset--color--ink-blue);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.11em;
	line-height: 1.35;
	text-transform: uppercase;
}

:root :where(.blue-ink-artwork-facts > .wp-block-group > p:last-child),
:root :where(.blue-ink-review-fact-value) {
	margin: 0.35rem 0 0;
	color: var(--wp--preset--color--deep-blue);
	font-size: 1rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

:root :where(.blue-ink-artwork-media) {
	margin-top: clamp(2.5rem, 6vw, 6rem);
}

:root :where(.blue-ink-artwork-media img) {
	width: 100%;
	max-height: 82vh;
	object-fit: contain;
	background: var(--wp--preset--color--soft-paper);
}

:root :where(.blue-ink-artwork-copy) {
	margin-top: clamp(2.5rem, 5vw, 5rem);
}

/* Private local Page fixture: media enters only the disposable runtime. */
:root :where(.blue-ink-private-review-shell) {
	margin-top: 0;
	overflow-x: hidden;
}

:root :where(.blue-ink-private-review-hero-surface) {
	background:
		linear-gradient(90deg, rgba(152, 170, 206, 0.18), transparent 46%),
		var(--wp--preset--color--paper);
}

:root :where(.blue-ink-private-review-hero) {
	display: grid;
	grid-template-columns: minmax(28rem, 1.08fr) minmax(28rem, 0.92fr);
	gap: clamp(3rem, 4.5vw, 5rem);
	align-items: center;
	min-height: calc(100vh - 7rem);
	padding-top: clamp(2.5rem, 5vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 6rem);
}

:root :where(.blue-ink-private-review-heading) {
	position: relative;
	z-index: 1;
	order: 2;
	justify-self: start;
	width: min(100%, 36rem);
	max-width: 36rem;
	--blue-ink-hero-rail: 3.15rem;
	box-sizing: border-box;
	padding-left: var(--blue-ink-hero-rail);
	text-align: left;
}

:root :where(.blue-ink-private-review-heading > .blue-ink-review-marker),
:root :where(.blue-ink-hero-identity .blue-ink-review-series) {
	position: relative;
	display: block;
	padding-left: 0;
}

:root :where(.blue-ink-private-review-heading > .blue-ink-review-marker)::before,
:root :where(.blue-ink-hero-identity .blue-ink-review-series)::before {
	position: absolute;
	top: 50%;
	left: calc(-1 * var(--blue-ink-hero-rail));
	transform: translateY(-50%);
}

:root :where(.blue-ink-hero-identity) {
	width: 100%;
	max-width: none !important;
	padding-left: 0;
	border-left: 0;
}

:root :where(.blue-ink-hero-identity > *),
:root :where(.blue-ink-private-review-heading > .blue-ink-review-marker),
:root :where(.blue-ink-private-review-heading > .blue-ink-hero-actions) {
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

:root :where(.blue-ink-hero-identity .blue-ink-review-series)::before {
	width: 1.4rem;
	background: var(--wp--preset--color--powder-blue);
}

:root :where(.blue-ink-review-marker) {
	margin-bottom: clamp(2rem, 4vw, 4.5rem);
}

:root :where(.blue-ink-private-review-title) {
	max-width: 9ch;
	margin: clamp(0.8rem, 1.1vw, 1.1rem) 0 0;
	font-size: clamp(3rem, 3vw + 0.6rem, 4.55rem) !important;
	letter-spacing: -0.035em;
	line-height: 0.95 !important;
	text-align: left;
}

:root :where(.blue-ink-private-review-byline) {
	margin-top: 1.15rem;
	margin-left: 0;
	margin-bottom: 0;
	color: var(--wp--preset--color--deep-blue);
	font-family: var(--wp--preset--font-family--averia-serif-libre);
	font-size: clamp(1.2rem, 1.7vw, 1.6rem);
	font-style: italic;
	font-weight: 700;
	text-align: right;
}

:root :where(.blue-ink-private-review-quote-label) {
	margin: 1rem 0 0;
	color: var(--wp--preset--color--powder-blue);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

:root :where(.blue-ink-private-review-quote) {
	max-width: 35ch;
	margin: 0.45rem 0 0;
	color: var(--wp--preset--color--ink-blue);
	font-family: var(--wp--preset--font-family--averia-serif-libre);
	font-size: clamp(1.05rem, 1.35vw, 1.3rem);
	font-style: italic;
	font-weight: 700;
	line-height: 1.35;
}

:root :where(.blue-ink-private-review-heading .blue-ink-private-review-quote-label),
:root :where(.blue-ink-private-review-heading .blue-ink-private-review-quote),
:root :where(.blue-ink-private-review-heading .blue-ink-hero-actions) {
	width: 100%;
}

:root :where(.blue-ink-private-review-quote--secondary) {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--wp--preset--color--powder-blue);
}

:root :where(.blue-ink-private-review-studio) {
	display: block;
	margin: 0.55rem 0 0;
	padding: 0;
	background: transparent;
	color: var(--wp--preset--color--powder-blue);
	font-size: clamp(1.2rem, 1.45vw, 1.35rem);
	font-weight: 700;
	letter-spacing: 0.025em;
}

:root :where(.blue-ink-hero-actions) {
	gap: 0.9rem;
	justify-content: flex-start;
	flex-wrap: nowrap !important;
	width: 100%;
	margin-left: 0;
	margin-top: 1.5rem;
}

:root :where(.blue-ink-hero-actions .wp-block-button) {
	flex: 0 0 auto;
}

:root :where(.blue-ink-hero-actions .wp-block-button__link) {
	white-space: nowrap;
}

:root :where(.blue-ink-mobile-hero-actions) {
	display: none !important;
}

:root :where(.blue-ink-hero-acquire-button .wp-block-button__link),
:root :where(.blue-ink-acquisition-status),
:root :where(.blue-ink-commission-button .wp-block-button__link) {
	border: 0;
	background: var(--wp--preset--color--gold-leaf);
	box-sizing: border-box;
	color: var(--wp--preset--color--paper);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
	padding: 1rem 1.45rem;
	text-decoration: none;
	text-transform: uppercase;
}

:root :where(.blue-ink-hero-series-button .wp-block-button__link) {
	border: 1px solid var(--wp--preset--color--deep-blue);
	background: transparent;
	box-sizing: border-box;
	color: var(--wp--preset--color--deep-blue);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	padding: 0.95rem 1.35rem;
	text-decoration: none;
	text-transform: uppercase;
}

:root :where(.blue-ink-hero-series-button .wp-block-button__link:hover) {
	background: var(--wp--preset--color--deep-blue);
	color: var(--wp--preset--color--paper);
}

:root :where(.blue-ink-hero-acquire-button .wp-block-button__link:hover) {
	background: var(--wp--preset--color--deep-blue);
	color: var(--wp--preset--color--paper);
}

:root :where(.blue-ink-private-review-image) {
	position: relative;
	order: 1;
	justify-self: center;
	width: min(100%, 46rem);
	padding: clamp(0.65rem, 1.2vw, 1rem);
	border: 1px solid rgba(152, 170, 206, 0.72);
	background: var(--wp--preset--color--soft-paper);
}

:root :where(.blue-ink-hero-lightbox-trigger) {
	position: absolute;
	inset: clamp(0.65rem, 1.2vw, 1rem);
	min-width: 44px;
	min-height: 44px;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

:root :where(.blue-ink-hero-lightbox-trigger)::after {
	position: absolute;
	right: 0.65rem;
	bottom: 0.65rem;
	padding: 0.65rem 0.9rem;
	border: 0;
	background: var(--wp--preset--color--deep-blue);
	color: var(--wp--preset--color--paper);
	content: "View full screen";
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

:root :where(.blue-ink-hero-lightbox-dialog) {
	box-sizing: border-box;
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: clamp(1rem, 3vw, 2.5rem);
	border: 0;
	background: var(--wp--preset--color--deep-blue);
	color: var(--wp--preset--color--paper);
}

:root :where(.blue-ink-hero-lightbox-dialog[open]) {
	display: grid;
	place-items: center;
}

:root :where(.blue-ink-hero-lightbox-dialog)::backdrop {
	background: var(--wp--preset--color--deep-blue);
}

:root :where(.blue-ink-hero-lightbox-image) {
	display: block;
	width: auto;
	max-width: calc(100vw - 2rem);
	height: auto;
	max-height: calc(100dvh - 2rem);
	object-fit: contain;
}

:root :where(.blue-ink-hero-lightbox-close) {
	position: fixed;
	top: max(1rem, env(safe-area-inset-top));
	right: max(1rem, env(safe-area-inset-right));
	z-index: 2;
	padding: 0.7rem 0.9rem;
	min-width: 44px;
	min-height: 44px;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--paper);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

:root :where(.blue-ink-hero-lightbox-close):focus-visible {
	outline: 2px solid var(--wp--preset--color--paper);
	outline-offset: 3px;
	box-shadow: none;
}

:root.blue-ink-hero-lightbox-open {
	overflow: hidden;
}

:root :where(.blue-ink-private-review-image img) {
	width: 100%;
	max-height: min(74vh, 54rem);
	object-fit: contain;
	background: var(--wp--preset--color--soft-paper);
}

:root :where(.blue-ink-review-facts) {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem 2.5rem;
	align-items: start;
	box-sizing: border-box;
	width: min(calc(100vw - 6rem), 84rem);
	max-width: 84rem !important;
	margin-inline: auto;
	padding-top: clamp(1.5rem, 3vw, 2.5rem);
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
	border-bottom: 1px solid var(--wp--preset--color--powder-blue);
	background:
		linear-gradient(90deg, rgba(152, 170, 206, 0.1), rgba(152, 170, 206, 0.025) 48%, transparent),
		var(--wp--preset--color--paper);
}

:root :where(.blue-ink-review-facts-heading) {
	width: min(calc(100vw - 6rem), 84rem);
	max-width: 84rem !important;
	margin: clamp(2.5rem, 5vw, 4.5rem) auto 0;
	text-align: left;
}

:root :where(.blue-ink-review-facts-heading .blue-ink-review-section-label) {
	margin: 0;
}

:root :where(.blue-ink-review-facts-heading > *) {
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

:root :where(.blue-ink-review-facts-title) {
	margin: 0.85rem 0 0;
	font-size: clamp(1.9rem, 2.75vw, 2.8rem);
	text-align: left;
}

:root :where(.blue-ink-review-facts)::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: var(--wp--preset--color--deep-blue);
	content: "";
}

:root :where(.blue-ink-review-facts > *) {
	align-self: start;
	min-width: 0;
	margin-block-start: 0 !important;
	padding-left: 1rem;
	border-left: 2px solid var(--wp--preset--color--powder-blue);
}

:root :where(.blue-ink-review-facts > * > *) {
	margin-block-start: 0;
}

:root :where(.blue-ink-review-facts .blue-ink-review-fact-label) {
	color: var(--wp--preset--color--ink-blue);
}

:root :where(.blue-ink-review-narrative) {
	margin-top: clamp(3.5rem, 7vw, 7.5rem);
	padding-top: clamp(3.5rem, 6.5vw, 6.5rem);
	padding-bottom: clamp(3.5rem, 6.5vw, 6.5rem);
	background: var(--wp--preset--color--deep-blue);
}

:root :where(.blue-ink-review-narrative-inner) {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.72fr);
	gap: clamp(2.5rem, 8vw, 8rem);
	align-items: start;
	box-sizing: border-box;
	width: min(calc(100vw - 6rem), 84rem);
	max-width: 84rem !important;
	margin-inline: auto;
}

:root :where(.blue-ink-review-narrative .blue-ink-review-section-label) {
	color: var(--wp--preset--color--gold-leaf);
}

:root :where(.blue-ink-review-narrative .blue-ink-review-section-label)::before {
	background: var(--wp--preset--color--paper);
}

:root :where(.blue-ink-review-deck) {
	margin-top: 0.9rem;
	color: var(--wp--preset--color--paper);
	font-family: var(--wp--preset--font-family--averia-serif-libre);
	font-size: clamp(1.5rem, 2.25vw, 2.3rem);
	font-style: italic;
	font-weight: 700;
	line-height: 1.18;
}

:root :where(.blue-ink-review-long-copy) {
	margin-top: clamp(1.1rem, 2.2vw, 2rem);
	color: var(--wp--preset--color--paper);
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	line-height: 1.75;
}

:root :where(.blue-ink-review-truth-note) {
	margin: 0;
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--powder-blue);
	color: var(--wp--preset--color--powder-blue);
	font-size: clamp(0.95rem, 1.05vw, 1.04rem);
	line-height: 1.68;
	text-align: left;
}

:root :where(.blue-ink-review-truth-note summary) {
	display: none;
}

:root :where(.blue-ink-review-truth-note:not([open]) > :not(summary)) {
	display: block;
}

:root :where(.blue-ink-review-truth-note p) {
	margin: 0;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

:root :where(.blue-ink-review-truth-note p + p) {
	margin-top: 1.15rem;
}

:root :where(.blue-ink-review-gallery-section) {
	box-sizing: border-box;
	width: min(calc(100vw - 6rem), 84rem);
	max-width: 84rem !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding-top: clamp(3.5rem, 7vw, 7rem);
	padding-bottom: clamp(3.5rem, 7vw, 7rem);
}

:root :where(.blue-ink-review-gallery-heading) {
	max-width: none;
	margin-top: 0.85rem;
	margin-bottom: 0.9rem;
	font-size: clamp(2.15rem, 3.35vw, 3.35rem);
	letter-spacing: -0.025em;
	line-height: 0.98;
	white-space: nowrap;
}

:root :where(.blue-ink-review-gallery-section > .blue-ink-review-section-label),
:root :where(.blue-ink-review-gallery-heading),
:root :where(.blue-ink-carousel-instruction) {
	box-sizing: border-box;
	width: 100%;
	max-width: 84rem !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

:root :where(.blue-ink-review-gallery) {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 4rem) !important;
	align-items: start;
}

/* Desktop maison sequence: four refined cards, all visible. */
.blue-ink-review-carousel {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.9rem, 1.6vw, 1.5rem) !important;
	align-items: start;
	width: min(calc(100vw - 6rem), 84rem);
	max-width: 84rem !important;
	margin-inline: auto;
}

.blue-ink-review-carousel > figure.wp-block-image {
	width: 100% !important;
	max-width: none !important;
	margin-block: 0 !important;
}

:root :where(.blue-ink-review-carousel img) {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

:root :where(.blue-ink-review-carousel figcaption) {
	margin-top: 0;
	padding: 0.85rem 0.15rem 0;
	border-top: 4px solid var(--wp--preset--color--powder-blue);
	color: var(--wp--preset--color--deep-blue);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-align: left;
	text-transform: uppercase;
}

:root :where(.blue-ink-sequence-lightbox-dialog) {
	box-sizing: border-box;
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: clamp(1rem, 3vw, 2.5rem);
	border: 0;
	background: var(--wp--preset--color--deep-blue);
	color: var(--wp--preset--color--paper);
}

:root :where(.blue-ink-sequence-lightbox-dialog[open]) {
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr) 3rem;
	gap: clamp(0.75rem, 2vw, 1.5rem);
	align-items: center;
}

:root :where(.blue-ink-sequence-lightbox-dialog)::backdrop {
	background: var(--wp--preset--color--deep-blue);
}

:root :where(.blue-ink-sequence-lightbox-image-wrap) {
	display: grid;
	justify-items: center;
	gap: 0.85rem;
}

:root :where(.blue-ink-sequence-lightbox-image) {
	display: block;
	width: auto;
	max-width: calc(100vw - 8rem);
	height: auto;
	max-height: calc(100dvh - 7rem);
	object-fit: contain;
}

:root :where(.blue-ink-sequence-lightbox-caption) {
	max-width: 48rem;
	margin: 0;
	color: var(--wp--preset--color--paper);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

:root :where(.blue-ink-sequence-lightbox-button) {
	min-width: 44px;
	min-height: 44px;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--paper);
	cursor: pointer;
	font-size: 1.45rem;
	font-weight: 400;
	line-height: 1;
	transition:
		font-weight 140ms ease,
		text-shadow 140ms ease,
		transform 140ms ease;
}

:root :where(.blue-ink-sequence-lightbox-button:hover),
:root :where(.blue-ink-sequence-lightbox-button:active) {
	font-weight: 800;
	text-shadow: 0 0 0 var(--wp--preset--color--paper);
	transform: scale(1.14);
}

:root :where(.blue-ink-sequence-lightbox-button):focus-visible {
	outline: 0;
	box-shadow: none;
	font-weight: 800;
	text-shadow: 0 0 0 var(--wp--preset--color--paper);
}

:root :where(.blue-ink-sequence-lightbox-close) {
	position: fixed;
	top: max(1rem, env(safe-area-inset-top));
	right: max(1rem, env(safe-area-inset-right));
	z-index: 2;
	padding: 0.7rem 0.9rem;
	min-width: 44px;
	min-height: 44px;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--paper);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

:root.blue-ink-sequence-lightbox-open {
	overflow: hidden;
}

:root :where(.blue-ink-carousel-instruction) {
	margin-top: 0;
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--ink-blue);
	font-family: var(--wp--preset--font-family--averia-serif-libre);
	font-size: 1rem;
	font-style: italic;
	font-weight: 700;
}

.blue-ink-review-carousel :where(a, button):focus-visible,
.blue-ink-review-detail summary:focus-visible {
	outline: 3px solid var(--wp--preset--color--deep-blue);
	outline-offset: 4px;
	box-shadow: 0 0 0 6px var(--wp--preset--color--gold-leaf);
}

:root :where(.blue-ink-inside-work) {
	box-sizing: border-box;
	width: min(calc(100vw - 6rem), 84rem);
	max-width: 84rem !important;
	margin-right: auto !important;
	margin-left: auto !important;
	margin-top: clamp(3.25rem, 6vw, 5.5rem);
	padding: clamp(1.5rem, 4vw, 3.5rem);
	border-top: 1px solid var(--wp--preset--color--gold-leaf);
	background: var(--wp--preset--color--soft-paper);
}

:root :where(.blue-ink-inside-work-grid) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.25rem;
	width: 100%;
	max-width: none;
}

:root :where(.blue-ink-inside-work-heading) {
	margin: 0.85rem 0 clamp(1.5rem, 3vw, 2.5rem);
	font-size: clamp(1.9rem, 2.75vw, 2.8rem);
}

:root :where(.blue-ink-inside-work > .blue-ink-review-section-label),
:root :where(.blue-ink-inside-work-heading),
:root :where(.blue-ink-inside-work-grid) {
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

:root :where(.blue-ink-review-detail) {
	margin-block: 0 !important;
	border-top: 1px solid var(--wp--preset--color--powder-blue);
	border-left: 4px solid transparent;
	background: var(--wp--preset--color--paper);
}

:root :where(.blue-ink-review-detail:last-of-type) {
	border-bottom: 0;
}

:root :where(.blue-ink-review-detail[open]) {
	border-left-color: var(--wp--preset--color--gold-leaf);
}

:root :where(.blue-ink-review-detail summary) {
	padding: 1.2rem 1.25rem;
	color: var(--wp--preset--color--deep-blue);
	cursor: pointer;
	font-family: var(--wp--preset--font-family--averia-serif-libre);
	font-size: clamp(1.2rem, 1.8vw, 1.5rem);
	font-weight: 700;
}

:root :where(.blue-ink-review-detail summary::marker) {
	color: var(--wp--preset--color--ink-blue);
}

:root :where(.blue-ink-review-detail p) {
	max-width: 72ch;
	margin: 0;
	padding: 0 1.25rem 1.4rem;
	color: var(--wp--preset--color--ink-blue);
	font-size: 1rem;
	line-height: 1.7;
}

:root :where(.blue-ink-commission-cta) {
	box-sizing: border-box;
	width: min(calc(100vw - 6rem), 84rem);
	max-width: 84rem !important;
	margin-right: auto !important;
	margin-left: auto !important;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
	gap: clamp(1.75rem, 4vw, 4rem);
	align-items: center;
	margin-top: clamp(3.5rem, 7vw, 6rem);
	padding: clamp(1.75rem, 4vw, 3.5rem);
	border-top: 0;
	border-bottom: 0;
	background: var(--wp--preset--color--powder-blue);
}

:root :where(.blue-ink-acquisition-cta) {
	box-sizing: border-box;
	width: min(calc(100vw - 6rem), 84rem);
	max-width: 84rem !important;
	margin-right: auto !important;
	margin-left: auto !important;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
	gap: clamp(1.75rem, 4vw, 4rem);
	align-items: center;
	margin-top: clamp(3.5rem, 7vw, 6rem);
	padding: clamp(1.75rem, 4vw, 3.5rem);
	border-top: 1px solid var(--wp--preset--color--gold-leaf);
	border-bottom: 1px solid var(--wp--preset--color--powder-blue);
	background: var(--wp--preset--color--paper);
}

:root :where(.blue-ink-acquisition-heading) {
	max-width: 15ch;
	margin: 0.85rem 0 0 !important;
	font-size: clamp(2rem, 3.1vw, 3.1rem);
}

:root :where(.blue-ink-acquisition-copy) {
	margin: 0;
	color: var(--wp--preset--color--ink-blue);
	font-size: 1rem;
}

:root :where(.blue-ink-acquisition-cta > .wp-block-group),
:root :where(.blue-ink-commission-cta > .wp-block-group) {
	min-width: 0;
}

:root :where(.blue-ink-acquisition-status) {
	display: inline-block;
	margin-top: 1.25rem;
}

:root :where(.blue-ink-commission-heading) {
	max-width: 15ch;
	margin: 0.85rem 0 0 !important;
	font-size: clamp(2rem, 3.1vw, 3.1rem);
}

:root :where(.blue-ink-commission-copy) {
	margin-top: 0;
	color: var(--wp--preset--color--deep-blue);
	font-size: 1rem;
}

:root :where(.blue-ink-commission-cta .blue-ink-review-section-label) {
	color: var(--wp--preset--color--deep-blue);
}

:root :where(.blue-ink-acquisition-cta > .wp-block-group:first-child > *),
:root :where(.blue-ink-commission-cta > .wp-block-group:first-child > *) {
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

/* Review stabiliser: Gutenberg constrained children must not create zigzag axes. */
:root :where(.blue-ink-private-review-heading),
:root :where(.blue-ink-private-review-heading .blue-ink-hero-identity),
:root :where(.blue-ink-acquisition-cta > .wp-block-group),
:root :where(.blue-ink-commission-cta > .wp-block-group) {
	justify-self: stretch;
	text-align: left;
}

:root :where(.blue-ink-private-review-heading :is(p, h1, h2, h3, .wp-block-buttons)),
:root :where(.blue-ink-acquisition-cta :is(p, h1, h2, h3, .wp-block-buttons)),
:root :where(.blue-ink-commission-cta :is(p, h1, h2, h3, .wp-block-buttons)) {
	max-width: none !important;
}

:root :where(.blue-ink-commission-button) {
	margin-top: 1.25rem;
}

:root :where(.blue-ink-commission-button .wp-block-button__link) {
}

:root :where(.blue-ink-mobile-excerpt) {
	display: none;
}

:root :where(.blue-ink-review-gallery figure:nth-child(2)) {
	margin-top: clamp(2rem, 7vw, 7rem);
}

:root :where(.blue-ink-review-gallery > figure.wp-block-image) {
	width: 100% !important;
	max-width: none !important;
}

:root :where(.blue-ink-review-gallery img) {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

:root :where(.blue-ink-review-gallery figcaption) {
	margin-top: 0.85rem;
	color: var(--wp--preset--color--ink-blue);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-align: left;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	:root :where(.blue-ink-artwork-intro),
	:root :where(.blue-ink-private-review-hero),
	:root :where(.blue-ink-review-narrative-inner) {
		grid-template-columns: minmax(0, 1fr);
	}

	:root :where(.blue-ink-private-review-hero) {
		min-height: 0;
	}

	:root :where(.blue-ink-private-review-heading) {
		order: 1;
		max-width: 36rem;
	}

	:root :where(.blue-ink-private-review-image) {
		order: 2;
		width: min(100%, 34rem);
	}

	:root :where(.blue-ink-mobile-hero-actions) {
		order: 3;
	}

	:root :where(.blue-ink-review-truth-note) {
		max-width: 34rem;
	}

	:root :where(.blue-ink-review-truth-note summary) {
		display: block;
		padding: 0.85rem 0;
		color: var(--wp--preset--color--paper);
		cursor: pointer;
		font-family: var(--wp--preset--font-family--averia-serif-libre);
		font-size: 1rem;
		font-style: italic;
		font-weight: 700;
	}

	:root :where(.blue-ink-review-truth-note:not([open]) > :not(summary)) {
		display: none;
	}

	:root :where(.blue-ink-commission-cta) {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.5rem;
	}

	:root :where(.blue-ink-acquisition-cta) {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.5rem;
	}

	.blue-ink-review-carousel {
		display: flex !important;
		flex-wrap: nowrap !important;
		width: 100%;
		max-width: none !important;
		gap: 1rem !important;
		padding-bottom: 1.25rem;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scroll-padding-inline: 1px;
		scroll-snap-type: inline mandatory;
		scrollbar-color: var(--wp--preset--color--gold-leaf) var(--wp--preset--color--soft-paper);
	}

	.blue-ink-review-carousel > figure.wp-block-image {
		width: auto !important;
		max-width: 78vw !important;
		flex: 0 0 78vw !important;
		scroll-snap-align: start;
	}

}

@media (min-width: 901px) and (max-height: 760px) {
	:root :where(.blue-ink-private-review-hero) {
		align-items: start;
		min-height: 0;
		padding-top: 1.75rem;
		padding-bottom: 2rem;
	}

	:root :where(.blue-ink-review-marker) {
		margin-bottom: 1.25rem;
	}

	:root :where(.blue-ink-private-review-title) {
		font-size: clamp(2.8rem, 2.85vw + 0.55rem, 4.05rem) !important;
	}

	:root :where(.blue-ink-private-review-image img) {
		max-height: min(70vh, 40rem);
	}
}

@media (max-width: 600px) {
	body.page-template-page-private-review {
		padding-top: var(--blue-ink-sticky-header-height, 8.25rem);
	}

	:root :where(.blue-ink-site-footer) {
		margin-top: 2.25rem !important;
		padding-top: 2.25rem !important;
		padding-bottom: 2rem !important;
	}

	:root :where(.blue-ink-footer-identity) {
		font-size: clamp(0.78rem, 3.45vw, 0.9rem);
		white-space: nowrap;
	}

	:root :where(.blue-ink-footer-note) {
		font-size: clamp(0.69rem, 3vw, 0.82rem);
		white-space: nowrap;
	}

	:root :where(.blue-ink-footer-copyright) {
		font-size: clamp(0.67rem, 2.8vw, 0.76rem);
		letter-spacing: 0.025em;
		margin-top: 1rem;
		padding-top: 0.75rem;
		white-space: nowrap;
	}

	:root :where(.blue-ink-footer-copyright--desktop) {
		display: none;
	}

	:root :where(.blue-ink-footer-copyright--mobile) {
		display: inline;
	}

	:root :where(.blue-ink-footer-navigation .wp-block-navigation__container) {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 0;
	}

	:root :where(.blue-ink-footer-navigation) {
		margin-top: 1rem;
	}

	:root :where(.blue-ink-footer-navigation .wp-block-navigation-item) {
		min-width: 0;
	}

	:root :where(.blue-ink-footer-navigation a) {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		font-size: clamp(0.52rem, 2.15vw, 0.66rem);
		letter-spacing: 0.05em;
		white-space: nowrap;
	}

	:root :where(.blue-ink-site-header-shell) {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 30;
		background: var(--wp--preset--color--paper);
	}

	:root :where(.blue-ink-site-header) {
		position: relative;
		flex-wrap: wrap !important;
		gap: 0.8rem;
		padding-top: 0.95rem !important;
		padding-bottom: 0.85rem !important;
		box-shadow: 0 0.7rem 1.4rem rgba(11, 46, 116, 0);
		transition:
			padding 180ms ease,
			box-shadow 180ms ease;
	}

	:root :where(.blue-ink-site-header .blue-ink-brand-signature img) {
		width: 174px !important;
		transition: width 180ms ease;
	}

	body.blue-ink-header-is-compact :where(.blue-ink-site-header) {
		padding-top: 0.55rem !important;
		padding-bottom: 0.55rem !important;
		box-shadow: 0 0.7rem 1.4rem rgba(11, 46, 116, 0.08);
	}

	body.blue-ink-header-is-compact :where(.blue-ink-site-header .blue-ink-brand-signature img) {
		width: 132px !important;
	}

	:root :where(.blue-ink-site-header .blue-ink-review-navigation) {
		width: 100%;
		justify-content: flex-start;
	}

	.blue-ink-site-header .blue-ink-review-navigation a {
		font-size: 0.66rem;
		letter-spacing: 0.08em;
	}

	:root :where(.blue-ink-site-header)::after {
		left: 0;
		width: var(--blue-ink-scroll-progress, 0%);
		height: 2px;
		background: linear-gradient(
			90deg,
			var(--wp--preset--color--gold-leaf),
			var(--wp--preset--color--gold-leaf)
		);
		transition: width 80ms linear;
	}

	:root :where(.blue-ink-artwork-shell) {
		padding-top: 2.5rem;
	}

	:root :where(.blue-ink-artwork-title) {
		max-width: 15ch;
		font-size: 2.35rem !important;
		line-height: 1 !important;
	}

	:root :where(.blue-ink-artwork-facts) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 1rem 1.25rem;
		padding: 1rem;
	}

	:root :where(.blue-ink-artwork-fact--id),
	:root :where(.blue-ink-artwork-fact--technique) {
		grid-column: 1 / -1;
	}

	:root :where(.blue-ink-review-marker) {
		margin-bottom: 1.25rem;
	}

	:root :where(.blue-ink-private-review-hero) {
		gap: 1.5rem;
		padding-top: 2.25rem;
		padding-bottom: 1.75rem;
	}

	:root :where(.blue-ink-private-review-heading) {
		order: 1;
		padding-left: 0;
	}

	:root :where(.blue-ink-private-review-image) {
		order: 2;
	}

	:root :where(.blue-ink-mobile-hero-actions) {
		order: 3;
	}

	:root :where(.blue-ink-private-review-title) {
		max-width: 10ch;
		margin-top: 0.9rem;
		margin-left: 0;
		font-size: 2.4rem !important;
		line-height: 0.96 !important;
	}

	:root :where(.blue-ink-private-review-heading > .blue-ink-review-marker),
	:root :where(.blue-ink-hero-identity .blue-ink-review-series) {
		display: flex;
		gap: 0.65rem;
		align-items: center;
		padding-left: 0;
	}

	:root :where(.blue-ink-private-review-heading > .blue-ink-review-marker)::before,
	:root :where(.blue-ink-hero-identity .blue-ink-review-series)::before {
		position: static;
		transform: none;
	}

	:root :where(.blue-ink-private-review-heading > .blue-ink-review-marker)::before {
		width: 2.5rem;
		background: var(--wp--preset--color--gold-leaf);
	}

	:root :where(.blue-ink-hero-identity .blue-ink-review-series)::before {
		width: 2.5rem;
		background: var(--wp--preset--color--powder-blue);
	}

	:root :where(.blue-ink-private-review-heading .blue-ink-private-review-quote-label),
	:root :where(.blue-ink-private-review-heading .blue-ink-private-review-quote),
	:root :where(.blue-ink-private-review-heading .blue-ink-private-review-byline),
	:root :where(.blue-ink-private-review-heading .blue-ink-private-review-studio),
	:root :where(.blue-ink-private-review-heading .blue-ink-hero-actions) {
		display: none !important;
	}

	:root :where(.blue-ink-mobile-excerpt) {
		display: block;
		width: 100%;
		margin-top: 0.6rem;
	}

	:root :where(.blue-ink-mobile-excerpt summary) {
		display: flex;
		gap: 0.65rem;
		align-items: center;
		color: var(--wp--preset--color--powder-blue);
		cursor: pointer;
		font-size: 0.68rem;
		font-weight: 700;
		letter-spacing: 0.12em;
		line-height: 1.3;
		text-transform: uppercase;
	}

	:root :where(.blue-ink-mobile-excerpt summary)::before {
		width: 2.5rem;
		height: 2px;
		flex: 0 0 auto;
		background: var(--wp--preset--color--powder-blue);
		content: "";
	}

	:root :where(.blue-ink-mobile-excerpt .blue-ink-private-review-quote) {
		display: block !important;
		max-width: 34ch;
		margin-top: 0.55rem;
		font-size: 1.05rem;
	}

	:root :where(.blue-ink-mobile-excerpt .blue-ink-private-review-quote--secondary) {
		margin-top: 0.75rem;
		padding-top: 0.75rem;
	}

	:root :where(.blue-ink-mobile-hero-actions) {
		display: flex !important;
		justify-content: center;
		width: 100%;
		margin-top: 0;
	}

	:root :where(.blue-ink-private-review-image) {
		padding: 0.5rem;
	}

	:root :where(.blue-ink-private-review-image img) {
		max-height: none;
	}

	:root :where(.blue-ink-review-facts),
	:root :where(.blue-ink-review-gallery) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:root :where(.blue-ink-review-facts) {
		width: 100%;
		display: grid !important;
		grid-auto-columns: auto;
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: none;
		gap: 1.25rem 1rem;
		overflow-x: visible;
		overscroll-behavior-x: auto;
		padding: 1.25rem 1rem;
		scroll-padding-left: 0;
		scroll-snap-type: none;
		scrollbar-width: auto;
	}

	:root :where(.blue-ink-review-facts)::before {
		background: var(--wp--preset--color--deep-blue);
	}

	:root :where(.blue-ink-review-facts > *) {
		scroll-snap-align: none;
	}

	:root :where(.blue-ink-review-facts-heading),
	:root :where(.blue-ink-review-gallery-section),
	:root :where(.blue-ink-review-gallery-section > .blue-ink-review-section-label),
	:root :where(.blue-ink-review-gallery-heading),
	:root :where(.blue-ink-carousel-instruction),
	:root :where(.blue-ink-inside-work),
	:root :where(.blue-ink-acquisition-cta),
	:root :where(.blue-ink-commission-cta) {
		width: 100%;
	}

	:root :where(.blue-ink-acquisition-cta > .wp-block-group),
	:root :where(.blue-ink-commission-cta > .wp-block-group) {
		margin-top: 0 !important;
	}

	:root :where(.blue-ink-review-gallery-heading) {
		white-space: normal;
	}

	:root :where(.blue-ink-review-fact--series),
	:root :where(.blue-ink-review-fact--presentation),
	:root :where(.blue-ink-review-fact--documentation) {
		display: block !important;
	}

	:root :where(.blue-ink-review-gallery) {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	:root :where(.blue-ink-review-gallery figure:nth-child(2)) {
		margin-top: 1.5rem;
	}

	:root :where(.blue-ink-inside-work) {
		padding: 1.25rem 1rem;
	}

	:root :where(.blue-ink-acquisition-cta),
	:root :where(.blue-ink-commission-cta) {
		gap: 0.35rem;
		padding-top: 1.65rem;
		padding-bottom: 1.65rem;
	}

	:root :where(.blue-ink-acquisition-heading),
	:root :where(.blue-ink-commission-heading) {
		margin-top: 0.35rem !important;
		margin-bottom: 0 !important;
	}

	:root :where(.blue-ink-acquisition-copy),
	:root :where(.blue-ink-commission-copy) {
		margin-top: 0.2rem !important;
	}

	:root :where(.blue-ink-review-deck) {
		font-size: 1.65rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
	}
}

/* Letter to Time — shared desktop studio sequence: Daniel Roth master rhythm */
@media (min-width: 761px) {
  body.page-id-1368 .blue-ink-review-gallery,
  body.page-id-1411 .db-gallery,
  body.page-id-1424 .ltt .grid,
  body.page-id-1437 .ltt-case__grid,
  body.page-id-1439 .ltt-case__grid,
  body.page-id-1441 .ltt .grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:1.5rem !important;
    max-width:1120px !important;
    margin:2rem auto 0 !important;
    align-items:start !important;
  }
  body.page-id-1368 .blue-ink-review-gallery figure:first-child,
  body.page-id-1411 .db-gallery figure:first-child,
  body.page-id-1424 .ltt .grid figure:first-child,
  body.page-id-1437 .ltt-case__grid figure:first-child,
  body.page-id-1439 .ltt-case__grid figure:first-child,
  body.page-id-1441 .ltt .grid figure:first-child {grid-column:1 / -1 !important;}
  body.page-id-1368 .blue-ink-review-gallery figure img,
  body.page-id-1411 .db-gallery figure img,
  body.page-id-1424 .ltt .grid figure img,
  body.page-id-1437 .ltt-case__grid figure img,
  body.page-id-1439 .ltt-case__grid figure img,
  body.page-id-1441 .ltt .grid figure img {width:100% !important;height:430px !important;object-fit:cover !important;display:block !important;}
  body.page-id-1368 .blue-ink-review-gallery figure:first-child img,
  body.page-id-1411 .db-gallery figure:first-child img,
  body.page-id-1424 .ltt .grid figure:first-child img,
  body.page-id-1437 .ltt-case__grid figure:first-child img,
  body.page-id-1439 .ltt-case__grid figure:first-child img,
  body.page-id-1441 .ltt .grid figure:first-child img {height:540px !important;}
  body.page-id-1368 .blue-ink-review-gallery figcaption,
  body.page-id-1411 .db-gallery figcaption,
  body.page-id-1424 .ltt .grid figcaption,
  body.page-id-1437 .ltt-case__grid figcaption,
  body.page-id-1439 .ltt-case__grid figcaption,
  body.page-id-1441 .ltt .grid figcaption {min-height:4.5rem !important;padding:.8rem .1rem 1.1rem !important;}
}

/* Letter to Time — shared desktop studio sequence: Daniel Roth master rhythm */
@media (min-width: 761px) {
  body.page-id-1368 .blue-ink-review-gallery,
  body.page-id-1411 .db-gallery,
  body.page-id-1424 .ltt .grid,
  body.page-id-1437 .ltt-case__grid,
  body.page-id-1439 .ltt-case__grid,
  body.page-id-1441 .ltt .grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:1.5rem !important;
    max-width:1120px !important;
    margin:2rem auto 0 !important;
    align-items:start !important;
  }
  body.page-id-1368 .blue-ink-review-gallery figure:first-child,
  body.page-id-1411 .db-gallery figure:first-child,
  body.page-id-1424 .ltt .grid figure:first-child,
  body.page-id-1437 .ltt-case__grid figure:first-child,
  body.page-id-1439 .ltt-case__grid figure:first-child,
  body.page-id-1441 .ltt .grid figure:first-child {grid-column:1 / -1 !important;}
  body.page-id-1368 .blue-ink-review-gallery figure img,
  body.page-id-1411 .db-gallery figure img,
  body.page-id-1424 .ltt .grid figure img,
  body.page-id-1437 .ltt-case__grid figure img,
  body.page-id-1439 .ltt-case__grid figure img,
  body.page-id-1441 .ltt .grid figure img {width:100% !important;height:430px !important;object-fit:cover !important;display:block !important;}
  body.page-id-1368 .blue-ink-review-gallery figure:first-child img,
  body.page-id-1411 .db-gallery figure:first-child img,
  body.page-id-1424 .ltt .grid figure:first-child img,
  body.page-id-1437 .ltt-case__grid figure:first-child img,
  body.page-id-1439 .ltt-case__grid figure:first-child img,
  body.page-id-1441 .ltt .grid figure:first-child img {height:540px !important;}
  body.page-id-1368 .blue-ink-review-gallery figcaption,
  body.page-id-1411 .db-gallery figcaption,
  body.page-id-1424 .ltt .grid figcaption,
  body.page-id-1437 .ltt-case__grid figcaption,
  body.page-id-1439 .ltt-case__grid figcaption,
  body.page-id-1441 .ltt .grid figcaption {min-height:4.5rem !important;padding:.8rem .1rem 1.1rem !important;}
}

/* De Bethune acquisition panel — Daniel Roth contrast contract */
body.page-id-1411 .db-acquire h2,body.page-id-1411 .db-acquire .db-wrap > p:not(.db-label){color:#fff !important}body.page-id-1411 .db-acquire > .db-wrap > a,body.page-id-1411 #commission-brief a{display:inline-block !important;background:#c69147 !important;color:#0b2e74 !important;border:0 !important;padding:1.05rem 1.65rem !important;font:700 .76rem Arial,sans-serif !important;letter-spacing:.12em !important;text-transform:uppercase !important;text-decoration:none !important}

/* Letter to Time — shared acquisition controls */
body.page-id-1368 #acquire a,body.page-id-1368 #commission-brief a,body.page-id-1411 #acquire a,body.page-id-1411 #commission-brief a,body.page-id-1424 #acquire a,body.page-id-1424 #commission-brief a,body.page-id-1437 #acquire a,body.page-id-1437 #commission-brief a,body.page-id-1439 #acquire a,body.page-id-1439 #commission-brief a,body.page-id-1441 #acquire a,body.page-id-1441 #commission-brief a{display:inline-block !important;background:#c69147 !important;color:#0b2e74 !important;border:0!important;padding:1.05rem 1.65rem!important;font:700 .76rem Arial,sans-serif!important;letter-spacing:.12em!important;text-transform:uppercase!important;text-decoration:none!important}body.page-id-1368 #acquire a .emoji,body.page-id-1437 #acquire a .emoji,body.page-id-1439 #acquire a .emoji{filter:none!important}

/* Letter to Time — Daniel Roth master studio sequence (desktop) */
@media (min-width: 761px) {
  .blue-ink-review-carousel{display:flex !important;gap:1.5rem !important;overflow-x:auto !important;overflow-y:hidden !important;scroll-snap-type:x mandatory !important;scrollbar-color:#c69147 transparent;scrollbar-width:thin;padding:0 0 1rem !important;margin:2rem 0 0 !important;max-width:none !important;align-items:stretch !important;}
  .blue-ink-review-carousel figure,.blue-ink-review-carousel figure:first-child{flex:0 0 calc((100% - 4.5rem)/4) !important;grid-column:auto !important;position:relative !important;aspect-ratio:4/5 !important;overflow:hidden !important;margin:0 !important;scroll-snap-align:start !important;background:#0b2e74 !important;}
  .blue-ink-review-carousel figure img,.blue-ink-review-carousel figure:first-child img{display:block !important;width:100% !important;height:100% !important;max-height:none !important;object-fit:cover !important;}
  .blue-ink-review-carousel figure figcaption{position:absolute !important;z-index:2 !important;right:0 !important;bottom:0 !important;left:0 !important;min-height:0 !important;margin:0 !important;padding:3.75rem 1rem 1.1rem !important;background:linear-gradient(0deg,rgba(6,25,67,.88) 0%,rgba(6,25,67,.48) 52%,transparent 100%) !important;color:#fff !important;font:700 .74rem/1.45 Arial,sans-serif !important;letter-spacing:.11em !important;text-transform:uppercase !important;text-align:center !important;text-shadow:0 1px 2px rgba(0,0,0,.35) !important;}
  .blue-ink-review-carousel figure figcaption small{display:block !important;margin-top:.35rem !important;color:#fff !important;font:500 .62rem/1.35 Arial,sans-serif !important;letter-spacing:.04em !important;text-transform:none !important;}
}


/* Letter to Time: Daniel Roth master mobile contract for all derivative cases. */
@media (max-width:760px){
  body.page-id-1368 .blue-ink-review-carousel,body.page-id-1411 .db-gallery,body.page-id-1424 .ltt .grid,body.page-id-1437 .ltt-case__grid,body.page-id-1439 .ltt-case__grid,body.page-id-1441 .ltt .grid{display:flex!important;width:calc(100vw - 2rem)!important;max-width:none!important;margin:1.75rem auto 0!important;padding:0 0 1rem!important;gap:1rem!important;overflow-x:auto!important;overflow-y:hidden!important;align-items:stretch!important;scroll-snap-type:x mandatory!important}
  body.page-id-1368 .blue-ink-review-carousel figure,body.page-id-1411 .db-gallery figure,body.page-id-1424 .ltt .grid figure,body.page-id-1437 .ltt-case__grid figure,body.page-id-1439 .ltt-case__grid figure,body.page-id-1441 .ltt .grid figure{display:block!important;flex:0 0 min(78vw,20rem)!important;width:min(78vw,20rem)!important;min-width:0!important;max-width:none!important;aspect-ratio:4/5!important;position:relative!important;overflow:hidden!important;margin:0!important;scroll-snap-align:start!important;background:#0b2e74!important}
  body.page-id-1368 .blue-ink-review-carousel figure img,body.page-id-1411 .db-gallery figure img,body.page-id-1424 .ltt .grid figure img,body.page-id-1437 .ltt-case__grid figure img,body.page-id-1439 .ltt-case__grid figure img,body.page-id-1441 .ltt .grid figure img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important}
  body.page-id-1368 .blue-ink-review-carousel figure figcaption,body.page-id-1411 .db-gallery figure figcaption,body.page-id-1424 .ltt .grid figure figcaption,body.page-id-1437 .ltt-case__grid figure figcaption,body.page-id-1439 .ltt-case__grid figure figcaption,body.page-id-1441 .ltt .grid figure figcaption{position:absolute!important;right:0!important;bottom:0!important;left:0!important;z-index:2!important;margin:0!important;padding:3.5rem .85rem .9rem!important;background:linear-gradient(0deg,rgba(6,25,67,.9) 0%,rgba(6,25,67,.48) 52%,transparent 100%)!important;color:#fff!important;font:700 .7rem/1.35 Arial,sans-serif!important;letter-spacing:.1em!important;text-transform:uppercase!important;text-align:center!important}
  body.page-id-1368 #story,body.page-id-1411 #story,body.page-id-1424 #story,body.page-id-1437 #story,body.page-id-1439 #story,body.page-id-1441 #story{min-height:0!important;padding:3rem 1.5rem!important}
  body.page-id-1368 #story h2,body.page-id-1411 #story h2,body.page-id-1424 #story h2,body.page-id-1437 #story h2,body.page-id-1439 #story h2,body.page-id-1441 #story h2,body.page-id-1368 #story p:not(.blue-ink-review-section-label),body.page-id-1411 #story p:not(.blue-ink-review-section-label),body.page-id-1424 #story p:not(.blue-ink-review-section-label),body.page-id-1437 #story p:not(.blue-ink-review-section-label),body.page-id-1439 #story p:not(.blue-ink-review-section-label),body.page-id-1441 #story p:not(.blue-ink-review-section-label){color:#fff!important;opacity:1!important;visibility:visible!important}
}


/* Cache-independent desktop counterpart of the Daniel Roth sequence. */
@media (min-width:761px){
  body.page-id-1368 .blue-ink-review-carousel,body.page-id-1411 .db-gallery,body.page-id-1424 .ltt .grid,body.page-id-1437 .ltt-case__grid,body.page-id-1439 .ltt-case__grid,body.page-id-1441 .ltt .grid{display:flex!important;width:min(calc(100vw - 6rem),1680px)!important;max-width:none!important;margin:2rem auto 0!important;padding:0 0 1rem!important;gap:1.5rem!important;overflow-x:auto!important;overflow-y:hidden!important;align-items:stretch!important;scroll-snap-type:x mandatory!important}
  body.page-id-1368 .blue-ink-review-carousel > figure,body.page-id-1411 .db-gallery > figure,body.page-id-1424 .ltt .grid > figure,body.page-id-1437 .ltt-case__grid > figure,body.page-id-1439 .ltt-case__grid > figure,body.page-id-1441 .ltt .grid > figure{display:block!important;flex:0 0 calc((100% - 4.5rem)/4)!important;width:calc((100% - 4.5rem)/4)!important;min-width:0!important;max-width:calc((100% - 4.5rem)/4)!important;aspect-ratio:4/5!important;position:relative!important;overflow:hidden!important;margin:0!important;scroll-snap-align:start!important;background:#0b2e74!important}
  body.page-id-1368 .blue-ink-review-carousel > figure img,body.page-id-1411 .db-gallery > figure img,body.page-id-1424 .ltt .grid > figure img,body.page-id-1437 .ltt-case__grid > figure img,body.page-id-1439 .ltt-case__grid > figure img,body.page-id-1441 .ltt .grid > figure img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important}
  body.page-id-1368 .blue-ink-review-carousel > figure figcaption,body.page-id-1411 .db-gallery > figure figcaption,body.page-id-1424 .ltt .grid > figure figcaption,body.page-id-1437 .ltt-case__grid > figure figcaption,body.page-id-1439 .ltt-case__grid > figure figcaption,body.page-id-1441 .ltt .grid > figure figcaption{position:absolute!important;right:0!important;bottom:0!important;left:0!important;z-index:2!important;margin:0!important;padding:3.75rem 1rem 1.1rem!important;background:linear-gradient(0deg,rgba(6,25,67,.88) 0%,rgba(6,25,67,.48) 52%,transparent 100%)!important;color:#fff!important;font:700 .74rem/1.45 Arial,sans-serif!important;letter-spacing:.11em!important;text-transform:uppercase!important;text-align:center!important}
}


/* maison-legacy-portfolio-mobile-media-v1: verified containment for classic portfolio template images. */
body.single-rara-portfolio .post-thumbnail,
body.single-rara-portfolio .entry-content,
body.single-rara-portfolio .portfolio-item,
body.single-rara-portfolio .portfolio-item-inner { min-width:0; max-width:100%; }
body.single-rara-portfolio .post-thumbnail>a,
body.single-rara-portfolio .portfolio-item-inner>a { display:block; max-width:100%; }
body.single-rara-portfolio .post-thumbnail img,
body.single-rara-portfolio .entry-content img,
body.single-rara-portfolio .portfolio-item-inner img { display:block; max-width:100%!important; width:auto!important; height:auto!important; }
