/*
Theme Name: Cordelia
Description: Custom portfolio & shop theme for painter Cordelia Wong — paintings, prints, commissions and enquiries.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: cordelia
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--cream: #fbf5ee;
	--paper: #fffdf9;
	--ink: #2a211e;
	--ink-soft: #5b4e48;
	--muted: #8a7b73;
	--line: rgba(42, 33, 30, 0.12);
	--berry: #b4465a;
	--berry-dark: #93344a;
	--rose: #f3c6d3;
	--peach: #f6d2b5;
	--butter: #fbe7c6;
	--lilac: #d8cbf0;
	--sage: #c7dbc0;
	--sky: #c4dbee;

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(42, 33, 30, 0.06), 0 2px 8px rgba(42, 33, 30, 0.05);
	--shadow: 0 2px 6px rgba(42, 33, 30, 0.05), 0 14px 34px -12px rgba(42, 33, 30, 0.18);
	--shadow-lg: 0 4px 10px rgba(42, 33, 30, 0.05), 0 30px 60px -20px rgba(42, 33, 30, 0.28);

	--wrap: 1240px;
	--gutter: clamp(18px, 4.5vw, 40px);
	--section: clamp(64px, 9vw, 120px);
	--header-h: 72px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background-color: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: clamp(16px, 0.3vw + 15px, 17.5px);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	overflow-x: clip;
	position: relative;
}
html { overflow-x: hidden; overflow-x: clip; }

/* Paper grain over the whole page */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.35;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Soft watercolour blobs behind everything */
.bg-wash {
	position: fixed;
	inset: 0;
	z-index: -2;
	overflow: hidden;
	pointer-events: none;
}
.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.55;
}
.blob--1 { width: 46vw; height: 46vw; top: -12vw; left: -10vw; background: var(--rose); }
.blob--2 { width: 38vw; height: 38vw; top: 10vh; right: -12vw; background: var(--lilac); }
.blob--3 { width: 40vw; height: 40vw; bottom: -14vw; left: 18vw; background: var(--butter); }
.blob--4 { width: 30vw; height: 30vw; bottom: 8vh; right: 4vw; background: var(--sage); opacity: 0.4; }
@media (max-width: 700px) {
	.blob { filter: blur(50px); }
	.blob--1 { width: 90vw; height: 90vw; }
	.blob--2 { width: 70vw; height: 70vw; }
	.blob--3 { width: 80vw; height: 80vw; }
}

img,
svg,
video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--berry); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	color: var(--ink);
	font-variation-settings: "opsz" 120;
}

p { margin: 0 0 1em; }

:focus-visible {
	outline: 2px solid var(--berry);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection { background: var(--rose); color: var(--ink); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 1000;
	background: var(--ink); color: #fff;
	padding: 10px 16px; border-radius: 10px;
	text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 860px; }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(32px, 5vw, 64px) var(--section); }

/* ==========================================================================
   Buttons, labels, small UI
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 26px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font: 600 15.5px/1.2 var(--font-body);
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
	-webkit-tap-highlight-color: transparent;
}
.btn svg { transition: transform 0.25s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
	background: var(--ink);
	color: #fff;
	box-shadow: 0 8px 20px -8px rgba(42, 33, 30, 0.55);
}
.btn--primary:hover { background: var(--berry); color: #fff; transform: translateY(-2px); }
.btn--ghost {
	background: rgba(255, 253, 249, 0.7);
	border-color: var(--line);
	color: var(--ink);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn--wide { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 6px 14px 6px 8px;
	border-radius: 999px;
	background: rgba(255, 253, 249, 0.75);
	border: 1px solid var(--line);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.eyebrow__emoji {
	display: grid;
	place-items: center;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--butter);
	font-size: 14px;
	letter-spacing: 0;
}

.section-title { font-size: clamp(30px, 3.6vw, 48px); }
.section-title--center { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.lead { font-size: clamp(17px, 1.2vw, 19px); color: var(--ink-soft); max-width: 56ch; }

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head .section-title { margin: 0; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; text-decoration: none;
	padding-bottom: 4px;
	border-bottom: 1.5px solid currentColor;
}
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow svg { transition: transform 0.25s var(--ease); }

.card-paper {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 4vw, 48px);
	box-shadow: var(--shadow-sm);
}

.empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 18px; }

/* Emoji stickers */
.sticker {
	position: absolute;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 64px; height: 64px;
	border-radius: 50%;
	background: var(--paper);
	box-shadow: var(--shadow);
	font-size: 30px;
	line-height: 1;
	user-select: none;
	animation: float 6s ease-in-out infinite;
}
@keyframes float {
	0%, 100% { transform: translateY(0) rotate(-4deg); }
	50% { transform: translateY(-10px) rotate(4deg); }
}

/* ==========================================================================
   Announcement + header
   ========================================================================== */
.announcement {
	background: var(--ink);
	color: #fbf5ee;
	text-align: center;
	font-size: 13.5px;
	letter-spacing: 0.02em;
	padding: 9px var(--gutter);
}
.announcement p { margin: 0; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(251, 245, 238, 0.78);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(42, 33, 30, 0.4); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: var(--ink);
	position: relative;
	z-index: 102;
}
.brand:hover { color: var(--ink); }
.brand__name {
	font-family: var(--font-display);
	font-size: clamp(22px, 2.2vw, 27px);
	font-weight: 500;
	font-style: italic;
	letter-spacing: -0.01em;
}
.brand__spark { color: var(--berry); font-size: 18px; transition: transform 0.6s var(--ease); }
.brand:hover .brand__spark { transform: rotate(180deg); }
.brand__logo { max-height: 48px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 500;
	font-size: 15.5px;
	transition: background-color 0.2s, color 0.2s;
}
.site-nav .menu a:hover { background: rgba(255, 253, 249, 0.9); color: var(--ink); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { background: var(--ink); color: #fff; }
.site-nav .current-menu-item > a:hover { background: var(--ink); color: #fff; }

.nav-social {
	display: inline-flex; align-items: center; gap: 8px;
	text-decoration: none; font-size: 14.5px; font-weight: 500;
	color: var(--ink-soft);
}

.nav-toggle {
	display: none;
	position: relative;
	z-index: 102;
	width: 46px; height: 46px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--paper);
	cursor: pointer;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}
.nav-toggle__bars { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; }
.nav-toggle__bars span {
	display: block; width: 20px; height: 1.8px; border-radius: 2px;
	background: var(--ink);
	transition: transform 0.35s var(--ease);
}
.nav-open .nav-toggle__bars span:first-child { transform: translateY(3.9px) rotate(45deg); }
.nav-open .nav-toggle__bars span:last-child { transform: translateY(-3.9px) rotate(-45deg); }

@media (max-width: 899px) {
	:root { --header-h: 64px; }
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 101;
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
		gap: 32px;
		padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		background: var(--cream);
		background-image:
			radial-gradient(circle at 15% 10%, var(--rose) 0, transparent 45%),
			radial-gradient(circle at 90% 90%, var(--lilac) 0, transparent 45%);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.35s var(--ease), visibility 0.35s;
	}
	/* backdrop-filter would trap the fixed overlay inside the header */
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(251, 245, 238, 0.96); }
	.nav-open .site-nav { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; align-items: flex-start; gap: 4px; }
	.site-nav .menu a {
		font-family: var(--font-display);
		font-size: clamp(34px, 9vw, 46px);
		padding: 4px 0;
		background: none !important;
		color: var(--ink) !important;
		transform: translateY(12px);
		opacity: 0;
		transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
	}
	.site-nav .current-menu-item > a { font-style: italic; }
	.site-nav .current-menu-item > a::after { content: " ✿"; color: var(--berry); font-size: 0.6em; vertical-align: middle; }
	.nav-open .site-nav .menu a { transform: none; opacity: 1; }
	.nav-open .site-nav .menu li:nth-child(2) a { transition-delay: 0.05s; }
	.nav-open .site-nav .menu li:nth-child(3) a { transition-delay: 0.1s; }
	.nav-open .site-nav .menu li:nth-child(4) a { transition-delay: 0.15s; }
	.nav-open .site-nav .menu li:nth-child(5) a { transition-delay: 0.2s; }
	.nav-social { font-size: 16px; }
	.admin-bar .site-nav { top: 46px; }
}
@media (min-width: 900px) and (max-width: 1080px) {
	.nav-social__label { display: none; }
	.site-nav { gap: 14px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-block: clamp(36px, 6vw, 90px) clamp(48px, 7vw, 100px); }
.hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(48px, 6vw, 80px);
	align-items: center;
}
@media (min-width: 900px) {
	.hero__inner { grid-template-columns: 1.05fr 1fr; }
}
.hero__title {
	font-size: clamp(40px, 6.2vw, 80px);
	line-height: 1.02;
	letter-spacing: -0.03em;
	margin-bottom: 24px;
	text-wrap: balance;
}
.hero__text { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-soft); max-width: 46ch; text-wrap: pretty; }
.hero__perks {
	display: flex; flex-wrap: wrap; gap: 10px 22px;
	list-style: none; padding: 0; margin: 32px 0 0;
	font-size: 14.5px; color: var(--ink-soft); font-weight: 500;
}
.hero__perks li { display: inline-flex; align-items: center; gap: 8px; }

.hero__art { position: relative; padding: 20px 10px; }
.collage {
	position: relative;
	aspect-ratio: 1 / 1.02;
	width: 100%;
	max-width: 580px;
	margin-inline: auto;
}
.frame {
	position: absolute;
	margin: 0;
	background: var(--paper);
	padding: clamp(8px, 1.1vw, 14px);
	border-radius: 6px;
	box-shadow: var(--shadow-lg);
	transition: transform 0.6s var(--ease);
}
.frame a, .frame img, .frame .art-placeholder { display: block; width: 100%; height: 100%; border-radius: 2px; }
.frame img { object-fit: cover; }
.frame--1 { width: 60%; height: 70%; left: 4%; top: 6%; transform: rotate(-4deg); z-index: 2; }
.frame--2 { width: 48%; height: 52%; right: 0; top: 0; transform: rotate(5deg); z-index: 1; }
.frame--3 { width: 50%; height: 46%; right: 6%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.collage:hover .frame--1 { transform: rotate(-6deg) translate(-6px, -4px); }
.collage:hover .frame--2 { transform: rotate(7deg) translate(6px, -6px); }
.collage:hover .frame--3 { transform: rotate(0deg) translate(4px, 6px); }
.frame--hero { position: relative; transform: rotate(-2deg); }
.frame--hero img { width: 100%; height: auto; }

.sticker--a { top: -2%; left: 0; }
.sticker--b { top: 38%; right: -2%; width: 54px; height: 54px; font-size: 24px; animation-delay: -1.5s; }
.sticker--c { bottom: 2%; left: 12%; animation-delay: -3s; }
.sticker--d { top: -4%; right: 30%; width: 50px; height: 50px; font-size: 22px; animation-delay: -4.5s; }
@media (max-width: 600px) {
	.sticker { width: 50px; height: 50px; font-size: 23px; }
	.sticker--b, .sticker--d { width: 42px; height: 42px; font-size: 19px; }
	.sticker--b { right: 0; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
	overflow: hidden;
	background: var(--ink);
	color: var(--cream);
	padding: 18px 0;
	transform: rotate(-1.2deg);
	margin: 0 -10px;
	box-shadow: var(--shadow);
}
.marquee__track {
	display: flex;
	gap: 28px;
	width: max-content;
	font-family: var(--font-display);
	font-size: clamp(19px, 2vw, 26px);
	font-style: italic;
	white-space: nowrap;
	animation: marquee 38s linear infinite;
}
.marquee__dot { color: var(--rose); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Painting grid & cards
   ========================================================================== */
.art-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2.4vw, 32px) clamp(14px, 2.4vw, 32px);
}
@media (min-width: 900px) {
	.art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 340px) {
	.art-grid { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
	.art-card__body { padding-top: 12px; }
	.art-card__title { font-size: 17px; }
	.art-card__meta { font-size: 13px; }
	.badge { top: 8px; left: 8px; padding: 4px 9px; font-size: 10.5px; }
	.badge--print { left: auto; right: 8px; }
}

.art-card { display: flex; flex-direction: column; }
.art-card[hidden] { display: none; }
.art-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper);
	box-shadow: var(--shadow);
	isolation: isolate;
}
.art-card__media img,
.art-card__media .art-placeholder {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}
.art-card:hover .art-card__media img,
.art-card:hover .art-card__media .art-placeholder { transform: scale(1.045); }
.art-card__body { padding: 16px 4px 0; }
.art-card__title {
	font-size: clamp(18px, 1.6vw, 22px);
	margin: 0 0 4px;
}
.art-card__title a { text-decoration: none; }
.art-card__title a::after { content: ""; }
.art-card__meta { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.art-card__price { margin: 0; font-weight: 600; font-size: 15.5px; }

.price--sold { color: var(--muted); font-weight: 500; text-decoration: line-through; text-decoration-thickness: 1px; }
.price-note { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #a5671d; }

.badge {
	position: absolute;
	top: 12px; left: 12px;
	z-index: 2;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--paper);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}
.badge--sold { background: var(--ink); color: #fff; }
.badge--reserved { background: var(--butter); }
.badge--print { left: auto; right: 12px; background: var(--lilac); }

.art-placeholder { position: relative; width: 100%; height: 100%; }
.art-placeholder::after {
	content: "";
	position: absolute; inset: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}
.art-placeholder--portrait { display: grid; place-items: center; font-size: 88px; aspect-ratio: 4 / 5; }

/* Filters */
.filters {
	display: flex;
	gap: 8px;
	margin-bottom: clamp(24px, 3vw, 40px);
	overflow-x: auto;
	padding: 4px 2px 8px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filters { flex-wrap: wrap; overflow: visible; } }
.chip {
	flex: none;
	display: inline-flex; align-items: center;
	min-height: 42px;
	padding: 8px 18px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: rgba(255, 253, 249, 0.8);
	font: 500 14.5px/1 var(--font-body);
	color: var(--ink);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters__sep { flex: none; width: 1px; align-self: stretch; margin: 6px 6px; background: var(--line); }

.shop-note {
	display: flex; gap: 14px; align-items: flex-start;
	margin-top: clamp(40px, 5vw, 64px);
	padding: 20px 24px;
	border-radius: var(--radius);
	background: rgba(255, 253, 249, 0.75);
	border: 1px dashed rgba(42, 33, 30, 0.22);
	font-size: 15px; color: var(--ink-soft);
}
.shop-note > span { font-size: 24px; line-height: 1.2; }
.shop-note p { margin: 0; }
.shop-note a { font-weight: 600; color: var(--ink); }

/* ==========================================================================
   About teaser / page
   ========================================================================== */
.about-teaser {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(40px, 6vw, 90px);
	align-items: center;
}
@media (min-width: 900px) { .about-teaser { grid-template-columns: 0.9fr 1.1fr; } }
.about-teaser__media { position: relative; margin: 0; max-width: 520px; width: 100%; margin-inline: auto; }
.about-teaser__media > img,
.about-teaser__media > .art-placeholder {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
	box-shadow: var(--shadow-lg);
}
.sticker--about { bottom: 8%; right: -14px; }
.about-teaser--page { padding-top: clamp(0px, 2vw, 20px); }
.about-teaser--page .page-title { text-align: left; }
.about-teaser--page .prose { font-size: clamp(16.5px, 1.1vw, 18px); }

/* ==========================================================================
   Commission card + steps
   ========================================================================== */
.commission-card {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
	padding: clamp(28px, 5vw, 72px);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(circle at 0% 0%, var(--peach) 0, transparent 50%),
		radial-gradient(circle at 100% 100%, var(--lilac) 0, transparent 55%),
		var(--rose);
	box-shadow: var(--shadow);
	overflow: hidden;
}
@media (min-width: 900px) { .commission-card { grid-template-columns: 1.1fr 1fr; } }
.commission-card .eyebrow { background: rgba(255, 253, 249, 0.7); }
.commission-card .lead { color: var(--ink); opacity: 0.85; }

.steps {
	list-style: none;
	margin: 0; padding: 0;
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 24px 24px;
	box-shadow: var(--shadow-sm);
}
.steps strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 21px; margin: 12px 0 6px; }
.steps p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.steps__emoji {
	display: grid; place-items: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--butter);
	font-size: 24px;
}
.steps li:nth-child(2) .steps__emoji { background: var(--rose); }
.steps li:nth-child(3) .steps__emoji { background: var(--lilac); }
.steps li:nth-child(4) .steps__emoji { background: var(--sage); }
.steps__num {
	position: absolute; top: 18px; right: 22px;
	font-family: var(--font-display); font-style: italic;
	font-size: 34px; color: rgba(42, 33, 30, 0.14); line-height: 1;
}

.steps--compact { grid-template-columns: 1fr !important; gap: 12px; }
.steps--compact li {
	display: flex; gap: 16px; align-items: center;
	padding: 16px 18px;
	background: rgba(255, 253, 249, 0.85);
	border-color: rgba(255, 255, 255, 0.6);
}
.steps--compact strong { margin: 0 0 2px; font-size: 18px; }
.steps--compact .steps__emoji { flex: none; width: 46px; height: 46px; font-size: 21px; }

/* ==========================================================================
   Trust row
   ========================================================================== */
.section--trust { padding-top: 0; }
.trust {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.trust li {
	text-align: center;
	padding: clamp(24px, 3vw, 40px) 24px;
	border-radius: var(--radius-lg);
	background: rgba(255, 253, 249, 0.7);
	border: 1px solid var(--line);
}
.trust__emoji { display: block; font-size: 38px; margin-bottom: 12px; }
.trust h3 { font-size: 22px; margin-bottom: 8px; }
.trust p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ==========================================================================
   Page hero & prose
   ========================================================================== */
.page-hero {
	padding-block: clamp(48px, 8vw, 110px) clamp(16px, 3vw, 32px);
	text-align: center;
}
.page-title {
	font-size: clamp(38px, 5.6vw, 68px);
	letter-spacing: -0.025em;
	line-height: 1.04;
	text-wrap: balance;
}
.page-intro { max-width: 60ch; margin: 0 auto; font-size: clamp(17px, 1.3vw, 19.5px); color: var(--ink-soft); }
.page-hero .btn-row { margin-top: 32px; }
.page-hero--404 { padding-bottom: var(--section); }
.big-emoji { font-size: 72px; margin: 0 0 12px; animation: float 6s ease-in-out infinite; display: inline-block; }

.page-image { margin: 0 0 32px; }
.page-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.prose { color: var(--ink-soft); }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(23px, 2.2vw, 30px); margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: clamp(20px, 1.8vw, 24px); margin-top: 1.4em; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose a { color: var(--berry); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose img { border-radius: var(--radius); }
.prose blockquote {
	margin: 1.5em 0; padding: 0.2em 0 0.2em 1.2em;
	border-left: 3px solid var(--rose);
	font-family: var(--font-display); font-style: italic; font-size: 1.2em; color: var(--ink);
}
.prose .wp-block-image,
.prose figure { margin: 1.6em 0; }
.prose .wp-block-gallery { gap: 12px; }

/* ==========================================================================
   Single artwork
   ========================================================================== */
.artwork { padding-block: clamp(24px, 4vw, 64px) clamp(32px, 5vw, 72px); }
.artwork__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
@media (min-width: 900px) {
	.artwork__inner { grid-template-columns: 1.15fr 1fr; }
	.artwork__media { position: sticky; top: calc(var(--header-h) + 24px); }
}
.artwork__frame {
	margin: 0;
	background: var(--paper);
	padding: clamp(10px, 1.6vw, 22px);
	border-radius: 6px;
	box-shadow: var(--shadow-lg);
}
.artwork__frame img { width: 100%; height: auto; border-radius: 2px; }
.artwork__frame .art-placeholder { aspect-ratio: 4 / 5; border-radius: 2px; }
.zoom { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom__hint {
	position: absolute; right: 14px; bottom: 14px;
	display: grid; place-items: center;
	width: 42px; height: 42px; border-radius: 50%;
	background: rgba(255, 253, 249, 0.92); color: var(--ink);
	font-size: 18px; box-shadow: var(--shadow-sm);
	opacity: 0; transition: opacity 0.25s;
}
.zoom:hover .zoom__hint, .zoom:focus-visible .zoom__hint { opacity: 1; }
@media (hover: none) { .zoom__hint { opacity: 1; } }

.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.artwork__type { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--berry); }
.artwork__title { font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -0.025em; margin-bottom: 12px; }
.artwork__price { font-size: clamp(22px, 2vw, 26px); margin: 0 0 10px; font-weight: 600; }
.artwork__price .price-note { font-size: 13px; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; margin: 0 0 22px; }
.status span { font-size: 10px; }
.status--available span { color: #4c9a5e; }
.status--reserved span { color: #d18b2c; }
.status--sold span { color: var(--muted); }

.details {
	margin: 0;
	border-top: 1px solid var(--line);
}
.details div {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 16px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
	font-size: 15.5px;
}
.details dt { color: var(--muted); }
.details dd { margin: 0; color: var(--ink); }

.artwork__story { margin-top: 32px; }
.artwork__assure {
	list-style: none; margin: 32px 0 0; padding: 20px 22px;
	display: grid; gap: 10px;
	border-radius: var(--radius);
	background: rgba(255, 253, 249, 0.75);
	border: 1px solid var(--line);
	font-size: 14.5px; color: var(--ink-soft);
}
.artwork__assure li { display: flex; gap: 10px; align-items: center; }
.artwork__assure a { color: var(--ink); font-weight: 600; }

.art-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .art-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 340px) { .art-grid--3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}
@media (min-width: 900px) { .contact { grid-template-columns: 0.8fr 1.2fr; } }
.contact__info .prose { font-size: clamp(17px, 1.2vw, 19px); }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact__list li {
	display: flex; gap: 14px; align-items: center;
	padding: 14px 18px;
	background: rgba(255, 253, 249, 0.8);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	min-width: 0;
}
.contact__list div { min-width: 0; }
.contact__list small { display: block; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact__list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__icon {
	flex: none; display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--rose);
}
.contact__list li:nth-child(2) .contact__icon { background: var(--lilac); }
.contact__note { margin-top: 20px; font-size: 15px; color: var(--muted); }

.contact-form { display: grid; gap: 4px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid rgba(42, 33, 30, 0.18);
	background: #fff;
	font: 400 16px/1.4 var(--font-body);
	color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232a211e' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--berry);
	box-shadow: 0 0 0 4px rgba(180, 70, 90, 0.14);
}
.contact-form .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 639px) { .contact-form .btn { justify-self: stretch; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 16px 20px; border-radius: 14px; margin-bottom: 22px; font-size: 15.5px; }
.notice--success { background: #e5f2e5; color: #24572e; }
.notice--error { background: #fbe4e6; color: #8a2433; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding-top: var(--section); }
.footer-cta {
	position: relative;
	text-align: center;
	padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(circle at 10% 20%, rgba(243, 198, 211, 0.4) 0, transparent 45%),
		radial-gradient(circle at 90% 80%, rgba(216, 203, 240, 0.35) 0, transparent 45%),
		var(--ink);
	color: var(--cream);
	overflow: visible;
}
.footer-cta__title { color: #fff; font-size: clamp(32px, 4.5vw, 56px); margin-bottom: 14px; text-wrap: balance; }
.footer-cta p { color: rgba(251, 245, 238, 0.78); max-width: 48ch; margin-inline: auto; font-size: clamp(16px, 1.2vw, 18px); }
.footer-cta .btn--primary { background: var(--cream); color: var(--ink); }
.footer-cta .btn--primary:hover { background: var(--rose); color: var(--ink); }
.footer-cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.footer-cta .btn--ghost:hover { border-color: #fff; color: #fff; }
.sticker--footer { top: -32px; left: 50%; margin-left: -32px; }

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	padding-block: clamp(48px, 6vw, 72px) 36px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; } }
.footer-col--brand p { color: var(--muted); margin-top: 10px; max-width: 34ch; }
@media (min-width: 640px) and (max-width: 899px) { .footer-col--brand { grid-column: 1 / -1; } }
.footer-title { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; font-weight: 500; }
.footer-links--icons a { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer-ship { margin-top: 16px; font-size: 14.5px; color: var(--ink-soft); }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	padding-block: 24px 32px;
	border-top: 1px solid var(--line);
	font-size: 13.5px; color: var(--muted);
}
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; color: var(--ink-soft); }

/* Journal list */
.post-list { display: grid; gap: 20px; }
.post-item h2 { font-size: 26px; margin-bottom: 4px; }
.post-item h2 a { text-decoration: none; }
.post-item__date { color: var(--muted); font-size: 14px; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
	position: fixed; inset: 0; z-index: 9999;
	display: grid; place-items: center;
	padding: clamp(16px, 4vw, 48px);
	background: rgba(28, 22, 20, 0.92);
	cursor: zoom-out;
	animation: fade 0.3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox__close {
	position: absolute; top: 16px; right: 16px;
	width: 48px; height: 48px; border-radius: 50%;
	border: 0; background: rgba(255, 255, 255, 0.14); color: #fff;
	display: grid; place-items: center; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }

/* ==========================================================================
   Reveal on scroll (only when JS is running)
   ========================================================================== */
.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.art-grid .art-card:nth-child(3n + 2) { transition-delay: 0.08s; }
.art-grid .art-card:nth-child(3n + 3) { transition-delay: 0.16s; }

/* Hero entrance */
.hero__copy > * { animation: rise 0.9s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.32s; }
.hero__art { animation: rise 1.1s 0.15s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.js .reveal { opacity: 1; transform: none; }
}

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { background: var(--ink); color: #fff; }
