/* Limostudio site stylesheet: tokens first, then portfolio/components. */

/* =========================================================
   limostudio.ru — design tokens
   Single source of truth for color, type, spacing, shape,
   depth, motion and layout primitives.
   ========================================================= */

/* Fonts --------------------------------------------------- */
/* Golos Text — Google Fonts, self-hosted (OFL) */
@font-face {
	font-family: "Golos Text";
	src: url("/webfonts/golos-text-cyrillic-ext.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
	font-family: "Golos Text";
	src: url("/webfonts/golos-text-cyrillic.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Golos Text";
	src: url("/webfonts/golos-text-latin-ext.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	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: "Golos Text";
	src: url("/webfonts/golos-text-latin.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	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: "TS Kirt Variable";
	src: url("/assets/files/kirt/ts-kirt-site.ttf") format("truetype");
	font-weight: 100 900;
	font-display: swap;
}


/* Legacy faces, kept available but not used by the current templates. */
@font-face {
	font-family: "Karmat";
	src:
		url("/webfonts/karmat-regular.woff2") format("woff2"),
		url("/webfonts/karmat-regular.woff") format("woff"),
		url("/webfonts/karmat-regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Circe";
	src:
		url("/webfonts/crc55__w.woff2") format("woff2"),
		url("/webfonts/crc55__w.woff") format("woff"),
		url("/webfonts/crc55__w.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Primitive palette ------------------------------------ */
	--color-white: #fff;
	--color-black: #000;
	--color-ink-900: #21262d;
	--color-ink-700: #333;
	--color-ink-500: #666;
	--color-ink-400: #999;
	--color-ink-300: #9ba5af;
	--color-gray-050: #f6f6f6;
	--color-teal-600: #448c9c;
	--color-red-600: #ea4040;
	--color-red-650: #ce2c2c;
	--color-yellow-500: #ffcc01;
	--color-yellow-100: #fff8d4;
	--color-green-700: #008000;
	--color-cc-accent: #e85330;
	--color-cc-link: #6582a9;
	--color-cc-link-hover: var(--color-red-650);
	--color-cc-keyboard: var(--color-green-700);
	--color-cc-highlight: #c6d9db;
	--color-cc-splink: #0a5794;

	/* Semantic colors -------------------------------------- */
	--color-text: var(--color-ink-900);
	--color-text-dark: var(--color-ink-700);
	--color-text-muted: var(--color-ink-500);
	--color-text-muted-2: var(--color-ink-400);
	--color-text-light: var(--color-ink-300);

	--color-link: var(--color-teal-600);
	--color-link-hover: var(--color-red-600);

	--color-bg: var(--color-white);
	--color-bg-soft: var(--color-gray-050);
	--color-bg-highlight: var(--color-yellow-100);
	--color-bg-kirt: var(--color-yellow-500);

	--color-border: #ebebeb;
	--color-border-mid: #ddd;
	--color-border-strong: #ccc;
	--color-border-input: #c0c0c0;
	--color-button-secondary-bg: #ededed; /* 10% of --color-text-muted over white */
	--color-button-secondary-bg-hover: #e2e2e2; /* 14% of --color-text-muted over white */

	/* Help tags --------------------------------------------- */
	--tag-red-bg: #fdebea;
	--tag-red-ink: #a33a32;
	--tag-green-bg: #e8f3e9;
	--tag-green-ink: #356c43;
	--tag-yellow-bg: #fff3cf;
	--tag-yellow-ink: #755a08;
	--tag-teal-bg: #e5f2f4;
	--tag-teal-ink: #2f6670;
	--tag-blue-bg: #e9eef8;
	--tag-blue-ink: #3b5c8c;
	--tag-lilac-bg: #f0eaf9;
	--tag-lilac-ink: #604783;
	--tag-coral-bg: #fdeee4;
	--tag-coral-ink: #8c4a2f;
	--tag-pink-bg: #fbe9ef;
	--tag-pink-ink: #8a3d5c;
	--tag-violet-bg: #eae7fb;
	--tag-violet-ink: #54488e;
	--tag-mint-bg: #e4f4ec;
	--tag-mint-ink: #2f6b52;
	--tag-sky-bg: #e5f0fb;
	--tag-sky-ink: #2e5c80;
	--tag-sand-bg: #f6eddd;
	--tag-sand-ink: #775a34;

	--color-link-border: rgba(68, 140, 156, 0.15);
	--color-link-border-hover: rgba(171, 44, 44, 0.15);
	--color-link-border-gray: rgba(51, 51, 51, 0.15);
	--color-link-border-gray-hover: rgba(70, 70, 70, 0.15);
	--color-link-border-dark: rgba(0, 0, 0, 0.1);
	--color-prevnext-border: rgba(155, 165, 175, 0.2);

	--color-shadow-strong: rgba(0, 0, 0, 0.6);
	--color-shadow-press: rgba(0, 0, 0, 0.2);

	/* Typography ------------------------------------------- */
	--font-body: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Ubuntu", "Cantarell", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	--font-display: var(--font-body);
	--font-feature-kirt: "TS Kirt Variable", var(--font-body);
	--font-cc-body: var(--font-body);
	--font-legacy-karmat: "Karmat", var(--font-body);
	--font-legacy-circe: "Circe", var(--font-body);

	--weight-regular: 400;
	--weight-semibold: 600;
	--weight-bold: 700;

	--text-2xs: 10px;
	--text-xs: 11px;
	--text-sm: 12px;
	--text-caption: 13px;
	--text-base: 14px;
	--text-md: 16px;
	--text-body: 17px;
	--text-lg: 20px;
	--text-lead: 22px;
	--text-h3: 28px;
	--text-h2: 48px;
	--text-h1: 80px;
	--text-display: 72px;
	--text-display-fluid: 7vw;
	--text-cc-title: 2.4em;
	--text-cc-title-sm: 2.2em;
	--text-cc-title-mobile: 1.8em;
	--text-feature-kirt: 24vw;
	--text-cc-symbol: 1200%;
	--text-cc-symbol-tablet: 800%;
	--text-cc-symbol-mobile: 700%;

	--leading-none: 1;
	--leading-tight: 1.1;
	--leading-snug: 1.25;
	--leading-normal: 1.4;
	--leading-body: 1.6;
	--leading-lead: 1.45;

	--tracking-display: -0.05em;
	--tracking-heading: -0.015em;

	/* Spacing scale (4 px base) ---------------------------- */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 20px;
	--space-6: 24px;
	--space-8: 32px;
	--space-10: 40px;
	--space-12: 48px;
	--space-14: 56px;
	--space-16: 64px;
	--space-18: 72px;
	--space-20: 80px;
	--space-24: 96px;
	--space-28: 112px;

	/* Component spacing aliases ---------------------------- */
	--space-page-x: var(--space-10);
	--space-section: var(--space-14);
	--space-section-sm: var(--space-10);
	--space-grid-gap-x: var(--space-6);
	--space-grid-gap-y: var(--space-8);
	--space-grid-gap-tablet: var(--space-5);
	--space-grid-gap-mobile: var(--space-4);

	/* Shape ------------------------------------------------- */
	--radius-xs: 8px;
	--radius-sm: 10px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 18px;
	--radius-cc: 10px;
	--radius-app: 4px;
	--control-height: 56px;
	--border-width: 1px;
	--border-width-strong: 2px;

	/* Elevation --------------------------------------------- */
	--shadow-soft: 0 10px 30px -15px var(--color-shadow-strong);
	--shadow-cc-info: 0 5px 40px rgba(0, 0, 0, 0.25);
	--shadow-popover: 0 12px 30px rgba(0, 0, 0, 0.12);
	--shadow-modal: 0 18px 60px rgba(0, 0, 0, 0.28);
	--shadow-press: inset 0 2px 3px var(--color-shadow-press);

	/* Motion ------------------------------------------------ */
	--image-hover-scale: 1.04;
	--duration-hover: 500ms;
	--duration-instant: 200ms;
	--duration-base: 500ms;
	--ease-out: cubic-bezier(0, 0.9, 0.1, 1);

	/* Layout ------------------------------------------------ */
	--container-max: 1920px;
	--text-measure: 950px;
	--case-text-width: 850px;
	--search-measure: 850px;
	--cc-sidebar: 300px;
	--cc-sidebar-tablet: 240px;
	--cc-sidebar-padding: 30px 24px 30px 30px;
	--cc-sidebar-padding-tablet: 24px 18px 24px 22px;
	--cc-main-padding: 30px 40px 60px;
	--cc-main-padding-tablet: 24px 24px 50px;
	--cc-info-width: 300px;
	--cc-info-padding: 20px 25px 5px;
	--cc-info-top: 110px;
	--cc-footer-height: 120px;
	--cc-footer-padding: 60px 0 0 30px;
	--cc-cell-padding: 35px 25px;
	--cc-symbol-item-height: 120px;
	--cc-symbol-item-height-mobile: 96px;
	--z-header: 100;
	--z-popover: 200;
	--z-cc-info: 999;
}

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

* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

body {
	height: 100%;
	background: var(--color-bg);
	font-family: var(--font-body);
	font-size: var(--text-lg);
	font-weight: var(--weight-regular);
	line-height: var(--leading-body);
	color: var(--color-text);
	font-kerning: normal;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	min-width: 320px;
}

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

input {
	vertical-align: middle;
}

.emerge {
	opacity: 0;
}

.mm,
#header {
	max-width: var(--container-max);
}

#wrapper {
	min-height: 100%;
	height: auto;
	margin: 0 auto;
}

/* =========================================================
   Links
   ========================================================= */
a,
.nav li span {
	position: relative;
	padding: 4px 0;
	color: var(--color-link);
	outline: none;
	text-decoration: none;
	border-bottom: none;
}

a,
.nav li span {
	border-bottom-color: var(--color-link-border);
}

a:hover,
a.hover,
.dark_links a:hover,
.extra_content:hover span {
	border: none;
	background-color: var(--color-link-hover);
	color: var(--color-white);
}

.nav li a:hover,
.nav li a:hover span {
	background-color: transparent;
	color: var(--color-link-hover);
}

.nav li a:hover span {
	border-bottom: none !important;
}

.jobs a:hover img,
.jobs a.hover img {
	transform: scale(var(--image-hover-scale));
}

a:hover,
a.hover,
.dark_links a:hover,
.extra_content:hover span,
.nav li a:hover span {
	border-bottom-color: var(--color-link-border-hover);
}

.gray_links a {
	color: var(--color-text-muted);
	border-bottom-color: var(--color-link-border-gray);
}

.gray_links a:hover {
	color: var(--color-text-dark);
	border-bottom-color: var(--color-link-border-gray-hover);
}

.dark_links a,
.dark_links {
	color: var(--color-black);
	border-color: var(--color-link-border-dark);
}

a.dash {
	border-bottom-style: dashed !important;
}

/* =========================================================
   Typography
   ========================================================= */
p {
	margin: 0 0 1.4em;
	margin-top: -0.4em;
}

p.width {
	max-width: 80%;
	margin: 0 auto;
}

.sheet {
	margin: 1em 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	position: relative;
	z-index: var(--z-header);
	margin: 0 0 0.4em;
	margin-top: -0.1em;
	font-family: var(--font-display);
	font-style: normal;
	font-weight: var(--weight-semibold);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-heading);
}

h1 {
	font-size: var(--text-h1);
	text-indent: -0.05em;
}

h2 {
	font-size: var(--text-h2);
}

h3 {
	font-size: var(--text-h3);
}

#main_page h1 {
	margin-bottom: 0.4em;
	font-size: var(--text-display);
	font-size: var(--text-display-fluid);
	line-height: var(--leading-none);
}

.content#job h1 {
	margin-bottom: var(--space-4);
	font-size: var(--text-h1);
	line-height: var(--leading-none);
}

.content#job h2 {
	margin: var(--space-8) 0 var(--space-3);
	font-size: var(--text-h2);
}

.content#job h3 {
	margin: var(--space-6) 0 var(--space-2);
	font-size: var(--text-h3);
}

.text p {
	max-width: var(--text-measure);
}

.lead {
	font-size: var(--text-lead);
	line-height: var(--leading-lead);
}

.podp {
	font-size: var(--text-base);
	color: var(--color-text-muted);
}

/* =========================================================
   Generic / utility
   ========================================================= */
.ava {
	border-radius: 100%;
	object-fit: cover;
}

.first {
	overflow: hidden;
	margin-bottom: var(--space-5);
}

.first:hover {
	background: var(--color-white);
}

.first:hover a {
	opacity: 0.9;
}

div.error {
	width: 330px;
	padding: 40px 0 0 60px;
	font-size: var(--text-md);
	line-height: 1.4;
}

.images {
	display: grid;
	grid-template-columns: repeat(9, minmax(0, 1fr));
	gap: var(--space-2);
	align-items: stretch;
	width: 100%;
	margin: 0 0 var(--space-10);
}

.images a {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin: 0;
	padding: 0;
	line-height: 0;
	background: var(--color-bg-soft);
	border: none;
	border-radius: var(--radius-md);
}

.images img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	padding: 0;
	object-fit: cover;
	transition: transform var(--duration-hover) var(--ease-out);
}

.images a:hover img {
	transform: scale(var(--image-hover-scale));
}

@media (max-width: 1199px) {
	.images { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.images { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 479px) {
	.images { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.reducer_h {
	padding-left: 20px;
	padding-right: 20px;
}

.reducer_v {
	padding-top: 20px;
	padding-bottom: 20px;
}

.reducer_page {
	padding: 0 20px;
}

.cleared::after {
	content: "";
	display: block;
	clear: both;
}

.clear {
	clear: both;
	font-size: 0;
	overflow: hidden;
}

.noborder {
	border: none !important;
}

.section {
}

/* =========================================================
   Header / navigation
   ========================================================= */
#header {
	position: relative;
	z-index: 100;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 12px 16px;
	padding: 0;
	margin-bottom: 20px;
	font-size: var(--text-md);
}

.name {
	position: relative;
	z-index: 1;
	float: none;
	margin: 12px var(--space-2) 0 20px;
}

.name span,
.name a {
	padding: 0.5em 0.8em;
	color: var(--color-white);
	background-color: var(--color-black);
	background-repeat: repeat-x;
	background-position: left bottom;
	border-radius: var(--radius-sm);
}

.name a {
	padding: 0.5em 0;
	background: transparent;
}

.name a:hover {
	color: var(--color-white);
}

.nav {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0 16px;
	float: none;
	list-style: none;
}

.nav li {
	display: inline-flex;
}

.nav li a {
	display: block;
	padding: 12px 0 8px;
	border: none;
}

.nav li span {
	position: relative;
}

.nav li.active span {
	margin: 0;
	padding: 0;
	color: var(--color-black);
	border: none;
	border-radius: var(--radius-sm);
}

.nav li.active a {
	padding: 12px 0 8px;
}

.nav li.active {
	background: none !important;
}

/* =========================================================
   Intro / text container
   ========================================================= */
.text_container {
	width: 100%;
	margin-bottom: var(--space-5);
	padding: var(--space-8) var(--space-page-x);
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-lg);
}

.text_container > div {
	float: none;
	width: auto;
}

.text_container p:last-child {
	margin-bottom: 0;
}

.text {
	width: 65%;
}

.img_right {
	width: 20%;
	padding-top: 4px;
	padding-left: 5%;
	text-align: center;
}

@supports (display: grid) {
	.text_container {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
		column-gap: 5%;
		align-items: start;
	}

	.text,
	.img_right {
		width: auto;
		min-width: 0;
	}

	.img_right {
		padding-left: 0;
	}
}

/* =========================================================
   Projects
   ========================================================= */
/* =========================================================
   Visual blocks
   ========================================================= */
.thumbs_img img:hover {
	position: relative;
	z-index: 100;
}

#job img {
	margin-bottom: 3em;
}

.content#job .case-figure {
	margin: 0 0 1.4em;
}

.content#job .case-figure img {
	margin-bottom: 0;
}

.content#job .case-figure figcaption {
	margin: 8px 0 0;
	font-size: var(--text-base);
	line-height: var(--leading-snug);
	color: var(--color-text-muted);
}

.content#job .case-result {
	display: grid;
	grid-template-columns: minmax(0, var(--case-text-width)) 300px;
	gap: var(--space-6);
	align-items: center;
	justify-content: start;
	margin: 0 0 var(--space-8);
}

.content#job .case-result__text p:last-child {
	margin-bottom: 0;
}

.content#job .case-result__media {
	margin: 0;
}

.content#job .case-result__media img {
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 0;
}

@media (min-width: 768px) {
	.content#job .case-result__media {
		width: 100%;
		justify-self: stretch;
	}

	.content#job .case-result__media img {
		max-width: 300px;
		margin-left: auto;
	}
}

@media (max-width: 767px) {
	.content#job .case-result {
		grid-template-columns: 1fr;
		gap: var(--space-5);
	}
}

/* =========================================================
   Jobs
   ========================================================= */
.jobs {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap-reverse;
	justify-content: flex-start;
	align-items: flex-end;
	align-content: flex-start;
	margin: 0 -10px;
}

.jobs .jobs-item {
	flex: 1 1 200px;
	flex-basis: 200px;
	margin: 0 10px var(--space-5);
	line-height: 0.5em;
}

.jobs .jobs-item a.job_title {
	line-height: var(--leading-snug);
}

.jobs .jobs-item .img-link {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1000 / 720;
	background: none;
	border-radius: var(--radius-md);
}

.jobs .jobs-item .img-link img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
	transition: transform var(--duration-hover) var(--ease-out);
}

.jobs.main {
	flex-direction: row;
}

.main {
	padding-bottom: 24px;
}

/* =========================================================
   What I can help with
   ========================================================= */
.help {
	--help-pad-x: var(--space-page-x);
	margin: 0 0 var(--space-5);
	padding: var(--space-8) var(--help-pad-x);
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.help h2 {
	margin-bottom: var(--space-4);
	font-size: var(--text-h3);
}

.help-marquee {
	width: calc(100% + var(--help-pad-x) * 2);
	margin-left: calc(-1 * var(--help-pad-x));
	overflow: hidden;
}

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

.help-tags {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: nowrap;
	gap: var(--space-2);
	padding-right: var(--space-2);
	list-style: none;
}

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

@media (prefers-reduced-motion: reduce) {
	.help-marquee__track { animation: none; }
	.help-marquee { overflow-x: auto; }
}

.help-tag {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	height: 40px;
	padding: var(--space-2) var(--space-4);
	white-space: nowrap;
	font-size: var(--text-lg);
	line-height: var(--leading-none);
	background: none;
	border-radius: var(--radius-xs);
}

.help-tag::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--tag-bg);
	border-radius: var(--radius-xs);
	-webkit-mask-image:
		radial-gradient(circle 7px at 0 50%, transparent 7px, #000 7.5px),
		radial-gradient(circle 7px at 100% 50%, transparent 7px, #000 7.5px);
	-webkit-mask-composite: source-in;
	mask-image:
		radial-gradient(circle 7px at 0 50%, transparent 7px, #000 7.5px),
		radial-gradient(circle 7px at 100% 50%, transparent 7px, #000 7.5px);
	mask-composite: intersect;
}

.help-tag--red { --tag-bg: var(--tag-red-bg); color: var(--tag-red-ink); }
.help-tag--green { --tag-bg: var(--tag-green-bg); color: var(--tag-green-ink); }
.help-tag--yellow { --tag-bg: var(--tag-yellow-bg); color: var(--tag-yellow-ink); }
.help-tag--teal { --tag-bg: var(--tag-teal-bg); color: var(--tag-teal-ink); }
.help-tag--blue { --tag-bg: var(--tag-blue-bg); color: var(--tag-blue-ink); }
.help-tag--lilac { --tag-bg: var(--tag-lilac-bg); color: var(--tag-lilac-ink); }
.help-tag--coral { --tag-bg: var(--tag-coral-bg); color: var(--tag-coral-ink); }
.help-tag--pink { --tag-bg: var(--tag-pink-bg); color: var(--tag-pink-ink); }
.help-tag--violet { --tag-bg: var(--tag-violet-bg); color: var(--tag-violet-ink); }
.help-tag--mint { --tag-bg: var(--tag-mint-bg); color: var(--tag-mint-ink); }
.help-tag--sky { --tag-bg: var(--tag-sky-bg); color: var(--tag-sky-ink); }
.help-tag--sand { --tag-bg: var(--tag-sand-bg); color: var(--tag-sand-ink); }

/* =========================================================
   About / bio
   ========================================================= */
.about {
	width: 60%;
	margin: 0 0 20px -20px;
	padding-bottom: 4px;
	background: var(--color-bg);
	border-radius: var(--radius-xl);
}

.reducer_about {
	position: relative;
	width: 100%;
	margin-bottom: var(--space-12);
}

.reducer_about > div,
.reducer_about p {
	max-width: none;
}

.reducer_about .description {
	width: 100%;
	margin: 0 0 20px -20px;
	background: var(--color-bg);
}

.reducer_about p {
	margin-bottom: 0.75em;
}

.reducer_about .reducer_v {
	padding-bottom: 1px;
}

.content#job p:not(:has(img)):not(:has(iframe)) {
	max-width: var(--case-text-width);
	margin-left: 0;
	margin-right: 0;
	text-align: left !important;
}

.content#job .project-actions {
	max-width: var(--case-text-width);
}

.content#job ul,
.content#job ol {
	margin: 0 0 1.4em;
	padding-left: 1.3em;
}

.content#job li {
	line-height: var(--leading-body);
}

.content#job li + li {
	margin-top: 4px;
}

.project-meta {
	margin: -16px 0 var(--space-12);
}

.project-meta:not(:has(.type_project, .project-actions)) {
	display: none;
	margin: 0;
}

.reducer_about:has(+ .project-meta:not(:has(.type_project, .project-actions))) {
	margin-bottom: var(--space-12);
}

.project-meta .type_project {
	margin: 0;
}

#job > .project-meta + p {
	margin-top: 0;
}

.project-meta .project-actions {
	margin-top: var(--space-2);
}

.project-meta > noindex + .project-actions {
	margin-top: var(--space-5);
}

.project-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4) var(--space-5);
	margin-top: var(--space-6);
}

@media (max-width: 767px) {
	.project-actions {
		flex-direction: column;
		align-items: stretch;
		gap: var(--space-3);
		margin-top: var(--space-5);
	}

	.project-actions .button {
		width: 100%;
		margin: 0;
	}

	.project-actions .button + .button {
		margin-top: 0;
	}
}

.type_project {
	white-space: nowrap;
}

.type_project i {
	padding-right: 0;
	font-style: normal;
	background: none;
}

.type_project a {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
}

.type_project a::after {
	content: "";
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M7 1h4v4M11 1 5.5 6.5M4 2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V8' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M7 1h4v4M11 1 5.5 6.5M4 2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V8' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bio {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-6);
	align-items: start;
	width: 100%;
	margin-bottom: var(--space-5);
	padding: var(--space-8) var(--space-page-x) var(--space-2);
	border: none;
	border-collapse: collapse;
	border-radius: var(--radius-lg);
	background: var(--color-bg-soft);
}

.bio .bio-item {
	display: block;
	float: none;
	width: auto;
	min-width: 0;
	padding-right: 0;
	font-size: var(--text-md);
}

.bio h3 {
	margin-bottom: 0.9em;
	padding-top: 0;
}

.bio p {
	margin-bottom: 0.9em;
	line-height: 1.6em;
}

.bio sup {
	font-size: var(--text-xs);
	line-height: 1;
	white-space: nowrap;
}

/* =========================================================
   Footer
   ========================================================= */
.content {
	padding: 0 0 var(--space-10);
}

.content#job {
	padding-top: var(--space-8);
}

.content#jobs {
	padding-top: var(--space-8);
}

#footer {
	position: relative;
	width: calc(100% - var(--space-5) * 2);
	margin: 0 auto;
	padding: var(--space-12) 0 var(--space-8);
	border-top: var(--border-width) solid var(--color-border);
	font-size: var(--text-base);
}

#footer p {
	margin-bottom: 0;
}

.footer-copy {
	margin: 0 0 var(--space-6) !important;
	color: var(--color-text-muted);
	font-size: var(--text-md);
	font-weight: var(--weight-regular);
}

.contacts-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4) var(--space-5);
	list-style: none;
}

.contact-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 32px;
	font-size: var(--text-md);
	color: var(--color-link);
	text-decoration: none;
	border: none;
	border-bottom: none;
}

.contact-link:hover {
	color: var(--color-link-hover);
	background-color: transparent;
	text-decoration: none;
	border: none;
	border-bottom: none;
}

.contact-icon {
	display: inline-flex;
	flex: 0 0 24px;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.contact-icon svg {
	display: block;
	width: 24px;
	height: 24px;
}

.contact-icon--myfonts {
	flex-basis: 28px;
	width: 28px;
	height: 28px;
}

.contact-icon--myfonts svg {
	width: 28px;
	height: 28px;
}

.contact-icon--max {
	background-color: currentColor;
	-webkit-mask: url("/images/apps/max.svg") center / contain no-repeat;
	mask: url("/images/apps/max.svg") center / contain no-repeat;
}

@media (max-width: 767px) {
	#footer {
		padding: var(--space-8) 0 var(--space-6);
	}
}

/* =========================================================
   Search
   ========================================================= */
.search_c {
	position: relative;
	top: auto;
	right: auto;
	margin: 4px 32px 0 auto;
}

.search_form {
	position: relative;
	width: 200px;
	height: 32px;
	white-space: nowrap;
}

.search {
	opacity: 0.5;
	transition: opacity 300ms;
}

.search.focus {
	opacity: 1;
}

.search_string {
	width: 148px !important;
	height: 37px;
	padding-right: 24px !important;
	padding-left: 24px !important;
	font-size: var(--text-md);
	background: var(--color-white) url("/images/search.svg") 0 center no-repeat;
	background-size: 16px;
	border: none;
	border-bottom: 1px solid var(--color-ink-400);
	border-radius: 0 !important;
	outline: none;
	-webkit-appearance: none !important;
}

.search_button {
	position: absolute;
	right: -20px;
}

.search_button button {
	width: 48px;
	height: 48px;
	padding: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	-webkit-appearance: none;
}

.enter {
	position: relative;
	display: inline-block;
	width: 16px;
	height: 16px;
	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
	font-size: 0;
	line-height: 0;
	vertical-align: middle;
	background-image: url("/images/enter.svg");
	background-repeat: no-repeat;
	background-position: center center !important;
	background-size: 16px;
}

.search_item {
	max-width: var(--search-measure);
	padding: 0 0 1.3em;
}

.search_title {
	padding-bottom: 0.35em;
}

.search_extract {
	font-size: var(--text-md);
	line-height: var(--leading-normal);
}

.search_stat {
	padding-bottom: 2em;
	font-size: var(--text-md);
	color: var(--color-text-muted);
}

.evoSearch_highlight {
	position: relative;
	z-index: -1;
	margin: 0 -0.15em;
	padding: 0.15em;
	background: var(--color-bg-highlight);
}

.search_title a:hover .evoSearch_highlight {
	z-index: 0;
	color: var(--color-white);
	background: transparent;
}

/* =========================================================
   Buttons
   ========================================================= */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: var(--control-height);
	padding: 0 var(--space-8);
	font-size: var(--text-lg);
	font-weight: var(--weight-regular);
	line-height: var(--leading-none);
	text-align: center;
	color: var(--color-white);
	background-color: var(--color-black);
	border: none;
	border-radius: var(--radius-xs);
	cursor: pointer;
	box-sizing: border-box;
	vertical-align: middle;
}

.button.secondary {
	height: var(--control-height);
	padding: 0 var(--space-8);
	color: var(--color-black);
	background-color: var(--color-button-secondary-bg);
	border: none;
	box-sizing: border-box;
}

.button:hover {
	color: var(--color-white);
	background-color: var(--color-link-hover);
	transition: none;
}

.button.secondary:hover {
	color: var(--color-black);
	background-color: var(--color-button-secondary-bg-hover);
	border-color: transparent;
}

.button:active,
.button:hover:active {
	box-shadow: var(--shadow-press);
}

/* =========================================================
   TS KIRT INTRO
   ========================================================= */
.splitting .word,
.splitting .char {
	display: inline-block;
}

.splitting .char {
	position: relative;
}

.splitting .char::before,
.splitting .char::after {
	content: attr(data-char);
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;
	user-select: none;
	transition: inherit;
}

.splitting {
	--word-center: calc((var(--word-total) - 1) / 2);
	--char-center: calc((var(--char-total) - 1) / 2);
	--line-center: calc((var(--line-total) - 1) / 2);
}

.splitting .word {
	--word-percent: calc(var(--word-index) / var(--word-total));
	--line-percent: calc(var(--line-index) / var(--line-total));
}

.splitting .char {
	--char-percent: calc(var(--char-index) / var(--char-total));
	--char-offset: calc(var(--char-index) - var(--char-center));
	--distance: calc((var(--char-offset) * var(--char-offset)) / var(--char-center));
	--distance-sine: calc(var(--char-offset) / var(--char-center));
	--distance-percent: calc((var(--distance) / var(--char-center)));
}

.tskirtmain {
	display: block;
	margin-bottom: 16px;
	padding: 64px 0 72px;
	font-family: var(--font-feature-kirt) !important;
	text-align: center;
	color: var(--color-white);
	background-color: var(--color-bg-kirt);
	border-radius: var(--radius-md);
}

.tskirtmain h2 {
	display: inline;
	font-family: var(--font-feature-kirt) !important;
	font-size: var(--text-feature-kirt);
	font-weight: 100;
	line-height: 1;
	letter-spacing: var(--tracking-display);
	font-variation-settings: "wght" 100;
}

.tskirtmain h2 .char {
	--delay: calc((var(--char-index) + 1) * 100ms);
	animation: breathe 3500ms infinite both cubic-bezier(0.785, 0.135, 0.15, 0.86);
	animation-delay: var(--delay);
}

.tskirtmain p {
	display: block;
	margin: 16px 0 0.6em;
	font-size: 4vw;
	font-weight: 500;
	font-variation-settings: "wght" 300;
}

@keyframes breathe {
	0% {
		font-variation-settings: "wght" 100;
	}
	60% {
		font-variation-settings: "wght" 700;
	}
	100% {
		font-variation-settings: "wght" 100;
	}
}

/* =========================================================
   Media
   ========================================================= */
.onlymobile {
	display: none;
}

.onlydesktop {
	display: block;
}

@media (max-width: 1023px) {
	.jobs .jobs-item {
		flex: 1 1 140px;
		flex-basis: 140px;
		margin: 0 12px 40px;
	}

	.bio {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.onlymobile {
		display: block;
	}

	.onlydesktop {
		display: none;
	}

	.text_container {
		padding: var(--space-8) var(--space-5);
		border: var(--border-width) solid var(--color-border);
		border-radius: var(--radius-lg);
		background-image: none;
	}

	.bio {
		padding: var(--space-8) var(--space-5) var(--space-2);
	}

	.help {
		--help-pad-x: var(--space-5);
		padding: var(--space-8) var(--help-pad-x);
	}

	.text_container,
	.text_container > div {
		display: block;
	}

	.text,
	.img_right {
		width: 100%;
	}

	.img_right {
		padding: 0 0 20px;
		text-align: left;
	}

	.img_mobile {
		max-width: 144px;
		height: auto;
		margin: 0;
		padding: 0 0 1.75em;
	}

	.img_mobile .ava {
		margin: 0;
	}

	h1 {
		font-size: 32px;
	}

	.reducer_about {
		position: relative;
		margin-bottom: var(--space-12);
		line-height: var(--leading-normal);
	}

	.reducer_about p {
		position: relative !important;
		top: 0 !important;
		left: 0;
		float: none !important;
		width: 100% !important;
		margin-top: 0 !important;
		margin-bottom: 1.2em !important;
	}

	.search_c {
		display: none;
	}

	.nav {
		z-index: 0;
		margin: 4px 0 0 16px;
	}

	.name {
		margin: 0;
		padding: 12px 0;
		margin: 4px 0 0 20px;
	}

	.button + .button {
		margin-top: 16px;
	}

	#header {
		margin-bottom: 16px;
		overflow: hidden;
		gap: 0;
	}

	#main_page h1 {
		margin: 0 0 0.5em;
		font-size: 56px;
	}

	.content#job h1 {
		margin: 0 0 var(--space-4);
		font-size: 56px;
	}

	h1 {
		font-size: 56px;
	}

	.button {
		width: 100%;
	}

	body {
		font-size: var(--text-body);
	}

	.lead {
		font-size: var(--text-lg);
	}

	.help-tag {
		font-size: var(--text-body);
	}

	.bio {
		grid-template-columns: 1fr;
	}

	.tskirtmain p {
		margin: 0;
		font-weight: var(--weight-bold);
	}
}
/* limo: cover crop for portfolio cards */
.jobs .jobs-item .img-link img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.jobs .jobs-item .img-link {
	display: block;
	overflow: hidden;
	border-radius: var(--radius-md);
}

/* limo: works grid */
.jobs-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--space-grid-gap-y) var(--space-grid-gap-x);
	align-items: start;
	margin: 0;
}
.jobs-grid .jobs-item {
	margin: 0;
	min-width: 0;
}
@media (max-width: 1199px) {
	.jobs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
}
@media (max-width: 767px) {
	.jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
	.jobs-grid { grid-template-columns: 1fr; }
}

/* limo: cover crop for portfolio cards */
.jobs .jobs-item .img-link img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.jobs .jobs-item .img-link {
	display: block;
	overflow: hidden;
	border-radius: var(--radius-md);
}

/* limo: intentional mosaic for the works page */
.jobs-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--space-grid-gap-y) var(--space-grid-gap-x);
	align-items: start;
	margin: 0;
}
.jobs-grid .jobs-item {
	margin: 0;
	min-width: 0;
}
@media (max-width: 1199px) {
	.jobs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
}
@media (max-width: 767px) {
	.jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
	.jobs-grid { grid-template-columns: 1fr; }
}

/* limo: works section rhythm */
.content#jobs .section {
	margin: var(--space-section) 0 var(--space-6);
}
.content#jobs .section:first-child {
	margin-top: 0;
}
@media (max-width: 767px) {
	.content#jobs .section { margin: var(--space-section-sm) 0 var(--space-5); }
}

/* Apps and services: icon + label */
.app-line {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.app-icon {
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	object-fit: contain;
	border-radius: var(--radius-app);
}

@media (max-width: 767px) {
	.text_container > .onlydesktop { display: none; }
}
