/*
Theme Name: oscarardila
Theme URI: https://oscarardila.com
Description: GeneratePress child. One page. White, black, responsive.
Author: Oscar Ardila
Template: generatepress
Version: 0.1.2
License: GNU General Public License v2 or later
Text Domain: oscarardila
Requires at least: 6.5
Requires PHP: 8.0
*/

:root {
	--oa-bg: #ffffff;
	--oa-fg: #000000;
	--oa-muted: #444444;
}

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

html {
	background: var(--oa-bg);
	-webkit-text-size-adjust: 100%;
}

body,
body.home {
	margin: 0;
	min-height: 100dvh;
	background: var(--oa-bg);
	color: var(--oa-fg);
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.oa {
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1.5rem, 6vw, 4rem);
}

.oa-card {
	width: min(32rem, 100%);
}

.oa-name {
	margin: 0;
	font-size: clamp(2.75rem, 9vw, 3.5rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: var(--oa-fg);
	text-wrap: balance;
}

.oa-role {
	margin: 0.9rem 0 0;
	font-size: clamp(1rem, 2.6vw, 1.125rem);
	font-weight: 400;
	color: var(--oa-fg);
}

.oa-stack {
	margin: 0.4rem 0 0;
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--oa-muted);
}

.oa-rule {
	margin: 1.75rem 0;
	border: 0;
	border-top: 1px solid var(--oa-fg);
	width: 2rem;
}

.oa-bio {
	margin: 0;
	max-width: 28rem;
	color: var(--oa-fg);
	font-size: clamp(0.95rem, 2.4vw, 1.05rem);
	line-height: 1.55;
}

.oa-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.oa-links a {
	color: var(--oa-fg);
	text-decoration: none;
	font-size: 0.95rem;
	border-bottom: 1px solid var(--oa-fg);
	padding: 0.5rem 0 0.15rem;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.oa-links a:hover,
.oa-links a:focus-visible {
	color: var(--oa-muted);
	border-bottom-color: var(--oa-muted);
}

@media (max-width: 480px) {
	.oa {
		align-items: flex-start;
		padding-top: max(16vh, 3rem);
	}
}
