/*
Theme Name: Cracasso
Theme URI: https://cracasso.com
Author: Cracasso L.L.C.
Description: Bespoke theme for Cracasso — hand-fractured glass art by Yasin Uca. Dark and light modes, editorial layout, multilingual-ready (Polylang). Works with the Cracasso Core plugin.
Version: 1.4.4
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: cracasso
*/

/* ------------------------------------------------------------------
   1. Fonts — Instrument Serif + Hanken Grotesk.
   Loaded from wp-content/uploads/cracasso-fonts (installed by the
   Cracasso import, no requests to Google) or, until then, Google Fonts.
------------------------------------------------------------------- */

/* ------------------------------------------------------------------
   2. Colour modes
   Dark is the default (values come from theme.json). Light overrides the
   same WordPress preset variables, so every block follows automatically.
------------------------------------------------------------------- */
:root {
	--cr-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--cr-sans: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
	--cr-wrap: 1360px;
	--cr-gutter: clamp(20px, 4vw, 48px);
	--cr-radius: 4px;
	--cr-radius-lg: 18px;
	--cr-ease: cubic-bezier(.2, .7, .2, 1);
	--cr-header-h: 72px;
	--cr-glass: rgba(10, 10, 11, .78);
	--cr-shadow: 0 24px 60px rgba(0, 0, 0, .28);
	color-scheme: dark;
}
html[data-theme="light"],
html[data-theme="light"] body {
	--wp--preset--color--base: #F5F3EF;
	--wp--preset--color--surface: #ECE8E1;
	--wp--preset--color--elevated: #FFFFFF;
	--wp--preset--color--line: #DDD8CF;
	--wp--preset--color--line-strong: #B9B3A8;
	--wp--preset--color--contrast: #141414;
	--wp--preset--color--body: #3B3934;
	--wp--preset--color--muted: #66625C;
	--wp--preset--color--accent: #2B6A65;
	--cr-glass: rgba(245, 243, 239, .84);
	--cr-shadow: 0 24px 60px rgba(20, 20, 20, .12);
	color-scheme: light;
}
@media (prefers-color-scheme: light) {
	html:not([data-theme]),
	html:not([data-theme]) body {
		--wp--preset--color--base: #F5F3EF;
		--wp--preset--color--surface: #ECE8E1;
		--wp--preset--color--elevated: #FFFFFF;
		--wp--preset--color--line: #DDD8CF;
		--wp--preset--color--line-strong: #B9B3A8;
		--wp--preset--color--contrast: #141414;
		--wp--preset--color--body: #3B3934;
		--wp--preset--color--muted: #66625C;
		--wp--preset--color--accent: #2B6A65;
		--cr-glass: rgba(245, 243, 239, .84);
		color-scheme: light;
	}
}

/* short aliases */
:root, html[data-theme] {
	--bg: var(--wp--preset--color--base, #0A0A0B);
	--surface: var(--wp--preset--color--surface, #111113);
	--elev: var(--wp--preset--color--elevated, #17171A);
	--line: var(--wp--preset--color--line, #25252A);
	--line2: var(--wp--preset--color--line-strong, #3B3B41);
	--fg: var(--wp--preset--color--contrast, #EEECE7);
	--body: var(--wp--preset--color--body, #C3C1BB);
	--muted: var(--wp--preset--color--muted, #94928C);
	--accent: var(--wp--preset--color--accent, #A9D9D4);
}

/* ------------------------------------------------------------------
   3. Base
------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--cr-header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--body);
	font-family: var(--cr-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	transition: background-color .5s ease, color .5s ease;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--fg); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .3s ease; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--bg); }
h1, h2, h3, h4, h5, h6 { color: var(--fg); font-family: var(--cr-serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(48px, 6.4vw, 104px); line-height: .96; letter-spacing: -.015em; }
h2 { font-size: clamp(36px, 4.4vw, 64px); }
h3 { font-size: clamp(26px, 2.4vw, 34px); }
h4 { font-size: 24px; }
p { margin: 0 0 1.1em; }
strong { color: var(--fg); font-weight: 600; }
hr, .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 48px 0; opacity: 1; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 12px 18px; background: var(--fg); color: var(--bg); border-radius: 999px; }

/* ------------------------------------------------------------------
   4. Layout helpers
------------------------------------------------------------------- */
.cr-wrap { max-width: var(--cr-wrap); margin-inline: auto; padding-inline: var(--cr-gutter); }
.cr-section { padding-block: clamp(80px, 9vw, 128px); }
.cr-section--tight { padding-block: clamp(48px, 6vw, 80px); }
.cr-section--surface, .is-style-cr-surface { background: var(--surface); }
.cr-grid { display: grid; gap: clamp(28px, 4vw, 72px); align-items: center; }
.cr-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.cr-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px; align-items: start; }
.cr-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 36px; align-items: start; }
.cr-stack > * + * { margin-top: 24px; }
.cr-center { text-align: center; }

/* page content = full-bleed sections built with blocks */
.cr-page-content > .wp-block-group,
.cr-page-content > .cr-section { margin: 0; }
.cr-page-content > .wp-block-group.alignfull,
.cr-page-content > .alignfull { width: 100%; max-width: none; }
.cr-page-content .wp-block-group.cr-section > .wp-block-group__inner-container,
.cr-page-content .cr-section.is-layout-constrained > * { max-width: var(--cr-wrap); margin-inline: auto; }
.cr-page-content .cr-section { padding-inline: var(--cr-gutter); }
.cr-page-content .cr-section > .wp-block-columns,
.cr-page-content .cr-section > * { max-width: var(--cr-wrap); margin-left: auto !important; margin-right: auto !important; }
.wp-block-columns { gap: clamp(28px, 5vw, 72px); margin-bottom: 0; }
.wp-block-columns.are-vertically-aligned-center, .wp-block-columns.cr-align-center { align-items: center; }
.wp-block-group { margin-block: 0; }

/* ------------------------------------------------------------------
   5. Typography components
------------------------------------------------------------------- */
.cr-eyebrow, p.cr-eyebrow {
	font-family: var(--cr-sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 18px;
}
.cr-display { font-size: clamp(56px, 7.6vw, 124px); line-height: .94; letter-spacing: -.02em; }
.cr-display em, h1 em, h2 em { font-style: italic; color: var(--accent); }
.cr-lead, p.cr-lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; color: var(--body); max-width: 560px; }
.cr-quote, .wp-block-quote.is-style-cr-quote {
	font-family: var(--cr-serif);
	font-style: italic;
	font-size: clamp(28px, 2.8vw, 40px);
	line-height: 1.22;
	color: var(--fg);
	margin: 0;
	padding: 0;
	border: 0;
}
.cr-quote--xl { font-style: normal; font-size: clamp(34px, 3.8vw, 58px); line-height: 1.16; max-width: 1080px; }
.cr-small { font-size: 14px; color: var(--muted); }
.cr-caption, figcaption, .wp-element-caption {
	font-family: var(--cr-sans);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 14px;
	text-align: left;
}
.cr-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 52px; }
.cr-section-head h2 { margin: 0; max-width: 820px; }
.cr-more { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .04em; color: var(--fg); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--cr-ease), color .3s; padding-bottom: 2px; }
.cr-more:hover { background-size: 100% 1px; color: var(--fg); }
.cr-more svg { transition: transform .4s var(--cr-ease); }
.cr-more:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------
   6. Buttons
------------------------------------------------------------------- */
.cr-btn,
.wp-block-button__link,
.wp-element-button,
button.cr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 28px;
	border-radius: 999px;
	border: 1px solid var(--fg);
	background: var(--fg);
	color: var(--bg);
	font-family: var(--cr-sans);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .3s var(--cr-ease), background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.cr-btn:hover, .wp-block-button__link:hover, .wp-element-button:hover { color: var(--bg); transform: translateY(-1px); opacity: .92; }
.cr-btn--ghost,
.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--fg);
	border-color: var(--line2);
}
.cr-btn--ghost:hover,
.is-style-outline > .wp-block-button__link:hover { color: var(--fg); border-color: var(--fg); opacity: 1; }
.cr-btn--block { width: 100%; min-height: 56px; font-size: 15px; }
.cr-btn--sm { min-height: 44px; padding: 0 20px; }
.wp-block-buttons { gap: 12px; }
.cr-btn[disabled] { opacity: .5; cursor: wait; }

/* ------------------------------------------------------------------
   7. Header
------------------------------------------------------------------- */
.cr-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--cr-glass);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .cr-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cr-header { top: 46px; } }
.cr-header__inner { min-height: var(--cr-header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cr-logo { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.cr-logo img { height: 24px; width: auto; }
.cr-logo .cr-logo__light { display: none; }
html[data-theme="light"] .cr-logo .cr-logo__dark { display: none; }
html[data-theme="light"] .cr-logo .cr-logo__light { display: block; }
@media (prefers-color-scheme: light) {
	html:not([data-theme]) .cr-logo .cr-logo__dark { display: none; }
	html:not([data-theme]) .cr-logo .cr-logo__light { display: block; }
}
.cr-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; align-items: center; }
.cr-nav a { color: var(--body); text-decoration: none; font-size: 14px; letter-spacing: .04em; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--cr-ease), color .3s; }
.cr-nav a:hover, .cr-nav .current-menu-item > a, .cr-nav .current_page_item > a, .cr-nav a[aria-current="page"] { color: var(--fg); background-size: 100% 1px; }
.cr-header__tools { display: flex; align-items: center; gap: 8px; }
.cr-icon-btn {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--line2); background: transparent; color: var(--fg);
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer; padding: 0; transition: border-color .3s, transform .3s var(--cr-ease);
}
.cr-icon-btn:hover { border-color: var(--fg); transform: rotate(-8deg); }
.cr-toggle .cr-i-moon { display: none; }
html[data-theme="light"] .cr-toggle .cr-i-sun { display: none; }
html[data-theme="light"] .cr-toggle .cr-i-moon { display: block; }

/* language switcher (details/summary — works without JS) */
.cr-lang { position: relative; }
.cr-lang > summary {
	list-style: none; cursor: pointer; min-height: 44px; padding: 0 10px;
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--fg); font-size: 13px; font-weight: 600; letter-spacing: .08em;
}
.cr-lang > summary::-webkit-details-marker { display: none; }
.cr-lang__menu {
	position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 60;
	list-style: none; margin: 0; padding: 8px; min-width: 200px;
	background: var(--elev); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--cr-shadow);
}
.cr-lang__menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; text-decoration: none; color: var(--fg); font-size: 14px; }
.cr-lang__menu a:hover { background: var(--surface); color: var(--fg); }
.cr-lang__menu a span { color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.cr-lang__menu a .cr-lang__name { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: 0; }
.cr-flag { display: inline-block; flex-shrink: 0; width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(127, 127, 127, .35); }
.cr-lang > summary .cr-flag { margin-inline-end: 2px; }
.cr-lang__menu .is-current a { background: var(--surface); }

.cr-burger { display: none; }
.cr-header__cta { margin-left: 6px; }
@media (max-width: 1080px) {
	.cr-nav { display: none; }
	.cr-burger { display: inline-flex; }
	.cr-header__cta { display: none; }
}
/* mobile drawer */
.cr-drawer {
	position: fixed; inset: 0; z-index: 80; background: var(--bg);
	display: flex; flex-direction: column; padding: 16px var(--cr-gutter) calc(24px + env(safe-area-inset-bottom));
	overflow-y: auto; overscroll-behavior: contain;
	opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0);
	transition: opacity .45s var(--cr-ease), clip-path .6s var(--cr-ease), visibility .6s;
}
.cr-drawer.is-open { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); }
.cr-drawer__bg {
	position: fixed; inset: 0; pointer-events: none; z-index: -1;
	background:
		radial-gradient(120% 60% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 60%),
		radial-gradient(90% 50% at 0% 100%, color-mix(in srgb, var(--accent) 9%, transparent) 0%, transparent 65%);
}
.cr-drawer__bg::after {
	content: ""; position: absolute; inset: 0; opacity: .07;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400' fill='none' stroke='%23ffffff' stroke-width='.8'%3E%3Cpath d='M210 0l-18 92 40 60-30 70 22 80-10 98M192 92l-90 30-60-20M232 152l95-25 73 18M202 222l-85 40-117 10M224 302l80 30 96-12M117 262l-30 70 10 68'/%3E%3C/svg%3E") center / cover no-repeat;
}
html[data-theme="light"] .cr-drawer__bg::after { filter: invert(1); opacity: .06; }
.cr-drawer__top { display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.cr-drawer__body { flex: 1 0 auto; display: flex; flex-direction: column; padding-top: 6vh; }
.cr-drawer__label { margin: 0 0 10px !important; }
.cr-drawer nav ul, .cr-drawer__nav ul { list-style: none; margin: 0; padding: 0; counter-reset: crnav; border-top: 1px solid var(--line); }
.cr-drawer nav li, .cr-drawer__nav li { counter-increment: crnav; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--cr-ease), transform .5s var(--cr-ease); }
.cr-drawer.is-open nav li { opacity: 1; transform: none; }
.cr-drawer.is-open nav li:nth-child(1) { transition-delay: .12s; }
.cr-drawer.is-open nav li:nth-child(2) { transition-delay: .17s; }
.cr-drawer.is-open nav li:nth-child(3) { transition-delay: .22s; }
.cr-drawer.is-open nav li:nth-child(4) { transition-delay: .27s; }
.cr-drawer.is-open nav li:nth-child(5) { transition-delay: .32s; }
.cr-drawer.is-open nav li:nth-child(n+6) { transition-delay: .37s; }
.cr-drawer nav a, .cr-drawer__nav a {
	display: flex; align-items: baseline; gap: 16px; padding: 14px 0;
	font-family: var(--cr-serif); font-size: clamp(36px, 10vw, 52px); line-height: 1.05; color: var(--fg); text-decoration: none;
}
.cr-drawer nav a::before { content: counter(crnav, decimal-leading-zero); font-family: var(--cr-sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--muted); min-width: 22px; transform: translateY(-6px); }
.cr-drawer nav a::after { content: "→"; margin-left: auto; font-family: var(--cr-sans); font-size: 20px; color: var(--muted); transition: transform .35s var(--cr-ease), color .3s; }
.cr-drawer__nav a:hover::after, .cr-drawer__nav a:focus-visible::after { transform: translateX(4px); color: var(--accent); }
.cr-drawer__nav a[aria-current="page"], .cr-drawer__nav .current-menu-item > a { color: var(--accent); font-style: italic; }
.cr-drawer__nav a[aria-current="page"]::before, .cr-drawer__nav .current-menu-item > a::before { color: var(--accent); }
.cr-drawer__feature {
	display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 12px; border: 1px solid var(--line); border-radius: 16px;
	background: color-mix(in srgb, var(--elev) 80%, transparent); color: var(--fg); text-decoration: none;
	opacity: 0; transform: translateY(14px); transition: opacity .5s var(--cr-ease) .4s, transform .5s var(--cr-ease) .4s, border-color .3s;
}
.cr-drawer.is-open .cr-drawer__feature { opacity: 1; transform: none; }
.cr-drawer__feature:hover { border-color: var(--line2); color: var(--fg); }
.cr-drawer__stack { display: flex; flex-shrink: 0; padding-left: 14px; }
.cr-drawer__thumb { width: 52px; height: 64px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #0A0A0B; margin-left: -14px; border: 2px solid var(--elev); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.cr-drawer__stack .cr-drawer__thumb:nth-child(2) { transform: translateY(-3px) rotate(2deg); }
.cr-drawer__stack .cr-drawer__thumb:nth-child(3) { transform: rotate(-2deg); }
.cr-drawer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cr-drawer__feature-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cr-drawer__feature-label { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.cr-drawer__feature-title { font-family: var(--cr-serif); font-size: 24px; line-height: 1.1; }
.cr-drawer__feature-price { font-size: 14px; color: var(--body); }
.cr-drawer__feature svg { margin-left: auto; color: var(--muted); flex-shrink: 0; }
.cr-drawer__cta { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; opacity: 0; transition: opacity .5s var(--cr-ease) .45s; }
.cr-drawer.is-open .cr-drawer__cta { opacity: 1; }
.cr-drawer__cta .cr-btn { min-height: 54px; white-space: nowrap; padding: 0 20px; }
.cr-drawer__note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.cr-drawer__note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.cr-drawer__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.cr-drawer__social, .cr-drawer__tools { display: flex; align-items: center; gap: 8px; }
.cr-drawer .cr-lang__menu { top: auto; bottom: calc(100% + 6px); }
@media (min-width: 1081px) { .cr-drawer { display: none; } }
@media (prefers-reduced-motion: reduce) { .cr-drawer { clip-path: none; } }
body.cr-no-scroll { overflow: hidden; }

/* ------------------------------------------------------------------
   8. Media, sweep effect, video band
------------------------------------------------------------------- */
.cr-media { position: relative; overflow: hidden; background: #0A0A0B; border-radius: var(--cr-radius); margin: 0; }
.cr-media img, .cr-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--cr-ease); }
a:hover .cr-media img, .cr-media:hover img { transform: scale(1.035); }
.cr-media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .16) 50%, transparent 62%);
	transform: translateX(-130%); transition: transform 1.6s var(--cr-ease);
}
a:hover .cr-media::after, .cr-media:hover::after { transform: translateX(130%); }
.cr-ratio-45 { aspect-ratio: 4 / 5; }
.cr-ratio-43 { aspect-ratio: 4 / 3; }
.cr-ratio-32 { aspect-ratio: 3 / 2; }
.cr-ratio-11 { aspect-ratio: 1 / 1; }
.cr-ratio-219 { aspect-ratio: 21 / 9; }
.wp-block-image.cr-media img { height: 100%; }
.wp-block-image.cr-ratio-45 img, .wp-block-image.cr-ratio-43 img, .wp-block-image.cr-ratio-32 img, .wp-block-image.cr-ratio-11 img, .wp-block-image.cr-ratio-219 img { aspect-ratio: inherit; height: 100%; }
.cr-video-band, .wp-block-video.cr-video-band { position: relative; overflow: hidden; border-radius: var(--cr-radius); background: #0A0A0B; aspect-ratio: 21 / 9; min-height: 300px; margin: 0; }
.cr-video-band video { width: 100%; height: 100%; object-fit: cover; }
.wp-block-video.cr-video-band figcaption { position: absolute; left: 20px; bottom: 16px; margin: 0; color: #EEECE7; }
.cr-video-portrait, .wp-block-video.cr-video-portrait { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--cr-radius); background: #0A0A0B; margin: 0; }
.cr-video-portrait video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
	.cr-video-band, .wp-block-video.cr-video-band { aspect-ratio: 4 / 5; }
}

/* ------------------------------------------------------------------
   9. Hero & page intro
------------------------------------------------------------------- */
.cr-hero { padding-top: clamp(56px, 7vw, 104px); padding-bottom: 48px; }
.cr-hero .wp-block-columns { align-items: flex-end; }
.cr-hero h1 { margin: 0; }
.cr-hero .cr-lead { margin-bottom: 28px; }
.cr-intro { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 48px; }
.cr-intro h1 { margin: 0; }

/* ------------------------------------------------------------------
   10. Trust strip
------------------------------------------------------------------- */
.cr-trust { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cr-trust--plain { border: 0; padding: 0; justify-content: flex-start; }
.cr-trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--body); }
.cr-trust svg { color: var(--accent); flex-shrink: 0; }

/* ------------------------------------------------------------------
   11. Artwork cards, grids & filters
------------------------------------------------------------------- */
.cr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 56px 36px; }
.cr-cards--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.cr-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--fg); }
.cr-card:hover { color: var(--fg); }
.cr-card__media { position: relative; }
.cr-card__media .cr-media { aspect-ratio: 4 / 5; }
.cr-badge { position: absolute; left: 14px; top: 14px; z-index: 2; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #EEECE7; background: rgba(10, 10, 11, .72); padding: 7px 11px; border-radius: 999px; }
.cr-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cr-card__title { font-family: var(--cr-serif); font-size: 28px; line-height: 1.05; }
.cr-card__price { font-size: 15px; font-weight: 500; white-space: nowrap; }
.cr-card__meta { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cr-card__cta { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
.cr-card.is-hidden { display: none; }

.cr-filters {
	position: sticky; top: calc(var(--cr-header-h) - 1px); z-index: 10;
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	padding: 14px 0; margin-bottom: 44px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.admin-bar .cr-filters { top: calc(var(--cr-header-h) + 31px); }
.cr-chip {
	min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line2); background: transparent; color: var(--fg);
	font-family: var(--cr-sans); font-size: 14px; transition: all .3s;
}
.cr-chip:hover { border-color: var(--fg); }
.cr-chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cr-filters__count { margin-left: auto; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* selected works (staggered columns) */
.cr-selected { display: flex; flex-wrap: wrap; gap: 40px; }
.cr-selected__col { flex: 1 1 300px; display: flex; flex-direction: column; gap: 56px; }
.cr-selected__col:nth-child(2) { padding-top: 120px; }
.cr-selected__col:nth-child(3) { padding-top: 48px; }
@media (max-width: 960px) { .cr-selected__col:nth-child(n) { padding-top: 0; } }

/* ------------------------------------------------------------------
   12. Process steps, pricing factors, figures
------------------------------------------------------------------- */
.cr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 36px; counter-reset: crstep; }
.cr-steps > li, .cr-step { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.cr-step__n { font-family: var(--cr-serif); font-size: 38px; line-height: 1; color: var(--accent); }
.cr-step__t { font-size: 18px; font-weight: 600; color: var(--fg); }
.cr-step p { margin: 0; font-size: 15px; }
.cr-steps--list { grid-template-columns: 1fr; gap: 30px; }
.cr-steps--list > li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; }

.cr-panel, .is-style-cr-panel { background: var(--elev); border: 1px solid var(--line); border-radius: var(--cr-radius-lg); padding: clamp(24px, 3.4vw, 40px); }
.cr-panel h3 { margin-bottom: 10px; }
.cr-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; margin: 0 0 28px; }
.cr-figures dt { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cr-figures dd { margin: 8px 0 0; font-family: var(--cr-serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; color: var(--fg); }

/* exhibitions / list rows */
.cr-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cr-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--fg); }
.cr-rows small { display: block; color: var(--muted); font-size: 14px; }
.cr-rows time, .cr-rows .cr-rows__meta { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* FAQ (core/details) */
.wp-block-details { border-bottom: 1px solid var(--line); padding: 20px 0; margin: 0; }
.wp-block-details summary { cursor: pointer; font-size: 16px; font-weight: 600; color: var(--fg); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .3s var(--cr-ease); }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > *:not(summary) { margin-top: 12px; font-size: 15px; }
.cr-faq { border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------
   13. Forms
------------------------------------------------------------------- */
.cr-form { display: flex; flex-direction: column; gap: 18px; }
.cr-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.cr-field { display: flex; flex-direction: column; gap: 8px; }
.cr-field label, .cr-legend-sm { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cr-input, .cr-form input[type="text"], .cr-form input[type="email"], .cr-form input[type="tel"], .cr-form input[type="date"], .cr-form select, .cr-form textarea {
	width: 100%; min-height: 50px; padding: 0 16px;
	background: var(--elev); color: var(--fg);
	border: 1px solid var(--line2); border-radius: 10px;
	font-family: var(--cr-sans); font-size: 16px; transition: border-color .3s;
}
.cr-form textarea { padding: 12px 16px; min-height: 130px; resize: vertical; line-height: 1.6; }
.cr-form input:focus, .cr-form select:focus, .cr-form textarea:focus { border-color: var(--fg); outline: none; }
.cr-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cr-form legend { font-size: 18px; font-weight: 600; color: var(--fg); padding: 0; margin-bottom: 12px; }
.cr-form .cr-hint { margin: -4px 0 4px; font-size: 14px; color: var(--muted); }
.cr-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.cr-choice { position: relative; display: block; cursor: pointer; }
.cr-choice input { position: absolute; opacity: 0; pointer-events: none; }
.cr-choice span { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; min-height: 78px; border-radius: 14px; border: 1px solid var(--line2); color: var(--fg); transition: all .3s; }
.cr-choice span small { font-size: 13px; opacity: .82; }
.cr-choice span b { font-size: 16px; font-weight: 600; }
.cr-choice input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cr-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.cr-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-pill { position: relative; cursor: pointer; }
.cr-pill input { position: absolute; opacity: 0; pointer-events: none; }
.cr-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); color: var(--fg); font-size: 14px; transition: all .3s; }
.cr-pill input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cr-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.cr-dropzone { border: 1px dashed var(--line2); border-radius: 16px; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; cursor: pointer; transition: border-color .3s, background-color .3s; }
.cr-dropzone:hover, .cr-dropzone.is-drag { border-color: var(--fg); background: var(--surface); }
.cr-dropzone strong { font-family: var(--cr-serif); font-weight: 400; font-size: 30px; }
.cr-dropzone input[type="file"] { font-size: 14px; color: var(--body); max-width: 100%; }
.cr-files { font-size: 15px; color: var(--accent); margin: 0; }
.cr-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--body); }
.cr-consent input { margin-top: 4px; accent-color: var(--fg); }
/* honeypot: hidden without pushing it off-screen (an off-screen left offset widens right-to-left pages) */
.cr-hp { position: absolute !important; inset: 0 auto auto 0; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
/* safety net: nothing may widen the page sideways */
html, body { overflow-x: clip; }
.cr-form__actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cr-form__error { color: #E5989B; font-size: 14px; margin: 0; }
html[data-theme="light"] .cr-form__error { color: #A33A3F; }
.cr-success { display: flex; flex-direction: column; gap: 14px; padding: 8px 0; }
.cr-success svg { color: var(--accent); }
.cr-success h3 { margin: 0; font-size: clamp(30px, 3vw, 42px); }

/* multi-step */
.cr-stepper { list-style: none; margin: 0 0 8px; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.cr-stepper li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); font-size: 14px; font-weight: 500; }
.cr-stepper li span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.cr-stepper li.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cr-stepper li.is-done { background: var(--surface); color: var(--fg); border-color: var(--line); }
.js .cr-ms__step { display: none; }
.js .cr-ms__step.is-active { display: flex; flex-direction: column; gap: 28px; animation: cr-rise .6s var(--cr-ease) both; }
.no-js .cr-stepper { display: none; }
.no-js .cr-ms__nav { display: none; }

/* ------------------------------------------------------------------
   14. Artwork single
------------------------------------------------------------------- */
.cr-crumbs { padding-block: 28px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.cr-crumbs a { color: var(--muted); text-decoration: none; }
.cr-crumbs a:hover { color: var(--fg); }
.cr-artwork { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(40px, 5vw, 72px); align-items: start; padding-bottom: 112px; }
.cr-gallery__main { aspect-ratio: 4 / 5; }
.cr-gallery__main img, .cr-gallery__main video { width: 100%; height: 100%; object-fit: cover; }
.cr-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.cr-thumb { padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: var(--cr-radius); outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .3s; }
.cr-thumb[aria-current="true"] { outline-color: var(--fg); }
.cr-thumb img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: var(--cr-radius); }
.cr-thumb--video { position: relative; display: block; aspect-ratio: 1 / 1; background: #0A0A0B; overflow: hidden; }
.cr-thumb--video img { height: 100%; opacity: .78; }
.cr-thumb__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #EEECE7; }
.cr-thumb__play svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(10,10,11,.55); box-sizing: border-box; }
.cr-gallery__main { position: relative; }
.cr-gallery__main video { position: absolute; inset: 0; background: #0A0A0B; cursor: pointer; }
.cr-gallery__main img[hidden] { display: none !important; }
.cr-artwork__panel { position: sticky; top: calc(var(--cr-header-h) + 28px); display: flex; flex-direction: column; gap: 26px; }
.cr-artwork__panel h1 { font-size: clamp(52px, 5.6vw, 88px); margin: 0; }
.cr-status { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--body); margin: 0; }
.cr-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cr-status--collected::before { background: var(--muted); }
.cr-price { font-family: var(--cr-serif); font-size: 48px; line-height: 1; color: var(--fg); }
.cr-price-note { font-size: 14px; color: var(--body); }
.cr-actions { display: flex; flex-direction: column; gap: 12px; }
.cr-actions__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cr-actions__row .cr-btn { padding: 0 14px; }
.cr-facts { margin: 0; border-top: 1px solid var(--line); }
.cr-facts > div { display: grid; grid-template-columns: 132px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cr-facts dt { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.cr-facts dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg); }
.cr-request { display: none; }
.cr-request.is-open { display: block; animation: cr-rise .5s var(--cr-ease) both; }
.no-js .cr-request { display: block; }

/* ------------------------------------------------------------------
   15. Journal
------------------------------------------------------------------- */
.cr-post-card { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--fg); }
.cr-post-card .cr-media { aspect-ratio: 3 / 2; }
.cr-post-card__title { font-family: var(--cr-serif); font-size: 30px; line-height: 1.12; }
.cr-article { max-width: 760px; margin-inline: auto; }
.cr-article__head { max-width: 980px; margin: 0 auto; padding-top: clamp(56px, 7vw, 96px); padding-bottom: 40px; text-align: center; }
.cr-article__head h1 { font-size: clamp(44px, 5.4vw, 84px); }
.cr-article__meta { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cr-article__hero { max-width: 1160px; margin: 0 auto 64px; }
.cr-article__hero .cr-media { aspect-ratio: 16 / 9; }
.cr-prose { font-size: 18px; line-height: 1.8; }
.cr-prose > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.cr-prose h2 { font-size: clamp(32px, 3.2vw, 44px); margin-top: 1.6em; }
.cr-prose h3 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 1.4em; }
.cr-prose .alignwide { max-width: 1160px; }
.cr-prose .alignfull { max-width: none; }
.cr-prose img { border-radius: var(--cr-radius); }
.cr-prose ul, .cr-prose ol { padding-left: 1.2em; }
.cr-prose blockquote { border-left: 1px solid var(--accent); margin-left: auto; padding-left: 24px; font-family: var(--cr-serif); font-size: 26px; line-height: 1.3; color: var(--fg); }
.cr-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 72px; }
.cr-pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line2); border-radius: 999px; text-decoration: none; color: var(--fg); padding: 0 14px; }
.cr-pagination .current { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ------------------------------------------------------------------
   16. Footer & mobile CTA
------------------------------------------------------------------- */
.cr-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 80px; padding-bottom: 40px; }
.cr-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 44px; }
.cr-footer h2 { font-family: var(--cr-sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.cr-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cr-footer a { color: var(--body); text-decoration: none; font-size: 15px; }
.cr-footer a:hover { color: var(--fg); }
.cr-footer__brand p { font-size: 15px; max-width: 280px; margin-top: 18px; }
.cr-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cr-footer__bottom ul { flex-direction: row; flex-wrap: wrap; gap: 14px; }
.cr-footer__bottom a { font-size: 11px; color: var(--muted); }
.cr-mobile-cta { display: none; }
@media (max-width: 760px) {
	.cr-mobile-cta {
		position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
		display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px;
		background: var(--cr-glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
		border: 1px solid var(--line); border-radius: 999px;
		transform: translateY(140%); transition: transform .45s var(--cr-ease);
	}
	.cr-mobile-cta.is-visible { transform: none; }
	.cr-mobile-cta .cr-btn { min-height: 48px; padding: 0 10px; font-size: 14px; }
	body { padding-bottom: 0; }
	.cr-footer { padding-bottom: 110px; }
}

/* ------------------------------------------------------------------
   17. Motion
------------------------------------------------------------------- */
@keyframes cr-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .cr-reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--cr-ease), transform 1.1s var(--cr-ease); }
.js .cr-reveal.is-visible { opacity: 1; transform: none; }
.cr-rise { animation: cr-rise 1.1s var(--cr-ease) both; }
.cr-d1 { animation-delay: .12s; } .cr-d2 { animation-delay: .24s; } .cr-d3 { animation-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .cr-reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
   19. Block-built sections (patterns & imported pages)
------------------------------------------------------------------- */
.cr-section-head > * { margin-block: 0 !important; }
.cr-section-head > .wp-block-group { display: flex; flex-direction: column; gap: 0; }
.cr-section-head .cr-eyebrow { margin-bottom: 18px !important; }
.cr-section-head p:last-child:not(.cr-eyebrow) { margin: 0; }
.cr-section > .wp-block-columns { margin-block: 0; }
.wp-block-columns.cr-align-start { align-items: flex-start; }
.wp-block-columns.cr-align-end { align-items: flex-end; }
.wp-block-column > *:last-child { margin-bottom: 0; }
.wp-block-column.cr-sticky { position: sticky; top: calc(var(--cr-header-h) + 28px); align-self: flex-start; }
.cr-stack-lg > * + * { margin-top: 28px !important; }
.cr-steps > .cr-step > * { margin: 0; }
.cr-step .cr-step__n { font-family: var(--cr-serif); font-size: 38px; line-height: 1; color: var(--accent); }
.cr-step .cr-step__t { font-size: 18px; font-weight: 600; color: var(--fg); }
.cr-steps--list > .cr-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; row-gap: 8px; padding-top: 26px; }
.cr-steps--list > .cr-step > .cr-step__n { grid-row: 1 / span 2; font-size: 40px; }
.cr-steps--list > .cr-step > p:not(.cr-step__n):not(.cr-step__t) { grid-column: 2; font-size: 16px; }
.cr-figures { grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); }
.cr-figures--text dd { font-family: var(--cr-sans); font-size: 16px; line-height: 1.5; }
.cr-box { border: 1px solid var(--line); border-radius: var(--cr-radius); padding: clamp(28px, 5vw, 72px); }
.cr-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cr-cta > * { margin: 0 !important; }
.cr-cta h2 { margin-bottom: 14px; }
.cr-panel > *:last-child { margin-bottom: 0; }
.cr-panel .cr-panel__title { font-family: var(--cr-serif); font-size: 40px; line-height: 1.05; color: var(--fg); margin: 0 0 10px; }
.cr-panel .cr-panel__sub { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.cr-figure-note { font-size: 15px; margin-top: 14px; }
.cr-figure-note strong { font-weight: 600; }
.cr-note { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--body); margin: 0; }
.cr-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.cr-hero .wp-block-buttons, .cr-intro .wp-block-buttons { margin-top: 4px; }
.cr-hero .cr-display { margin: 0; }
.cr-contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.cr-contact-list a { color: var(--fg); }
.cr-rows li > span:first-child { display: block; }
.cr-quote-wrap { max-width: 1080px; }
.cr-section.cr-pt-0 { padding-top: 0; }
.cr-section.cr-pt-sm { padding-top: 28px; }
.cr-section.cr-pb-sm { padding-bottom: 28px; }
.cr-section.cr-pb-0 { padding-bottom: 0; }
.cr-caption--row { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
h2.cr-h2-sm, .cr-h2-sm { font-size: clamp(32px, 3.4vw, 50px); }
.cr-cta--line { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 28px !important; }
.cr-cta--line p { max-width: 760px; }
.cr-proof > * + * { margin-top: 14px !important; }
@media (min-width: 1000px) { .cr-steps:not(.cr-steps--list) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 36px; } }
@media (max-width: 781px) {
	.wp-block-column.cr-sticky { position: static; }
	.cr-section-head { margin-bottom: 36px; }
}

/* video pause / play button */
.cr-video-band, .cr-video-portrait, .wp-block-video.cr-video-band, .wp-block-video.cr-video-portrait { position: relative; }
.cr-video-toggle {
	position: absolute; right: 14px; bottom: 14px; z-index: 3;
	width: 40px; height: 40px; border-radius: 50%; padding: 0; cursor: pointer;
	border: 1px solid rgba(238, 236, 231, .35); background: rgba(10, 10, 11, .55);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	opacity: .75; transition: opacity .3s;
}
.cr-video-toggle:hover, .cr-video-toggle:focus-visible, .cr-video-toggle.is-paused { opacity: 1; }
.cr-video-toggle::before, .cr-video-toggle::after { content: ""; position: absolute; top: 13px; width: 4px; height: 14px; background: #EEECE7; border-radius: 1px; }
.cr-video-toggle::before { left: 14px; }
.cr-video-toggle::after { left: 22px; }
.cr-video-toggle.is-paused::before { left: 16px; top: 12px; width: 0; height: 0; background: transparent; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #EEECE7; border-radius: 0; }
.cr-video-toggle.is-paused::after { display: none; }

/* images inside articles: centred on the text column, never taller than the screen */
.cr-prose > .wp-block-image, .cr-prose > figure, .cr-prose > .wp-block-video {
	max-width: 720px; margin: 2.2em auto !important; text-align: center;
}
.cr-prose > .wp-block-image img, .cr-prose > figure img {
	display: block; margin: 0 auto; width: auto; max-width: 100%; max-height: min(82vh, 900px); object-fit: contain;
}
.cr-prose > .wp-block-image.alignwide, .cr-prose > .wp-block-image.alignfull { max-width: 1160px; }
.cr-prose figcaption { text-align: center; }

/* collected worldwide / real spaces */
.cr-countries { font-size: 15px; line-height: 2; letter-spacing: .02em; color: var(--fg); margin: 6px 0 0; }
.cr-countries__more { color: var(--muted); font-style: italic; }
.cr-spaces { margin-top: 48px !important; gap: 20px; }
.cr-crate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; margin: 1.6em auto !important; max-width: 720px !important; }
.cr-prose > .cr-crate-grid .wp-block-image { margin: 0 !important; max-width: none; }
.cr-prose > .cr-crate-grid .wp-block-image img { max-height: none; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
	.cr-spaces, .cr-crate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ------------------------------------------------------------------
   18. WordPress core block polish
------------------------------------------------------------------- */
.wp-block-image { margin: 0; }
.wp-block-image img { border-radius: var(--cr-radius); }
.wp-block-image figcaption { margin-bottom: 0; }
.wp-block-cover { border-radius: var(--cr-radius); }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--line); padding: 12px; }
.wp-block-search__input { background: var(--elev); color: var(--fg); border: 1px solid var(--line2); border-radius: 999px; min-height: 50px; padding: 0 20px; }
.wp-block-embed { margin: 0; }
.alignwide { max-width: var(--cr-wrap); margin-inline: auto; }
.cr-404 { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }

/* ---------- lightbox ---------- */
.cr-zoomable { cursor: zoom-in; }
.cr-zoomable:focus-visible { outline: 2px solid var(--accent, #A9D9D4); outline-offset: 3px; }
html.cr-lightbox-open, html.cr-lightbox-open body { overflow: hidden; }
.cr-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(6, 6, 7, .94); opacity: 0; transition: opacity .25s ease; }
.cr-lightbox[hidden] { display: none !important; }
.cr-lightbox.is-open { opacity: 1; }
.cr-lightbox__stage { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 72px 40px; box-sizing: border-box; }
.cr-lightbox__stage img { max-width: 100%; max-height: calc(100% - 28px); width: auto; height: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 20px 60px rgba(0,0,0,.5); cursor: default; }
.cr-lightbox__count { margin-top: 12px; min-height: 16px; color: #94928C; font-size: 12px; letter-spacing: .12em; }
.cr-lightbox__close, .cr-lightbox__nav { position: absolute; border: 1px solid rgba(238,236,231,.25); background: rgba(10,10,11,.55); color: #EEECE7; border-radius: 50%; cursor: pointer; transition: background .2s, border-color .2s; }
.cr-lightbox__close:hover, .cr-lightbox__nav:hover, .cr-lightbox__close:focus-visible, .cr-lightbox__nav:focus-visible { background: rgba(238,236,231,.12); border-color: rgba(238,236,231,.6); outline: none; }
.cr-lightbox__close { top: 16px; right: 16px; width: 44px; height: 44px; }
.cr-lightbox__close::before, .cr-lightbox__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: currentColor; }
.cr-lightbox__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.cr-lightbox__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.cr-lightbox__nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; }
.cr-lightbox__nav[hidden] { display: none; }
.cr-lightbox__nav--prev { left: 16px; }
.cr-lightbox__nav--next { right: 16px; }
.cr-lightbox__nav::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.cr-lightbox__nav--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.cr-lightbox__nav--next::before { transform: translate(-70%, -50%) rotate(45deg); }
@media (max-width: 700px) {
	.cr-lightbox__stage { padding: 64px 12px 72px; }
	.cr-lightbox__nav { top: auto; bottom: 16px; margin-top: 0; width: 46px; height: 46px; }
	.cr-lightbox__nav--prev { left: calc(50% - 60px); }
	.cr-lightbox__nav--next { right: calc(50% - 60px); }
	.cr-lightbox__count { position: absolute; top: 30px; left: 0; right: 0; text-align: center; margin: 0; }
}

/* ---------- collector reviews ---------- */
.cr-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.cr-review { margin: 0; padding: 32px 30px 28px; border: 1px solid var(--line, rgba(127,127,127,.25)); border-radius: var(--cr-radius); display: flex; flex-direction: column; gap: 18px; background: transparent; }
.cr-review__quote { margin: 0; font-family: var(--cr-serif, 'Instrument Serif', serif); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.35; color: var(--fg); flex: 1; }
.cr-review__meta { margin: 0; font-size: 13px; color: var(--muted, #94928C); letter-spacing: .02em; }
.cr-review__meta cite { font-style: normal; color: var(--fg); font-weight: 600; }
.cr-review__tr { margin: -6px 0 0; padding-top: 14px; border-top: 1px solid var(--line, rgba(127,127,127,.25)); font-size: 15px; line-height: 1.6; color: var(--body); }
.cr-review__tr-label { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted, #94928C); }
.cr-review__tr:lang(en) { display: none; }
.cr-review__work { margin: -12px 0 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #94928C); }
.cr-reviews__note { margin-top: 22px; font-size: 13px; color: var(--muted, #94928C); }
.cr-reviews__note a { color: var(--fg); }
@media (max-width: 900px) { .cr-reviews { grid-template-columns: 1fr; } }
/* ---------- in-page anchors below the sticky header ---------- */
.cr-anchor { display: block; position: relative; top: -110px; visibility: hidden; height: 0; }
/* ---------- author box ---------- */
.cr-author { margin: 64px auto 0; padding: 28px 0 0; border-top: 1px solid var(--line, rgba(127,127,127,.25)); max-width: 680px; text-align: center; }
.cr-author .cr-eyebrow { margin: 0 0 6px; }
.cr-author__name { margin: 0; font-family: var(--cr-serif, 'Instrument Serif', serif); font-size: 28px; color: var(--fg); }
.cr-author__bio { margin: 8px auto 12px; max-width: 520px; color: var(--muted, #94928C); }
/* ---------- form success extras + upload progress ---------- */
.cr-success__name { margin: 6px 0 0; font-weight: 600; color: var(--fg); }
.cr-success__mail { margin: 10px 0 0; font-size: 14px; color: var(--muted, #94928C); }
.cr-progress { height: 4px; border-radius: 4px; background: var(--line, rgba(127,127,127,.25)); overflow: hidden; margin-top: 12px; }
.cr-progress span { display: block; height: 100%; width: 0; background: var(--fg); transition: width .2s ease; }

/* ---------- Arabic / right-to-left ---------- */
:lang(ar) {
	--cr-serif: "Instrument Serif", "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;
	--cr-sans: "Hanken Grotesk", "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}
:lang(ar) body { line-height: 1.85; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4, :lang(ar) h5, :lang(ar) h6, :lang(ar) .cr-display { line-height: 1.35; letter-spacing: 0; }
:lang(ar) h1, :lang(ar) .cr-display { font-size: clamp(40px, 5.4vw, 86px); }
:lang(ar) *, :lang(ar) *::before, :lang(ar) *::after { letter-spacing: 0 !important; }
:lang(ar) em, :lang(ar) i, :lang(ar) .cr-display em, :lang(ar) h1 em, :lang(ar) h2 em,
:lang(ar) .cr-drawer__nav a[aria-current="page"], :lang(ar) .cr-countries__more { font-style: normal; }
:lang(ar) .cr-card__title, :lang(ar) .cr-post-card__title, :lang(ar) .cr-drawer nav a { line-height: 1.35; }

[dir="rtl"] .cr-caption, [dir="rtl"] figcaption, [dir="rtl"] .wp-element-caption { text-align: right; }
[dir="rtl"] .skip-link:focus { left: auto; right: 12px; }
[dir="rtl"] .cr-i-arrow { transform: scaleX(-1); }
[dir="rtl"] .cr-more:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .cr-lang__menu { right: auto; left: 0; }
[dir="rtl"] .cr-header__cta { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .cr-drawer nav a::after { content: "←"; margin-left: 0; margin-right: auto; }
[dir="rtl"] .cr-drawer__nav a:hover::after, [dir="rtl"] .cr-drawer__nav a:focus-visible::after { transform: translateX(-4px); }
[dir="rtl"] .cr-drawer__stack { padding-left: 0; padding-right: 14px; }
[dir="rtl"] .cr-drawer__thumb { margin-left: 0; margin-right: -14px; }
[dir="rtl"] .cr-drawer__feature svg { margin-left: 0; margin-right: auto; }
[dir="rtl"] .wp-block-video.cr-video-band figcaption { left: auto; right: 20px; }
[dir="rtl"] .cr-badge { left: auto; right: 14px; }
[dir="rtl"] .cr-filters__count { margin-left: 0; margin-right: auto; }
[dir="rtl"] .cr-prose ul, [dir="rtl"] .cr-prose ol { padding-left: 0; padding-right: 1.2em; }
[dir="rtl"] .cr-prose blockquote { border-left: 0; border-right: 1px solid var(--accent); padding-left: 0; padding-right: 24px; }
[dir="rtl"] .cr-video-toggle { right: auto; left: 14px; }
[dir="rtl"] .cr-lightbox__close { right: auto; left: 16px; }
[dir="rtl"] .cr-lightbox__nav--prev { left: auto; right: 16px; }
[dir="rtl"] .cr-lightbox__nav--next { right: auto; left: 16px; }
[dir="rtl"] .cr-lightbox__nav--prev::before { transform: translate(-70%, -50%) rotate(45deg); }
[dir="rtl"] .cr-lightbox__nav--next::before { transform: translate(-30%, -50%) rotate(-135deg); }
@media (max-width: 700px) {
	[dir="rtl"] .cr-lightbox__nav--prev { left: auto; right: calc(50% - 60px); }
	[dir="rtl"] .cr-lightbox__nav--next { right: auto; left: calc(50% - 60px); }
}
/* Latin-only content (emails, prices, Etsy quotes) keeps its own direction */
[dir="rtl"] .cr-review__quote[lang="en"] { direction: ltr; text-align: left; }

/* Consent banner (cracasso-core analytics) */
.cr-cookie { position: fixed; z-index: 9990; inset-inline: 16px; bottom: 16px; max-width: 560px; margin-inline-start: auto; padding: 18px 20px; background: var(--elev); color: var(--body); border: 1px solid var(--line2); border-radius: var(--cr-radius-lg); box-shadow: var(--cr-shadow); font-family: var(--cr-sans); font-size: 14px; line-height: 1.55; }
.cr-cookie[hidden] { display: none; }
.cr-cookie__text { margin: 0 0 14px; }
.cr-cookie__text a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.cr-cookie__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cr-cookie__actions .cr-btn { flex: 1 1 120px; }
.cr-linkbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: start; }
.cr-linkbtn:hover { color: var(--fg); }
.cr-footer .cr-linkbtn { color: var(--body); font-size: 15px; }
.cr-footer .cr-linkbtn:hover { color: var(--fg); }
.cr-cookie .cr-btn--ghost { background: transparent; color: var(--fg); border-color: var(--line2); }
.cr-cookie .cr-btn--ghost:hover { color: var(--fg); border-color: var(--fg); }

/* Narrow phones: logo, language switcher, theme toggle and menu button must all fit (iPhone SE, 360px Android). */
@media (max-width: 430px) {
	.cr-header__inner { gap: 10px; }
	.cr-logo img { height: 19px; }
	.cr-header__tools { gap: 4px; }
	.cr-header__tools .cr-icon-btn { width: 40px; height: 40px; }
	.cr-lang > summary { padding: 0 6px; gap: 4px; }
}
@media (max-width: 370px) {
	.cr-lang__code { display: none; }
	.cr-logo img { height: 17px; }
}
