/* =========================================================================
 * Home page - drawn to the client's mockup
 *
 * Every number here is measured off todo/WhatsApp Image 2026-08-06 at
 * 16.37.51.jpeg, a 1024x1536 drawing of the whole page, and written as a
 * percentage of the page width (px / 1024 * 100 = vw). That keeps the band
 * heights, the type scale and the column positions in the same relation to
 * each other at any viewport width, which is what "iste omjere" asks for.
 *
 * The scale is deliberately smaller than the rest of the site: the mockup's
 * body text is ~9.5px at 1024 wide. --zd-h-scale multiplies the whole type
 * scale if it turns out too small in the flesh - one number, nothing else to
 * touch.
 *
 * Below 768px the drawing does not apply (it is a desktop page), so the
 * sections fall back to the site's own tokens and stack.
 * ====================================================================== */

.zd-h {
	--zd-h-scale: 1;

	/* bands, as a fraction of the page width */
	--zd-h-hero-h: 33.1vw;
	--zd-h-manifest-h: 27vw;
	--zd-h-split-h: 36vw; /* todo4: kvadratnije, bilo 19.2vw */
	--zd-h-gallery-h: 16.3vw;
	--zd-h-about-h: 32vw; /* todo4: bilo 14.6vw */
	--zd-h-journal-h: 17.1vw;
	--zd-h-news-h: 21vw;
	--zd-h-cta-h: 34vw; /* todo4: bilo 15.1vw */

	/* type */
	--zd-h-hero-1: calc(2.93vw * var(--zd-h-scale));
	--zd-h-hero-2: calc(2.34vw * var(--zd-h-scale));
	--zd-h-title: calc(2.25vw * var(--zd-h-scale));
	--zd-h-split: calc(2.05vw * var(--zd-h-scale));
	--zd-h-label-size: calc(1.95vw * var(--zd-h-scale));
	--zd-h-body: calc(1.12vw * var(--zd-h-scale));
	--zd-h-small: calc(0.91vw * var(--zd-h-scale));

	/* columns */
	--zd-h-gutter: 5.6vw;
	--zd-h-inset: 11vw;
	--zd-h-col: 25.2vw;
	--zd-h-gap: 1.46vw;

	/* grounds, sampled from the drawing */
	--zd-h-light: #e8e3da;
	--zd-h-light-alt: #e2dad2;
	--zd-h-dark: #131311;
	--zd-h-ink: #16130f;
	--zd-h-chalk: #f2eee7;
	--zd-h-muted: #b9b2a8;

	position: relative;
	overflow: hidden;
	font-family: var(--zd-font-body);
	/* body sets line-height 2; at this scale that is what blew the bands out */
	line-height: 1.5;
}

.zd-h img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* base.css colours <p> from the light-theme token, and .zd-h-box/.zd-h-link
   inherit from it - on the dark bands that painted the links invisible.
   Note the specificity: anything below that wants a margin on a <p> has to be
   written as `.zd-h .thing`, or this reset wins and the spacing vanishes. */
.zd-h p {
	max-width: none;
	margin: 0;
	color: inherit;
}

/* Something in the stack declares
       * { font-family: Roboto, sans-serif; font-size: 16px; line-height: 32px }
   and a universal selector beats inheritance on every element. A title line
   written as a bare <span> therefore came out in the UI face at 16px with its
   lines 32px apart, whatever the heading above it was set to. Everything the
   heading should hand down is handed down here by name.

   If a new title splits its lines into spans, it belongs in this rule - or it
   will quietly render in the wrong typeface. */
.zd-h h1 > span:not([class]),
.zd-h h2 > span:not([class]),
.zd-h-hero__l1,
.zd-h-hero__l2 {
	font-family: inherit;
	line-height: inherit;
	letter-spacing: inherit;
}

.zd-h h1 > span:not([class]),
.zd-h h2 > span:not([class]) {
	font-size: inherit;
}

/* Prague forces height:auto on images, so a picture that has to fill a band
   is taken out of flow instead of fighting that rule. */
.zd-h-fill {
	position: relative;
	overflow: hidden;
}

/* Every full-bleed photograph in a band, not just the ones marked .zd-h-fill:
   at desktop widths the picture happened to be taller than its band, so the
   missing fill never showed - on a phone the hero ran out of image halfway
   down and the rest was flat black. */
.zd-h-fill img,
.zd-h-hero__media img,
.zd-h-manifest__media img,
.zd-h-split__media img,
.zd-h-cta__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	/* Prague sets img { height: auto } and for an absolutely positioned
	   replaced element that wins over `height: 100%` - the picture then keeps
	   its intrinsic height and leaves a gap. min/max-height are not in that
	   fight. */
	height: 100%;
	min-height: 100%;
	max-height: 100%;
	object-fit: cover;
}

/* Elementor gives every widget 20px of bottom margin. The designed sections
   are full-bleed bands and are meant to meet edge to edge, so that gap is
   taken back - it was showing as a pale stripe between every band.
   The hairline the drawing shows on the split runs BETWEEN its two halves,
   Elementor writes the gap as the logical margin-block-end and at the same
   weight, so the override has to name the same property and outrank it. */
.elementor .elementor-widget-shortcode:has(.zd-h),
.elementor .elementor-widget-shortcode:has(.zd-imgband) {
	margin-block-end: 0;
	margin-bottom: 0;
}

/* The one gap on the page: between the manifest and the two doors. */
.elementor .elementor-widget-shortcode:has(.zd-h-manifest) {
	margin-block-end: 6px;
	margin-bottom: 6px;
}

/* Shared bits ---------------------------------------------------------- */

.zd-h-label,
.zd-h-box,
.zd-h-link {
	font-family: var(--zd-font-body);
	font-size: var(--zd-h-small);
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
}

/* Written with the section class in front: a bare .zd-h-rule loses its
   margins to the reset further up the stack, and the title then sits on the
   copy. */
.zd-h .zd-h-rule {
	width: 3.1vw;
	border: 0;
	border-top: 1px solid currentColor;
	opacity: 0.5;
	margin: 1.4vw 0;
}

.zd-h-link {
	display: inline-block;
	color: inherit;
	padding-bottom: 0.4vw;
	border-bottom: 1px solid currentColor;
}

.zd-h-box {
	display: inline-block;
	color: inherit;
	padding: 0.7vw 1.5vw;
	border: 1px solid currentColor;
}

.zd-h-box:hover,
.zd-h-link:hover {
	color: var(--zd-accent);
	border-color: var(--zd-accent);
}

/* The intro column of the gallery / about / journal bands. */
.zd-h-intro {
	position: relative;
	z-index: 1;
	width: var(--zd-h-col);
	padding-left: var(--zd-h-gutter);
	flex: 0 0 auto;
}

.zd-h-intro__label {
	font-family: var(--zd-font-display);
	font-weight: 300;
	font-size: var(--zd-h-label-size);
	letter-spacing: 0.055em;
	text-transform: uppercase;
	line-height: 1;
	margin: 0;
	color: inherit;
}

.zd-h-intro__text {
	font-size: var(--zd-h-body);
	line-height: 1.65;
	color: inherit;
}

.zd-h .zd-h-intro__action {
	margin-top: 1.6vw;
}

/* 01 hero --------------------------------------------------------------- */

.zd-h-hero {
	min-height: var(--zd-h-hero-h);
	background-color: var(--zd-h-dark);
}

.zd-h-hero__media,
.zd-h-hero__media::after {
	position: absolute;
	inset: 0;
}

.zd-h-hero__media::after {
	content: "";
	background: linear-gradient(180deg, rgba(10, 9, 7, 0.55) 0%, rgba(10, 9, 7, 0.3) 40%, rgba(10, 9, 7, 0.45) 100%);
}

.zd-h-hero__inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* the drawing offsets the block downwards to make room for the play
	   control; without it the title belongs on the centre line */
	padding-top: 0;
	text-align: center;
	color: var(--zd-h-chalk);
}

.zd-h-hero__title {
	font-family: var(--zd-font-display);
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.045em;
	line-height: 1.25;
	margin: 0;
	color: inherit;
}

.zd-h-hero__l1,
.zd-h-hero__l2 {
	display: block;
}

/* The hero's two lines differ in size, so they keep their own classes - the
   rest they inherit through the rule at the top of this file. */
.zd-h-hero__l1 {
	font-size: var(--zd-h-hero-1);
}

.zd-h-hero__l2 {
	font-size: var(--zd-h-hero-2);
}

.zd-h-hero__playlink {
	color: inherit;
}

.zd-h-hero__inner:has(.zd-h-hero__play) {
	padding-top: 6.8vw;
}

.zd-h .zd-h-hero__play {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9vw;
	margin-top: 2.15vw;
}

.zd-h-hero__disc {
	width: 2.7vw;
	height: 2.7vw;
	border: 1px solid currentColor;
	border-radius: 50%;
	position: relative;
}

.zd-h-hero__disc::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-left: 0.62vw solid currentColor;
	border-top: 0.36vw solid transparent;
	border-bottom: 0.36vw solid transparent;
}

/* The film sits between the still and the gradient (the ::after of its
   parent paints last, so the tint stays on top). It is invisible until it is
   actually running - js/hero-video.js adds is-playing - so the visitor sees
   the still, then the moving picture fades in over it from the same frame.
   Prague's img rule does not reach <video>, but the same out-of-flow fill
   applies. */
.zd-h-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0;
	transition: opacity 0.9s ease;
	pointer-events: none;
}

.zd-h-hero.is-playing .zd-h-hero__video {
	opacity: 1;
}

/* When the film carries its own titles the HTML ones step aside as it
   fades in - and come back the moment it is not running. */
.zd-h-hero--film .zd-h-hero__inner {
	transition: opacity 0.9s ease;
}

.zd-h-hero--film.is-playing .zd-h-hero__inner {
	opacity: 0;
}

/* Titlovi (01.10.2026.) - film je bez teksta, a naslov ide preko njega
   kao titl: dolje na sredini, jedan redak u isto vrijeme - prvi, pa drugi.
   js/hero-video.js dodaje `zd-h-hero--subs` (samo kad smije animirati) i
   po vremenu filma `is-cue-1` / `is-cue-2`. Bez skripte ili uz smanjeno
   kretanje oba retka stoje zajedno na istom mjestu, pa nema praznog heroa. */
.zd-h-hero[data-cues] .zd-h-hero__inner {
	justify-content: flex-end;
	padding: 0 var(--zd-h-gutter) 4.6vw;
}

/* Tamnije dno kadra, da svijetla slova ne ovise o tome što je u filmu. */
.zd-h-hero[data-cues] .zd-h-hero__media::after {
	background: linear-gradient(180deg, rgba(10, 9, 7, 0.5) 0%, rgba(10, 9, 7, 0.12) 34%, rgba(10, 9, 7, 0.12) 58%, rgba(10, 9, 7, 0.72) 100%);
}

.zd-h-hero[data-cues] .zd-h-hero__title {
	display: grid;
	justify-items: center;
	font-weight: 400;
	letter-spacing: 0.01em;
	text-transform: none;
	text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.zd-h-hero[data-cues] .zd-h-hero__l1,
.zd-h-hero[data-cues] .zd-h-hero__l2 {
	max-width: 44ch;
	font-size: calc(2.25vw * var(--zd-h-scale));
	line-height: 1.3;
}

/* Kao titlovi: oba retka u istoj ćeliji, vidi se samo onaj koji je na redu. */
.zd-h-hero--subs .zd-h-hero__l1,
.zd-h-hero--subs .zd-h-hero__l2 {
	grid-area: 1 / 1;
	opacity: 0;
	transform: translateY(0.35em);
	transition: opacity 0.9s ease, transform 0.9s ease;
}

.zd-h-hero--subs.is-cue-1 .zd-h-hero__l1,
.zd-h-hero--subs.is-cue-2 .zd-h-hero__l2 {
	opacity: 1;
	transform: none;
}

/* Prvi titl stoji redak više od drugoga (todo4, 20.10.2026.). */
.zd-h-hero--subs .zd-h-hero__l1 {
	transform: translateY(-0.95em);
}

.zd-h-hero--subs.is-cue-1 .zd-h-hero__l1 {
	transform: translateY(-1.3em);
}

@media (prefers-reduced-motion: reduce) {
	.zd-h-hero__video {
		display: none;
	}
}

/* On a tablet the hero takes the tall phone height (below), which would
   blow a 2.2:1 film up to portrait and cut its burnt-in titles to a
   fragment. With the film present the band takes the film's own proportion
   instead, so the whole frame - titles included - is on screen. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
	/* Doubled class: the phone height rule further down would win on order. */
	.zd-h-hero.zd-h-hero--film {
		/* 864/1920 of the width. Not aspect-ratio: inside Elementor's flex
		   column that resolved the width from the height and pushed the
		   band past the viewport. */
		min-height: 45vw;
	}
}

/* 02 manifest ----------------------------------------------------------- */

/* Odobreni mockup 12.08. (todo2 Slike/Pocetna/03 primjer kako intro izgleda.png)
   okreće ovu traku naopako u odnosu na prvu skicu: crna podloga, crno-bijela
   fotografija autorice kako slika, svijetli tekst preko lijeve trećine. Ranija
   svijetla verzija je bila iz starijeg crteža cijele stranice. */
.zd-h-manifest {
	min-height: var(--zd-h-manifest-h);
	background-color: var(--zd-h-dark);
	display: flex;
	align-items: center;
}

.zd-h-manifest__media {
	position: absolute;
	inset: 0;
}

/* Fotografija je u boji tek malo topla; mockup je drži crno-bijelom da zlato
   iz susjedne trake ostane jedina boja u tom dijelu stranice. */
.zd-h-manifest__media img {
	filter: grayscale(1) contrast(1.05);
}

/* Zastor nosi tekst preko lijeve trećine. Bio je krem - uz tamnu podlogu to je
   bila svijetla mrlja nasred crne trake. */
.zd-h-manifest__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
		rgba(15, 14, 12, 0.92) 0%,
		rgba(15, 14, 12, 0.86) 30%,
		rgba(15, 14, 12, 0.45) 52%,
		rgba(15, 14, 12, 0.15) 72%,
		rgba(15, 14, 12, 0.05) 100%);
}

.zd-h-manifest__inner {
	position: relative;
	z-index: 1;
	padding: 3vw var(--zd-h-inset);
	color: var(--zd-h-chalk);
}

.zd-h-manifest__title {
	font-family: var(--zd-font-display);
	font-weight: 300;
	/* Mockup ima naslov kao serif rečenicu u dva retka, ne kao verzalni
	   nadnaslov - istu težinu nosi i zaključni CTA, pa se stranica drži skupa. */
	font-size: var(--zd-h-title);
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
	color: inherit;
}

.zd-h-manifest__title span {
	display: block;
}

/* Uski stupac s praznim retkom između odlomaka, kao na mockupu - preko cijele
   trake se tekst rasteže u redove koji se ne mogu pratiti, a i pada na lice
   fotografije. */
/* Selektor mora nositi .zd-h ispred sebe - `.zd-h p { max-width: none }` gore
   je specifičniji od gole klase i tiho poništi ograničenje stupca. */
.zd-h .zd-h-manifest__text {
	max-width: 27vw;
	font-size: var(--zd-h-body);
	line-height: 1.75;
	color: inherit;
}

.zd-h .zd-h-manifest__text + .zd-h-manifest__text {
	margin-top: 1.1vw;
}

.zd-h-manifest .zd-h-rule {
	color: var(--zd-bronze-light, #d1b06a);
	opacity: 1;
}

/* 03 split -------------------------------------------------------------- */

/* The two doors are parted by a hairline of the page's own ground, as in the
   drawing. The band still meets its neighbours edge to edge - the gap above
   it is the widget margin on the manifest. */
.zd-h-split {
	min-height: var(--zd-h-split-h);
	display: flex;
	gap: 6px;
	background-color: var(--zd-h-light);
}

.zd-h-split__half {
	position: relative;
	flex: 1 1 50%;
	min-height: var(--zd-h-split-h);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--zd-h-chalk);
	overflow: hidden;
	transition: flex-grow var(--zd-dur-slow, 0.6s) var(--zd-ease, ease);
}

.zd-h-split__media,
.zd-h-split__media::after {
	position: absolute;
	inset: 0;
}

.zd-h-split__media::after {
	content: "";
	background: rgba(10, 9, 7, 0.22);
}

.zd-h-split__title {
	position: relative;
	z-index: 1;
	font-family: var(--zd-font-display);
	font-weight: 300;
	font-size: var(--zd-h-split);
	letter-spacing: 0.055em;
	text-transform: uppercase;
	line-height: 1;
}

.zd-h-split__sub {
	position: relative;
	z-index: 1;
	margin-top: 0.8vw;
	font-size: var(--zd-h-body);
	letter-spacing: 0.04em;
}

.zd-h-split__cta {
	position: relative;
	z-index: 1;
	margin-top: 1.9vw;
	padding-bottom: 0.4vw;
	border-bottom: 1px solid currentColor;
}

/* 01b dostupne slike (todo3) --------------------------------------------
   Prepravljena Početna A: tamna traka odmah ispod heroja, naslov s
   brončanom crtom, pet kvadratnih radova s nazivom ispod i poveznica na
   katalog poravnata desno. */

.zd-h-avail {
	background-color: var(--zd-h-dark);
	color: var(--zd-h-chalk);
	padding: 4.2vw var(--zd-h-gutter) 3.6vw;
}

.zd-h .zd-h-avail__title {
	font-family: var(--zd-font-display);
	font-weight: 400;
	font-size: var(--zd-h-title);
	line-height: 1.1;
	color: inherit;
	margin: 0;
}

.zd-h-avail .zd-h-rule {
	color: var(--zd-bronze-light);
	opacity: 1;
	margin: 1.2vw 0 2.4vw;
}

.zd-h-avail__row {
	display: flex;
	gap: var(--zd-h-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}

.zd-h-avail__row li {
	flex: 1 1 0;
	min-width: 0;
}

.zd-h-avail__item {
	display: block;
	color: inherit;
}

.zd-h-avail__pic {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--zd-h-ink);
}

.zd-h-avail__pic img {
	transition: transform 0.9s ease;
}

.zd-h-avail__item:hover .zd-h-avail__pic img {
	transform: scale(1.04);
}

/* Tema boja poveznice tamnim tonom svijetle podloge - na ovoj traci je to
   nevidljivo, pa boja ide imenom. */
.zd-h .zd-h-avail__item,
.zd-h .zd-h-avail__name {
	color: var(--zd-h-chalk);
}

.zd-h-avail__name {
	display: block;
	margin-top: 0.9vw;
	font-size: var(--zd-h-body);
	line-height: 1.35;
}

.zd-h .zd-h-avail__item:hover .zd-h-avail__name {
	color: var(--zd-bronze-light);
}

.zd-h .zd-h-avail__more {
	text-align: right;
	margin: 2.2vw 0 0;
}

.zd-h-avail .zd-h-link {
	color: var(--zd-h-chalk);
	border-bottom-color: var(--zd-bronze-light);
}

@media only screen and (max-width: 991px) {
	.zd-h-avail {
		padding: var(--zd-section-y-tight, 4rem) 0;
	}

	.zd-h .zd-h-avail__title,
	.zd-h-avail .zd-h-rule,
	.zd-h .zd-h-avail__more {
		margin-inline: var(--zd-gutter);
	}

	.zd-h-avail .zd-h-rule {
		margin-block: var(--zd-space-md) var(--zd-space-lg);
	}

	/* Na mobitelu red se vuče prstom - pet kvadrata jedan ispod drugoga
	   bila bi cijela galerija prije ičega drugog. */
	.zd-h-avail__row {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-inline: var(--zd-gutter);
		scroll-padding-inline: var(--zd-gutter);
		scrollbar-width: none;
	}

	.zd-h-avail__row::-webkit-scrollbar {
		display: none;
	}

	.zd-h-avail__row li {
		flex: 0 0 62%;
		scroll-snap-align: start;
	}

	.zd-h-avail__name {
		margin-top: var(--zd-space-xs);
	}

	.zd-h .zd-h-avail__more {
		margin-top: var(--zd-space-lg);
	}
}

/* 04 gallery ------------------------------------------------------------ */

.zd-h-gallery {
	min-height: var(--zd-h-gallery-h);
	background-color: var(--zd-h-light);
	color: var(--zd-graphite, #211e1a);
	display: flex;
	align-items: center;
	padding-right: var(--zd-h-gutter);
}

.zd-h .zd-h-gallery .zd-h-intro__action {
	margin-top: 1.9vw;
}

.zd-h-gallery__row {
	display: flex;
	gap: var(--zd-h-gap);
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1 1 auto;
}

.zd-h-gallery__row li {
	flex: 1 1 0;
	min-width: 0;
}

.zd-h-gallery__row .zd-h-pic {
	display: block;
	aspect-ratio: 170 / 125;
}

/* 05 / 06 media rows ---------------------------------------------------- */

.zd-h-media {
	display: flex;
	align-items: center;
}

.zd-h-media--dark {
	min-height: var(--zd-h-about-h);
	background-color: var(--zd-h-dark);
	color: var(--zd-h-chalk);
}

.zd-h-media--light {
	min-height: var(--zd-h-journal-h);
	background-color: var(--zd-h-light);
	color: var(--zd-graphite, #211e1a);
	padding-right: var(--zd-h-gutter);
}

.zd-h-media--dark .zd-h-intro__text,
.zd-h-media--dark .zd-h-intro {
	color: var(--zd-h-chalk);
}

.zd-h-media__row {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1 1 auto;
	align-self: stretch;
}

.zd-h-media__row li {
	flex: 1 1 0;
	min-width: 0;
}

.zd-h-media__row a {
	color: inherit;
	display: block;
	height: 100%;
}

/* The about strip runs edge to edge with no gaps and fills the band. */
.zd-h-media--dark .zd-h-media__row li,
.zd-h-media--dark .zd-h-media__row a,
.zd-h-media--dark .zd-h-pic {
	display: block;
	height: 100%;
}

/* Journal cards are separated, with the caption under the picture. */
.zd-h-media--captioned .zd-h-media__row {
	gap: var(--zd-h-gap);
	align-self: center;
}

.zd-h-media--captioned .zd-h-pic {
	display: block;
	aspect-ratio: 172 / 105;
}

.zd-h-media__caption {
	display: block;
	margin-top: 0.9vw;
	font-family: var(--zd-font-display);
	font-size: calc(1.05vw * var(--zd-h-scale));
	line-height: 1.4;
}

/* 07 newsletter --------------------------------------------------------- */

/* The band is taller than its 9vw floor once the consent line is in, so
   justify-content had nothing left to centre and the heading sat on the seam
   with the section above. It needs the air written in, not inferred from the
   min-height - the more so now that it closes every page and not just the home
   page, where each neighbour band is a different colour. */
.zd-h-news {
	min-height: var(--zd-h-news-h);
	background-color: var(--zd-h-light-alt);
	color: var(--zd-graphite, #211e1a);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: 3.2vw;
	padding-left: var(--zd-h-inset);
	padding-right: var(--zd-h-gutter);
}

/* Atelje snimka koja nosi traku (mockup 07). Slika je široka 2,33:1 i lijeva joj
   je polovica prazan zid - tekst stoji točno u toj praznini. Sidri se desno, pa
   se pri sužavanju kadra prvo odsijeca prazni dio, a predmeti ostanu u kadru. */
.zd-h-news__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.zd-h-news__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Sidreno dolje desno: fotografija je 2,33:1, a traka je upola niža, pa se
	   nešto mora odrezati. Gore je prazan zid, dolje stol s vazom, zdjelom i
	   knjigama - dakle cijela kompozicija. Reže se gornji dio. */
	object-position: right bottom;
}

/* Zastor preko lijeve polovice: na širokom ekranu slika se razvuče i njezin
   prazan zid prestane pokrivati tekst, pa mu treba vlastita podloga. */
.zd-h-news__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
		var(--zd-h-light-alt) 0%,
		var(--zd-h-light-alt) 26%,
		rgba(226, 218, 210, 0.88) 38%,
		rgba(226, 218, 210, 0.45) 50%,
		rgba(226, 218, 210, 0) 66%);
}

.zd-h-news__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: var(--zd-h-gap);
}

.zd-h-news__lead {
	flex: 0 0 26vw;
}

.zd-h-news__col {
	flex: 0 0 auto;
}

/* Nadnaslov s kratkom crtom ispod, kao na mockupu. */
.zd-h-news__label {
	color: var(--zd-bronze, #8a6626);
	margin: 0 0 1vw;
}

.zd-h-news__label::after {
	content: "";
	display: block;
	width: 2.2vw;
	height: 1px;
	margin-top: 0.55vw;
	background: currentColor;
	opacity: 0.55;
}

.zd-h-news__title {
	font-family: var(--zd-font-display);
	font-weight: 300;
	/* Mockup 07 ima naslov kao serif rečenicu, ne kao verzalni nadnaslov -
	   tu ulogu preuzela je oznaka „Newsletter" iznad njega. */
	font-size: var(--zd-h-title);
	letter-spacing: 0;
	line-height: 1.1;
	margin: 0 0 0.8vw;
	color: inherit;
}

.zd-h-news__text {
	font-size: var(--zd-h-body);
	line-height: 1.5;
}

/* Field and button share one height rather than each finding its own - a
   flex stretch left the button 20px taller than the field. */
.zd-h-news__form {
	--zd-h-field: 3.4vw;

	display: flex;
	align-items: stretch;
	flex: 0 0 auto;
	width: 29.2vw;
}

.zd-h-news__form input,
.zd-h-news__form button {
	height: var(--zd-h-field);
	line-height: 1;
	box-sizing: border-box;
}

.zd-h-news__form input {
	flex: 1 1 auto;
	font-size: var(--zd-h-body);
	/* The theme's global form styles give every field a 20px bottom margin. On
	   a flex item that lands inside the row, so the form measured 20px taller
	   than the field it contains and sat that much high against the heading. */
	margin: 0;
	padding: 0 1.1vw;
	border: 1px solid rgba(33, 30, 26, 0.25);
	background: rgba(255, 255, 255, 0.35);
	color: inherit;
}

/* Gumb raste s natpisom (todo4: „PRIJAVI SE →“ je na užim ekranima izlazio
   iz crne kutije jer je širina bila fiksnih 7.4vw). */
.zd-h-news__form button {
	flex: 0 0 auto;
	min-width: 7.4vw;
	padding-inline: 1.2em !important;
	white-space: nowrap;
	font-size: var(--zd-h-small);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--zd-h-light);
	background: var(--zd-h-ink);
	border: 1px solid var(--zd-h-ink);
	cursor: pointer;
}

.zd-h-news__form button:hover,
.zd-h-news__form button:focus-visible {
	background: var(--zd-bronze, #8a6626);
	border-color: var(--zd-bronze, #8a6626);
}

.zd-h-news__form input {
	min-width: 0;
}

.zd-h .zd-h-news__msg {
	max-width: 29.2vw;
	margin: 0.9vw 0 0;
	font-size: var(--zd-h-body);
	line-height: 1.5;
	color: var(--zd-bronze, #8a6626);
}

.zd-h .zd-h-news__msg.is-error {
	color: #9b2c1f;
}

.zd-h-news__form [disabled] {
	cursor: progress;
	opacity: 0.7;
}

/* Sitna napomena o privoli stoji ispod obrasca i široka je koliko i on, kao na
   mockupu - preko cijele trake se rasteže u jedan predugačak redak. */
.zd-h .zd-h-news__note {
	max-width: 29.2vw;
	margin-top: 0.9vw;
	font-size: var(--zd-h-small);
	line-height: 1.6;
	opacity: 0.75;
}

.zd-h-news__note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.zd-h .zd-h-news__pending {
	font-size: var(--zd-h-small);
	letter-spacing: 0.06em;
	margin-top: 1vw;
	opacity: 0.6;
}

/* 08 closing CTA -------------------------------------------------------
   todo4 (20.10.2026.), po klijentičinom primjeru: tekst lijevo na tamnoj
   podlozi (oznaka KONTAKT s brončanom crticom, velik naslov, gumb u
   brončanom okviru), desno oštra fotografija bez pretapanja. Stupac s
   kontaktima s primjera namjerno izostaje - kontakt nosi podnožje. */

.zd-h-cta {
	min-height: var(--zd-h-cta-h);
	background-color: var(--zd-h-dark);
	color: var(--zd-h-chalk);
	display: grid;
	grid-template-columns: 40% 1fr;
	align-items: stretch;
}

.zd-h-cta__media {
	position: relative;
	min-height: 100%;
}

/* Bez fotografije tekst ima cijelu traku. */
.zd-h-cta:not(:has(.zd-h-cta__media img)) {
	grid-template-columns: 1fr;
}

.zd-h-cta__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	padding: 4vw var(--zd-h-gutter) 4vw var(--zd-h-inset);
}

.zd-h .zd-h-cta__label {
	color: var(--zd-bronze-light, #c49a52);
	margin: 0 0 2.6vw;
}

.zd-h-cta__label::after {
	content: "";
	display: block;
	width: 2.4vw;
	height: 1px;
	margin-top: 1.4vw;
	background: currentColor;
}

.zd-h-cta__title {
	font-family: var(--zd-font-display);
	font-weight: 300;
	font-size: calc(3.6vw * var(--zd-h-scale));
	line-height: 1.12;
	margin: 0 0 1.6vw;
	color: inherit;
}

.zd-h-cta__title span {
	display: block;
}

.zd-h-cta__text {
	font-size: calc(1.2vw * var(--zd-h-scale));
	line-height: 1.7;
	color: var(--zd-h-muted);
}

.zd-h .zd-h-cta__action {
	margin-top: 2.6vw;
	line-height: 1;
}

.zd-h-cta__action .zd-h-box {
	padding: 1.2vw 2.2vw;
	border-color: var(--zd-bronze-light, #c49a52);
}

/* Small screens ---------------------------------------------------------
 * The drawing is a desktop page. Below the tablet breakpoint the bands stack
 * and the type goes back to the site's own scale, which is set in px and
 * stays readable.
 * ------------------------------------------------------------------- */

@media only screen and (max-width: 991px) {
	.zd-h {
		--zd-h-scale: 1;
		--zd-h-hero-1: var(--zd-size-h2);
		--zd-h-hero-2: var(--zd-size-h3);
		--zd-h-title: var(--zd-size-h2);
		--zd-h-split: var(--zd-size-h3);
		--zd-h-label-size: var(--zd-size-h4);
		--zd-h-body: var(--zd-size-small);
		--zd-h-small: var(--zd-size-label);
		--zd-h-gutter: var(--zd-gutter);
		--zd-h-inset: var(--zd-gutter);
		--zd-h-gap: var(--zd-space-sm);
	}

	.zd-h-hero[data-cues] .zd-h-hero__l1,
	.zd-h-hero[data-cues] .zd-h-hero__l2 {
		max-width: 22ch;
		font-size: var(--zd-size-h3);
	}

	.zd-h-hero[data-cues] .zd-h-hero__inner {
		padding-bottom: 14vh;
	}

	/* 78vh alone collapses on a short viewport (and in the screenshot tool),
	   so the hero also has a floor in px. */
	.zd-h-hero {
		min-height: max(78vh, 520px);
	}

	/* The bar sits over the hero, so the title clears it. */
	.zd-h-hero__inner {
		padding-top: 64px;
	}

	/* These two are written in vw rather than a token, so the mobile scale
	   has to name them - at 375px 1.66vw is 6px. */
	.zd-h-manifest__title {
		font-size: var(--zd-size-h4);
	}

	.zd-h-hero__inner {
		padding-top: 0;
	}

	.zd-h-hero__disc {
		width: 44px;
		height: 44px;
	}

	.zd-h-hero__disc::after {
		border-left-width: 10px;
		border-top-width: 6px;
		border-bottom-width: 6px;
	}

	.zd-h-rule {
		width: 48px;
		margin: var(--zd-space-md) 0;
	}

	.zd-h-link {
		padding-bottom: 4px;
	}

	.zd-h-box {
		padding: var(--zd-space-sm) var(--zd-space-lg);
	}

	.zd-h-manifest,
	.zd-h-gallery,
	.zd-h-media,
	.zd-h-news,
	.zd-h-cta,
	.zd-h-split {
		min-height: 0;
		display: block;
		padding-right: 0;
	}

	.zd-h-manifest__inner,
	.zd-h-cta__inner {
		padding: var(--zd-section-y-tight, 4rem) var(--zd-gutter);
		display: block;
	}

	.zd-h-gallery,
	.zd-h-media {
		padding-block: var(--zd-section-y-tight, 4rem);
	}

	.zd-h-intro {
		width: auto;
		padding: 0 var(--zd-gutter) var(--zd-space-xl);
	}

	.zd-h-gallery__row,
	.zd-h-media__row {
		flex-wrap: wrap;
		padding-inline: var(--zd-gutter);
	}

	.zd-h-gallery__row li,
	.zd-h-media__row li {
		flex: 1 1 calc(50% - var(--zd-space-sm));
	}

	.zd-h-media--dark .zd-h-media__row {
		padding-inline: 0;
	}

	.zd-h-split__half {
		min-height: 46vh;
	}

	.zd-h-split__cta {
		margin-top: var(--zd-space-md);
	}

	.zd-h-news {
		padding: var(--zd-section-y-tight, 4rem) var(--zd-gutter);
	}

	.zd-h-news__inner {
		display: block;
	}

	/* Slika je kadrirana za široku traku; na telefonu od nje ostane samo desni
	   ugao s predmetima, pa ide u pozadinsku teksturu kao i kod zaključnog CTA. */
	.zd-h-news__media {
		opacity: 0.18;
	}

	.zd-h-news__media::after {
		background: none;
	}

	.zd-h-news__label {
		margin-bottom: var(--zd-space-sm);
	}

	.zd-h-news__label::after {
		width: 34px;
		margin-top: 8px;
	}

	.zd-h .zd-h-news__note {
		max-width: none;
		margin-top: var(--zd-space-sm);
	}

	.zd-h-news__form {
		width: 100%;
		margin-top: var(--zd-space-lg);
	}

	/* The shared field height is 3.4vw - a sane 49px on a desktop, 13px on a
	   phone, which is shorter than the 12px of padding these two carried here.
	   The input survived it (a text input centres its value whatever the box
	   does) but the button's label was pushed onto the bottom edge of the black
	   box. The pair still shares one height, as on the desktop; only the number
	   changes, and the padding goes horizontal-only so it cannot fight it -
	   both elements centre their own label in the height they are given. */
	.zd-h-news__form {
		--zd-h-field: 48px;
	}

	.zd-h-news__form input {
		padding: 0 16px;
	}

	.zd-h-news__form button {
		flex: 0 0 auto;
		padding: 0 20px;
	}

	.zd-h-news__pending {
		margin-top: var(--zd-space-sm);
	}

	.zd-h .zd-h-news__msg {
		max-width: none;
		margin-top: var(--zd-space-sm);
	}

	/* Na mobitelu fotografija ide iznad teksta, cijela širina. */
	.zd-h-cta {
		display: flex;
		flex-direction: column-reverse;
	}

	.zd-h-cta__media {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	.zd-h .zd-h-cta__label {
		margin-bottom: var(--zd-space-md);
	}

	.zd-h-cta__label::after {
		width: 32px;
		margin-top: var(--zd-space-sm);
	}

	.zd-h-cta__title {
		font-size: var(--zd-size-h2);
		margin-bottom: var(--zd-space-sm);
	}

	.zd-h-cta__text {
		font-size: var(--zd-size-small);
	}

	.zd-h .zd-h-cta__action {
		margin-top: var(--zd-space-lg);
	}

	.zd-h-cta__action .zd-h-box {
		padding: var(--zd-space-sm) var(--zd-space-lg);
	}

	.zd-h-media__caption {
		margin-top: var(--zd-space-sm);
		font-size: var(--zd-size-body);
	}
}
