/* ==========================================================================
   Vuk Kulundžić – stilovi teme
   ========================================================================== */

:root {
	--ink: #0c0c0b;
	--ink-2: #151513;
	--ink-3: #1d1d1a;
	--bone: #efece5;
	--bone-2: #e5e1d7;
	--white: #fbfaf7;
	--accent: #ff5a1f;
	--accent-ink: #1a0800;

	--text-on-dark: #f3f1ec;
	--muted-on-dark: #8f8d86;
	--line-on-dark: rgb(255 255 255 / .09);
	--text-on-light: #0c0c0b;
	--muted-on-light: #66645d;
	--line-on-light: rgb(12 12 11 / .12);

	--font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
	--font-serif: "Instrument Serif", "Times New Roman", serif;
	--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--ease: cubic-bezier(.22, 1, .36, 1);
	--header-h: 68px;
	--radius: 14px;
}

@media (min-width: 1024px) {
	:root {
		--header-h: 80px;
	}
}

/* Osnova
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--text-on-dark);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: clip;
}

@media (min-width: 1024px) {
	body {
		font-size: 17px;
	}
}

body.menu-open {
	overflow: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4 {
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1.02;
}

em {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -.01em;
}

ul, ol {
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

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

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.container {
	width: 100%;
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

@media (min-width: 640px) {
	.container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

@media (min-width: 1280px) {
	.container {
		padding-left: 3.5rem;
		padding-right: 3.5rem;
	}
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 100;
	padding: .6rem 1rem;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 500;
}

.skip-link:focus {
	top: 1rem;
}

.icon {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.icon--sm {
	width: 1rem;
	height: 1rem;
}

x-t {
	display: inline;
}

/* Status (zelena tačka koja pulsira) */

.status-dot {
	position: relative;
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3ddc84;
	flex-shrink: 0;
}

.status-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: inherit;
	animation: pulse 2.2s var(--ease) infinite;
}

@keyframes pulse {
	0% { transform: scale(1); opacity: .7; }
	80%, 100% { transform: scale(3); opacity: 0; }
}

/* Dugmad
   ========================================================================== */

.btn {
	--btn-bg: var(--accent);
	--btn-fg: var(--accent-ink);
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .9rem;
	height: 54px;
	padding: 0 .4rem 0 1.5rem;
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -.01em;
	white-space: nowrap;
	overflow: hidden;
	isolation: isolate;
	transition: color .4s var(--ease);
}

.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--white);
	border-radius: inherit;
	transform: translateY(101%);
	transition: transform .5s var(--ease);
}

.btn:hover::before {
	transform: translateY(0);
}

.btn:hover {
	color: var(--ink);
}

.btn__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--white);
	overflow: hidden;
}

.btn__arrow {
	width: 18px;
	height: 18px;
	transition: transform .5s var(--ease);
}

.btn:hover .btn__arrow {
	transform: translateX(3px) rotate(-45deg);
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--text-on-dark);
	padding-right: 1.5rem;
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2);
}

.btn--ghost .btn__icon {
	width: auto;
	height: auto;
	background: none;
	color: inherit;
}

/* Zaglavlje
   ========================================================================== */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--header-h);
	transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
	border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
	background: rgb(12 12 11 / .72);
	border-bottom-color: var(--line-on-dark);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
}

.site-header.is-hidden {
	transform: translateY(-100%);
}

body.menu-open .site-header {
	transform: none;
	background: transparent;
	border-bottom-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	height: 100%;
}

.logo {
	display: inline-flex;
	align-items: center;
	position: relative;
	z-index: 2;
	color: var(--white);
	transition: color .4s var(--ease);
}

.logo:hover {
	color: var(--accent);
}

.logo__svg {
	display: block;
	width: auto;
	height: 26px;
}

@media (min-width: 1024px) {
	.logo__svg {
		height: 30px;
	}
}

.site-nav {
	display: none;
}

@media (min-width: 1100px) {
	.site-nav {
		display: block;
	}
}

.site-nav__list {
	display: flex;
	gap: .25rem;
	padding: .3rem;
	border-radius: 999px;
	background: rgb(255 255 255 / .04);
	box-shadow: inset 0 0 0 1px var(--line-on-dark);
}

.site-nav__list a {
	display: inline-flex;
	align-items: baseline;
	gap: .4rem;
	padding: .5rem .95rem;
	border-radius: 999px;
	color: var(--muted-on-dark);
	font-size: 14px;
	transition: color .3s, background-color .3s;
}

.site-nav__num {
	font-family: var(--font-mono);
	font-size: 10px;
	opacity: .6;
}

.site-nav__list a:hover {
	color: var(--text-on-dark);
}

.site-nav__list a.is-active {
	color: var(--ink);
	background: var(--white);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	position: relative;
	z-index: 2;
}

.lang-switch {
	display: inline-flex;
	padding: 3px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--line-on-dark);
}

.lang-switch__btn {
	padding: .3rem .6rem;
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--muted-on-dark);
	transition: color .3s, background-color .3s;
}

.lang-switch__btn[aria-pressed="true"] {
	background: rgb(255 255 255 / .1);
	color: var(--text-on-dark);
}

.site-header__lang {
	display: none;
}

@media (min-width: 640px) {
	.site-header__lang {
		display: inline-flex;
	}
}

.site-header__cta {
	display: none;
	align-items: center;
	gap: .6rem;
	height: 42px;
	padding: 0 1.1rem;
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
	transition: background-color .3s;
}

.site-header__cta:hover {
	background: var(--accent);
}

@media (min-width: 768px) {
	.site-header__cta {
		display: inline-flex;
	}
}

.menu-toggle {
	display: grid;
	align-content: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--line-on-dark);
}

@media (min-width: 1100px) {
	.menu-toggle {
		display: none;
	}
}

.menu-toggle__bar {
	display: block;
	height: 1.5px;
	background: currentColor;
	transition: transform .4s var(--ease);
}

body.menu-open .menu-toggle__bar:first-child {
	transform: translateY(3.75px) rotate(45deg);
}

body.menu-open .menu-toggle__bar:last-child {
	transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: var(--ink);
	clip-path: inset(0 0 100% 0);
	transition: clip-path .7s var(--ease);
	visibility: hidden;
}

body.menu-open .mobile-menu {
	clip-path: inset(0 0 0 0);
	visibility: visible;
}

.mobile-menu__nav {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding-top: calc(var(--header-h) + 2rem);
	padding-bottom: 2rem;
}

.mobile-menu__list a {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding: .55rem 0;
	border-bottom: 1px solid var(--line-on-dark);
	font-size: clamp(2.2rem, 10vw, 3.5rem);
	font-weight: 500;
	letter-spacing: -.04em;
	line-height: 1.1;
	transform: translateY(20px);
	opacity: 0;
	transition: transform .7s var(--ease), opacity .7s var(--ease), color .3s;
}

.mobile-menu__list a span {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--accent);
	letter-spacing: 0;
}

body.menu-open .mobile-menu__list a {
	transform: none;
	opacity: 1;
}

body.menu-open .mobile-menu__list li:nth-child(2) a { transition-delay: .05s; }
body.menu-open .mobile-menu__list li:nth-child(3) a { transition-delay: .1s; }
body.menu-open .mobile-menu__list li:nth-child(4) a { transition-delay: .15s; }
body.menu-open .mobile-menu__list li:nth-child(5) a { transition-delay: .2s; }

.mobile-menu__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: var(--muted-on-dark);
	font-size: 14px;
}

/* Sekcije
   ========================================================================== */

.section {
	position: relative;
	padding: 6rem 0;
}

@media (min-width: 1024px) {
	.section {
		padding: 9rem 0;
	}
}

.section--light {
	background: var(--bone);
	color: var(--text-on-light);
}

.section--dark {
	background: var(--ink);
	color: var(--text-on-dark);
}

.section-label {
	display: flex;
	align-items: center;
	gap: .8rem;
	margin-bottom: 1.75rem;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .75;
}

.section-label__num {
	color: var(--accent);
}

.section-label__line {
	width: 36px;
	height: 1px;
	background: currentColor;
	opacity: .4;
}

.section-head {
	margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
	.section-head {
		margin-bottom: 5rem;
	}
}

.section-head__row {
	display: grid;
	gap: 1.5rem;
	align-items: end;
}

@media (min-width: 900px) {
	.section-head__row {
		grid-template-columns: 1.4fr 1fr;
		gap: 4rem;
	}
}

.display {
	font-size: clamp(2.6rem, 6.4vw, 5.6rem);
	max-width: 14ch;
}

.display--sm {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	max-width: none;
	margin-top: 2rem;
}

.section-head__aside {
	max-width: 42ch;
	font-size: 1.05rem;
	line-height: 1.6;
	opacity: .7;
}

@media (min-width: 900px) {
	.section-head__aside {
		justify-self: end;
		padding-bottom: .6rem;
	}
}

/* Hero
   ========================================================================== */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100svh;
	padding-top: calc(var(--header-h) + 3rem);
	overflow: hidden;
}

.hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgb(255 255 255 / .045) 1px, transparent 1px),
		linear-gradient(to bottom, rgb(255 255 255 / .045) 1px, transparent 1px);
	background-size: 88px 88px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}

.hero__glow {
	position: absolute;
	top: -20%;
	right: -15%;
	width: min(900px, 90vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgb(255 90 31 / .32), rgb(255 90 31 / .08) 40%, transparent 68%);
	filter: blur(20px);
	animation: drift 18s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes drift {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(-8%, 10%) scale(1.12); }
}

.hero__inner {
	position: relative;
	padding-bottom: 3rem;
}

.hero__eyebrow {
	display: flex;
	align-items: center;
	gap: .9rem;
	margin-bottom: 2rem;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted-on-dark);
}

.hero__eyebrow-line {
	width: 44px;
	height: 1px;
	background: var(--accent);
}

.hero__title {
	max-width: 16ch;
	font-size: clamp(3rem, min(8.2vw, 14.5vh), 9rem);
	font-weight: 500;
	line-height: .94;
	letter-spacing: -.055em;
}

.hero__title em {
	color: var(--accent);
	padding-right: .05em;
}

.hero__bottom {
	display: grid;
	gap: 2rem;
	margin-top: 3rem;
}

@media (min-width: 900px) {
	.hero__bottom {
		grid-template-columns: minmax(0, 34rem) auto;
		justify-content: space-between;
		align-items: end;
		margin-top: 4rem;
	}
}

.hero__lead {
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	line-height: 1.55;
	color: var(--muted-on-dark);
}

.hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.hero__meta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	border-top: 1px solid var(--line-on-dark);
	font-size: 14px;
	color: var(--muted-on-dark);
}

@media (min-width: 640px) {
	.hero__meta {
		border-top: 0;
		background-image: linear-gradient(var(--line-on-dark), var(--line-on-dark));
		background-size: calc(100% - 4rem) 1px;
		background-position: top center;
		background-repeat: no-repeat;
	}
}

@media (min-width: 1280px) {
	.hero__meta {
		background-size: calc(100% - 7rem) 1px;
	}
}

.availability {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	color: var(--text-on-dark);
}

.hero__count {
	display: none;
}

@media (min-width: 768px) {
	.hero__count {
		display: block;
	}
}

.hero__count strong {
	margin-right: .35rem;
	font-family: var(--font-mono);
	font-weight: 500;
	color: var(--text-on-dark);
}

.hero__scroll {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	transition: color .3s;
}

.hero__scroll:hover {
	color: var(--text-on-dark);
}

.hero__scroll .icon {
	animation: nudge 2s var(--ease) infinite;
}

@keyframes nudge {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(4px); }
}

.hero--404 {
	min-height: 88svh;
	padding-bottom: 4rem;
}

/* Traka (marquee)
   ========================================================================== */

.marquee {
	overflow: hidden;
	padding: 1.4rem 0;
	background: var(--accent);
	color: var(--accent-ink);
}

.marquee__track {
	display: flex;
	width: max-content;
	animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

.marquee__group {
	display: flex;
	align-items: center;
}

.marquee__item {
	padding: 0 1.75rem;
	font-size: clamp(1.4rem, 2.6vw, 2.2rem);
	font-weight: 500;
	letter-spacing: -.03em;
	white-space: nowrap;
}

.marquee__item:nth-child(4n + 3) {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -.01em;
}

.marquee__sep {
	font-size: 14px;
	opacity: .55;
}

@keyframes marquee {
	to { transform: translateX(-50%); }
}

/* Radovi
   ========================================================================== */

.work__grid {
	display: grid;
	gap: 4rem;
}

@media (min-width: 900px) {
	.work__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6rem 3rem;
	}

	/* Druga kolona spuštena — nepravilan, „uređivački" raspored. */
	.work__grid {
		padding-bottom: 8rem;
	}

	.work__grid > .project:nth-child(2n) {
		transform: translateY(8rem);
	}
}

.project__link {
	display: block;
}

.project__frame {
	position: relative;
	padding: 0 6px 6px;
	border-radius: var(--radius);
	background: var(--ink);
	box-shadow: 0 1px 0 rgb(255 255 255 / .06) inset, 0 30px 60px -30px rgb(12 12 11 / .45);
	transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}

.project__link:hover .project__frame {
	transform: translateY(-6px);
	box-shadow: 0 1px 0 rgb(255 255 255 / .06) inset, 0 50px 80px -40px rgb(12 12 11 / .55);
}

.project__bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	height: 38px;
	padding: 0 .6rem;
}

.project__dots {
	display: flex;
	gap: 6px;
}

.project__dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgb(255 255 255 / .16);
	transition: background-color .4s;
}

.project__link:hover .project__dots i:nth-child(1) { background: #ff5f57; }
.project__link:hover .project__dots i:nth-child(2) { background: #febc2e; }
.project__link:hover .project__dots i:nth-child(3) { background: #28c840; }

.project__url {
	flex: 1;
	max-width: 260px;
	margin: 0 auto;
	padding: .2rem .8rem;
	border-radius: 6px;
	background: rgb(255 255 255 / .06);
	color: var(--muted-on-dark);
	font-family: var(--font-mono);
	font-size: 11px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transform: translateX(-24px);
}

.project__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: calc(var(--radius) - 6px);
	overflow: hidden;
	background: var(--ink-3);
}

.project__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease), filter .7s var(--ease);
}

.project__link:hover .project__image {
	transform: scale(1.05);
}

.project__visit {
	position: absolute;
	left: 50%;
	top: 50%;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .8rem 1.2rem;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	transform: translate(-50%, -50%) scale(.8);
	opacity: 0;
	transition: transform .5s var(--ease), opacity .4s var(--ease);
}

.project__link:hover .project__visit {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

.project__body {
	padding-top: 1.6rem;
}

.project__meta {
	display: flex;
	align-items: center;
	gap: .8rem;
	margin-bottom: .8rem;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .04em;
	color: var(--muted-on-light);
}

.project__num {
	color: var(--accent);
}

.project__type {
	padding: .15rem .6rem;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--line-on-light);
	text-transform: uppercase;
	font-size: 10.5px;
	letter-spacing: .08em;
}

.project__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: clamp(1.7rem, 2.6vw, 2.4rem);
	letter-spacing: -.04em;
}

.project__arrow {
	width: 1.6rem;
	height: 1.6rem;
	flex-shrink: 0;
	transition: transform .5s var(--ease), color .3s;
}

.project__link:hover .project__arrow {
	transform: translate(3px, -3px);
	color: var(--accent);
}

.project__text {
	max-width: 52ch;
	margin-top: .8rem;
	color: var(--muted-on-light);
	line-height: 1.6;
}

/* Usluge
   ========================================================================== */

.services__list {
	border-top: 1px solid var(--line-on-dark);
}

.service {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .6rem 1.25rem;
	padding: 2rem 0;
	border-bottom: 1px solid var(--line-on-dark);
}

.service::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .8s var(--ease);
}

.service:hover::before {
	transform: scaleX(1);
}

.service__num {
	grid-column: 1 / -1;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--accent);
}

.service__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--line-on-dark);
	color: var(--text-on-dark);
	transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}

.service:hover .service__icon {
	background: var(--accent);
	color: var(--accent-ink);
	box-shadow: none;
}

.service__title {
	align-self: center;
	font-size: clamp(1.6rem, 3.2vw, 2.9rem);
	letter-spacing: -.045em;
	transition: transform .6s var(--ease);
}

.service__text {
	grid-column: 1 / -1;
	max-width: 40ch;
	color: var(--muted-on-dark);
}

@media (min-width: 900px) {
	.service {
		grid-template-columns: 5rem 72px 1fr minmax(0, 24rem);
		align-items: center;
		gap: 2rem;
		padding: 2.5rem 0;
	}

	.service__num {
		grid-column: auto;
	}

	.service__text {
		grid-column: auto;
	}

	.service:hover .service__title {
		transform: translateX(10px);
	}
}

/* Proces
   ========================================================================== */

.process__steps {
	display: grid;
	gap: 2.5rem;
	counter-reset: step;
}

@media (min-width: 640px) {
	.process__steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.process__steps {
		grid-template-columns: repeat(5, 1fr);
		gap: 2rem;
	}
}

.step {
	position: relative;
	padding-top: 1.5rem;
}

.step::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--line-on-light);
}

.step__dot {
	position: absolute;
	top: -5px;
	left: 0;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--bone);
	box-shadow: inset 0 0 0 1.5px var(--ink);
	transition: background-color .4s, box-shadow .4s;
}

.step:hover .step__dot {
	background: var(--accent);
	box-shadow: inset 0 0 0 1.5px var(--accent);
}

.step__num {
	display: block;
	margin: .5rem 0 3rem;
	font-size: clamp(3.5rem, 6vw, 5rem);
	font-weight: 300;
	letter-spacing: -.06em;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgb(12 12 11 / .35);
	transition: color .5s var(--ease), -webkit-text-stroke-color .5s;
}

.step:hover .step__num {
	color: var(--ink);
	-webkit-text-stroke-color: var(--ink);
}

.step__title {
	margin-bottom: .6rem;
	font-size: 1.45rem;
	letter-spacing: -.03em;
}

.step__text {
	color: var(--muted-on-light);
	font-size: 15px;
}

/* O meni
   ========================================================================== */

.about__grid {
	display: grid;
	gap: 3.5rem;
}

@media (min-width: 900px) {
	.about__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 5rem;
		align-items: start;
	}

	.about__media {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
	}
}

.about__photo {
	position: relative;
	aspect-ratio: 9 / 11;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--ink-3);
}

.about__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(12 12 11 / .55), transparent 45%);
	pointer-events: none;
}

.about__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.05);
	transition: filter 1s var(--ease), transform 1.2s var(--ease);
}

.about__photo:hover .about__image {
	filter: grayscale(0);
	transform: scale(1.03);
}

.about__caption {
	display: flex;
	align-items: center;
	gap: .7rem;
	margin-top: 1rem;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--muted-on-dark);
}

.about__lead {
	font-size: clamp(2rem, 4vw, 3.6rem);
	line-height: 1.05;
	letter-spacing: -.045em;
}

.about__lead em {
	color: var(--accent);
}

.about__text {
	display: grid;
	gap: 1.2rem;
	max-width: 56ch;
	margin-top: 2.5rem;
	color: var(--muted-on-dark);
	font-size: 1.08rem;
}

.about__text p {
	margin: 0;
}

.about__tools {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line-on-dark);
}

.about__tools-title {
	margin-bottom: 1rem;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted-on-dark);
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.tags li {
	padding: .45rem .95rem;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--line-on-dark);
	font-size: 14px;
	transition: background-color .3s, color .3s, box-shadow .3s;
}

.tags li:hover {
	background: var(--white);
	color: var(--ink);
	box-shadow: none;
}

/* Kontakt
   ========================================================================== */

.contact {
	background: var(--accent);
	color: var(--accent-ink);
	overflow: hidden;
}

.contact .section-label__num {
	color: inherit;
}

.contact__title {
	max-width: 13ch;
	font-size: clamp(3rem, 9vw, 8.75rem);
	line-height: .92;
	letter-spacing: -.06em;
}

.contact__grid {
	display: grid;
	gap: 3rem;
	margin-top: 4rem;
	padding-top: 2.5rem;
	border-top: 1px solid rgb(26 8 0 / .2);
}

@media (min-width: 1024px) {
	.contact__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
		gap: 5rem;
		margin-top: 6rem;
	}
}

.contact__email-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.contact__email {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: clamp(1.5rem, 4.2vw, 3.4rem);
	font-weight: 500;
	letter-spacing: -.04em;
	line-height: 1.1;
	word-break: break-all;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size .6s var(--ease);
}

.contact__email:hover {
	background-size: 100% 2px;
}

.contact__email-arrow {
	width: .8em;
	height: .8em;
	flex-shrink: 0;
	transition: transform .5s var(--ease);
}

.contact__email:hover .contact__email-arrow {
	transform: translate(4px, -4px);
}

.copy-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	height: 40px;
	padding: 0 1rem;
	border-radius: 999px;
	background: var(--accent-ink);
	color: var(--white);
	font-size: 13px;
	font-weight: 500;
	transition: transform .3s var(--ease);
}

.copy-btn:hover {
	transform: translateY(-2px);
}

.copy-btn__check,
.copy-btn__done,
.copy-btn.is-copied .copy-btn__copy,
.copy-btn.is-copied .copy-btn__label {
	display: none;
}

.copy-btn.is-copied .copy-btn__check,
.copy-btn.is-copied .copy-btn__done {
	display: inline;
}

.contact__text {
	max-width: 40ch;
	margin-top: 1.5rem;
	font-size: 1.1rem;
	opacity: .8;
}

.contact__details li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid rgb(26 8 0 / .2);
	font-size: 15px;
}

.contact__details li:first-child {
	padding-top: 0;
}

.contact__details a {
	font-weight: 500;
	transition: opacity .3s;
}

.contact__details a:hover {
	opacity: .65;
}

.contact__details .status-dot {
	margin-right: .6rem;
	background: var(--accent-ink);
}

.contact__key {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	opacity: .65;
}

/* Podnožje
   ========================================================================== */

.site-footer {
	padding: 2rem 0;
	background: var(--ink);
	color: var(--muted-on-dark);
	font-size: 14px;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.site-footer .logo__svg {
	height: 24px;
}

.site-footer__end {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.social-links {
	display: flex;
	gap: .5rem;
}

.social-links a,
.to-top {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--line-on-dark);
	color: var(--text-on-dark);
	transition: background-color .3s, color .3s;
}

.social-links a:hover,
.to-top:hover {
	background: var(--white);
	color: var(--ink);
}

.to-top__icon {
	transform: rotate(180deg);
}

/* Obične stranice
   ========================================================================== */

.article {
	padding-top: calc(var(--header-h) + 5rem);
	min-height: 70vh;
}

.article__inner {
	max-width: 860px;
}

.entry-content {
	margin-top: 2.5rem;
	font-size: 1.05rem;
}

.entry-content > * + * {
	margin-top: 1.2em;
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Pojavljivanje pri skrolovanju
   ========================================================================== */

.js [data-reveal] {
	opacity: 0;
	translate: 0 30px;
	transition: opacity 1s var(--ease), translate 1s var(--ease);
}

.js [data-reveal].is-visible {
	opacity: 1;
	translate: 0 0;
}

.js [data-reveal-delay="1"] { transition-delay: .1s; }
.js [data-reveal-delay="2"] { transition-delay: .2s; }
.js [data-reveal-delay="3"] { transition-delay: .3s; }
.js [data-reveal-delay="4"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	.js [data-reveal] {
		opacity: 1;
		translate: none;
	}
}
