/*
Theme Name: soy.manuortega · En construcción
Theme URI: https://soymanuortega.com
Author: soy.manuortega
Description: Tema provisional de una sola página para soymanuortega.com mientras se prepara la web definitiva: fotografía, nombre, mensaje «Web en construcción», LinkedIn y correo. Todo se edita en Apariencia › Personalizar › En construcción.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soymanuortega-construccion
*/

:root {
	--bg: #ffffff;
	--ink: #1d1d1f;
	--ink-2: #5f5f66;
	--ink-3: #86868b;
	--accent: #1f45c8;
	--accent-strong: #15339e;
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
	background: var(--bg); color: var(--ink); font-family: var(--font);
	font-size: 17px; line-height: 1.5; letter-spacing: -0.012em;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.uc { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1.05fr .95fr; }
.uc__content {
	display: flex; flex-direction: column; justify-content: space-between;
	padding: clamp(24px, 4vw, 48px) clamp(20px, 6vw, 96px);
}
.uc__logo { font-size: 1.25rem; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.uc__logo .soy { color: var(--ink-3); font-weight: 400; }
.uc__logo .name { font-weight: 700; }
.uc__main { padding-block: 48px; max-width: 34rem; }
.uc__name { color: var(--accent); font-weight: 600; font-size: .98rem; margin: 0 0 1rem; }
.uc__title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; margin: 0 0 .45em; text-wrap: balance; }
.uc__text { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--ink-2); margin: 0 0 2rem; }
.uc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.uc__button {
	display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: 12px 26px;
	border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 500;
	transition: background-color .25s ease, transform .25s ease;
}
.uc__button:hover { background: var(--accent-strong); }
.uc__button:active { transform: scale(.98); }
.uc__button svg { width: 18px; height: 18px; }
.uc__email { color: var(--ink-2); font-size: .98rem; }
.uc__email a { color: var(--ink); text-decoration: none; border-bottom: 1px solid #c7c7cc; }
.uc__email a:hover { color: var(--accent); border-color: var(--accent); }
.uc__footer { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .8rem; color: var(--ink-3); }
.uc__footer p { margin: 0; }
.uc__footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.uc__footer a { color: var(--ink-3); text-decoration: none; }
.uc__footer a:hover { color: var(--ink); }

.uc__photo { position: relative; overflow: hidden; background: #e9ecf2; }
.uc__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.04); animation: uc-photo 1.6s var(--ease) both; }
@keyframes uc-photo { from { transform: scale(1.1); opacity: 0; } to { transform: scale(1.04); opacity: 1; } }
.uc__main > * { animation: uc-in .9s var(--ease) both; }
.uc__main > :nth-child(2) { animation-delay: .08s; }
.uc__main > :nth-child(3) { animation-delay: .16s; }
.uc__main > :nth-child(4) { animation-delay: .24s; }
@keyframes uc-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
	.uc { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
	.uc__photo { order: -1; height: 52vh; min-height: 320px; }
	.uc__photo img { object-position: 50% 4%; }
	.uc__main { padding-block: 32px 40px; }
	.uc__content { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.uc__photo img, .uc__main > * { animation: none; }
}

/* Páginas legales y otras páginas que se abran desde el pie. */
.uc-page { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.uc-page h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; line-height: 1.1; }
.uc-page .uc__logo { display: inline-block; margin-bottom: 40px; }
