/*
Theme Name: Kapov v3
Theme URI: https://kapov.hr
Author: Luka Vidoš
Description: Experimental v5-prototype direction — dual-mode (warm dark / warm paper) editorial theme with structured hatched surfaces, dramatic IBM Plex typography, mono indexes and orange accents. Dark chrome (header, bands, footer) stays constant in both modes.
Version: 3.0.0
Requires PHP: 7.4
Text Domain: kapov-v3
*/

/* =========================================================================
   Tokens — dual mode (v5 prototype palettes)
   ========================================================================= */

:root {
	/* fixed chrome (header / bands / footer / overlay) — both modes */
	--c-chrome: #0a0a0a;
	--c-chrome-2: #0f0e0d;
	--c-chrome-ink: #f5f3ee;
	--c-chrome-mute: #8a8680;
	--c-chrome-line: #262320;

	--c-accent: #f26522;

	--font-sans: "IBM Plex Sans Condensed", system-ui, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;

	--header-h: 64px;
	--container: 1280px;
	--gutter: clamp(20px, 4vw, 48px);

	--hatch-chrome: repeating-linear-gradient(
		-45deg,
		rgba(245, 243, 238, 0.04) 0 1px,
		transparent 1px 9px
	);
}

/* dark (default) — warm near-black, off-white ink */
:root,
:root[data-theme="dark"] {
	--c-bg: #0a0a0a;
	--c-surface: #14120f;
	--c-ink: #f5f3ee;
	--c-ink-soft: #8a8680;
	--c-line: #262320;
	--hatch: repeating-linear-gradient(
		-45deg,
		rgba(245, 243, 238, 0.025) 0 1px,
		transparent 1px 9px
	);
}

/* light — warm paper, near-black ink */
:root[data-theme="light"] {
	--c-bg: #f5f3ee;
	--c-surface: #edeae2;
	--c-ink: #0a0a0a;
	--c-ink-soft: #56524c;
	--c-line: #cfcbc1;
	--hatch: repeating-linear-gradient(
		-45deg,
		rgba(10, 10, 10, 0.03) 0 1px,
		transparent 1px 9px
	);
}

/* =========================================================================
   Base
   ========================================================================= */

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--c-ink);
	background-color: var(--c-bg);
	background-image: var(--hatch);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	transition: background-color 300ms ease, color 300ms ease;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
	font-family: var(--font-sans);
	line-height: 1.08;
	margin: 0 0 0.5em;
	font-weight: 700;
}

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow { max-width: 860px; }

.kicker {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--c-accent);
	margin: 0 0 0.75em;
}

.button {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--c-ink);
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 999px;
	padding: 0.9em 1.8em;
	cursor: pointer;
	transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.button:hover {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: #0a0a0a;
}

/* =========================================================================
   Header — fixed dark chrome (both modes)
   ========================================================================= */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 1100;
	background: var(--c-chrome);
	transition: background 250ms ease;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	padding-inline: var(--gutter);
}

.site-header__logo img { height: 34px; width: auto; }

body.has-hero .site-header { background: transparent; }
body.has-hero .site-header.is-scrolled { background: var(--c-chrome); }

.site-header__tools {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 24px);
}

/* mode toggle — split circle */
.mode-toggle {
	appearance: none;
	width: 40px;
	height: 40px;
	border: 1px solid var(--c-chrome-line);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: border-color 180ms ease;
}

.mode-toggle:hover { border-color: var(--c-accent); }

.mode-toggle span {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1.5px solid var(--c-chrome-ink);
	background: linear-gradient(90deg, var(--c-chrome-ink) 50%, transparent 50%);
}

.site-header__toggle {
	appearance: none;
	background: transparent;
	border: 0;
	padding: 14px 10px;
	margin: -14px -10px;
	cursor: pointer;
}

.site-header__toggle-bars { display: block; width: 44px; }

.site-header__toggle-bars i {
	display: block;
	height: 2px;
	background: var(--c-chrome-ink);
	margin: 9px 0;
	transition: transform 250ms ease, opacity 200ms ease;
}

body.menu-open .site-header__toggle-bars i:nth-child(1) { transform: translateY(11px) rotate(45deg); }
body.menu-open .site-header__toggle-bars i:nth-child(2) { opacity: 0; }
body.menu-open .site-header__toggle-bars i:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

body.admin-bar .site-header { top: 32px; }

/* =========================================================================
   Overlay menu — dark chrome in both modes
   ========================================================================= */

.site-overlay {
	position: fixed;
	inset: 0;
	z-index: 1050;
	background: rgba(10, 10, 10, 0.88);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease, visibility 300ms ease;
}

body.menu-open .site-overlay { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.site-overlay__inner {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2.5rem;
	padding: calc(var(--header-h) + 6vh) var(--gutter) 6vh;
	max-width: 720px;
	margin-inline: auto;
}

.overlay-menu { list-style: none; margin: 0; padding: 0; }

.overlay-menu > li { margin-bottom: 1.6rem; }

.overlay-menu a,
.overlay-menu .menu-heading {
	font-size: clamp(1.5rem, 4.5vw, 2.2rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--c-chrome-ink);
	text-decoration: none;
}

.overlay-menu a { transition: color 180ms ease; }
.overlay-menu a:hover { color: var(--c-accent); }

.overlay-menu .menu-heading {
	color: var(--c-chrome-mute);
	font-size: clamp(1rem, 3vw, 1.15rem);
	font-family: var(--font-mono);
	font-weight: 400;
	letter-spacing: 0.18em;
}

.overlay-menu .sub-menu { list-style: none; margin: 0.8rem 0 0; padding: 0; }

.overlay-menu .sub-menu li { margin-bottom: 0.7rem; }

.overlay-menu .sub-menu a {
	font-size: clamp(1.25rem, 3.8vw, 1.7rem);
	font-weight: 500;
}

.overlay-lang {
	display: inline-flex;
	align-items: baseline;
	gap: 0.6em;
	font-family: var(--font-mono);
	color: var(--c-chrome-ink);
	text-decoration: none;
}

.overlay-lang__code {
	border: 1px solid var(--c-chrome-line);
	border-radius: 4px;
	padding: 0.2em 0.55em;
	font-weight: 500;
}

.overlay-lang:hover .overlay-lang__code {
	border-color: var(--c-accent);
	color: var(--c-accent);
}

.overlay-lang__name { color: var(--c-chrome-mute); font-size: 0.9rem; }

.overlay-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	border-top: 1px solid var(--c-chrome-line);
	padding-top: 2rem;
	color: var(--c-chrome-mute);
	font-size: 0.95rem;
}

.overlay-contact p { margin: 0; }
.overlay-contact a { color: inherit; text-decoration: none; }
.overlay-contact a:hover { color: var(--c-accent); }
.overlay-contact strong { color: var(--c-chrome-ink); }

/* =========================================================================
   Hero — photo + dramatic typography (v5)
   ========================================================================= */

.hero {
	position: relative;
	height: 100svh;
	min-height: 580px;
	display: flex;
	align-items: flex-end;
	color: #f5f3ee;
	padding-bottom: clamp(56px, 10vh, 120px);
}

.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.15) 35%, rgba(10, 10, 10, 0.78) 100%),
		linear-gradient(75deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.05) 60%);
}

.hero__content {
	position: relative;
	width: 100%;
	max-width: var(--container);
}

.hero__kicker {
	font-family: var(--font-mono);
	font-size: 0.82rem;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--c-accent);
	margin: 0 0 1.2em;
}

.hero__title {
	font-size: clamp(2.6rem, 7.5vw, 6rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	max-width: 11em;
	margin-bottom: 0.35em;
	text-wrap: balance;
}

.hero__subtitle {
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	font-weight: 300;
	max-width: 36em;
	margin: 0 0 2em;
	color: rgba(245, 243, 238, 0.9);
}

.button--hero {
	background: #f5f3ee;
	border-color: #f5f3ee;
	color: #0a0a0a;
}

.button--hero:hover {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: #0a0a0a;
}

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	width: 44px;
	height: 44px;
}

.hero__scroll span {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 14px;
	border-right: 2px solid #f5f3ee;
	border-bottom: 2px solid #f5f3ee;
	transform: translate(-50%, -70%) rotate(45deg);
	animation: hero-bounce 2s infinite;
}

@keyframes hero-bounce {
	0%, 100% { transform: translate(-50%, -70%) rotate(45deg); }
	50% { transform: translate(-50%, -30%) rotate(45deg); }
}

/* =========================================================================
   Featured slider (homepage)
   ========================================================================= */

.featured { padding: clamp(56px, 9vw, 110px) 0 clamp(28px, 4vw, 56px); }

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: clamp(28px, 4vw, 48px);
}

@media (max-width: 640px) {
	.section-head { align-items: baseline; }
	.section-head__tools { width: 100%; justify-content: space-between; }
}

.section-head__title {
	font-size: clamp(1.7rem, 3.6vw, 2.6rem);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: 0;
}

.section-head__tools {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.5vw, 32px);
}

.section-head__more {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: color 180ms ease;
}

.section-head__more:hover { color: var(--c-accent); }

.featured__slider {
	--slider-gap: clamp(20px, 3vw, 36px);
	display: flex;
	gap: var(--slider-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
	counter-reset: kapov-card;
}

.featured__slider::-webkit-scrollbar { display: none; }

.featured__slider .project-card {
	flex: 0 0 calc((100% - 2 * var(--slider-gap)) / 3);
	scroll-snap-align: start;
}

@media (max-width: 1023px) {
	.featured__slider .project-card { flex-basis: calc((100% - var(--slider-gap)) / 2); }
}

@media (max-width: 640px) {
	.featured__slider .project-card { flex-basis: 100%; }
}

.featured__slider .project-card__media img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.featured__nav { display: flex; gap: 10px; }

.featured__nav-btn {
	appearance: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	background: transparent;
	color: var(--c-ink);
	font-size: 1.1rem;
	cursor: pointer;
	transition: border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.featured__nav-btn:hover { border-color: var(--c-accent); color: var(--c-accent); }

.featured__nav-btn:disabled {
	opacity: 0.3;
	cursor: default;
	border-color: var(--c-line);
	color: var(--c-ink);
}

/* =========================================================================
   Project card — mono index + title (v5)
   ========================================================================= */

.project-card { break-inside: avoid; }

.project-card__link { text-decoration: none; display: block; }

.project-card__media {
	display: block;
	overflow: hidden;
	background: var(--c-surface);
}

.project-card__media img {
	width: 100%;
	transition: transform 450ms ease;
}

.project-card__link:hover .project-card__media img { transform: scale(1.045); }

.project-card__media--strip {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.project-card__media--strip::-webkit-scrollbar { display: none; }

.project-card__media--strip img {
	flex: 0 0 100%;
	scroll-snap-align: start;
	object-fit: cover;
}

.project-card__title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.8em;
	font-size: 1.02rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--c-ink);
	padding-left: 12px;
	border-left: 3px solid var(--c-accent);
	margin-top: 14px;
}

/* mono running index above the title */
.project-card__title > span:first-child::before {
	counter-increment: kapov-card;
	content: counter(kapov-card, decimal-leading-zero);
	display: block;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	color: var(--c-ink-soft);
	margin-bottom: 0.45em;
}

.project-card__arrow {
	color: var(--c-accent);
	transition: transform 200ms ease;
}

.project-card__link:hover .project-card__arrow { transform: translateX(4px); }

/* =========================================================================
   Feature strip
   ========================================================================= */

.features { padding: clamp(48px, 7vw, 96px) 0; }

.features__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(24px, 3vw, 40px);
	border-top: 1px solid var(--c-line);
	padding-top: clamp(36px, 5vw, 64px);
}

@media (max-width: 1023px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features__grid { grid-template-columns: 1fr; } }

.features__item h3 {
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding-left: 12px;
	border-left: 3px solid var(--c-accent);
}

.features__item p {
	margin: 0;
	color: var(--c-ink-soft);
	font-size: 0.98rem;
	padding-left: 15px;
}

/* =========================================================================
   Page band — dark chrome, hatched, dramatic title
   ========================================================================= */

.page-band {
	background-color: var(--c-chrome-2);
	background-image: var(--hatch-chrome);
	color: var(--c-chrome-ink);
	padding: calc(var(--header-h) + clamp(48px, 9vw, 110px)) 0 clamp(40px, 6vw, 80px);
}

.page-band__title {
	font-size: clamp(2.2rem, 6vw, 4.4rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
	margin: 0;
	text-wrap: balance;
}

.page-band--image {
	background-image:
		linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.62) 100%),
		var(--band-image);
	background-size: cover;
	background-position: center;
	padding-top: calc(var(--header-h) + clamp(72px, 13vw, 180px));
}

/* =========================================================================
   Projects grid
   ========================================================================= */

.projects { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); }

.projects__grid {
	columns: 3;
	column-gap: clamp(20px, 3vw, 36px);
	counter-reset: kapov-card;
}

@media (max-width: 1023px) { .projects__grid { columns: 2; } }
@media (max-width: 640px) { .projects__grid { columns: 1; } }

.projects__grid .project-card { margin-bottom: clamp(32px, 4vw, 48px); }

.projects__more { text-align: center; margin-top: clamp(24px, 4vw, 48px); }

.filter-bar {
	position: sticky;
	bottom: 0;
	z-index: 900;
	background: var(--c-chrome);
}

.filter-bar__menu {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
}

.filter-bar__menu li { flex: 1; }

.filter-bar__menu a,
.filter-bar__menu .menu-heading {
	display: block;
	text-align: center;
	padding: 16px 8px;
	color: var(--c-chrome-ink);
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 180ms ease;
}

.filter-bar__menu a:hover,
.filter-bar__menu .current-menu-item a { color: var(--c-accent); }

/* =========================================================================
   Single project
   ========================================================================= */

/* featured image = large opening photo of the series; gradient only behind
   the title text, the photo itself stays clean */
.project-hero {
	position: relative;
	margin-top: var(--header-h);
	min-height: clamp(420px, 78vh, 860px);
	display: flex;
	align-items: flex-end;
	color: #f5f3ee;
}

.project-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.project-hero__scrim {
	position: absolute;
	inset: auto 0 0;
	height: 45%;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.38) 55%, rgba(10, 10, 10, 0.72) 100%);
}

.project-hero__content {
	position: relative;
	width: 100%;
	max-width: var(--container);
	padding-bottom: clamp(28px, 4vw, 48px);
}

.project-hero .kicker {
	text-shadow: 0 1px 10px rgba(10, 10, 10, 0.55);
}

.project-hero__title {
	font-size: clamp(1.8rem, 4.5vw, 3.4rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0;
	max-width: 18em;
	text-wrap: balance;
	text-shadow: 0 1px 14px rgba(10, 10, 10, 0.35);
}

body.admin-bar .project-hero { margin-top: calc(var(--header-h) + 32px); }

@media (max-width: 782px) {
	body.admin-bar .project-hero { margin-top: calc(var(--header-h) + 46px); }
}

.project__gallery {
	display: grid;
	gap: clamp(16px, 2vw, 28px);
	max-width: 1200px;
	margin: clamp(32px, 5vw, 56px) auto;
	padding-inline: var(--gutter);
}

.project__photo { margin: 0; }

@media (max-width: 767px) {
	.project__gallery {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 12px;
		scrollbar-width: none;
	}
	.project__gallery::-webkit-scrollbar { display: none; }
	.project__photo {
		flex: 0 0 88%;
		scroll-snap-align: center;
	}
	.project__photo img { height: 100%; object-fit: cover; }
}

.project__nav {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	border-top: 1px solid var(--c-line);
	margin: clamp(40px, 6vw, 64px) 0;
	padding-top: 24px;
	font-size: 0.95rem;
}

.project__nav a {
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
}

.project__nav a:hover { color: var(--c-accent); }

.project__nav-next { text-align: right; }

/* =========================================================================
   Page content — v5 dynamic typography
   ========================================================================= */

.entry-content {
	padding: clamp(36px, 6vw, 64px) 0 clamp(56px, 8vw, 96px);
}

.entry-content--page > p:first-of-type {
	font-size: clamp(1.35rem, 3vw, 1.8rem);
	font-weight: 300;
	line-height: 1.4;
	color: var(--c-ink);
	border-left: 3px solid var(--c-accent);
	padding-left: clamp(16px, 2.5vw, 26px);
	margin-bottom: 1.6em;
}

.entry-content--page { counter-reset: kapov-section; }

.entry-content h2,
.entry-content h3 {
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-top: 2.4em;
}

.entry-content--page h2::before,
.entry-content--page h3::before {
	counter-increment: kapov-section;
	content: counter(kapov-section, decimal-leading-zero) " /";
	display: block;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	color: var(--c-accent);
	margin-bottom: 0.5em;
}

.entry-content h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
.entry-content h3 { font-size: clamp(1.2rem, 2.4vw, 1.7rem); }

.entry-content a { color: var(--c-accent); }

.entry-content--page strong {
	box-shadow: inset 0 -0.38em rgba(242, 101, 34, 0.22);
}

.entry-content ul {
	list-style: none;
	padding-left: 0;
	margin: 1.2em 0 2em;
}

.entry-content ul li {
	position: relative;
	padding-left: 1.5em;
	margin-bottom: 0.7em;
}

.entry-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 0.55em;
	height: 0.14em;
	background: var(--c-accent);
}

.entry-content img { margin-block: 1.5em; }

/* =========================================================================
   Footer — dark chrome (both modes)
   ========================================================================= */

.site-footer {
	background-color: var(--c-chrome);
	background-image: var(--hatch-chrome);
	color: var(--c-chrome-mute);
	font-size: 0.95rem;
}

.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: clamp(28px, 4vw, 56px);
	padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 4vw, 48px);
}

@media (max-width: 1023px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__brand img { height: 40px; width: auto; margin-bottom: 1rem; }

.site-footer__brand p { color: var(--c-chrome-ink); }

.site-footer__col p { margin: 0 0 0.4em; }

.site-footer__cta {
	font-family: var(--font-mono);
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-chrome-ink) !important;
}

.site-footer__cta:hover { color: var(--c-accent) !important; }

.site-footer__bottom {
	border-top: 1px solid var(--c-chrome-line);
	padding: 20px 0;
	font-size: 0.85rem;
}

.site-footer__bottom p { margin: 0; }

/* =========================================================================
   Misc
   ========================================================================= */

.archive-list {
	list-style: none;
	padding: clamp(36px, 6vw, 64px) 0;
	margin: 0;
}

.archive-list li { margin-bottom: 0.8em; }

.archive-list a {
	text-decoration: none;
	font-size: 1.15rem;
	font-weight: 500;
}

.archive-list a:hover { color: var(--c-accent); }

@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

/* =========================================================================
   Motion
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
	@keyframes kapov-rise {
		from { opacity: 0; transform: translateY(22px); }
		to { opacity: 1; transform: none; }
	}

	.hero__kicker { animation: kapov-rise 700ms ease-out 60ms backwards; }
	.hero__title { animation: kapov-rise 700ms ease-out 180ms backwards; }
	.hero__subtitle { animation: kapov-rise 700ms ease-out 340ms backwards; }
	.hero .button--hero { animation: kapov-rise 700ms ease-out 500ms backwards; }

	.reveal {
		opacity: 0;
		transform: translateY(20px);
		transition: opacity 600ms ease, transform 600ms ease;
		transition-delay: var(--reveal-delay, 0ms);
	}

	.reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}
