/* PROOF Manager — typography for long text and small-screen safety. */
.proof-legal .wp-block-heading:not(.proof-legal__title) { margin-top: var(--wp--preset--spacing--40, 2.5rem); margin-bottom: .6rem; }
.proof-legal h2.wp-block-heading:not(.proof-legal__title) { font-size: var(--wp--preset--font-size--x-large, 1.75rem); letter-spacing: -.015em; line-height: 1.2; }
.proof-legal h3.wp-block-heading { font-size: var(--wp--preset--font-size--large, 1.3rem); line-height: 1.3; }
.proof-legal p, .proof-legal li { color: var(--wp--preset--color--ink-soft, #33363b); }
.proof-legal p { margin-top: 0; margin-bottom: 1rem; }
.proof-legal .wp-block-list { margin: 0 0 1.25rem; padding-left: 1.25em; }
.proof-legal .wp-block-list li { margin: .35rem 0; padding-left: .2em; }
.proof-legal .wp-block-list li::marker { color: var(--wp--preset--color--muted, #696c72); }
.proof-legal a { text-underline-offset: .18em; }
.proof-legal > [data-reveal] { --d: 0ms !important; }
/* Very small phones: keep long words inside the screen. */
.proof-display, .proof-cta__title, .proof-legal__title { overflow-wrap: break-word; }
@media (max-width: 400px) {
	.proof-display, .proof-cta__title { font-size: clamp(2.35rem, 12.2vw, 3.25rem) !important; }
}

/* =====================================================================
   Engravings — composition
   ===================================================================== */

.proof-art {
	position: relative;
	margin: 0 auto;
	width: 100%;
	aspect-ratio: var(--ar);
	color: var(--wp--preset--color--contrast, #111214);
	transform: translate3d(0, var(--proof-drift, 0px), 0);
	will-change: transform;
}
.proof-art img { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s ease; }
.proof-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* While the GPU print is preparing, keep the still image back (it returns on its own if anything fails). */
.proofm-gl .proof-art img { opacity: 0; animation: proofm-still 0s 4.5s forwards; }
.proofm-gl .proof-art.is-live img { animation: none; opacity: 0; }
@keyframes proofm-still { to { opacity: 1; } }
/* Still image: soften the edges where a drawing runs off the plate. */
.proof-art--hand img { -webkit-mask-image: linear-gradient(#000 86%, transparent); mask-image: linear-gradient(#000 86%, transparent); }
.proof-art--exam img { -webkit-mask-image: radial-gradient(120% 110% at 70% 45%, #000 62%, transparent 100%); mask-image: radial-gradient(120% 110% at 70% 45%, #000 62%, transparent 100%); }
.proof-art--smile img { -webkit-mask-image: linear-gradient(transparent, #000 12%); mask-image: linear-gradient(transparent, #000 12%); }
.proof-art-slot { margin: 0; }
.proof-art-slot > p:empty { display: none; }

/* ---- Opening section with the illustration beside the text ---- */
.proof-hero--side .proof-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "title" "art" "body";
	row-gap: clamp(1.75rem, 5vw, 2.5rem);
}
.proof-hero--side .proof-display { grid-area: title; font-size: clamp(2.6rem, 11vw, 4.2rem); max-width: 12ch; }
.proof-hero--side .proof-hero__body { grid-area: body; margin: 0; max-width: 36rem; }
.proof-hero--side .proof-hero__art { grid-area: art; }
.proof-hero--side .proof-art { width: min(100%, calc(44svh * var(--ar))); }

@media (min-width: 900px) {
	.proof-hero--side { justify-content: center; }
	.proof-hero--side .proof-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		grid-template-areas: "title art" "body art";
		grid-template-rows: auto 1fr;
		column-gap: clamp(2.5rem, 5vw, 6rem);
		row-gap: var(--wp--preset--spacing--50, 3rem);
		align-items: end;
	}
	.proof-hero--side .proof-display { font-size: clamp(3.4rem, 6.1vw, 7.25rem); align-self: end; }
	.proof-hero--side .proof-hero__body { align-self: start; margin: 0; }
	.proof-hero--side .proof-hero__art { align-self: center; }
	.proof-hero--side .proof-art { width: min(100%, calc(min(70svh, 760px) * var(--ar))); }
}

/* ---- Opening section with a wide illustration under the text ---- */
.proof-hero--band .proof-hero__art {
	margin-top: var(--wp--preset--spacing--50, 3rem);
}
.proof-hero--band .proof-art { width: min(100%, calc(32svh * var(--ar))); margin-left: 0; }
@media (min-width: 900px) {
	.proof-hero--band .proof-art { width: min(92%, calc(30svh * var(--ar))); }
}

/* ---- Section split: title + illustration on one side, content on the other ---- */
.proof-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "head" "art" "items" "foot";
	row-gap: var(--wp--preset--spacing--40, 2.5rem);
}
.proof-split > .wp-block-heading { grid-area: head; margin: 0; }
.proof-split > .proof-split__art { grid-area: art; }
.proof-split > .proof-grid { grid-area: items; margin: 0; }
.proof-split > .proof-split__foot { grid-area: foot; margin: 0; }
.proof-split .proof-art { width: min(100%, calc(52svh * var(--ar))); }
.proof-split--plain { grid-template-areas: "head" "items" "foot"; }

@media (min-width: 900px) {
	.proof-split:not(.proof-split--plain) {
		grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
		grid-template-areas: "head items" "art items" "art foot";
		grid-template-rows: auto 1fr auto;
		column-gap: clamp(3rem, 7vw, 8rem);
		align-items: start;
	}
	.proof-split--reverse:not(.proof-split--plain) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas: "head art" "items art" "foot art";
	}
	.proof-split:not(.proof-split--plain) .proof-split__art { position: sticky; top: calc(var(--proof-header-h, 4.6rem) + 2rem); }
	.proof-split:not(.proof-split--plain) .proof-art { width: min(100%, calc(min(68svh, 720px) * var(--ar))); margin-left: 0; }
	.proof-split--reverse .proof-art { margin-left: auto !important; margin-right: 0 !important; }
}

/* Items listed as rows inside a split */
.proof-grid.proof-grid--rows { grid-template-columns: minmax(0, 1fr) !important; row-gap: clamp(1.75rem, 3vw, 2.5rem); }
@media (min-width: 1100px) {
	.proof-split .proof-grid--rows:not(.proof-formats) .proof-item { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 2rem; }
	.proof-split .proof-grid--rows:not(.proof-formats) .proof-item p { max-width: none; }
}
.proof-formats.proof-grid--rows .proof-item h3 { margin-bottom: 1.5rem; }

/* ---- Wide band (About: mission and vision) ---- */
.proof-band { margin-bottom: var(--wp--preset--spacing--50, 3rem); }
.proof-band .proof-art { width: min(100%, 980px, calc(56svh * var(--ar))); }
