/*
Theme Name: Metal Marodi
Description: Tema za obrt Metal Marodi – kovane ograde, vrata i gelenderi iz Murskog Središća.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: marodi
*/

/* ------------------------------------------------------------------ fonts */
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-ext-500-normal.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: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-ext-600-normal.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: "Source Serif 4"; font-weight: 400; font-display: swap; src: url(assets/fonts/source-serif-4-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-display: swap; src: url(assets/fonts/source-serif-4-latin-ext-400-normal.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: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url(assets/fonts/source-serif-4-latin-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url(assets/fonts/source-serif-4-latin-ext-400-italic.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: "Source Serif 4"; font-weight: 600; font-display: swap; src: url(assets/fonts/source-serif-4-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-display: swap; src: url(assets/fonts/source-serif-4-latin-ext-600-normal.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: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(assets/fonts/ibm-plex-mono-latin-ext-400-normal.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: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(assets/fonts/ibm-plex-mono-latin-ext-500-normal.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; }

/* ----------------------------------------------------------------- tokens */
:root {
	--iron: #1b1a17;
	--iron-2: #262420;
	--iron-3: #3a3731;
	--paper: #f2ede4;
	--paper-2: #e7e0d2;
	--ink: #1b1a17;
	--muted: #6a655b;
	--rule: #cfc6b4;
	--copper: #8f4f1f;          /* tekst/poveznice na svijetlom */
	--copper-hot: #c97a3a;      /* akcent na tamnom */
	--zinc: #a3a8a4;

	--f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--f-text: "Source Serif 4", Georgia, serif;
	--f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

	--gutter: clamp(16px, 4vw, 56px);
	--max: 1320px;
	--prose: 68ch;
	--header-h: 72px;
}

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.65 var(--f-text);
	font-feature-settings: "kern", "liga";
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper-hot); outline-offset: 3px; }
h1, h2, h3, h4 {
	font-family: var(--f-display);
	font-weight: 600;
	line-height: .98;
	letter-spacing: .005em;
	text-transform: uppercase;
	margin: 0 0 .5em;
}
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
p { margin: 0 0 1em; }

.label {
	font: 500 .75rem/1.3 var(--f-mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 1rem;
}
.muted { color: var(--muted); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--iron); color: var(--paper); padding: 8px 14px; }
.skip-link:focus { left: 8px; }

/* ---------------------------------------------------------------- buttons */
.mm-btn {
	display: inline-flex; align-items: center; gap: .6em;
	font: 600 1.05rem/1 var(--f-display);
	letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
	padding: .95em 1.4em .9em;
	border: 1.5px solid currentColor;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.mm-btn--solid { background: var(--copper-hot); border-color: var(--copper-hot); color: var(--iron); }
.mm-btn--solid:hover { background: var(--paper); border-color: var(--paper); color: var(--iron); }
.entry .mm-btn--solid:hover, .mm-form .mm-btn--solid:hover { background: var(--iron); border-color: var(--iron); color: var(--paper); }
.mm-btn--line { background: transparent; color: var(--ink); }
.mm-btn--line:hover { background: var(--ink); color: var(--paper); }
.mm-btn--light { color: var(--paper); }
.mm-btn--light:hover { background: var(--paper); color: var(--iron); }

.link-arrow {
	font: 600 1rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase;
	text-decoration: none; color: inherit; border-bottom: 1.5px solid var(--copper-hot); padding-bottom: .3em;
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--copper-hot); }

/* ----------------------------------------------------------------- header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--iron); color: var(--paper);
	border-bottom: 1px solid var(--iron-3);
}
.site-header__bar {
	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;
}
.brand { display: flex; align-items: baseline; gap: .7em; white-space: nowrap; color: var(--paper); text-decoration: none; }
.brand:hover { color: var(--paper); }
.brand__name { font: 600 1.7rem/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; }
.brand__since { font: 400 .72rem/1 var(--f-mono); letter-spacing: .1em; color: var(--copper-hot); text-transform: uppercase; }
.brand__logo { max-height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav__list a {
	color: var(--paper); text-decoration: none;
	font: 500 1.05rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase;
	padding: 8px 0; border-bottom: 1.5px solid transparent;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a { border-bottom-color: var(--copper-hot); color: var(--paper); }
.site-nav__phone {
	font: 500 .9rem/1 var(--f-mono); color: var(--paper); text-decoration: none;
	padding: 10px 14px; border: 1px solid var(--iron-3); white-space: nowrap;
}
.site-nav__phone span { color: var(--zinc); margin-right: .3em; }
.site-nav__phone:hover { border-color: var(--copper-hot); color: var(--paper); }

.nav-toggle { display: none; }

@media (max-width: 1120px) {
	.nav-toggle {
		display: flex; align-items: center; gap: 10px;
		background: none; border: 1px solid var(--iron-3); color: var(--paper);
		font: 500 .8rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
		padding: 10px 12px; cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s;
	}
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0;
		background: var(--iron);
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 8px var(--gutter) 32px;
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .2s, transform .2s, visibility 0s .2s;
		overflow-y: auto;
	}
	.site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s, transform .2s; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { display: block; font-size: 2rem; padding: 14px 0; border-bottom: 1px solid var(--iron-3); }
	.site-nav__phone { margin-top: 28px; text-align: center; font-size: 1.1rem; padding: 18px; }
	body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------------------- hero */
.hero {
	background: var(--iron); color: var(--paper);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	max-width: none;
	position: relative;
}
.hero::before { /* tanka mjerna linija kroz cijelu širinu */
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--iron-3);
}
.hero__text {
	padding: clamp(48px, 9vw, 120px) var(--gutter) clamp(40px, 6vw, 80px);
	padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	display: flex; flex-direction: column; justify-content: center;
}
.hero__kicker { color: var(--zinc); }
.hero__title {
	font-size: clamp(3.2rem, 7.4vw, 7rem);
	line-height: .9;
	margin: 0 0 .35em;
	max-width: 9ch;
}
.hero__lead {
	font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55;
	max-width: 34ch; color: #d9d2c4; margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .mm-btn--line { color: var(--paper); }
.hero .mm-btn--line:hover { background: var(--paper); color: var(--iron); }
.hero__phone {
	margin-top: clamp(32px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--iron-3);
	color: var(--paper); text-decoration: none;
	font: 500 clamp(1.4rem, 2.2vw, 1.9rem)/1 var(--f-mono); letter-spacing: -.01em;
	display: inline-flex; flex-direction: column; gap: 8px; align-self: flex-start;
}
.hero__phone .label { margin: 0; color: var(--copper-hot); }
.hero__phone:hover { color: var(--copper-hot); }

.hero__media { margin: 0; position: relative; min-height: 560px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__detail {
	position: absolute; left: -64px; bottom: 56px; width: clamp(140px, 15vw, 220px); aspect-ratio: 3 / 4;
	border: 6px solid var(--iron); box-shadow: 0 0 0 1px var(--iron-3);
}
.hero__detail img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
	position: absolute; right: 16px; bottom: 16px;
	font: 400 .7rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
	background: rgba(27,26,23,.82); color: var(--paper); padding: 6px 10px;
}

@media (max-width: 860px) {
	.hero { grid-template-columns: 1fr; }
	.hero__media { min-height: 0; aspect-ratio: 4 / 5; order: -1; }
	.hero__detail { left: auto; right: 16px; bottom: -36px; width: 120px; }
	.hero__caption { display: none; }
	.hero__text { padding-top: 56px; }
}

/* ------------------------------------------------------------------ facts */
.facts { background: var(--iron); color: var(--paper); }
.facts__list {
	max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
	display: grid; grid-template-columns: repeat(4, 1fr);
}
.facts__list > div { padding: 26px 20px 28px 0; border-right: 1px solid var(--iron-3); }
.facts__list > div + div { padding-left: 24px; }
.facts__list > div:last-child { border-right: 0; }
.facts dt { font: 400 .7rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--zinc); margin-bottom: 8px; }
.facts dd { margin: 0; font: 600 clamp(1.5rem, 2.6vw, 2.2rem)/1 var(--f-display); text-transform: uppercase; }
@media (max-width: 720px) {
	.facts__list { grid-template-columns: 1fr 1fr; }
	.facts__list > div { padding: 20px 12px 22px 0; border-bottom: 1px solid var(--iron-3); }
	.facts__list > div + div { padding-left: 0; }
	.facts__list > div:nth-child(2n) { border-right: 0; padding-left: 16px; }
}

/* ----------------------------------------------------------- section head */
.program, .story, .process, .finish, .works {
	max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--gutter);
}
.section-head {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: end;
	margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head .label { grid-column: 1 / -1; }
.section-head h2 { margin: 0; }
.section-head__aside { margin: 0; color: var(--muted); max-width: 46ch; justify-self: end; }
.section-head__more { justify-self: end; }
@media (max-width: 720px) {
	.section-head { grid-template-columns: 1fr; row-gap: 16px; }
	.section-head__aside, .section-head__more { justify-self: start; }
}

/* ---------------------------------------------------------------- program */
.program__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.program__item a {
	display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.3fr) 120px;
	align-items: center; gap: 24px;
	padding: 18px 0; border-bottom: 1px solid var(--rule);
	color: var(--ink); text-decoration: none;
	transition: background-color .15s, padding .15s;
}
.program__no { font: 500 .85rem/1 var(--f-mono); color: var(--muted); }
.program__name { font: 600 clamp(1.5rem, 2.8vw, 2.3rem)/1 var(--f-display); text-transform: uppercase; }
.program__desc { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.program__thumb { width: 120px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.program__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .25s, transform .4s; }
.program__item a:hover { background: var(--paper-2); padding-left: 12px; padding-right: 12px; }
.program__item a:hover .program__name { color: var(--copper); }
.program__item a:hover .program__thumb img { filter: none; transform: scale(1.04); }
@media (max-width: 860px) {
	.program__item a { grid-template-columns: 40px minmax(0, 1fr) 88px; gap: 4px 16px; }
	.program__no { grid-row: 1 / 3; align-self: start; padding-top: 6px; }
	.program__name { grid-column: 2; }
	.program__desc { grid-column: 2; font-size: .95rem; }
	.program__thumb { grid-column: 3; grid-row: 1 / 3; width: 88px; }
	.program__thumb img { filter: none; }
}

/* ------------------------------------------------------------------ story */
.story {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px);
	border-top: 1px solid var(--rule);
}
.story__intro p:not(.label) { font-size: 1.15rem; max-width: 40ch; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
	display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 24px;
	padding: 22px 0; border-top: 1px solid var(--rule);
}
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline__year {
	grid-row: 1 / 3;
	font: 600 clamp(2.6rem, 5vw, 4rem)/.85 var(--f-display); color: var(--copper);
	font-variant-numeric: tabular-nums;
}
.timeline strong { font: 600 1.25rem/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.timeline p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 860px) {
	.story { grid-template-columns: 1fr; }
	.timeline li { grid-template-columns: 96px minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- process */
.process { border-top: 1px solid var(--rule); }
.process__steps {
	list-style: none; margin: 0; padding: 0; counter-reset: step;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
}
.process__steps li { counter-increment: step; padding: 0 20px 0 0; position: relative; }
.process__steps li::before {
	content: counter(step, decimal-leading-zero);
	display: block; font: 500 .8rem/1 var(--f-mono); color: var(--muted);
	padding-bottom: 14px; margin-bottom: 16px;
	border-bottom: 1.5px solid var(--ink);
}
.process__steps li:not(:last-child)::after { /* kotiranje: strelica kao na tehničkom crtežu */
	content: ""; position: absolute; right: 8px; top: 25px; width: 7px; height: 7px;
	border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: rotate(45deg);
}
.process__steps strong { display: block; font: 600 1.5rem/1 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.process__steps p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) {
	.process__steps { grid-template-columns: 1fr; gap: 0; }
	.process__steps li { display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-top: 1px solid var(--rule); }
	.process__steps li::before { border: 0; padding: 4px 0 0; margin: 0; grid-row: 1 / 3; }
	.process__steps li::after { display: none; }
}

/* ----------------------------------------------------------------- finish */
.finish {
	display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end;
	background: var(--paper-2);
	max-width: none;
	padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.finish__text p:not(.label) { max-width: 56ch; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.swatch {
	display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; align-items: center;
	padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.swatch__chip { grid-row: 1 / 3; width: 72px; height: 48px; }
.swatch strong { font: 600 1.15rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.swatch span:last-child { color: var(--muted); font-size: .95rem; }
/* patina: crna osnova + istrošeni sjaj na rubovima, kao na kovanom elementu */
.swatch--copper .swatch__chip { background: radial-gradient(120% 90% at 20% 15%, #b8723a 0, #7a4420 22%, #2a1b12 48%, #15120f 75%); }
.swatch--silver .swatch__chip { background: radial-gradient(120% 90% at 20% 15%, #d6d8d4 0, #8d918d 22%, #2b2c2b 50%, #141414 75%); }
.swatch--zinc .swatch__chip { background: linear-gradient(135deg, #b9bdb8 0%, #9ea39e 35%, #c4c7c2 55%, #8f948f 100%); }
@media (max-width: 860px) { .finish { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ works */
.works__grid {
	display: grid; gap: 12px;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(200px, 22vw));
}
.works__grid a { display: block; overflow: hidden; background: var(--paper-2); }
.works__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.works__grid a:hover img { transform: scale(1.03); }
.works__a { grid-column: 1 / 6; grid-row: 1; }
.works__b { grid-column: 6 / 9; grid-row: 1 / 3; }
.works__c { grid-column: 9 / 13; grid-row: 1; }
.works__d { grid-column: 1 / 6; grid-row: 2; }
.works__e { grid-column: 9 / 13; grid-row: 2; }
@media (max-width: 720px) {
	.works__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 44vw; }
	.works__grid a { grid-column: auto; grid-row: auto; }
	.works__grid .works__a, .works__grid .works__e { grid-column: 1 / -1; }
	.works__grid .works__b { grid-row: span 2; }
}

/* ------------------------------------------------------------------- news */
.news {
	background: var(--iron); color: var(--paper);
	padding: clamp(48px, 7vw, 88px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 32px; align-items: center;
}
.news .label { color: var(--copper-hot); margin: 0; }
.news__text { margin: 0; font: 600 clamp(1.5rem, 3vw, 2.4rem)/1.05 var(--f-display); text-transform: uppercase; max-width: 26ch; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; gap: 20px; } .news .mm-btn { justify-self: start; } }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--iron-2); color: #d9d2c4; font-size: .98rem; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--copper-hot); }
.site-footer__call {
	max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 48px;
	border-bottom: 1px solid var(--iron-3);
}
.site-footer__ask { font: 400 .8rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--zinc); }
.site-footer__phone {
	display: inline-block; text-decoration: none;
	font: 600 clamp(2.8rem, 9vw, 7.5rem)/.9 var(--f-display); letter-spacing: -.01em; color: var(--paper);
	margin: 8px 0 20px;
}
.site-footer__sub { max-width: 52ch; }
.site-footer__grid {
	max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter);
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.site-footer .label { color: var(--copper-hot); font-size: .7rem; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; }
.site-footer__menu li { margin-bottom: 4px; }
.site-footer .site-nav__list { display: block; } /* fallback izbornik */
.site-footer .site-nav__list a { font: inherit; letter-spacing: 0; text-transform: none; padding: 0; border: 0; color: var(--paper); line-height: 1.8; }
.site-footer__legal {
	max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 28px;
	border-top: 1px solid var(--iron-3);
	display: flex; flex-wrap: wrap; gap: 8px 28px;
	font: 400 .72rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--zinc);
}
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ inner pages */
.page-head { background: var(--iron); color: var(--paper); }
.page-head__inner {
	max-width: var(--max); margin: 0 auto;
	padding: clamp(56px, 8vw, 112px) var(--gutter) clamp(40px, 5vw, 64px);
}
.page-head__label { color: var(--copper-hot); }
.page-head__title { font-size: clamp(3rem, 8vw, 6.5rem); line-height: .9; margin: 0; }
.page-head__lead { margin: 24px 0 0; max-width: 52ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d9d2c4; }

.entry {
	max-width: var(--max); margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) var(--gutter);
}
.entry > * { max-width: var(--prose); }
.entry > .alignwide, .entry > .alignfull, .entry > .wp-block-gallery,
.entry > .wp-block-columns, .entry > .mm-cjenik, .entry > .wp-block-group.is-style-mm-band,
.entry > .wp-block-table { max-width: none; }
.entry > .alignfull { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
.entry h2 { margin-top: 1.6em; }
.entry > h2:first-child { margin-top: 0; }
.entry h3 { margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li { margin-bottom: .3em; }
.entry li::marker { color: var(--copper); }
.entry blockquote, .entry .wp-block-quote {
	margin: 2em 0; padding: 0 0 0 24px; border-left: 3px solid var(--copper-hot);
	font-style: italic; font-size: 1.25rem;
}
.entry .wp-block-image { margin: 2em 0; }
.entry figcaption, .entry .wp-element-caption {
	font: 400 .75rem/1.4 var(--f-mono); letter-spacing: .04em; color: var(--muted); margin-top: 8px; text-align: left;
}
.entry .has-large-font-size, .entry .is-style-mm-lead { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; }

/* Blok stil: "Napomena" – istaknuta kutija (npr. Novo u ponudi) */
.entry .is-style-mm-note {
	background: var(--iron); color: var(--paper); padding: 28px 32px; margin: 2.5em 0;
}
.entry .is-style-mm-note :where(h2, h3) { margin-top: 0; color: var(--paper); }
.entry .is-style-mm-note a { color: var(--copper-hot); }
.entry .is-style-mm-note > :last-child { margin-bottom: 0; }

/* Blok stil: "Program" – numerirana lista s debelim crtama */
.entry .is-style-mm-program { list-style: none; padding: 0; counter-reset: p; border-top: 1.5px solid var(--ink); max-width: 760px; }
.entry .is-style-mm-program li {
	counter-increment: p; margin: 0; padding: 14px 0 12px; border-bottom: 1px solid var(--rule);
	display: grid; grid-template-columns: 48px 1fr; align-items: baseline;
	font: 600 clamp(1.3rem, 2.4vw, 1.8rem)/1.1 var(--f-display); text-transform: uppercase;
}
.entry .is-style-mm-program li::before { content: counter(p, decimal-leading-zero); font: 500 .8rem/1 var(--f-mono); color: var(--muted); }

/* Dvije kolone s tankom crtom (O nama, Usluge) */
.entry .wp-block-columns { gap: clamp(24px, 5vw, 72px); margin: 2.5em 0; }
.entry .wp-block-column > :first-child { margin-top: 0; }

/* -------------------------------------------------------------- galerija */
.gallery-filter {
	display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none;
	position: sticky; top: var(--header-h); z-index: 5; background: var(--paper); padding: 12px 0; border-bottom: 1px solid var(--rule);
	max-width: none !important;
}
.gallery-filter button {
	font: 500 .95rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase;
	background: none; color: var(--ink); border: 1px solid var(--rule); padding: 10px 14px 9px; cursor: pointer;
}
.gallery-filter button:hover { border-color: var(--ink); }
.gallery-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gallery-filter .count { font: 400 .72rem/1 var(--f-mono); opacity: .6; margin-left: .4em; }
.mm-gallery-section { max-width: none !important; scroll-margin-top: calc(var(--header-h) + 72px); }
.mm-gallery-section[hidden] { display: none !important; }
.mm-gallery-section h2 { display: flex; align-items: baseline; gap: 16px; }
.mm-gallery-section h2 small { font: 400 .8rem/1 var(--f-mono); color: var(--muted); letter-spacing: .06em; }
.entry .wp-block-gallery.has-nested-images { gap: 8px; margin-bottom: 64px; }
.entry .wp-block-gallery.has-nested-images figure.wp-block-image { margin: 0; }
.entry .wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 1; object-fit: cover; height: 100%; }
.mm-more { margin: -40px 0 64px; }

/* ----------------------------------------------------------------- forma */
.mm-form { display: grid; gap: 18px; max-width: 720px; }
.mm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .mm-form__row { grid-template-columns: 1fr; } }
.mm-field { display: grid; gap: 6px; }
.mm-field span { font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mm-field input, .mm-field select, .mm-field textarea {
	font: inherit; font-size: 1rem; color: var(--ink);
	background: #fbf9f5; border: 1px solid var(--rule); border-bottom: 1.5px solid var(--ink);
	padding: 12px 14px; border-radius: 0; width: 100%;
}
.mm-field input:focus, .mm-field select:focus, .mm-field textarea:focus { outline: none; border-color: var(--copper); background: #fff; }
.mm-check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.mm-check input { margin-top: .35em; accent-color: var(--copper); }
.mm-form .mm-btn { justify-self: start; }
.mm-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mm-form-msg { padding: 18px 22px; margin-bottom: 24px; border-left: 3px solid; max-width: 720px; }
.mm-form-msg--ok { background: #e6eadf; border-color: #4f6a35; }
.mm-form-msg--err { background: #f3e1d6; border-color: var(--copper); }

/* Kontakt kartica */
.mm-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); max-width: none !important; margin-bottom: 64px; }
.mm-contact > div { padding: 20px 24px 24px 0; border-bottom: 1px solid var(--rule); }
.mm-contact > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.mm-contact .label { margin-bottom: 10px; }
.mm-contact .big { font: 500 clamp(1.2rem, 2vw, 1.6rem)/1.25 var(--f-mono); }
.mm-contact .big a { color: var(--ink); text-decoration: none; }
.mm-contact .big a:hover { color: var(--copper); }
@media (max-width: 860px) {
	.mm-contact { grid-template-columns: 1fr; }
	.mm-contact > div + div { padding-left: 0; border-left: 0; }
}

/* ----------------------------------------------------------------- cjenik */
.mm-cjenik { max-width: 960px; }
.mm-cjenik__meta {
	display: flex; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 32px;
	font: 400 .75rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.mm-cjenik__table { width: 100%; border-collapse: collapse; margin-bottom: 40px; font-variant-numeric: tabular-nums; }
.mm-cjenik__table caption {
	text-align: left; font: 600 1.6rem/1 var(--f-display); text-transform: uppercase;
	padding-bottom: 12px; border-bottom: 1.5px solid var(--ink);
}
.mm-cjenik__table th, .mm-cjenik__table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.mm-cjenik__table thead th { font: 500 .7rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mm-cjenik__table tbody th { font-weight: 400; }
.mm-cjenik__table tbody th small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.mm-cjenik__sifra { font: 400 .72rem/1 var(--f-mono); color: var(--muted); margin-right: .6em; }
.mm-cjenik__table .num { text-align: right; white-space: nowrap; font-family: var(--f-mono); font-size: .95rem; }
.mm-cjenik__table td.num:nth-of-type(3) { font-weight: 500; }
.mm-cjenik__anchor { color: var(--muted); }
.mm-cjenik__note { color: var(--muted); font-size: .95rem; max-width: 70ch; }
.mm-cjenik__files { font: 400 .85rem/1.6 var(--f-mono); }
.mm-cjenik__files a { margin-left: 1em; }
@media (max-width: 640px) {
	.mm-cjenik__table thead { display: none; }
	.mm-cjenik__table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--rule); }
	.mm-cjenik__table th, .mm-cjenik__table td { border: 0; padding: 2px 0; }
	.mm-cjenik__table tbody th { grid-column: 1 / -1; margin-bottom: 6px; }
	.mm-cjenik__table td::before { content: attr(data-label) " "; font: 400 .68rem/1 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
	.mm-cjenik__table td.num { text-align: left; }
	.mm-cjenik__table td:first-of-type { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------- 404 */
.notfound__links { list-style: none; padding: 0; border-top: 1.5px solid var(--ink); }
.notfound__links li { margin: 0; border-bottom: 1px solid var(--rule); }
.notfound__links a { display: block; padding: 14px 0; font: 600 1.8rem/1 var(--f-display); text-transform: uppercase; text-decoration: none; color: var(--ink); }
.notfound__links a:hover { color: var(--copper); }

/* ---------------------------------------------------------------- utility */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

@media (max-width: 420px) {
	.brand__name { font-size: 1.35rem; }
	.brand__since { font-size: .62rem; }
	.nav-toggle__label { display: none; }
	.nav-toggle { padding: 12px; }
}
@media (max-width: 720px) {
	.gallery-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
	.gallery-filter::-webkit-scrollbar { display: none; }
	.gallery-filter button { flex: 0 0 auto; }
	.mm-gallery-section h2 { flex-wrap: wrap; gap: 4px 12px; }
}

@media (min-width: 641px) {
	.mm-cjenik__table { table-layout: fixed; }
	.mm-cjenik__table thead th:nth-child(2) { width: 80px; }
	.mm-cjenik__table thead th:nth-child(3), .mm-cjenik__table thead th:nth-child(4) { width: 150px; }
}

/* Lightbox: tamna podloga umjesto bijele */
.wp-lightbox-overlay .scrim { background-color: #141310 !important; opacity: .96 !important; }
.wp-lightbox-overlay .close-button,
.wp-lightbox-overlay .wp-lightbox-navigation-button { color: var(--paper) !important; fill: var(--paper) !important; }
.wp-lightbox-overlay button svg { fill: var(--paper); }
.entry .wp-block-image img { max-height: 82vh; width: auto; }

/* Cjenik: posebni oblik prodaje i pohrane */
.mm-cjenik__posebni {
	display: inline-block; margin-left: .5em; padding: 2px 8px 1px;
	font: 500 .68rem/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
	background: var(--copper); color: var(--paper); vertical-align: middle;
}
.mm-cjenik__files { margin-top: 56px; padding-top: 32px; border-top: 1.5px solid var(--ink); }
.mm-cjenik__files h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .5em; }
.mm-cjenik__files > p { color: var(--muted); max-width: 70ch; }
.mm-cjenik__versions { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font: 400 .9rem/1.4 var(--f-mono); }
.mm-cjenik__versions th { text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--rule); }
.mm-cjenik__versions td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.mm-cjenik__versions tr.is-current td { background: var(--paper-2); }
.mm-cjenik__versions tr.is-current td:first-child { padding-left: 10px; }
.mm-cjenik__versions a { margin-right: 14px; }
.mm-cjenik__stable { font: 400 .8rem/1.6 var(--f-mono); word-break: break-all; }
@media (max-width: 640px) {
	.mm-cjenik__versions thead { display: none; }
	.mm-cjenik__versions tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid var(--rule); }
	.mm-cjenik__versions td { border: 0; padding: 2px 0; }
}
