/* ==========================================================================
   Studio product page — everything is scoped under .mcs so the site's own
   header and footer are untouched. Source: Claude Design "Product Page" +
   README tokens. Sharp corners throughout; circles only where the design has them.
   ========================================================================== */

/* ---- Tokens (README) ---------------------------------------------------- */
.mcs,
.mcs[data-theme="light"] {
	color-scheme: light;
	--page: #F2EEE7;
	--card: #FBF9F5;
	--panel: #F4EFE7;
	--field: #FFFFFF;
	--line: #E2DACD;
	--chip: #F1EBE1;
	--sel: #E7DFD2;
	--text: #2C373C;
	--muted: #5C676C;
	--accent: #3D4A50;
	--accentInk: #F7F2EA;
	--focus: #94643A;
	--err: #A8432F;
	--ring: rgba(148, 100, 58, .2);
	--wall: #EAE4DA;
	/* The preview wall, lit the way the store's cover photographs are: soft light from
	   the upper right falling off to the edges. */
	--wall-lit: radial-gradient(120% 95% at 62% 28%, #FCFBF9 0%, #F3F1ED 46%, #E6E2DB 100%);
	--frame-shadow: -10px 14px 22px -10px rgba(40, 32, 22, .38), -2px 3px 5px rgba(40, 32, 22, .12);
}
.mcs[data-theme="dark"] {
	color-scheme: dark;
	--page: #273135;
	--card: #2B363B;
	--panel: #323F45;
	--field: #38464D;
	--line: #4A5961;
	--chip: #36444A;
	--sel: #4E5D65;
	--text: #F4EFE7;
	--muted: #BAC2C5;
	--accent: #B98452;
	--accentInk: #1D1914;
	--focus: #D3A273;
	--err: #E8A592;
	--ring: rgba(185, 132, 82, .28);
	--wall: #253035;
	--wall-lit: radial-gradient(120% 95% at 62% 28%, #3A474D 0%, #2F3A3F 50%, #252F33 100%);
	--frame-shadow: -10px 14px 24px -10px rgba(0, 0, 0, .6), -2px 3px 6px rgba(0, 0, 0, .3);
}

/* Generated textures (the prototype's SVG noise): paper surfaces and frame mouldings. */
.mcs {
	--mcs-ptex-0:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'240'%20height%3D'240'%3E%3Cfilter%20id%3D'p'%20x%3D'0'%20y%3D'0'%20width%3D'100%25'%20height%3D'100%25'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.9'%20numOctaves%3D'2'%20seed%3D'3'%20stitchTiles%3D'stitch'%2F%3E%3CfeDiffuseLighting%20lighting-color%3D'%23F2F0EA'%20surfaceScale%3D'0.6'%3E%3CfeDistantLight%20azimuth%3D'45'%20elevation%3D'62'%2F%3E%3C%2FfeDiffuseLighting%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23p)'%2F%3E%3C%2Fsvg%3E");
	--mcs-ptex-1:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'240'%20height%3D'240'%3E%3Cfilter%20id%3D'p'%20x%3D'0'%20y%3D'0'%20width%3D'100%25'%20height%3D'100%25'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.5'%20numOctaves%3D'3'%20seed%3D'4'%20stitchTiles%3D'stitch'%2F%3E%3CfeDiffuseLighting%20lighting-color%3D'%23FAFAF8'%20surfaceScale%3D'1.3'%3E%3CfeDistantLight%20azimuth%3D'45'%20elevation%3D'58'%2F%3E%3C%2FfeDiffuseLighting%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23p)'%2F%3E%3C%2Fsvg%3E");
	--mcs-ptex-2:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'240'%20height%3D'240'%3E%3Cfilter%20id%3D'p'%20x%3D'0'%20y%3D'0'%20width%3D'100%25'%20height%3D'100%25'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.42'%20numOctaves%3D'4'%20seed%3D'5'%20stitchTiles%3D'stitch'%2F%3E%3CfeDiffuseLighting%20lighting-color%3D'%23F5F3EE'%20surfaceScale%3D'1.7'%3E%3CfeDistantLight%20azimuth%3D'45'%20elevation%3D'60'%2F%3E%3C%2FfeDiffuseLighting%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23p)'%2F%3E%3C%2Fsvg%3E");
	--mcs-ptex-3:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'240'%20height%3D'240'%3E%3Cfilter%20id%3D'p'%20x%3D'0'%20y%3D'0'%20width%3D'100%25'%20height%3D'100%25'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.85'%20numOctaves%3D'2'%20seed%3D'6'%20stitchTiles%3D'stitch'%2F%3E%3CfeDiffuseLighting%20lighting-color%3D'%23F4F2ED'%20surfaceScale%3D'0.8'%3E%3CfeDistantLight%20azimuth%3D'45'%20elevation%3D'62'%2F%3E%3C%2FfeDiffuseLighting%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23p)'%2F%3E%3C%2Fsvg%3E");
	--mcs-ft-metal:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'200'%20height%3D'200'%3E%3Cdefs%3E%3ClinearGradient%20id%3D'g'%20x1%3D'0'%20y1%3D'0'%20x2%3D'1'%20y2%3D'1'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'white'%20stop-opacity%3D'.35'%2F%3E%3Cstop%20offset%3D'.5'%20stop-color%3D'white'%20stop-opacity%3D'0'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'black'%20stop-opacity%3D'.25'%2F%3E%3C%2FlinearGradient%3E%3Cfilter%20id%3D'n'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.9%200.05'%20numOctaves%3D'2'%20seed%3D'4'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%201%200%200%200%200%201%200%200%200%200%201%200%200%200%20.18%200'%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20fill%3D'url(%23g)'%2F%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23n)'%2F%3E%3C%2Fsvg%3E");
	--mcs-ft-wood:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'300'%20height%3D'300'%3E%3Cfilter%20id%3D'w'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.006%200.22'%20numOctaves%3D'3'%20seed%3D'7'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20.42%200'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23w)'%2F%3E%3C%2Fsvg%3E");
	--mcs-ft-black:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'300'%20height%3D'300'%3E%3Cfilter%20id%3D'w'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.006%200.22'%20numOctaves%3D'3'%20seed%3D'7'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20.5%200'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23w)'%2F%3E%3C%2Fsvg%3E");
	--mcs-ft-white:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'300'%20height%3D'300'%3E%3Cfilter%20id%3D'w'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.006%200.22'%20numOctaves%3D'3'%20seed%3D'7'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20.12%200'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23w)'%2F%3E%3C%2Fsvg%3E");
	--serif: 'Cormorant Garamond', serif;
	--tex: var(--mcs-ptex-0);
}
.mcs[data-ptex="1"] { --tex: var(--mcs-ptex-1); }
.mcs[data-ptex="2"] { --tex: var(--mcs-ptex-2); }
.mcs[data-ptex="3"] { --tex: var(--mcs-ptex-3); }
/* data-ptex="photo": studio.js / the template sets --tex inline to the paper's own photo. */

/* ---- Base --------------------------------------------------------------- */
.mcs {
	display: block;
	background: var(--card);
	color: var(--text);
	font-family: 'Instrument Sans', sans-serif;
	font-size: 15px;
	line-height: normal;
	transition: background .3s;
	-webkit-text-size-adjust: 100%;
}
.mcs *,
.mcs *::before,
.mcs *::after { box-sizing: border-box; }
.mcs [hidden] { display: none !important; }
.mcs :where(h1, h2, h3, p, ul, ol, dl, dd, dt, blockquote, figure) { margin: 0; padding: 0; }
.mcs :where(ul, ol) { list-style: none; }
.mcs :where(a) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mcs a:hover { color: var(--focus); }
.mcs :where(button) { all: unset; box-sizing: border-box; cursor: pointer; }
.mcs :where(button):disabled { cursor: not-allowed; }
.mcs :where(button, a, input, [tabindex]):focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--ring);
}
.mcs input[type="range"]:focus-visible { box-shadow: none; }
.mcs svg { flex: none; }

/* ---- Hero --------------------------------------------------------------- */
.mcs-hero {
	max-width: 1360px;
	margin: 0 auto;
	padding: clamp(16px, 3vw, 36px) clamp(16px, 4vw, 48px) clamp(48px, 6vw, 88px);
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: start;
}
.mcs-gal {
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: sticky;
	top: var(--mcs-sticky, 84px);
	min-width: 0;
}
@media (max-width: 959px) {
	.mcs-hero { grid-template-columns: minmax(0, 1fr); }
	.mcs-gal { position: relative; top: 0; }
}

/* Stage: ONE size for every print — the gallery column's width and the window's
   height (less the header and the thumbnails), so the picture, the views and the
   price all sit in the first screen and the stage never changes shape between
   photographs. The print is fitted inside it true to scale by studio.js
   (layoutStage): nothing is ever cropped. */
.mcs-stage {
	position: relative;
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
	width: 100%;
	height: clamp(420px, calc(100vh - var(--mcs-sticky, 84px) - 150px), 780px);
	background: var(--wall-lit);
	transition: background .35s;
}
@supports (height: 1dvh) {
	.mcs-stage { height: clamp(420px, calc(100dvh - var(--mcs-sticky, 84px) - 150px), 780px); }
}
@media (max-width: 959px) {
	.mcs-stage { height: auto; aspect-ratio: 1 / 1; max-height: 72vh; }
}
.mcs-stage[data-view="art"] { cursor: grab; touch-action: pan-y; }
.mcs-stage[data-view="art"][data-zoomed="1"] { touch-action: none; }
.mcs-stage.is-drag { cursor: grabbing; }

.mcs-pane { position: absolute; inset: 0; }

/* Your print: wall > frame (moulding) > mat > print. Sizes come from layoutStage(). */
.mcs-wall {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}
.mcs-frame {
	position: relative;
	box-sizing: content-box;
	transition: padding .35s ease;
}
/* The moulding: drawn by studio.js (drawFrame) from the store cover's own oak. */
.mcs-fcanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mcs-fcanvas[hidden] { display: none; }
.mcs-stage[data-framed="1"] .mcs-frame { box-shadow: var(--frame-shadow); }
.mcs-mat {
	background: var(--matc, #F3F0E8);
	transition: padding .35s ease, background .3s;
}
.mcs-clip {
	position: relative;
	overflow: hidden;
	transition: width .35s ease, height .35s ease;
}
/* Unframed: the print as a sheet on the wall. */
.mcs-stage[data-framed="0"] .mcs-clip { box-shadow: -8px 12px 22px -12px rgba(40, 32, 22, .4), 0 0 0 1px rgba(0, 0, 0, .04); }
/* The frame's lip shades the print (no mat) or the mat's bevel does (mat): the cut
   core of the board reads as a fine white line round the opening. */
.mcs-clip::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.mcs-stage[data-framed="1"] .mcs-clip::after { box-shadow: inset 0 3px 6px -2px rgba(0, 0, 0, .38), inset 3px 0 5px -3px rgba(0, 0, 0, .25); }
.mcs-stage[data-mat="1"] .mcs-clip { box-shadow: 0 0 0 1.5px #FCFBF8, 0 0 0 2.5px rgba(0, 0, 0, .07); }
.mcs-stage[data-mat="1"] .mcs-clip::after { box-shadow: inset 1px 2px 3px -1px rgba(0, 0, 0, .28); }
.mcs-art {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-image: var(--art);
	transition: transform .25s ease;
}
.mcs-stage.is-drag .mcs-art { transition: none; }
@media (prefers-reduced-motion: reduce) {
	.mcs-frame, .mcs-mat, .mcs-clip, .mcs-art { transition: none; }
}

/* Frame texture: colour from --fc, grain from data-ft. */
.mcs-fbg { background-color: var(--fc, transparent); }
.mcs-fbg[data-ft="wood"] { background-image: var(--mcs-ft-wood); background-size: 300px; background-position: 0 0; }
.mcs-fbg[data-ft="black"] { background-image: var(--mcs-ft-black); background-size: 300px; background-position: 0 0; }
.mcs-fbg[data-ft="white"] { background-image: var(--mcs-ft-white); background-size: 300px; background-position: 0 0; }
.mcs-fbg[data-ft="metal"] { background-image: var(--mcs-ft-metal); background-size: 300px; background-position: 0 0; }

/* Zoom controls */
.mcs-zoom {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	background: rgba(251, 249, 245, .92);
	color: #2C373C;
	box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35);
	cursor: default;
}
@media (max-width: 599px) {
	/* The badge and the zoom control would meet on a phone: the zoom control drops to the bottom corner. */
	.mcs-zoom { top: auto; bottom: 12px; right: 12px; }
}
.mcs-zoom button { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.mcs-zoom button:hover { background: #EDE6DA; }
.mcs-zoom button:disabled { opacity: .35; }
.mcs-zoom span { min-width: 38px; text-align: center; font-size: 12px; font-weight: 600; }

/* Badge */
.mcs-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 6px 11px 6px 9px;
	background: rgba(251, 249, 245, .92);
	color: #2C373C;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35);
	pointer-events: none;
}
.mcs-badge__ico { color: #94643A; display: grid; place-items: center; }

/* Paper close-up */
.mcs-dt-art { position: absolute; inset: -2%; background-size: 420%; background-position: 42% 45%; background-image: var(--art); }
.mcs-dt-tex { position: absolute; inset: 0; background-image: var(--tex); background-size: 300px; }
.mcs[data-ptex="photo"] .mcs-dt-tex { background-size: cover; background-position: center; }
.mcs-dt-tex--mul { mix-blend-mode: multiply; }
.mcs-dt-tex--soft { mix-blend-mode: soft-light; opacity: .9; }
.mcs-dt-sheen {
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .75) 48%, rgba(255, 255, 255, 0) 66%);
	mix-blend-mode: soft-light;
}
.mcs-cap {
	position: absolute;
	left: 14px;
	bottom: 14px;
	max-width: calc(100% - 28px);
	padding: 7px 12px;
	background: rgba(31, 39, 43, .8);
	color: #F7F2EA;
	font-size: 12px;
}

/* Frame close-up: the supplier's photo, or a large corner drawn from the moulding (canvas). */
.mcs-pane--frame { background: var(--wall-lit); }
.mcs-fv-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mcs-fv-render {
	position: absolute;
	left: 18%;
	top: 18%;
	right: -10%;
	bottom: -10%;
	box-shadow: -14px 20px 40px -16px rgba(40, 32, 22, .5);
}
.mcs-fv-mat { width: 100%; height: 100%; background: #F3F0E8; padding: 44px; }
.mcs-fv-art { width: 100%; height: 100%; background-size: cover; background-position: 30% 30%; background-image: var(--art); }

/* Certificate view */
.mcs-pane--cert { background: var(--panel); display: grid; place-items: center; padding: 6%; }
.mcs-cert-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }

/* Typeset certificate (shown where no photo of the real one has been uploaded) */
.mcs-spec {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	width: min(100%, 440px);
	padding: clamp(22px, 5%, 40px) clamp(18px, 5%, 36px);
	text-align: center;
	background: var(--field);
	color: var(--text);
	box-shadow: 0 0 0 1px var(--line), inset 0 0 0 7px var(--field), inset 0 0 0 8px var(--focus);
}
.mcs-spec__seal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--focus); border: 1px solid var(--focus); }
.mcs-spec__eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--focus); }
.mcs-spec__title { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; text-wrap: balance; }
.mcs-spec__by { font-size: 13.5px; color: var(--muted); }
.mcs-spec__rule { display: block; width: 44px; height: 1px; background: var(--line); margin: 4px 0; }
.mcs-spec__dl { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.mcs-spec__dl dt { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mcs-spec__dl dd { font-size: 13.5px; margin-top: 2px; }
.mcs-spec--dark { background: #323F45; color: #F4EFE7; box-shadow: 0 0 0 1px #4A5961, inset 0 0 0 7px #323F45, inset 0 0 0 8px #D3A273; --focus: #D3A273; --muted: #BAC2C5; --line: #4A5961; }

/* View thumbnails — the product's own photos follow the three built-in views, so the
   row scrolls sideways rather than squeezing ten thumbnails into one width. */
.mcs-views { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(88px, 1fr); gap: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.mcs-view--photo { justify-content: flex-start; }
.mcs-pane--photo { background: var(--wall-lit); }
.mcs-photo { position: absolute; inset: 0; background: center / contain no-repeat; }
.mcs-view .mcs-view__img--cert { display: grid; place-items: center; color: var(--focus); background: var(--field); }
.mcs-view { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mcs-view__img {
	display: block;
	height: 60px;
	background-color: var(--panel);
	background-size: cover;
	background-position: center;
	border: 1.5px solid var(--line);
	transition: border-color .2s;
}
.mcs-view__img.mcs-fbg { background-color: var(--fc, var(--panel)); }
.mcs-view__img--tex { background-image: var(--tex), var(--art); }
.mcs-view.is-on .mcs-view__img { border-color: var(--focus); }
.mcs-view__lbl { font-size: 12px; text-align: center; color: var(--muted); }
.mcs-view.is-on .mcs-view__lbl { color: var(--text); }

/* ---- Purchase column ---------------------------------------------------- */
.mcs-buy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.mcs-head { display: flex; flex-direction: column; gap: 14px; }
.mcs-toprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mcs-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.mcs-crumbs a { text-decoration: none; }
.mcs-theme { display: flex; padding: 2px; margin: -6px 0 -6px auto; background: var(--field); border: 1px solid var(--line); }
.mcs-theme button { width: 28px; height: 20px; display: grid; place-items: center; color: var(--text); }
.mcs-theme button[aria-pressed="true"] { background: var(--sel); }

.mcs-who { display: flex; align-items: center; gap: 12px; text-decoration: none; align-self: flex-start; }
.mcs-who__av {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex: none;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: var(--panel) center / cover no-repeat;
	font-family: var(--serif);
	font-weight: 600;
	font-size: 20px;
	color: var(--muted);
}
.mcs-who__txt { display: flex; flex-direction: column; gap: 1px; }
.mcs-who__name { font-size: 14px; font-weight: 500; }
.mcs-who__base { font-size: 12px; color: var(--muted); }

.mcs-title {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(36px, 4.2vw, 54px);
	line-height: 1.02;
	letter-spacing: -.005em;
	text-wrap: balance;
	color: var(--text);
}
.mcs-lede { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; max-width: 520px; }
.mcs-priceRow { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.mcs-price { font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.mcs-shipnote { font-size: 13px; color: var(--muted); }
.mcs-rule { height: 1px; background: var(--line); }

.mcs-form { display: flex; flex-direction: column; gap: 26px; margin: 0; padding: 0; }
.mcs-sec { display: flex; flex-direction: column; gap: 10px; }
.mcs-sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mcs-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mcs-sec__aside { font-size: 12.5px; color: var(--muted); text-align: right; }
.mcs-link { font-size: 12.5px; color: var(--focus); text-decoration: underline; text-underline-offset: 2px; }
.mcs-link--start { align-self: flex-start; }
.mcs-link--nowrap { white-space: nowrap; font-size: 12px; }
.mcs-tag { color: var(--focus); font-weight: 600; }

/* Size */
.mcs-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.mcs-size {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	background: var(--field);
	border: 1.5px solid var(--line);
	transition: border-color .2s;
}
.mcs-size[aria-pressed="true"] { border-color: var(--focus); }
.mcs-size[hidden] { display: none; }
.mcs-size__dim { font-size: 13px; font-weight: 500; }
.mcs-size__cm { font-size: 11px; color: var(--muted); }
.mcs-size__meta { font-size: 11.5px; color: var(--muted); }
.mcs-sizes__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.mcs-fphotos { display: flex; flex-direction: column; gap: 8px; }
.mcs-fphotos[hidden] { display: none; }
.mcs-fphotos__lbl { font-size: 12.5px; color: var(--muted); }
.mcs-fphotos__row { display: flex; gap: 8px; }
.mcs-fphotos__b { width: 64px; height: 52px; background: var(--panel) center / cover no-repeat; border: 1.5px solid var(--line); }
.mcs-fphotos__b[aria-pressed="true"] { border-color: var(--focus); }

/* Paper */
.mcs-papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mcs-paper {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	background: var(--field);
	border: 1.5px solid var(--line);
	transition: border-color .2s, opacity .2s;
}
.mcs-paper[aria-pressed="true"] { border-color: var(--focus); }
.mcs-paper:disabled { opacity: .4; }
.mcs-sw {
	width: 36px;
	height: 36px;
	flex: none;
	background-color: var(--sel);
	background-position: center;
	background-size: cover;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.mcs-sw--n0 { background-image: var(--mcs-ptex-0); background-size: 160px; }
.mcs-sw--n1 { background-image: var(--mcs-ptex-1); background-size: 160px; }
.mcs-sw--n2 { background-image: var(--mcs-ptex-2); background-size: 160px; }
.mcs-sw--n3 { background-image: var(--mcs-ptex-3); background-size: 160px; }
.mcs-paper__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mcs-paper__name { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcs-paper__note { font-size: 11.5px; color: var(--muted); }

/* Frame */
.mcs-frames { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mcs-fr {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	padding: 11px 4px 9px;
	background: var(--field);
	text-align: center;
	border: 1.5px solid var(--line);
	transition: border-color .2s, opacity .2s;
}
.mcs-fr[aria-pressed="true"] { border-color: var(--focus); }
.mcs-fr:disabled { opacity: .4; }
.mcs-fr__mini { width: 28px; height: 34px; display: block; box-shadow: 0 3px 8px -3px rgba(0, 0, 0, .5); }
.mcs-fr__mini--none { outline: 1px dashed var(--muted); box-shadow: none; }
.mcs-fr__in { display: block; width: 100%; height: 100%; background: #F3F0E8; }
.mcs-fr__lbl { font-size: 11.5px; line-height: 1.2; }

.mcs-fopts { display: flex; flex-direction: column; gap: 10px; }
.mcs-fsel { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--panel); border: 1px solid var(--line); }
.mcs-fsel__thumb { width: 52px; height: 52px; flex: none; background-size: cover; background-position: center; }
.mcs-fsel__thumb.mcs-fbg { background-color: var(--fc, var(--sel)); }
.mcs-fsel__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mcs-fsel__name { font-size: 14px; font-weight: 500; }
.mcs-fsel__line { font-size: 12px; color: var(--muted); }
.mcs-fsel__line:empty { display: none; }

/* Mat: the toggle and colour choice from the product page, the width choice in the checkout's style. */
.mcs-matrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.mcs-mat-toggle {
	flex: 1 1 190px;
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 11px 12px;
	background: var(--field);
	border: 1.5px solid var(--line);
	transition: border-color .2s;
}
.mcs-mat-toggle[aria-pressed="true"] { border-color: var(--focus); }
.mcs-mat-toggle:disabled { opacity: .4; }
.mcs-check {
	width: 20px;
	height: 20px;
	flex: none;
	display: grid;
	place-items: center;
	color: var(--accentInk);
	border: 1.5px solid var(--line);
	transition: all .2s;
}
.mcs-check svg { opacity: 0; }
.mcs-mat-toggle[aria-pressed="true"] .mcs-check { border-color: var(--focus); background: var(--accent); }
.mcs-mat-toggle[aria-pressed="true"] .mcs-check svg { opacity: 1; }
.mcs-mat-toggle__lbl { flex: 1; font-size: 13.5px; }
.mcs-mat-toggle__price { font-size: 13px; font-weight: 500; white-space: nowrap; }
.mcs-matcolors { flex: 1 1 230px; display: flex; border: 1px solid var(--line); }
.mcs-matcolors button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; min-height: 44px; font-size: 12.5px; white-space: nowrap; }
.mcs-matcolors button[aria-pressed="true"] { background: var(--sel); }
.mcs-matcolors__sw { width: 16px; height: 16px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.mcs-matwidths { display: grid; gap: 4px; padding: 3px; background: var(--card); border: 1px solid var(--line); }
.mcs-matwidths button { display: flex; flex-direction: column; align-items: center; padding: 5px 2px; text-align: center; }
.mcs-matwidths button[aria-pressed="true"] { background: var(--sel); }
.mcs-matwidths button:disabled { opacity: .4; }
.mcs-matwidths__l { font-size: 12.5px; }
.mcs-matwidths__s { font-size: 10.5px; color: var(--muted); }
.mcs-matcustom { display: flex; align-items: center; gap: 12px; }
.mcs-matcustom input[type="range"] { flex: 1; min-width: 0; accent-color: var(--focus); margin: 0; }
.mcs-matcustom__val { height: 32px; display: flex; align-items: center; padding: 0 10px; border: 1px solid var(--line); background: var(--card); font-size: 13px; white-space: nowrap; }

/* Buy */
.mcs-buyrow { display: flex; gap: 10px; }
.mcs-qty { display: flex; align-items: center; height: 54px; flex: none; background: var(--field); border: 1px solid var(--line); }
.mcs-qty button { width: 40px; height: 54px; display: grid; place-items: center; color: var(--muted); }
.mcs-qty button:disabled { opacity: .35; }
.mcs-qty__n { min-width: 18px; text-align: center; }
.mcs-add {
	flex: 1;
	min-width: 0;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--accent);
	color: var(--accentInk);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	transition: filter .15s;
}
.mcs-add:hover { filter: brightness(1.08); }
.mcs-add:disabled { opacity: .55; filter: none; }
.mcs-add[aria-busy="true"] { opacity: .7; }

/* Certificate card + quality notes */
.mcs-coa { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px dashed var(--focus); }
.mcs-coa__seal { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--focus); border: 1px solid var(--focus); }
.mcs-coa__txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.mcs-coa__eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--focus); }
.mcs-coa__title { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.15; }
.mcs-quality { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.mcs-quality li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; color: var(--muted); line-height: 1.35; }

/* ---- Sections below ----------------------------------------------------- */
.mcs-eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--focus); }
.mcs-eyebrow--band { color: #D3A273; }
.mcs-h2 { font-family: var(--serif); font-weight: 600; color: inherit; }

/* ---- About this print (the product description) ---------------------------- */
.mcs-about { border-top: 1px solid var(--line); }
.mcs-about__in { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.mcs-prose { max-width: 68ch; display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.75; color: var(--text); text-wrap: pretty; }
.mcs-prose > * { margin: 0; }
.mcs-prose h2, .mcs-prose h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; text-wrap: balance; margin-top: 12px; }
.mcs-prose h2 { font-size: clamp(26px, 2.6vw, 32px); }
.mcs-prose h3 { font-size: 22px; }
.mcs-prose ul, .mcs-prose ol { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.mcs-prose a { color: var(--focus); }

/* ---- Custom size request ----------------------------------------------------- */
.mcs-modal { position: fixed; inset: 0; z-index: 9100; display: grid; place-items: center; padding: 16px; }
.mcs-modal[hidden] { display: none; }
.mcs-modal__veil { position: absolute; inset: 0; background: rgba(20, 24, 26, .5); }
.mcs-modal__box { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--card); border: 1px solid var(--line); padding: clamp(22px, 4vw, 36px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45); }
.mcs-modal__x { position: absolute; top: 14px; right: 14px; }
.mcs-cr, .mcs-cr__done { display: flex; flex-direction: column; gap: 14px; }
.mcs-cr[hidden], .mcs-cr__done[hidden] { display: none; }
.mcs-cr .mcs-h2, .mcs-cr__done .mcs-h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.05; padding-right: 40px; }
.mcs-cr__lede { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.mcs-cr__row { display: flex; align-items: flex-end; gap: 10px; }
.mcs-cr__row > .mcs-cr__f { flex: 1; min-width: 0; }
.mcs-cr__row--2 { flex-wrap: wrap; }
.mcs-cr__row--2 > .mcs-cr__f { flex: 1 1 200px; }
.mcs-cr__f--unit { flex: 0 0 104px !important; }
.mcs-cr__x { padding-bottom: 12px; color: var(--muted); }
.mcs-cr__f { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mcs-cr__f input, .mcs-cr__f select, .mcs-cr__f textarea { font: 400 15px/1.4 var(--sans, inherit); letter-spacing: 0; text-transform: none; color: var(--text); background: var(--field); border: 1.5px solid var(--line); padding: 10px 12px; min-height: 44px; border-radius: 0; width: 100%; }
.mcs-cr__f textarea { resize: vertical; min-height: 80px; }
.mcs-cr__f input:focus, .mcs-cr__f select:focus, .mcs-cr__f textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(148, 100, 58, .2); }
.mcs-cr__msg { font-size: 13px; color: var(--err, #A8432F); min-height: 1em; }
.mcs-cr__msg:empty { display: none; }
.mcs-cr__send { margin-top: 4px; }
.mcs-cr__done .mcs-link { align-self: flex-start; }
.mcs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mcs-story { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mcs-story__in {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(56px, 8vw, 112px) clamp(16px, 4vw, 48px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.mcs-story__l { display: flex; flex-direction: column; gap: 22px; }
.mcs-quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.18; text-wrap: balance; border: 0; padding: 0; quotes: none; }
.mcs-quote__by { font-size: 13.5px; color: var(--muted); }
.mcs-story__r { display: flex; flex-direction: column; gap: 28px; }
.mcs-story__p { display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.mcs-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.mcs-facts > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mcs-facts dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mcs-facts dd { font-size: 14.5px; }

.mcs-ph__in {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(56px, 8vw, 112px) clamp(16px, 4vw, 48px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}
.mcs-ph__in--solo { grid-template-columns: minmax(0, 720px); }
.mcs-ph__img { aspect-ratio: 4 / 5; background: var(--panel) center / cover no-repeat; }
.mcs-ph__txt { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mcs-h2--ph { font-size: clamp(34px, 4vw, 50px); line-height: 1.05; }
.mcs-ph__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.mcs-ph__meta span { display: flex; align-items: center; gap: 6px; }
.mcs-ph__bio { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.mcs-btn-line { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; text-decoration: none; padding: 12px 18px; border: 1px solid var(--line); }

.mcs-band { background: #2B363B; color: #F4EFE7; }
.mcs-band__in { max-width: 1200px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 48px); display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); }
.mcs-band__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.mcs-band__txt { display: flex; flex-direction: column; gap: 18px; }
.mcs-h2--band { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; text-wrap: balance; }
.mcs-band__p { font-size: 16px; line-height: 1.75; color: #BAC2C5; text-wrap: pretty; }
.mcs-band__fig { aspect-ratio: 4 / 3; overflow: hidden; background: #323F45; display: grid; place-items: center; padding: 6%; position: relative; }
.mcs-band__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mcs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: #4A5961; overflow: hidden; }
.mcs-steps li { background: #2B363B; padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.mcs-steps__n { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1; color: #D3A273; }
.mcs-steps__t { font-size: 15px; font-weight: 500; }
.mcs-steps__d { font-size: 13.5px; line-height: 1.6; color: #BAC2C5; }

.mcs-more { max-width: 1360px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 48px); }
.mcs-more__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.mcs-h2--more { font-size: clamp(28px, 3vw, 38px); }
.mcs-more__all { font-size: 13.5px; color: var(--muted); }
.mcs-more__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.mcs-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.mcs-card__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel) center / cover no-repeat; transition: transform .4s; }
.mcs-card__img:hover { transform: scale(1.02); }
.mcs-card__t { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.15; }

/* ---- Frame drawer ------------------------------------------------------- */
.mcs-drawer { position: fixed; inset: 0; z-index: 9000; }
.mcs-drawer__veil { position: absolute; inset: 0; background: rgba(20, 24, 26, .45); cursor: default; }
.mcs-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(460px, 100%);
	display: flex;
	flex-direction: column;
	background: var(--card);
	border-left: 1px solid var(--line);
	box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .4);
	outline: none;
}
.mcs-drawer__top { padding: 22px 24px 16px; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--line); }
.mcs-drawer__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mcs-drawer__ttl { display: flex; flex-direction: column; gap: 3px; }
.mcs-drawer__eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--focus); }
.mcs-drawer__h { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; }
.mcs-drawer__x { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); }
.mcs-drawer__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.mcs-drawer__tabs button { padding: 7px 12px; font-size: 12px; letter-spacing: .06em; border: 1px solid var(--line); color: var(--text); }
.mcs-drawer__tabs button[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--card); }
.mcs-drawer__list { flex: 1; overflow-y: auto; padding: 14px 24px 24px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.mcs-dr { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--field); border: 1.5px solid var(--line); transition: border-color .2s, opacity .2s; }
.mcs-dr[aria-pressed="true"] { border-color: var(--focus); }
.mcs-dr:disabled { opacity: .45; }
.mcs-dr__thumb { width: 76px; height: 76px; flex: none; background-size: cover; background-position: center; }
.mcs-dr__thumb.mcs-fbg { background-color: var(--fc, var(--sel)); }
.mcs-dr__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mcs-dr__name { font-size: 14px; font-weight: 500; }
.mcs-dr__line { font-size: 12px; color: var(--muted); }
.mcs-dr__price { font-size: 13px; white-space: nowrap; }
.mcs-drawer__foot { padding: 14px 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ---- Toast -------------------------------------------------------------- */
.mcs-toastwrap { position: fixed; left: 0; right: 0; bottom: 24px; z-index: 9100; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.mcs-toast {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px 12px 16px;
	background: #2B363B;
	color: #F7F2EA;
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5);
	font-size: 14px;
}
.mcs-toast__btn { padding: 7px 12px; background: #B98452; color: #1D1914; text-decoration: none; font-weight: 600; font-size: 13px; }
.mcs a.mcs-toast__btn:hover { color: #1D1914; filter: brightness(1.08); }

@media (prefers-reduced-motion: reduce) {
	.mcs *, .mcs *::before, .mcs *::after { transition-duration: .01ms !important; }
}
