/* KAIROS — privremena landing stranica */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
	src: url(../assets/fonts/cormorant-garamond-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
	src: url(../assets/fonts/cormorant-garamond-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
	src: url(../assets/fonts/inter-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
	src: url(../assets/fonts/inter-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--brass: #A18A5B;
	--forest: #303E36;
	--forest-deep: #26322B;
	--parchment: #EFE8D8;
	--bordeaux: #754149;
	--ink: #26322B;
	--muted: #5E6A62;
	--serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }

body.kl {
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--ink);
	background: var(--parchment);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.kl-wrap {
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

/* ---------- Brend strana (šumska zelena + raster) ---------- */

.kl-brand {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	place-items: center;
	padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem);
	color: var(--parchment);
	background:
		radial-gradient(120% 90% at 20% 15%, #3A4A41 0%, var(--forest) 55%, var(--forest-deep) 100%);
}

/* Rasterska tačkasta mreža — aluzija na štampu, bledi ka centru */
.kl-brand::before {
	content: "";
	position: absolute;
	inset: -2px;
	z-index: -1;
	background-image: radial-gradient(circle, var(--brass) 0 1.1px, transparent 1.6px);
	background-size: 14px 14px;
	opacity: .7;
	-webkit-mask-image: radial-gradient(130% 100% at 100% 100%, #000 0%, rgba(0,0,0,.35) 35%, transparent 62%);
	        mask-image: radial-gradient(130% 100% at 100% 100%, #000 0%, rgba(0,0,0,.35) 35%, transparent 62%);
}

/* Tanki mesingani okvir */
.kl-brand::after {
	content: "";
	position: absolute;
	inset: clamp(.9rem, 2vw, 1.5rem);
	z-index: -1;
	border: 1px solid rgba(161, 138, 91, .35);
	pointer-events: none;
}

.kl-brand__inner {
	text-align: center;
	max-width: 30rem;
}

.kl-logo {
	display: block;
	width: clamp(96px, 12vw, 150px);
	height: auto;
	margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
}

.kl-title {
	margin: 0;
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(2.4rem, 5.2vw, 4.25rem);
	line-height: 1.02;
	letter-spacing: .01em;
}
.kl-title span {
	display: block;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: .78em;
	margin-top: .12em;
}

.kl-tagline {
	margin: clamp(1.4rem, 2.5vw, 1.9rem) 0 0;
	font-size: .8rem;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: rgba(239, 232, 216, .82);
}
.kl-tagline::before {
	content: "";
	display: block;
	width: 3rem;
	height: 1px;
	margin: 0 auto 1.25rem;
	background: var(--brass);
}

.kl-since {
	margin: .6rem 0 0;
	font-family: var(--serif);
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--brass);
}
.kl-since span { font-style: italic; }

/* ---------- Kontakt strana (pergament) ---------- */

.kl-info {
	position: relative;
	display: flex;
	align-items: center;
	padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5.5rem);
	background-color: var(--parchment);
	/* blaga tekstura papira */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .19 0 0 0 0 .24 0 0 0 0 .21 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.kl-info__inner {
	width: 100%;
	max-width: 30rem;
	display: grid;
	gap: clamp(2rem, 4vw, 2.75rem);
}

.kl-label {
	margin: 0 0 .9rem;
	display: flex;
	align-items: center;
	gap: .85rem;
	font-family: var(--sans);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--bordeaux);
}
.kl-label::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--brass), rgba(161, 138, 91, 0));
}

address { font-style: normal; }

.kl-addr,
.kl-person {
	display: inline-block;
	margin: 0 0 .9rem;
	font-family: var(--serif);
	font-size: 1.55rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--forest);
}

.kl-lines { margin: 0; display: grid; gap: .3rem; }
.kl-lines > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	column-gap: 1.5rem;
	padding: .35rem 0;
	border-bottom: 1px dotted rgba(48, 62, 54, .22);
}
.kl-lines dt { color: var(--muted); font-size: .92rem; }
.kl-lines dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }

.kl a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(var(--bordeaux), var(--bordeaux));
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: color .2s, background-size .25s;
}
.kl a:hover,
.kl a:focus-visible { color: var(--bordeaux); background-size: 100% 1px; }
.kl a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.kl-foot {
	margin: .5rem 0 0;
	font-size: .78rem;
	letter-spacing: .04em;
	color: var(--muted);
}

/* ---------- Ulazna animacija ---------- */

@media (prefers-reduced-motion: no-preference) {
	.kl-brand__inner > *,
	.kl-info__inner > * {
		animation: kl-in .9s cubic-bezier(.2, .7, .2, 1) both;
	}
	.kl-brand__inner > :nth-child(2) { animation-delay: .08s; }
	.kl-brand__inner > :nth-child(3) { animation-delay: .16s; }
	.kl-brand__inner > :nth-child(4) { animation-delay: .22s; }
	.kl-info__inner > :nth-child(1) { animation-delay: .25s; }
	.kl-info__inner > :nth-child(2) { animation-delay: .33s; }
	.kl-info__inner > :nth-child(3) { animation-delay: .41s; }
	.kl-info__inner > :nth-child(4) { animation-delay: .49s; }
}
@keyframes kl-in {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}

/* ---------- Mobilni ---------- */

@media (max-width: 860px) {
	.kl-wrap { grid-template-columns: 1fr; }
	.kl-brand { min-height: 62svh; }
	.kl-info { justify-content: center; }
}
