/* ==========================================================================
   Recesijski Podni Umjetnik — stilovi prema mockupu.
   Sve vrijednosti su custom properties u :root (mijenja ih developer).
   ========================================================================== */

/* Fontovi se poslužuju lokalno (woff2, font-display: swap) — vidi README. */
@font-face {
	font-family: "EB Garamond";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/eb-garamond-400.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "EB Garamond";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/eb-garamond-400-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "EB Garamond";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/eb-garamond-500.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "EB Garamond";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/eb-garamond-500-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "EB Garamond";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/eb-garamond-400-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "EB Garamond";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/eb-garamond-400-italic-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
	--bg: #faf9f7;
	--bg-header: rgba(250, 249, 247, 0.94);
	--panel: #f3f0ea;
	--img-bg: #eceae6;
	--ink: #1a1917;
	--ink-2: #3a3630;
	--ink-3: #4a4640;
	--muted: #6b6459;
	--muted-2: #5c574f;
	--line: #e2ded6;
	--line-soft: #edeae4;
	--line-mid: #d8d3ca;
	--line-strong: #cfc9be;
	--line-link: #b8b1a5;
	--err: #8f2f1e;
	--selection: #e6e1d8;
	--overlay: rgba(26, 25, 23, 0.45);
	--photo-overlay: rgba(20, 19, 17, 0.92);
	--placeholder: repeating-linear-gradient(135deg, #efece6 0 10px, #f5f3ef 10px 20px);

	--serif: "EB Garamond", Georgia, serif;
	--sans: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--h1: clamp(34px, 4.6vw, 64px);
	--h2: clamp(30px, 3.6vw, 46px);
	--h-page: clamp(32px, 4.4vw, 56px);

	--max: 1320px;
	--gutter: 28px;
	--header-h: 62px;
	--ease: .25s;
}

/* ---------- osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
a { color: var(--ink); text-decoration: none; transition: color var(--ease), border-color var(--ease); }
a:hover { color: var(--muted); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
input, textarea, button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--selection); }
[hidden] { display: none !important; }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--bg); padding: 10px 14px; font-size: 13px;
}
.skip-link:focus { top: 12px; color: var(--bg); }

.container { max-width: var(--max); margin: 0 auto; }
.container--text { max-width: 760px; }

.mono { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.mono-label {
	margin: 0 0 16px;
	font-family: var(--mono); font-weight: 400; font-size: 10.5px;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.empty { margin: 0; padding: 40px 0; font-size: 14px; color: var(--muted); }

/* poveznice / gumbi */
.link-arrow {
	align-self: flex-start;
	white-space: nowrap;
	font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
	border-bottom: 1px solid var(--ink); padding-bottom: 2px;
}
.link-underline { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--line-link); padding-bottom: 2px; }
.link-btn {
	align-self: flex-start; display: inline-block;
	background: none; border: 0; border-bottom: 1px solid var(--ink); padding: 0 0 2px;
	font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.btn {
	display: inline-block; align-self: flex-start;
	background: none; border: 1px solid var(--ink); padding: 13px 28px;
	font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
	transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--light { border-color: var(--line-strong); padding: 11px 18px; font-size: 11.5px; }
.btn--light:hover { background: none; color: var(--ink); border-color: var(--ink); }
.text-btn {
	background: none; border: 0; padding: 6px 0;
	font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.text-btn:hover { color: var(--ink); }
.text-btn--muted { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--muted); text-decoration: underline; padding: 0; }
.back-link {
	display: inline-block; margin-bottom: 34px;
	font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2);
}
.back-link--flush { margin: 0; }
.list-link { display: block; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.list-link span { color: var(--muted); }

/* ---------- header ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 40;
	background: var(--bg-header);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.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; } }

.site-header__inner {
	max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
	height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__name { font-family: var(--serif); font-size: 19px; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav {
	display: flex; align-items: center; gap: 26px;
	font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap;
}
.site-nav a { color: var(--ink-3); padding: 4px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a.is-current { color: var(--ink); border-bottom-color: var(--ink); }
.menu-toggle {
	display: none;
	background: none; border: 0; padding: 10px 0; width: 28px;
	flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; height: 1px; background: var(--ink); transition: transform var(--ease), opacity var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); padding: 10px var(--gutter) 22px; display: flex; flex-direction: column; }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid #eeebe5; font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); }

@media (max-width: 899px) {
	.site-nav { display: none; }
	.menu-toggle { display: flex; }
}
@media (min-width: 900px) {
	.mobile-nav { display: none !important; }
}

.site-main { padding-top: var(--header-h); }
#sadrzaj { position: absolute; }

/* ---------- hero ---------- */
.hero { padding: 0 var(--gutter); }
.hero__inner {
	max-width: var(--max); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 64px; align-items: center;
	min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
	padding: 28px 0;
}
.hero__media { position: relative; height: 62vh; min-height: 360px; background: var(--img-bg); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__dim { position: absolute; inset: 0; background: var(--ink); pointer-events: none; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 8px 0; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: var(--h1); line-height: 1.04; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
.hero__subtitle { margin: 0; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero__subtitle:empty { display: none; }
.hero__desc {
	margin: 14px 0 0; max-width: 42ch; font-size: 15.5px; line-height: 1.7; color: var(--ink-2);
	text-wrap: pretty; padding-top: 22px; border-top: 1px solid var(--line);
}
.hero__desc:empty { display: none; }
.hero__link { margin-top: 6px; padding-bottom: 3px; }
.hero__link[href=""] { display: none; }
@media (min-width: 900px) {
	.hero__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
	.hero__media { height: calc(100vh - 118px); }
}

/* ---------- sekcije ---------- */
.section { padding: 120px var(--gutter) 0; scroll-margin-top: var(--header-h); }
#radovi { padding-top: 110px; }
.section__title { font-family: var(--serif); font-weight: 400; font-size: var(--h2); line-height: 1.1; margin: 0; }
.section__title--rule { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.section__head {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
	gap: 20px 48px; padding-bottom: 26px; border-bottom: 1px solid var(--line);
}

/* ---------- radovi po serijama ---------- */
.series-row {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 56px;
	padding: 52px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.series-row__info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 38ch; }
.series-row__info .link-arrow { margin-top: 6px; }
.series-row__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; }
.series-row__desc { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.series-row__works { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 640px) { .series-row__works { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .series-row { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); } }

/* pločica rada */
.work__link { display: block; }
.work__img, .work .placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; transition: opacity .4s; }
.work__link:hover .work__img { opacity: 0.86; }
.work__caption { padding-top: 14px; }
.work__title { margin: 0 0 4px; font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.work__meta { margin: 0; font-size: 12.5px; color: var(--muted); }
.work__private { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); }

.placeholder {
	width: 100%; aspect-ratio: 4 / 5; background: var(--placeholder);
	display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center;
}
.placeholder span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }

/* gridovi */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px 40px; }
.grid--works { padding-top: 54px; }
.exh__block .grid--works { padding-top: 0; gap: 48px 36px; }
.grid--shop { padding-top: 48px; }
.grid--photos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
@media (min-width: 640px) { .grid--works, .grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--works, .grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1300px) { .grid--works, .grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.load-more { display: flex; justify-content: center; padding-top: 64px; }
.load-more .btn--light { padding: 13px 28px; font-size: 12px; }

/* ---------- shop ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; }
.filters__btn {
	white-space: nowrap; background: none; border: 0; padding: 2px 0;
	font-size: 13.5px; color: var(--muted); border-bottom: 1px solid transparent; transition: color var(--ease), border-color var(--ease);
}
.filters__btn:hover { color: var(--ink); }
.filters__btn[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.shop__intro { margin: 0; padding: 22px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted-2); max-width: 70ch; }

.product { display: flex; flex-direction: column; }
.product__media { display: block; }
.product__img, .product .placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.product__head { padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.product__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.2; }
.product__price { font-size: 13.5px; white-space: nowrap; color: var(--ink); }
.product__price.is-sold, .product-single__price.is-sold { color: var(--muted); }
.product__meta { margin: 5px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.product__order { margin-top: 14px; }
.product-single__price { margin: 0 0 24px; font-size: 16px; }
.product-single__gallery { margin-top: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.product-single__work { margin-top: 40px; }
.work-single__info .btn { margin-bottom: 8px; }

/* ---------- o meni ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 64px; align-items: start; }
@media (min-width: 768px) { .about { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); } }
/* Portret je kvadrat (1:1); izrez je malo iznad sredine da lice ostane u kadru. */
.about__img { width: 100%; max-width: 460px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; background: var(--img-bg); }
.about .section__title { margin-bottom: 30px; }
.prose p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.prose a { border-bottom: 1px solid var(--line-mid); }
.prose a:hover { border-bottom-color: var(--ink); color: var(--ink); }
.prose em { font-style: italic; }

/* ---------- izložbe i CV ---------- */
.cv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px 72px; padding-top: 48px; }
.cv__row {
	display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px;
	padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 1.5;
}
.cv__year { color: var(--muted); font-variant-numeric: tabular-nums; }
.cv__link { font-family: var(--serif); font-size: 17px; border-bottom: 1px solid var(--line-mid); }
.cv__link:hover { border-bottom-color: var(--ink); color: var(--ink); }
.cv__place { color: var(--muted-2); }
.cv__text { color: var(--ink-2); }

/* ---------- kontakt / obrasci ---------- */
.contact {
	border-top: 1px solid var(--line); padding-top: 54px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px;
}
#kontakt { padding-top: 120px; }
.contact .section__title { margin-bottom: 18px; }
.contact__intro { margin: 0 0 26px; font-size: 15px; line-height: 1.7; color: var(--muted-2); max-width: 44ch; text-wrap: pretty; }
.contact__links { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.contact__links a { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.contact__form { max-width: 520px; }

.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 22px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.field {
	display: flex; flex-direction: column; gap: 7px;
	font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select {
	background: none; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
	padding: 9px 0; font-size: 15px; outline: none; text-transform: none; letter-spacing: 0; color: var(--ink);
}
.field textarea {
	background: none; border: 1px solid var(--line); border-radius: 0; padding: 12px;
	font-size: 15px; line-height: 1.6; outline: none; resize: vertical; text-transform: none; letter-spacing: 0; color: var(--ink);
}
.contact__form .field textarea { border-color: var(--line); }
.field input:focus, .field select:focus { border-bottom-color: var(--ink); }
.field textarea:focus { border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__err { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--err); }
.field__err:empty { display: none; }
.form .btn { align-self: flex-start; }
.form-status:not(:empty) { margin-bottom: 22px; }
.form-status__ok {
	margin: 0; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
	font-family: var(--serif); font-size: 20px;
}
.form-status__err { margin: 0; font-size: 13.5px; color: var(--err); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.check input { margin: 3px 0 0; accent-color: var(--ink); }
.check a { border-bottom: 1px solid var(--line-strong); }

/* ---------- stranice (serija, rad, izložba) ---------- */
.page-section { padding: 44px var(--gutter) 0; }
.page-head {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
	gap: 28px 56px; padding-bottom: 30px; border-bottom: 1px solid var(--line);
}
.page-head__text { max-width: 60ch; }
.page-head .mono-label { margin-bottom: 14px; }
.page-title { font-family: var(--serif); font-weight: 400; font-size: var(--h-page); line-height: 1.08; margin: 0 0 18px; }
.page-title--sm { font-size: var(--h2); line-height: 1.1; margin-bottom: 6px; }
.lead { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.series-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.series-nav a { white-space: nowrap; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid transparent; }
.series-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.work-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 30px; }
.work-nav__steps { display: flex; gap: 22px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.work-nav__steps a { color: var(--muted-2); }
.work-nav__steps a:hover { color: var(--ink); }
.work-single { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 60px; align-items: start; }
.work-single__img { width: 100%; max-height: 80vh; object-fit: contain; }
.work-single__info { max-width: 460px; }
.work-single__sub { margin: 0 0 30px; font-size: 14px; color: var(--muted); }
.work-single__desc { margin: 0 0 36px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }

.facts { margin: 0 0 28px; display: grid; grid-template-columns: auto 1fr; gap: 11px 24px; font-size: 14px; }
.facts dt { color: var(--muted); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.facts dd { margin: 0; }
.facts__muted { font-size: 13px; color: var(--muted-2); }

.exh__cover { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; background: var(--img-bg); margin-bottom: 56px; }
.exh__intro {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 56px; align-items: start;
	padding-bottom: 64px; border-bottom: 1px solid var(--line);
}
.exh__intro .mono-label { margin-bottom: 14px; }
.exh__intro .page-title { margin-bottom: 22px; }
.exh__intro .facts { gap: 10px 24px; margin: 0; }
/* Tekst izložbe: 50 % veći font i prored, razmak između odlomaka. */
.exh__intro .prose p { max-width: 62ch; margin: 0 0 1.1em; font-size: clamp(18px, 1.15vw + 8px, 23.25px); line-height: 1.75; }
.exh__intro .prose p:last-child { margin-bottom: 0; }
.exh__block { padding-top: 56px; }
.exh__block .mono-label { margin-bottom: 28px; }
.exh__block--works { padding-top: 76px; }
.photo { display: block; background: var(--img-bg); cursor: zoom-in; }
.photo__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo--contain { background: none; }
.photo--contain .photo__img { aspect-ratio: 1; object-fit: contain; }

.post-item { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer { margin-top: 130px; border-top: 1px solid var(--line); padding: 44px var(--gutter) 56px; }
.site-footer__inner {
	max-width: var(--max); margin: 0 auto;
	display: flex; flex-wrap: wrap; gap: 24px 56px; justify-content: space-between; align-items: flex-start;
	font-size: 12.5px; color: var(--muted);
}
.site-footer__id { display: flex; flex-direction: column; gap: 8px; }
.site-footer__name { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.site-footer__links a { color: var(--muted); }
.site-footer__links a:hover { color: var(--ink); }

/* ---------- dijalozi ---------- */
body.has-dialog { overflow: hidden; }

.modal { position: fixed; inset: 0; z-index: 75; background: var(--overlay); overflow-y: auto; padding: 24px; }
.modal__panel { max-width: 720px; margin: 32px auto; background: var(--bg); border: 1px solid var(--line); }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 30px; border-bottom: 1px solid var(--line); }
.modal__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; }
.modal__body { padding: 28px 30px 32px; }
.modal__text { margin: 0 0 26px; font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 50ch; }
.order-sum { padding: 20px 30px; background: var(--panel); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 14px 28px; }
.order-sum p { margin: 0; font-size: 14px; }
.order-sum .order-sum__label { margin: 0 0 5px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.order-sum .order-sum__name { font-family: var(--serif); font-size: 19px; }
.order-notes { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.65; color: var(--muted-2); }
.order-notes p { margin: 0; }
.order-notes a { border-bottom: 1px solid var(--line-strong); }
.summary { margin: 0 0 26px; display: grid; grid-template-columns: auto 1fr; gap: 9px 24px; font-size: 14px; }
.summary dt { color: var(--muted); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 2px; }
.summary dd { margin: 0; }

.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(250, 249, 247, 0.98); overflow-y: auto; }
.lightbox__panel { min-height: 100%; max-width: 1440px; margin: 0 auto; padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 20px; }
.lightbox__bar .mono { letter-spacing: 0.1em; }
.lightbox__body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 56px; align-items: center; }
.lightbox__stage { display: flex; align-items: center; gap: 12px; }
.lightbox__media { flex: 1; min-width: 0; display: flex; justify-content: center; }
.lightbox__media img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox__media .placeholder { max-height: 78vh; }
.lightbox__arrow { background: none; border: 0; padding: 12px 6px; font-size: 20px; color: var(--muted-2); }
.lightbox__arrow:hover { color: var(--ink); }
.lightbox__info { max-width: 380px; }
.lightbox__title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin: 0 0 6px; }
.lightbox__year { margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.lightbox .facts { gap: 9px 22px; margin-bottom: 22px; }
.lightbox__desc { margin: 0 0 26px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.lightbox__desc:empty { display: none; }
@media (min-width: 900px) { .lightbox__body { grid-template-columns: minmax(0, 1fr) 340px; } }

.photo-lb { position: fixed; inset: 0; z-index: 70; background: var(--photo-overlay); display: flex; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.photo-lb img { max-width: min(1400px, 100%); max-height: 86vh; object-fit: contain; }
.photo-lb__close { position: absolute; top: 14px; right: 24px; color: var(--bg); }
.photo-lb__close:hover { color: var(--bg); opacity: .8; }

/* ---------- fade-in pri skrolu ---------- */
.js [data-fade] { opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .8s ease; }
.js [data-fade].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.js [data-fade] { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
	:root { --gutter: 20px; }
	.modal { padding: 0; }
	.modal__panel { margin: 0; min-height: 100%; border: 0; }
	.modal__head, .modal__body, .order-sum { padding-left: 20px; padding-right: 20px; }
	.work-nav { flex-wrap: wrap; }
}

/* ---------- jezik (HR / EN) ---------- */
.lang-switch {
	display: inline-block; border: 1px solid var(--line-mid); padding: 5px 10px;
	font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.2; color: var(--ink-3);
}
.site-nav .lang-switch { padding: 5px 10px; border-bottom: 1px solid var(--line-mid); }
.lang-switch:hover, .site-nav .lang-switch:hover { color: var(--ink); border-color: var(--ink); }
.lang-switch--narrow { display: none; margin-left: auto; padding: 5px 9px; }
@media (max-width: 899px) { .lang-switch--narrow { display: inline-block; } }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- iz medija ---------- */
.press-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; padding: 46px 0 10px; }
.press-card { border-top: 1px solid var(--ink); padding-top: 20px; }
.press-card .mono-label { margin-bottom: 12px; letter-spacing: 0.14em; }
.press-card__title { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; margin: 0 0 12px; }
.press-card__excerpt { margin: 0 0 16px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.press-card__byline { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.press-card .link-underline { font-size: 12.5px; letter-spacing: 0.08em; }
.press-year { padding-top: 48px; }
.press-year__label { margin: 0 0 4px; letter-spacing: 0.14em; }
.press-row {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px 40px;
	padding: 22px 0; border-top: 1px solid var(--line); align-items: start;
}
.press-row__src { display: flex; flex-direction: column; gap: 6px; }
.press-row__outlet { font-family: var(--serif); font-size: 18px; }
.press-row__date { font-size: 12px; color: var(--muted); }
.press-row__body { grid-column: span 2; min-width: 0; }
@media (max-width: 640px) { .press-row__body { grid-column: auto; } }
.press-row__title { margin: 0 0 8px; font-weight: 500; font-size: 15px; line-height: 1.4; }
.press-row__title a { border-bottom: 1px solid var(--line-mid); }
.press-row__title a:hover { border-bottom-color: var(--ink); color: var(--ink); }
.press-row__title span[aria-hidden] { color: var(--muted); font-size: 12px; }
.press-row__excerpt { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: var(--muted-2); max-width: 60ch; text-wrap: pretty; }

/* ---------- original / print: prodano ---------- */
.product__price.is-sold s, .product-single__price.is-sold s { color: var(--muted); text-decoration-thickness: 1px; margin-right: 6px; }
.product-single__price-wrap { margin: 0 0 24px; }
.product-single__price-wrap .product-single__price { margin: 0; }
.order-sum .order-sum__edition { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.order-sum__edition:empty { display: none; }

/* ---------- radovi: original (cijena / prodano) ---------- */
.work__sale { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-2); }
.work__sale.is-sold, .work-single__sale { color: var(--muted-2); }
.work__sale s, .work-single__sale s, .lightbox .facts s { color: var(--muted); text-decoration-thickness: 1px; }
.work-single__order { margin: 0 0 36px; }
.lightbox__order { margin: 0 0 22px; }
.lightbox__order:has([hidden]) { display: none; }


/* ---------- rad u prostoru (Mockupi) ---------- */
.room-btn { margin-top: 4px; }
.work-single__room:empty, .lightbox__room:has([hidden]) { display: none; }
.work-single__room { margin: 0 0 36px; }
.lightbox__room { margin: 0 0 22px; }
.room-viewer { position: fixed; inset: 0; z-index: 80; background: var(--bg); overflow-y: auto; }
.room-viewer__panel { max-width: 1440px; margin: 0 auto; padding: 24px var(--gutter) 32px; min-height: 100%; display: flex; flex-direction: column; }
.room-viewer__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 18px; }
.room-viewer__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); }
.room-viewer__sub { font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.room-viewer__body { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; }
.room-viewer__stage { position: relative; display: inline-block; max-width: 100%; line-height: 0; }
.room-viewer__room { display: block; max-width: 100%; max-height: 72vh; width: auto; height: auto; }
.room-viewer__art { position: absolute; transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(26, 25, 23, .28), 0 0 0 1px rgba(26, 25, 23, .06); background: var(--img-bg); }
.room-viewer__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-viewer__caption { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.room-viewer__thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 16px; }
.room-viewer__thumbs button { padding: 0; border: 1px solid transparent; background: none; line-height: 0; opacity: .7; }
.room-viewer__thumbs button[aria-pressed="true"], .room-viewer__thumbs button:hover { border-color: var(--ink); opacity: 1; }
.room-viewer__thumbs img { width: 64px; height: 48px; object-fit: cover; }
@media (max-width: 640px) { .room-viewer__body .lightbox__arrow { display: none; } }

/* ---------- kartica proizvoda: opis najviše 3 retka ---------- */
.product__meta { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }

/* ---------- hero: lokacija i datumi izložbe ---------- */
.hero__facts { margin: 4px 0 0; gap: 6px 20px; font-size: 14px; }
.hero__facts:empty { display: none; }

.link-underline-plain { border-bottom: 1px solid var(--line-mid); }
.link-underline-plain:hover { border-bottom-color: var(--ink); color: var(--ink); }

/* ---------- reprodukcija: kupac bira veličinu ---------- */
.repro-pick { display: flex; flex-direction: column; gap: 6px; }
.repro-pick__inputs { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.repro-pick input { width: 5.5em; background: none; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 4px 0; font-size: 15px; color: var(--ink); text-align: center; }
.repro-pick input:focus { outline: none; border-bottom-color: var(--ink); }
.repro-pick__note { font-size: 12.5px; color: var(--muted); }
.field--repro > span:first-child { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field--repro { grid-column: 1 / -1; }

/* ---------- serije: autoload ---------- */
#radovi .section__head .link-arrow { align-self: auto; }
.series-more { padding-top: 48px; }
.page-head .prose p { margin-bottom: 0; }

/* ---------- tekst ispod naslova sekcije, potvrda uz predmet ---------- */
.section__intro { padding-top: 22px; max-width: 72ch; font-size: 15px; line-height: 1.65; color: var(--muted-2); }
.section__intro p { margin: 0; }
.section__intro p + p { margin-top: 6px; }
#radovi .section__intro + .series-list,
#izlozbe-cv .section__intro + .cv { margin-top: 0; }
.product-single__cert { margin: 28px 0 0; }
.product-single__cert-img { display: block; width: 100%; height: auto; max-width: 520px; }

/* ---------- hero: logotip (1:1) i manji naslov ---------- */
.hero__logo { display: block; width: min(var(--logo, 200px), 60vw); height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 4px; }
.hero__text--logo .hero__title { font-size: calc(var(--h1) * 0.6); line-height: 1.1; }

/* ---------- oznake (tagovi) ---------- */
.tags { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; letter-spacing: 0.02em; color: var(--muted); text-decoration: none; transition: border-color .2s, color .2s; }
.tag:hover, .tag:focus-visible { border-color: currentColor; color: var(--ink); }
.tag-block + .tag-block { margin-top: 72px; }
.tag-block__title { margin: 0 0 24px; }
.tag-exh { list-style: none; margin: 0; padding: 0; }
