/*
Theme Name: Neo Production 2026
Theme URI: https://neoproduction.hr/
Author: Neo Production
Description: Tamna "backstage" tema za Neo Production. Koncerti i turneje u prvom planu, reference iz postojećih projekata (wm_projekti), blog, HR i EN preko TranslatePressa.
Version: 1.4.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: neo2026
*/

/* ================================================================
   Tokens
   ================================================================ */
:root {
	--bg: #0d0d0e;
	--bg-1: #141416;
	--bg-2: #1c1c1f;
	--bg-3: #09090a;
	--line: rgba(255, 255, 255, 0.1);
	--line-2: rgba(255, 255, 255, 0.18);
	--text: #efede8;
	--text-2: #d6d3cc;
	--muted: #a29e95;
	--dim: #6f6c66;
	--copper: #c8803f;
	--copper-2: #e39c5a;
	--copper-ink: #1a0f06;

	--display: "Archivo NP", "Archivo", "Helvetica Neue", Arial, sans-serif;
	--body: "Archivo NP", "Archivo", "Helvetica Neue", Arial, sans-serif;
	--mono: "JetBrains Mono NP", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--wrap: 1440px;
	--gutter: clamp(16px, 4vw, 56px);
	--header-h: 76px;
	--section: clamp(80px, 11vw, 160px);
	--radius: 2px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 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: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body:not(.has-hero) .site-main { padding-top: var(--header-h); }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

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

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

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

.skip {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--copper); color: var(--copper-ink);
	padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }

.mono {
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: 0.04em;
}

.i { width: 1em; height: 1em; flex: none; }

/* ================================================================
   Type
   ================================================================ */
.h1, .h2, .h3, .hero__title, .contact__title, .article__title, .artists__wall {
	font-family: var(--display);
	font-weight: 800;
	font-stretch: 112%;
	letter-spacing: -0.025em;
	line-height: 0.95;
	text-wrap: balance;
}
.h1 { font-size: clamp(48px, 9vw, 140px); }
.h2 { font-size: clamp(34px, 4.8vw, 68px); }
.h3 { font-size: clamp(24px, 2.6vw, 36px); }

.label {
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 22px;
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--copper);
}
.label span { color: var(--muted); }
.label span:empty { display: none; }
.label span:not(:empty)::after {
	content: ""; display: inline-block; width: 28px; height: 1px;
	background: var(--line-2); vertical-align: middle; margin-left: 14px;
}

.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--text); }

/* ================================================================
   Buttons & links
   ================================================================ */
.btn {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 17px 26px;
	background: var(--copper); color: var(--copper-ink);
	font-weight: 600; font-size: 15px; letter-spacing: 0.01em; line-height: 1;
	border: 1px solid var(--copper);
	border-radius: var(--radius);
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--copper-2); border-color: var(--copper-2); }
.btn .i { transition: transform 0.25s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--text); }
.btn--sm { padding: 11px 18px; font-size: 14px; }

.link {
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--copper);
	font-weight: 600;
	border-bottom: 1px solid currentColor;
	padding-bottom: 4px;
	transition: gap 0.25s var(--ease), color 0.2s;
}
.link:hover { gap: 16px; color: var(--copper-2); }

/* ================================================================
   Header
   ================================================================ */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	height: var(--header-h);
	transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
	border-bottom: 1px solid transparent;
}
.has-hero .site-header { background: linear-gradient(180deg, rgba(9,9,10,0.7), rgba(9,9,10,0)); }
.site-header.is-scrolled,
body:not(.has-hero) .site-header,
body.menu-open .site-header {
	background: rgba(13, 13, 14, 0.9);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--line);
}
.site-header__inner {
	height: 100%;
	display: flex; align-items: center; gap: 40px;
}

.brand {
	font-family: var(--display);
	font-weight: 800;
	font-stretch: 118%;
	font-size: 19px;
	letter-spacing: 0.02em;
	white-space: nowrap;
	line-height: 1;
}
.brand span { color: var(--copper); }
.brand--img img { height: 44px; width: auto; }

.site-nav { margin-left: auto; }
.nav { display: flex; gap: 34px; }
.nav a, .site-nav .menu-item a {
	font-size: 15px; color: var(--text-2);
	position: relative; padding: 6px 0;
	transition: color 0.2s;
}
.nav a::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
	background: var(--copper); transition: right 0.3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after, .nav .current-menu-item a::after { right: 0; }

.site-header__end { display: flex; align-items: center; gap: 22px; }

.lang { display: flex; gap: 2px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.lang li + li::before { content: "/"; color: var(--dim); margin: 0 6px; }
.lang a { color: var(--muted); }
.lang a:hover, .lang a.is-current { color: var(--text); }
.lang--lg { font-size: 16px; }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; font-size: 26px; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }

.mobile-menu {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
	background: var(--bg);
	overflow-y: auto;
	padding: 32px 0 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-nav a {
	display: block;
	font-family: var(--display); font-weight: 800; font-stretch: 112%;
	font-size: clamp(34px, 9vw, 54px); line-height: 1.15; letter-spacing: -0.02em;
	padding: 6px 0;
	border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover { color: var(--copper); }
.mobile-nav--contact a { color: var(--copper); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; color: var(--muted); }
.mobile-menu__foot .mono { font-size: 15px; }

body.menu-open { overflow: hidden; }

@media (max-width: 1080px) {
	.site-nav, .site-header__end .btn--sm { display: none; }
	.site-header__end { margin-left: auto; }
	.menu-toggle { display: inline-flex; }
}

/* ================================================================
   Hero
   ================================================================ */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex; flex-direction: column;
	isolation: isolate;
	overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--bg-1); }
.hero__img {
	width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
	transform: scale(1.04);
	animation: heroIn 2.4s var(--ease) both;
}
@keyframes heroIn { from { transform: scale(1.1); opacity: 0.4; } to { transform: scale(1.04); opacity: 1; } }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(13,13,14,0.85) 0%, rgba(13,13,14,0.35) 45%, rgba(13,13,14,0) 75%),
		linear-gradient(180deg, rgba(13,13,14,0.4) 0%, rgba(13,13,14,0) 30%, rgba(13,13,14,0.55) 62%, var(--bg) 100%);
}

.hero__inner {
	position: relative;
	flex: 1;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding-top: calc(var(--header-h) + 60px);
	padding-bottom: 120px;
}
.hero__kicker {
	color: var(--copper);
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
	margin-bottom: 28px;
}
.hero__kicker a:hover { color: var(--copper-2); }
.hero__title {
	font-size: clamp(46px, 8.4vw, 136px);
	line-height: 0.9;
	margin-bottom: 44px;
}
.hero__title .line { display: block; }
.hero__title .line--accent { color: var(--copper); }

.hero__foot {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px 64px;
	align-items: end;
}
.hero__lead { max-width: 52ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--text-2); margin: 0; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__caption {
	position: absolute; right: var(--gutter); top: calc(var(--header-h) + 28px);
	margin: 0; color: var(--muted); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	max-height: 50vh; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hero__caption span { color: var(--dim); }

.ticker {
	position: absolute; left: 0; right: 0; bottom: 0;
	border-top: 1px solid var(--line);
	height: 54px;
	overflow: hidden;
	display: flex; align-items: center;
	background: rgba(13,13,14,0.6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.ticker__track {
	display: flex; width: max-content;
	animation: ticker 48s linear infinite;
	font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.ticker__group { display: flex; align-items: center; }
.ticker__group span { padding: 0 22px; white-space: nowrap; }
.ticker__group i { color: var(--copper); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.hero--project { min-height: 78vh; min-height: 78svh; }
.hero--project .hero__inner { padding-bottom: 64px; }
.hero__title--project { font-size: clamp(40px, 7vw, 112px); margin-bottom: 0; max-width: 16ch; }

/* ================================================================
   Sections
   ================================================================ */
.section { padding-block: var(--section); border-top: 1px solid var(--line); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.page-hero + .section { border-top: 0; }

.section__head {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 32px 80px;
	align-items: end;
	margin-bottom: clamp(40px, 5vw, 72px);
}
.section__head .h2 { max-width: 18ch; }
.section__aside p { color: var(--muted); max-width: 46ch; }
.section__aside .link { margin-top: 8px; }

/* ================================================================
   Projects
   ================================================================ */
.proj-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.proj { position: relative; }
.proj--lg { grid-column: span 2; grid-row: span 2; }
.proj__link {
	position: relative; display: block; height: 100%;
	overflow: hidden;
	background: var(--bg-1);
	border-radius: var(--radius);
}
.proj__img { aspect-ratio: 4 / 3; height: 100%; }
.proj--lg .proj__img { aspect-ratio: auto; min-height: 100%; }
.proj__img img {
	width: 100%; height: 100%; object-fit: cover;
	filter: saturate(0.85) brightness(0.82);
	transition: transform 1.1s var(--ease), filter 0.6s;
}
.proj__link::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(13,13,14,0) 35%, rgba(13,13,14,0.92) 100%);
}
.proj__link:hover .proj__img img { transform: scale(1.05); filter: saturate(1) brightness(0.95); }

.proj__body {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
	padding: 24px 26px;
}
.proj__meta { color: var(--copper); margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.proj__title {
	font-family: var(--display); font-stretch: 108%; font-weight: 800;
	font-size: clamp(20px, 1.7vw, 26px); line-height: 1.08; letter-spacing: -0.015em;
}
.proj--lg .proj__title { font-size: clamp(28px, 3.2vw, 48px); max-width: 18ch; }
.proj__role { margin: 8px 0 0; color: var(--text-2); font-size: 15px; }
.proj__blurb { margin: 14px 0 0; color: var(--muted); max-width: 52ch; font-size: 16px; }

.proj__arrow {
	position: absolute; top: 18px; right: 18px; z-index: 1;
	width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--copper); color: var(--copper-ink); font-size: 18px;
	opacity: 0; transform: translateY(6px) scale(0.9);
	transition: opacity 0.3s, transform 0.3s var(--ease);
}
.proj__link:hover .proj__arrow, .proj__link:focus-visible .proj__arrow { opacity: 1; transform: none; }

.proj-grid--all .proj--lg { grid-column: auto; grid-row: auto; }

/* ================================================================
   Services
   ================================================================ */
.svc-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
}
.svc {
	background: var(--bg-1);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(28px, 2.6vw, 40px);
	display: flex; flex-direction: column;
}
.svc p { color: var(--muted); }
.svc__num { color: var(--copper); margin-bottom: 40px; }
.svc__title {
	font-family: var(--display); font-stretch: 108%; font-weight: 800;
	font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.015em;
	margin-bottom: 16px;
}
.svc--main {
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(200,128,63,0.22), rgba(200,128,63,0) 60%),
		var(--bg-2);
	border-color: rgba(200,128,63,0.35);
}
.svc--main .svc__title { font-size: clamp(28px, 2.8vw, 40px); max-width: 14ch; }
.svc--main p { color: var(--text-2); }

.ticks { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.ticks li {
	position: relative; padding: 9px 0 9px 22px;
	font-size: 15px; color: var(--text-2);
	border-bottom: 1px solid var(--line);
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: 18px;
	width: 7px; height: 7px; background: var(--copper);
}

.svc-band {
	margin-top: 18px;
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) auto auto;
	gap: 24px 40px;
	align-items: center;
	padding: 28px clamp(28px, 2.6vw, 40px);
	border: 1px dashed var(--line-2);
	border-radius: var(--radius);
}
.svc-band__label { color: var(--copper); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; margin-bottom: 10px; }
.svc-band__text p:last-child { margin: 0; color: var(--muted); max-width: 64ch; font-size: 16px; }
.chips { display: flex; flex-direction: column; gap: 8px; }
.chips li {
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
	padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 100px; color: var(--text-2);
	white-space: nowrap;
}
.svc-band .link { white-space: nowrap; }

/* ================================================================
   Show day run sheet
   ================================================================ */
.runsheet {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	counter-reset: rs;
}
.runsheet__item {
	position: relative;
	padding: 26px 18px 0 0;
	border-top: 2px solid var(--line-2);
}
.runsheet__item::before {
	content: ""; position: absolute; top: -6px; left: 0;
	width: 10px; height: 10px; border-radius: 50%;
	background: var(--bg); border: 2px solid var(--line-2);
}
.runsheet__time { display: block; color: var(--copper); font-size: 15px; margin-bottom: 8px; }
.runsheet__what { display: block; font-size: 16px; line-height: 1.35; color: var(--text-2); }
.runsheet__item.is-live { border-top-color: var(--copper); }
.runsheet__item.is-live::before { background: var(--copper); border-color: var(--copper); box-shadow: 0 0 0 6px rgba(200,128,63,0.18); animation: live 2s ease-in-out infinite; }
.runsheet__item.is-live .runsheet__what { color: var(--text); font-weight: 600; }
.runsheet__item:last-child .runsheet__what { color: var(--text); }
@keyframes live { 50% { box-shadow: 0 0 0 10px rgba(200,128,63,0.05); } }

/* ================================================================
   Artists wall
   ================================================================ */
.artists__wall {
	font-size: clamp(28px, 4.4vw, 68px);
	line-height: 1.12;
	font-stretch: 105%;
	margin: 0;
	color: var(--text);
}
.artists__wall span { transition: color 0.25s; }
.artists__wall span:nth-child(4n+3) { color: var(--muted); }
.artists__wall span:hover { color: var(--copper); }
.artists__wall i { font-style: normal; color: var(--copper); font-weight: 400; margin: 0 0.15em; }

/* ================================================================
   About
   ================================================================ */
.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.about__img {
	position: sticky; top: calc(var(--header-h) + 24px);
	aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
	background: var(--bg-1);
}
.about__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05) brightness(0.9); }
.about__body .h2 { margin-bottom: 32px; }
.about__text p:not(.lead) { color: var(--muted); }
.about__text .lead { margin-bottom: 1.2em; }

.facts {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px; margin: 40px 0;
}
.facts > div { border-top: 1px solid var(--line); padding: 18px 0 20px; }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: clamp(24px, 2.4vw, 34px); line-height: 1; }

.about__quote {
	margin: 0; padding: 4px 0 4px 24px;
	border-left: 2px solid var(--copper);
	font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--text-2);
}

/* ================================================================
   Blog cards
   ================================================================ */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 24px;
}
.post-card a { display: block; }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-1); border-radius: var(--radius); margin-bottom: 20px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: transform 0.9s var(--ease), filter 0.4s; }
.post-card a:hover .post-card__img img { transform: scale(1.04); filter: brightness(1); }
.post-card__date { color: var(--copper); margin-bottom: 10px; font-size: 12px; }
.post-card__title {
	font-family: var(--display); font-stretch: 106%; font-weight: 800;
	font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; letter-spacing: -0.01em;
	margin-bottom: 10px; transition: color 0.2s;
}
.post-card a:hover .post-card__title { color: var(--copper-2); }
.post-card__excerpt { color: var(--muted); font-size: 15px; margin: 0; }

.pager { margin-top: 64px; display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.pager .page-numbers.current, .pager a.page-numbers:hover { border-color: var(--copper); color: var(--text); }

/* ================================================================
   Contact
   ================================================================ */
.contact { padding-block: var(--section); border-top: 1px solid var(--line); background: radial-gradient(90% 60% at 85% 100%, rgba(200,128,63,0.12), rgba(200,128,63,0) 70%); }
.contact__title { font-size: clamp(52px, 10vw, 160px); line-height: 0.9; margin-bottom: clamp(40px, 5vw, 72px); }
.contact__title em { font-style: normal; color: var(--copper); }
.contact__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 40px 80px; align-items: start;
	padding-top: 40px; border-top: 1px solid var(--line);
}
.contact__text p { color: var(--text-2); font-size: clamp(18px, 1.5vw, 21px); max-width: 44ch; }
.contact__links { display: flex; flex-direction: column; gap: 18px; }
.contact__email {
	display: inline-flex; align-items: center; gap: 14px;
	font-family: var(--display); font-weight: 800; font-stretch: 100%;
	font-size: clamp(21px, 2.6vw, 38px); letter-spacing: -0.015em; line-height: 1.1;
	overflow-wrap: anywhere;
	background: linear-gradient(var(--copper), var(--copper)) left bottom / 0 2px no-repeat;
	padding-bottom: 6px;
	transition: background-size 0.4s var(--ease), color 0.2s;
}
.contact__email:hover { background-size: 100% 2px; color: var(--copper-2); }
.contact__email .i { color: var(--copper); }
.contact__phone { font-size: clamp(18px, 1.6vw, 22px); color: var(--text-2); }
.contact__phone:hover { color: var(--copper); }

.contact--compact { background: var(--bg-1); }
.contact--compact .contact__title { font-size: clamp(44px, 7vw, 108px); }

.socials { display: flex; gap: 10px; }
.socials a {
	width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center;
	border: 1px solid var(--line-2); color: var(--text-2); font-size: 17px;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.socials a:hover { border-color: var(--copper); color: var(--copper); }
.socials--lg a { width: 48px; height: 48px; font-size: 20px; }

/* ================================================================
   Footer
   ================================================================ */
.site-footer { background: var(--bg-3); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 15px; }
.site-footer__top {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px; padding-bottom: 48px;
}
.site-footer__brand p { color: var(--muted); max-width: 36ch; margin-top: 18px; }
.fnav { display: flex; flex-direction: column; gap: 10px; }
.fnav a { color: var(--text-2); }
.fnav a:hover { color: var(--copper); }
.site-footer__contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer__contact a:hover { color: var(--copper); }
.site-footer__contact .socials { margin-top: 10px; }
.site-footer__bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	padding-top: 24px; border-top: 1px solid var(--line);
	color: var(--dim); font-size: 12px;
}
.site-footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer__legal a:hover { color: var(--text); }

/* ================================================================
   Inner pages
   ================================================================ */
.page-hero {
	padding-top: clamp(64px, 9vw, 140px);
	padding-bottom: clamp(32px, 4vw, 56px);
}
.page-hero .h1 { max-width: 14ch; margin-bottom: 28px; }
.page-hero__lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 56ch; }
.page-hero--404 { min-height: 70vh; display: flex; align-items: center; }

.project__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
	gap: 40px clamp(40px, 6vw, 96px);
}
.project__facts { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; margin: 0; }
.project__facts > div { border-top: 1px solid var(--line); padding: 16px 0; }
.project__facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.project__facts dd { margin: 0; font-size: 18px; }
.project__facts dd.mono { font-size: 16px; color: var(--copper); }
.project__lead { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; color: var(--text); margin-bottom: 40px; max-width: 34ch; }

.next-proj { border-top: 1px solid var(--line); }
.next-proj__link { display: flex; flex-direction: column; gap: 10px; padding-block: clamp(48px, 7vw, 96px); }
.next-proj__title {
	display: inline-flex; align-items: center; gap: 20px;
	font-family: var(--display); font-weight: 800; font-stretch: 112%;
	font-size: clamp(32px, 6vw, 88px); line-height: 1; letter-spacing: -0.025em;
	transition: color 0.2s, gap 0.3s var(--ease);
}
.next-proj__link:hover .next-proj__title { color: var(--copper); gap: 32px; }

/* Article */
.article { padding-bottom: clamp(48px, 7vw, 96px); }
.article__head { padding-top: clamp(56px, 8vw, 120px); padding-bottom: 40px; }
.article__head .label a { color: var(--copper); }
.article__date { color: var(--muted); margin-left: auto; }
.article__head .label { justify-content: space-between; }
.article__title { font-size: clamp(36px, 5.4vw, 72px); line-height: 1; }
.article__lead { margin: 28px 0 0; font-size: clamp(19px, 1.7vw, 23px); color: var(--text-2); }
.article__img { margin-bottom: clamp(40px, 5vw, 72px); }
.article__img img { width: 100%; border-radius: var(--radius); }
.article--page .article__head { padding-bottom: 24px; }
.article__foot { margin-top: 56px; }
.author { border-top: 1px solid var(--line); padding-top: 24px; }
.author__name { font-weight: 700; margin: 0; }
.author__role { color: var(--muted); margin: 0; font-size: 15px; }

/* ================================================================
   Editor content (blog posts, project pages)
   ================================================================ */
.entry { font-size: 19px; line-height: 1.7; color: var(--text-2); }
.entry > * + * { margin-top: 1.1em; }
.entry > :first-child { margin-top: 0; }
.entry p { margin: 0; }
.entry p + p { margin-top: 1.1em; }
.entry h2, .entry h3, .entry h4 {
	font-family: var(--display); font-stretch: 108%; font-weight: 800; color: var(--text);
	letter-spacing: -0.015em; line-height: 1.15; margin-top: 1.8em;
}
.entry h2 { font-size: clamp(26px, 2.6vw, 36px); }
.entry h3 { font-size: clamp(22px, 2vw, 27px); }
.entry h4 { font-size: 20px; }
.entry a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry a:hover { color: var(--copper-2); }
.entry strong { color: var(--text); }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry ul { list-style: square; }
.entry ol { list-style: decimal; }
.entry li { margin: 0.4em 0; }
.entry li::marker { color: var(--copper); }
.entry blockquote, .entry .wp-block-quote {
	margin-left: 0; margin-right: 0; padding: 4px 0 4px 26px;
	border-left: 2px solid var(--copper);
	font-size: 1.15em; color: var(--text);
}
.entry blockquote cite { display: block; margin-top: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); font-style: normal; }
.entry .wp-block-pullquote { border-color: var(--copper); color: var(--text); }
.entry img { border-radius: var(--radius); }
.entry figure { margin-top: 1.8em; margin-bottom: 1.8em; }
.entry figcaption, .entry .wp-element-caption { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 10px; text-align: left; }
.entry hr, .entry .wp-block-separator { border: 0; border-top: 1px solid var(--line-2); margin: 2.4em 0; }
.entry .alignwide { width: min(1100px, calc(100vw - 2 * var(--gutter))); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry .alignfull img { border-radius: 0; }
.entry .aligncenter { margin-left: auto; margin-right: auto; }
.entry .alignleft { float: left; margin: 0.4em 1.5em 1em 0; max-width: 50%; }
.entry .alignright { float: right; margin: 0.4em 0 1em 1.5em; max-width: 50%; }
.entry .wp-block-gallery { gap: 10px; }
.entry .wp-block-gallery figure { margin: 0; }
.entry .wp-block-button__link {
	background: var(--copper); color: var(--copper-ink); text-decoration: none;
	border-radius: var(--radius); padding: 15px 24px; font-weight: 600; font-size: 16px;
}
.entry .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry th, .entry td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.entry th { color: var(--text); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.entry code { font-family: var(--mono); font-size: 0.85em; background: var(--bg-2); padding: 2px 6px; }
.entry iframe { max-width: 100%; }
.entry .wp-block-embed { margin-top: 1.8em; margin-bottom: 1.8em; }
.entry .has-background { padding: 1.2em 1.4em; }
.entry--intro { max-width: 760px; margin-bottom: 48px; }
.entry--canvas > * { margin-top: 0; }
.entry::after { content: ""; display: table; clear: both; }

/* ================================================================
   Reveal on scroll
   ================================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

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

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1200px) {
	.runsheet { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 36px; }
	.svc-band { grid-template-columns: minmax(0, 1fr) auto; }
	.svc-band .link { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 960px) {
	body { font-size: 16px; }
	.section__head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.hero__foot { grid-template-columns: minmax(0, 1fr); }
	.proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.proj--lg { grid-column: 1 / -1; grid-row: auto; }
	.proj--lg .proj__img { aspect-ratio: 16 / 11; }
	.svc-grid { grid-template-columns: minmax(0, 1fr); }
	.svc__num { margin-bottom: 20px; }
	.about__grid { grid-template-columns: minmax(0, 1fr); }
	.about__img { position: relative; top: 0; aspect-ratio: 16 / 11; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact__grid { grid-template-columns: minmax(0, 1fr); }
	.site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
	.project__grid { grid-template-columns: minmax(0, 1fr); }
	.project__facts { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
	.hero__caption { display: none; }
}

@media (max-width: 640px) {
	:root { --header-h: 64px; }
	.brand { font-size: 17px; }
	.hero__inner { padding-bottom: 96px; }
	.hero__title { margin-bottom: 28px; }
	.hero__cta .btn { flex: 1 1 auto; justify-content: center; }
	.ticker { height: 46px; }
	.proj-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.proj--lg .proj__img, .proj__img { aspect-ratio: 4 / 3.4; }
	.proj__body { padding: 20px; }
	.proj__blurb { display: none; }
	.proj__arrow { opacity: 1; transform: none; width: 38px; height: 38px; }
	.svc-band { grid-template-columns: minmax(0, 1fr); }
	.chips { flex-direction: row; flex-wrap: wrap; }
	.runsheet { grid-template-columns: minmax(0, 1fr); row-gap: 0; border-left: 2px solid var(--line-2); margin-left: 5px; }
	.runsheet__item { border-top: 0; padding: 12px 0 12px 24px; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: baseline; border-bottom: 1px solid var(--line); }
	.runsheet__item::before { top: 18px; left: -7px; }
	.runsheet__time { margin: 0; }
	.runsheet__item.is-live { border-top: 0; }
	.facts { grid-template-columns: minmax(0, 1fr); }
	.post-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.site-footer__top { grid-template-columns: minmax(0, 1fr); }
	.project__facts { grid-template-columns: minmax(0, 1fr); }
	.entry { font-size: 17px; }
	.entry .alignleft, .entry .alignright { float: none; max-width: 100%; margin: 1.5em 0; }
}

.article__date::after { display: none !important; }

/* ================================================================
   Arhiva: kompletan popis produkcija po godinama (/work/)
   ================================================================ */
.arhiva { border-top: 1px solid var(--line); }
.arhiva__title { margin: 14px 0 16px; }
.arhiva__lead {
	max-width: 62ch;
	color: var(--text-2);
	margin: 0 0 clamp(28px, 4vw, 48px);
}
.arhiva__year { margin-top: clamp(28px, 4vw, 44px); }
.arhiva__y {
	font-family: var(--mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.16em;
	color: var(--copper);
	margin: 0 0 4px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line-2);
}
.arhiva__list { list-style: none; margin: 0; padding: 0; }
.arhiva__list li {
	display: grid;
	grid-template-columns: 1.1fr 1.3fr 0.8fr;
	gap: 18px;
	align-items: baseline;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
.arhiva__list li:last-child { border-bottom: none; }
.arhiva__t { font-weight: 600; color: var(--text); }
.arhiva__m { color: var(--muted); font-size: 15px; }
.arhiva__r {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--copper);
	text-align: right;
}
.arhiva__note {
	margin-top: clamp(28px, 4vw, 44px);
	padding-left: 16px;
	border-left: 2px solid var(--copper);
	color: var(--text-2);
	font-size: 15px;
}
@media (max-width: 860px) {
	.arhiva__list li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
	.arhiva__r { text-align: left; margin-top: 4px; }
}

.arhiva { border-top: 0; padding-top: clamp(40px, 6vw, 72px); }
.proj-grid__title { margin: 14px 0 clamp(24px, 3vw, 40px); }
.section--tight { border-top: 1px solid var(--line); }
