/*
Theme Name: Antonio Díaz — Kadence Child
Theme URI: https://antoniodiaz.pro/
Description: Child theme minimalista para la web personal de Antonio Díaz. Requiere Kadence.
Author: Antonio Díaz
Author URI: https://antoniodiaz.pro/
Template: kadence
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: antonio-diaz
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--ad-paper: #f4f1e8;
	--ad-ink: #050505;
	--ad-blue: #1147ff;
	--ad-red: #ff2b1c;
	--ad-line: 1px solid var(--ad-ink);
	--ad-pad: clamp(28px, 5vw, 72px);
	--ad-sans: "Arial Nova", "Helvetica Neue", Arial, sans-serif;
	--ad-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body.antonio-personal-site {
	margin: 0;
	background: var(--ad-paper);
	color: var(--ad-ink);
	font-family: var(--ad-sans);
	font-size: 18px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.antonio-personal-site a {
	color: inherit;
}

.antonio-personal-site img {
	max-width: 100%;
	height: auto;
}

.antonio-personal-site a:focus-visible,
.antonio-personal-site button:focus-visible {
	outline: 3px solid var(--ad-red);
	outline-offset: 4px;
}

.ad-skip-link {
	position: fixed;
	z-index: 99999;
	top: 12px;
	left: 12px;
	padding: 12px 18px;
	background: var(--ad-ink);
	color: #fff !important;
	font-size: .82rem;
	font-weight: 700;
	transform: translateY(-180%);
	transition: transform 160ms ease;
}

.ad-skip-link:focus {
	transform: translateY(0);
}

/* Cabecera */
.ad-site-header {
	position: relative;
	z-index: 50;
	display: grid;
	grid-template-columns: minmax(300px, 2fr) 120px 1.05fr 1.8fr;
	min-height: 100px;
	border-bottom: var(--ad-line);
	background: var(--ad-paper);
}

.ad-site-header > * {
	display: flex;
	align-items: center;
	padding: 22px 32px;
}

.ad-site-header > * + * {
	border-left: var(--ad-line);
}

.ad-wordmark {
	font-size: clamp(2rem, 3.7vw, 3.55rem);
	font-weight: 800;
	line-height: .95;
	letter-spacing: -.065em;
	text-decoration: none;
}

.ad-signal {
	justify-content: center;
}

.ad-signal span {
	display: block;
	width: 14px;
	height: 14px;
	background: var(--ad-red);
}

.ad-coordinates {
	margin: 0;
	font-family: var(--ad-mono);
	font-size: .72rem;
	font-weight: 600;
	line-height: 1.2;
}

.ad-primary-nav {
	justify-content: flex-end;
}

.ad-menu {
	display: flex;
	gap: clamp(14px, 2vw, 30px);
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ad-menu a {
	position: relative;
	display: block;
	font-size: .94rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.ad-menu a::after {
	position: absolute;
	right: 0;
	bottom: -6px;
	left: 0;
	height: 2px;
	background: var(--ad-ink);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.ad-menu a:hover::after,
.ad-menu .current-menu-item a::after {
	transform: scaleX(1);
}

.ad-menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	color: var(--ad-ink);
	font: inherit;
}

/* Portada */
.ad-main,
.ad-main .entry-content-wrap {
	margin: 0;
	padding: 0;
	background: var(--ad-paper);
}

.ad-front-page > .page,
.ad-front-page > .page > .entry-content,
.ad-front-page .wp-block-html {
	margin: 0;
	padding: 0;
}

.ad-poster {
	min-height: calc(100svh - 100px);
	overflow: hidden;
	border-bottom: var(--ad-line);
}

.ad-hero-grid {
	display: grid;
	grid-template-columns: minmax(520px, 1fr) 1fr;
	min-height: calc(100svh - 180px);
	border-bottom: var(--ad-line);
}

.ad-hero-copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(40px, 5.6vh, 64px) var(--ad-pad);
	border-right: var(--ad-line);
}

.ad-eyebrow {
	margin: 0 0 14px;
	font-size: clamp(.9rem, 1.25vw, 1.08rem);
	font-weight: 600;
	line-height: 1.3;
}

.ad-eyebrow span,
.ad-evidence-bar p span {
	margin: 0 .35em;
}

.ad-rule {
	width: 100%;
	height: 1px;
	background: var(--ad-ink);
	transform-origin: left;
	animation: ad-reveal-x 500ms 100ms cubic-bezier(.22, 1, .36, 1) both;
}

.ad-hero-copy h1 {
	max-width: 690px;
	margin: clamp(28px, 4.8vh, 52px) 0 26px;
	font-size: clamp(3.5rem, 5.45vw, 5.15rem);
	font-weight: 800;
	line-height: .94;
	letter-spacing: -.065em;
	text-wrap: balance;
	animation: ad-rise 450ms 80ms cubic-bezier(.22, 1, .36, 1) both;
}

.ad-intro {
	max-width: 580px;
	margin: 20px 0 0;
	font-size: clamp(1.05rem, 1.45vw, 1.28rem);
	line-height: 1.4;
	animation: ad-rise 450ms 140ms cubic-bezier(.22, 1, .36, 1) both;
}

.ad-hero-actions {
	display: flex;
	gap: 48px;
	align-items: center;
	margin-top: 30px;
	animation: ad-rise 450ms 200ms cubic-bezier(.22, 1, .36, 1) both;
}

.ad-primary-button,
.ad-contact-button {
	display: inline-flex;
	min-height: 68px;
	align-items: center;
	justify-content: center;
	padding: 16px 48px;
	border: 0;
	background: var(--ad-blue);
	color: #fff !important;
	font-size: 1.12rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color 160ms ease, color 160ms ease;
}

.ad-primary-button:hover {
	background: var(--ad-ink);
}

.ad-text-button {
	position: relative;
	font-size: 1.12rem;
	font-weight: 700;
	text-decoration-line: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 7px;
}

.ad-experience-mark {
	position: relative;
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--ad-blue);
}

.ad-experience-mark::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: var(--ad-ink);
	content: "";
	transform: scaleY(0);
	transform-origin: top;
	animation: ad-reveal-y 500ms 100ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.ad-experience-mark > span {
	margin-right: -14%;
	font-size: clamp(23rem, 44vw, 42rem);
	font-weight: 800;
	line-height: .72;
	letter-spacing: -.13em;
	animation: ad-mark-in 600ms cubic-bezier(.22, 1, .36, 1) both;
}

.ad-crosshair {
	position: absolute;
	bottom: -14px;
	left: calc(50% - 14px);
	width: 28px;
	height: 28px;
	border: var(--ad-line);
	border-radius: 50%;
}

.ad-crosshair::before,
.ad-crosshair::after {
	position: absolute;
	background: var(--ad-ink);
	content: "";
}

.ad-crosshair::before {
	top: 13px;
	left: -8px;
	width: 42px;
	height: 1px;
}

.ad-crosshair::after {
	top: -8px;
	left: 13px;
	width: 1px;
	height: 42px;
}

.ad-evidence-bar {
	display: grid;
	grid-template-columns: minmax(320px, 1fr) 2fr;
	min-height: 80px;
	align-items: center;
}

.ad-technical-labels {
	display: flex;
	height: 100%;
	align-items: center;
	padding: 0 40px;
}

.ad-technical-labels span {
	padding: 0 28px;
	font-family: var(--ad-mono);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .06em;
}

.ad-technical-labels span:first-child {
	padding-left: 0;
}

.ad-technical-labels span + span {
	border-left: var(--ad-line);
}

.ad-evidence-bar p {
	margin: 0;
	padding: 22px 36px;
	font-size: clamp(.82rem, 1.15vw, .98rem);
	text-align: center;
}

/* Secciones */
.ad-section {
	padding: clamp(88px, 10vw, 152px) var(--ad-pad);
	border-bottom: var(--ad-line);
}

.ad-section-index {
	margin: 0 0 28px;
	font-family: var(--ad-mono);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .1em;
}

.ad-section-heading {
	display: grid;
	grid-template-columns: minmax(150px, .65fr) minmax(420px, 1.5fr) minmax(260px, 1fr);
	gap: clamp(30px, 5vw, 82px);
	align-items: start;
	margin-bottom: clamp(64px, 8vw, 118px);
}

.ad-section-heading.ad-compact {
	grid-template-columns: minmax(150px, .65fr) minmax(420px, 2.5fr);
}

.ad-section-heading h2 {
	max-width: 850px;
	margin: 0;
	font-size: clamp(2.7rem, 5vw, 5rem);
	font-weight: 500;
	line-height: .98;
	letter-spacing: -.06em;
	text-wrap: balance;
}

.ad-section-lead {
	max-width: 430px;
	margin: 0;
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	line-height: 1.5;
}

/* Proyectos */
.ad-project-list {
	border-top: var(--ad-line);
}

.ad-project-row {
	display: grid;
	grid-template-columns: 72px minmax(190px, .8fr) minmax(280px, 1.3fr) 48px;
	min-height: 112px;
	align-items: center;
	border-bottom: var(--ad-line);
	text-decoration: none !important;
	transition: background-color 160ms ease, color 160ms ease;
}

.ad-project-row:hover {
	background: var(--ad-blue);
	color: #fff;
}

.ad-project-number {
	font-family: var(--ad-mono);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
}

.ad-project-name {
	padding: 28px 32px;
	border-left: var(--ad-line);
	font-size: clamp(1.3rem, 2.25vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -.035em;
}

.ad-project-description {
	padding: 28px 32px;
	border-left: var(--ad-line);
	font-size: clamp(.95rem, 1.3vw, 1.12rem);
	line-height: 1.4;
}

.ad-project-arrow,
.ad-row-arrow {
	font-size: 1.5rem;
	text-align: right;
}

/* Práctica */
.ad-practice-section {
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}

.ad-practice-section .ad-section-heading {
	padding-right: var(--ad-pad);
	padding-left: var(--ad-pad);
}

.ad-practice-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: var(--ad-line);
}

.ad-practice-grid article {
	min-height: 370px;
	padding: 38px clamp(24px, 3vw, 44px) 48px;
}

.ad-practice-grid article + article {
	border-left: var(--ad-line);
}

.ad-label {
	display: inline-flex;
	min-width: 54px;
	min-height: 28px;
	align-items: center;
	justify-content: center;
	border: var(--ad-line);
	font-family: var(--ad-mono);
	font-size: .64rem;
	font-weight: 700;
	letter-spacing: .08em;
}

.ad-practice-grid h3 {
	max-width: 270px;
	margin: 84px 0 22px;
	font-size: clamp(1.45rem, 2.2vw, 2.1rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.045em;
}

.ad-practice-grid p {
	max-width: 300px;
	margin: 0;
	font-size: .94rem;
	line-height: 1.55;
}

/* Sobre mí */
.ad-about-section {
	display: grid;
	grid-template-columns: minmax(300px, .9fr) minmax(460px, 1.1fr);
	gap: clamp(48px, 9vw, 150px);
	align-items: center;
	padding-top: 0;
	padding-bottom: 0;
	overflow: hidden;
}

.ad-about-number {
	align-self: stretch;
	color: var(--ad-blue);
	font-size: clamp(25rem, 48vw, 45rem);
	font-weight: 800;
	line-height: .78;
	letter-spacing: -.15em;
	transform: translateX(-10%);
}

.ad-about-copy {
	padding: clamp(90px, 11vw, 168px) 0;
}

.ad-about-copy h2 {
	max-width: 700px;
	margin: 0 0 48px;
	font-size: clamp(3rem, 5.4vw, 5.5rem);
	font-weight: 500;
	line-height: .94;
	letter-spacing: -.065em;
	text-wrap: balance;
}

.ad-about-copy > p:not(.ad-section-index) {
	max-width: 720px;
	margin: 0 0 24px;
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.65;
}

.ad-about-copy .ad-about-intro {
	font-size: clamp(1.35rem, 2vw, 1.8rem);
	line-height: 1.4;
	letter-spacing: -.025em;
}

.ad-profile-links {
	display: flex;
	flex-wrap: wrap;
	gap: 34px;
	margin-top: 54px;
}

.ad-profile-links a,
.ad-text-cta {
	font-size: .96rem;
	font-weight: 700;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

/* Ideas */
.ad-ideas-section {
	background: var(--ad-ink);
	color: var(--ad-paper);
}

.ad-notes-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--ad-paper);
	border-bottom: 1px solid var(--ad-paper);
}

.ad-notes-grid article {
	min-height: 410px;
	padding: 36px clamp(24px, 3.3vw, 52px) 44px;
}

.ad-notes-grid article + article {
	border-left: 1px solid var(--ad-paper);
}

.ad-notes-grid .ad-label {
	border-color: var(--ad-paper);
}

.ad-notes-grid h3 {
	max-width: 390px;
	margin: 82px 0 28px;
	font-size: clamp(1.65rem, 2.7vw, 2.7rem);
	font-weight: 500;
	line-height: 1.03;
	letter-spacing: -.05em;
}

.ad-notes-grid p {
	max-width: 390px;
	margin: 0;
	font-size: .94rem;
	line-height: 1.6;
}

.ad-text-cta {
	display: inline-flex;
	gap: 16px;
	align-items: center;
	margin-top: 54px;
	color: inherit !important;
}

/* Contacto */
.ad-contact-section {
	padding: clamp(100px, 12vw, 190px) var(--ad-pad);
	background: var(--ad-blue);
	color: #fff;
}

.ad-contact-section h2 {
	max-width: 1100px;
	margin: 0 0 42px;
	font-size: clamp(4rem, 8.5vw, 8.5rem);
	font-weight: 500;
	line-height: .86;
	letter-spacing: -.075em;
}

.ad-contact-section > p:not(.ad-section-index) {
	max-width: 620px;
	margin: 0 0 48px;
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	line-height: 1.55;
}

.ad-contact-button {
	gap: 24px;
	padding: 18px 32px;
	border: 1px solid #fff;
	background: transparent;
	font-size: 1rem;
}

.ad-contact-button:hover {
	background: #fff;
	color: var(--ad-blue) !important;
}

/* Pie */
.ad-footer {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	min-height: 110px;
	align-items: center;
	padding: 24px var(--ad-pad);
	background: var(--ad-ink);
	color: var(--ad-paper);
	font-size: .85rem;
}

.ad-footer > * {
	margin: 0;
}

.ad-footer > :nth-child(2) {
	text-align: center;
}

.ad-footer-mark {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -.04em;
	text-decoration: none;
}

.ad-footer-end {
	text-align: right;
}

.ad-footer-end p {
	margin: 0;
}

.ad-legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: flex-end;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
	font-size: .72rem;
}

/* Páginas interiores */
.ad-page-hero,
.ad-article-hero {
	display: grid;
	grid-template-columns: minmax(150px, .45fr) minmax(500px, 1.55fr);
	gap: clamp(36px, 6vw, 94px);
	padding: clamp(92px, 11vw, 170px) var(--ad-pad);
	border-bottom: var(--ad-line);
}

.ad-page-hero .ad-section-index,
.ad-article-hero .ad-section-index {
	margin: 12px 0 0;
}

.ad-page-hero h1,
.ad-article-hero h1 {
	grid-column: 2;
	max-width: 1050px;
	margin: 0;
	font-size: clamp(4rem, 8vw, 8.2rem);
	font-weight: 500;
	line-height: .88;
	letter-spacing: -.075em;
	text-wrap: balance;
}

.ad-page-hero .ad-page-lead,
.ad-article-hero .ad-page-lead {
	grid-column: 2;
	max-width: 720px;
	margin: 10px 0 0;
	font-size: clamp(1.15rem, 2vw, 1.65rem);
	line-height: 1.45;
}

.ad-page-lead p {
	margin: 0;
}

.ad-entry-content {
	padding: clamp(80px, 9vw, 140px) var(--ad-pad);
}

.ad-entry-content > * {
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
}

.ad-entry-content > .alignwide {
	max-width: 1180px;
}

.ad-entry-content > .alignfull {
	max-width: none;
	margin-right: calc(var(--ad-pad) * -1);
	margin-left: calc(var(--ad-pad) * -1);
}

.ad-entry-content h2 {
	margin-top: 2.2em;
	margin-bottom: .6em;
	font-size: clamp(2.25rem, 4vw, 4rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -.055em;
}

.ad-entry-content h2:first-child {
	margin-top: 0;
}

.ad-entry-content h3 {
	margin-top: 2em;
	font-size: clamp(1.5rem, 2.4vw, 2.2rem);
	line-height: 1.1;
	letter-spacing: -.035em;
}

.ad-entry-content p,
.ad-entry-content li {
	font-size: clamp(1rem, 1.25vw, 1.12rem);
	line-height: 1.75;
}

.ad-entry-content a {
	font-weight: 700;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.ad-entry-content blockquote {
	max-width: 1080px;
	margin-top: 80px;
	margin-bottom: 80px;
	padding: 44px 0;
	border-top: var(--ad-line);
	border-bottom: var(--ad-line);
	font-size: clamp(1.8rem, 3.5vw, 3.5rem);
	line-height: 1.1;
	letter-spacing: -.045em;
}

.ad-entry-content blockquote p {
	font: inherit;
	line-height: inherit;
}

.ad-content-grid,
.ad-project-detail-grid,
.ad-contact-grid,
.ad-legal-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	max-width: 1180px;
	border: var(--ad-line);
	background: var(--ad-ink);
}

.ad-content-card {
	min-height: 260px;
	padding: 34px;
	background: var(--ad-paper);
}

.ad-content-card h3 {
	margin-top: 50px;
}

.ad-content-card p:last-child {
	margin-bottom: 0;
}

.ad-contact-grid .ad-content-card:first-child {
	background: var(--ad-blue);
	color: #fff;
}

.ad-legal-note {
	padding: 24px 28px;
	border-left: 5px solid var(--ad-red);
	background: #fff;
}

/* Blog */
.ad-blog {
	background: var(--ad-ink);
	color: var(--ad-paper);
}

.ad-blog .ad-page-hero {
	border-color: var(--ad-paper);
}

.ad-blog-hero {
	grid-template-columns: minmax(150px, .45fr) minmax(420px, 1fr) minmax(280px, .55fr);
}

.ad-blog-hero .ad-page-lead {
	grid-column: 3;
	grid-row: 1 / span 2;
	margin-top: 12px;
	font-size: 1.1rem;
}

.ad-post-list {
	padding: 0 var(--ad-pad);
}

.ad-post-row {
	display: grid;
	grid-template-columns: 120px minmax(300px, 1fr) minmax(260px, .8fr) 42px;
	gap: 34px;
	align-items: center;
	min-height: 170px;
	border-bottom: 1px solid var(--ad-paper);
}

.ad-post-meta {
	margin: 0;
	font-family: var(--ad-mono);
	font-size: .68rem;
}

.ad-post-row h2 {
	margin: 0;
	font-size: clamp(1.6rem, 3vw, 3rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -.045em;
}

.ad-post-row h2 a {
	text-decoration: none;
}

.ad-post-excerpt p {
	margin: 0;
	font-size: .9rem;
	line-height: 1.5;
}

.ad-row-arrow {
	text-decoration: none;
}

.ad-pagination,
.ad-empty {
	padding: 60px var(--ad-pad) 100px;
}

.ad-pagination .nav-links {
	display: flex;
	gap: 12px;
}

.ad-pagination a,
.ad-pagination .current {
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ad-paper);
	color: var(--ad-paper);
	text-decoration: none;
}

.ad-pagination .current {
	background: var(--ad-paper);
	color: var(--ad-ink);
}

/* Artículo */
.ad-single {
	background: var(--ad-paper);
}

.ad-reading-width {
	max-width: 940px;
	margin: 0 auto;
}

.ad-reading-width > * {
	max-width: 760px;
}

.ad-reading-width > .alignwide,
.ad-reading-width > figure {
	max-width: 940px;
}

.ad-post-navigation {
	padding: 0 var(--ad-pad) 100px;
}

.ad-post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: var(--ad-line);
	border-bottom: var(--ad-line);
}

.ad-post-navigation a {
	display: flex;
	gap: 18px;
	justify-content: space-between;
	padding: 30px;
	font-weight: 700;
	text-decoration: none;
}

.ad-post-navigation .nav-next {
	border-left: var(--ad-line);
	text-align: right;
}

/* 404 */
.ad-error-page {
	min-height: calc(100svh - 210px);
	padding: clamp(92px, 11vw, 170px) var(--ad-pad);
}

.ad-error-page h1 {
	max-width: 1000px;
	margin: 0 0 34px;
	font-size: clamp(4rem, 9vw, 9rem);
	font-weight: 500;
	line-height: .88;
	letter-spacing: -.075em;
}

.ad-error-page > p:not(.ad-section-index) {
	max-width: 620px;
	margin-bottom: 44px;
}

/* Movimiento */
@keyframes ad-reveal-x {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes ad-reveal-y {
	from { transform: scaleY(0); }
	to { transform: scaleY(1); }
}

@keyframes ad-rise {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes ad-mark-in {
	from { opacity: 0; transform: translateX(24px); }
	to { opacity: 1; transform: translateX(0); }
}

/* Tablet */
@media (max-width: 1100px) {
	.ad-site-header {
		grid-template-columns: 1fr 72px 1.5fr;
	}

	.ad-coordinates {
		display: none;
	}

	.ad-hero-grid {
		grid-template-columns: minmax(480px, 1.35fr) .65fr;
	}

	.ad-experience-mark > span {
		margin-left: -35%;
	}

	.ad-section-heading {
		grid-template-columns: minmax(130px, .5fr) minmax(400px, 1.5fr);
	}

	.ad-section-heading .ad-section-lead {
		grid-column: 2;
	}

	.ad-project-row {
		grid-template-columns: 58px minmax(180px, .7fr) minmax(260px, 1.3fr) 38px;
	}

	.ad-practice-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ad-practice-grid article:nth-child(3) {
		border-top: var(--ad-line);
		border-left: 0;
	}

	.ad-practice-grid article:nth-child(4) {
		border-top: var(--ad-line);
	}

	.ad-about-section {
		grid-template-columns: minmax(220px, .55fr) minmax(440px, 1.45fr);
	}

	.ad-about-number {
		font-size: 34rem;
	}

	.ad-blog-hero {
		grid-template-columns: 140px 1fr;
	}

	.ad-blog-hero .ad-page-lead {
		grid-column: 2;
		grid-row: auto;
	}
}

/* Móvil */
@media (max-width: 760px) {
	html {
		scroll-padding-top: 84px;
	}

	.ad-site-header {
		position: sticky;
		top: 0;
		grid-template-columns: 1fr 52px 72px;
		min-height: 84px;
	}

	.admin-bar .ad-site-header {
		top: 46px;
	}

	.ad-site-header > * {
		padding: 18px 20px;
	}

	.ad-wordmark {
		font-size: 2rem;
	}

	.ad-signal {
		padding-right: 0;
		padding-left: 0;
	}

	.ad-menu-toggle {
		display: flex;
		flex-direction: column;
		gap: 7px;
		justify-content: center;
		padding-right: 16px;
		padding-left: 16px;
		font-size: .68rem;
		font-weight: 700;
		text-transform: uppercase;
	}

	.ad-menu-toggle i,
	.ad-menu-toggle i::before {
		display: block;
		width: 24px;
		height: 1px;
		background: var(--ad-ink);
		content: "";
		transition: transform 180ms ease;
	}

	.ad-menu-toggle i::before {
		transform: translateY(6px);
	}

	.ad-menu-toggle[aria-expanded="true"] i {
		transform: translateY(3px) rotate(45deg);
	}

	.ad-menu-toggle[aria-expanded="true"] i::before {
		transform: rotate(-90deg);
	}

	.ad-primary-nav {
		position: absolute;
		top: 84px;
		right: 0;
		left: 0;
		display: none;
		padding: 0;
		border-top: var(--ad-line);
		border-left: 0 !important;
		background: var(--ad-paper);
	}

	.ad-menu-open .ad-primary-nav {
		display: block;
	}

	.ad-menu {
		display: block;
		width: 100%;
	}

	.ad-menu li + li {
		border-top: var(--ad-line);
	}

	.ad-menu a {
		padding: 18px 22px;
		font-size: 1rem;
	}

	.ad-menu a::after {
		display: none;
	}

	.ad-hero-grid {
		position: relative;
		display: block;
		min-height: calc(100svh - 164px);
	}

	.ad-hero-copy {
		min-height: calc(100svh - 244px);
		padding: 40px 22px 34px;
		border-right: 0;
	}

	.ad-hero-copy h1 {
		margin-top: 30px;
		font-size: clamp(2.75rem, 13vw, 4.3rem);
	}

	.ad-experience-mark {
		position: absolute;
		z-index: 0;
		top: 0;
		right: -32%;
		bottom: 0;
		left: 44%;
		opacity: .09;
		pointer-events: none;
	}

	.ad-experience-mark > span {
		margin: 0;
		font-size: 25rem;
	}

	.ad-crosshair {
		display: none;
	}

	.ad-hero-actions {
		flex-wrap: wrap;
		gap: 28px;
	}

	.ad-primary-button {
		min-height: 58px;
		padding: 14px 28px;
	}

	.ad-evidence-bar {
		display: block;
		min-height: auto;
	}

	.ad-technical-labels {
		display: none;
	}

	.ad-evidence-bar p {
		padding: 20px 22px;
		line-height: 1.5;
		text-align: left;
	}

	.ad-section {
		padding: 78px 22px;
	}

	.ad-section-heading,
	.ad-section-heading.ad-compact {
		display: block;
		margin-bottom: 56px;
	}

	.ad-section-heading h2 {
		font-size: clamp(2.7rem, 13vw, 4.6rem);
	}

	.ad-section-lead {
		margin-top: 28px;
	}

	.ad-project-row {
		grid-template-columns: 42px 1fr 28px;
		padding: 22px 0;
	}

	.ad-project-number {
		grid-row: 1 / span 2;
	}

	.ad-project-name {
		padding: 0 14px 8px;
		border-left: 0;
	}

	.ad-project-description {
		grid-column: 2 / 4;
		padding: 0 14px;
		border-left: 0;
		font-size: .82rem;
	}

	.ad-project-arrow {
		grid-row: 1;
		grid-column: 3;
	}

	.ad-practice-section {
		padding: 78px 0 0;
	}

	.ad-practice-grid {
		display: block;
	}

	.ad-practice-grid article {
		min-height: 310px;
		padding: 30px 22px 44px;
		border-top: var(--ad-line);
		border-left: 0 !important;
	}

	.ad-practice-grid article:first-child {
		border-top: 0;
	}

	.ad-practice-grid h3 {
		margin-top: 62px;
	}

	.ad-about-section {
		display: block;
		padding: 0 22px;
	}

	.ad-about-number {
		height: 280px;
		font-size: 23rem;
		transform: translate(-8%, -8%);
	}

	.ad-about-copy {
		padding: 46px 0 88px;
	}

	.ad-about-copy h2 {
		font-size: clamp(3rem, 14vw, 4.8rem);
	}

	.ad-notes-grid {
		display: block;
	}

	.ad-notes-grid article {
		min-height: auto;
		padding: 30px 0 52px;
	}

	.ad-notes-grid article + article {
		border-top: 1px solid var(--ad-paper);
		border-left: 0;
	}

	.ad-notes-grid h3 {
		margin-top: 58px;
	}

	.ad-contact-section {
		padding: 94px 22px;
	}

	.ad-contact-section h2 {
		font-size: clamp(3.7rem, 17vw, 6.2rem);
	}

	.ad-footer {
		display: flex;
		min-height: auto;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 36px 22px;
	}

	.ad-footer > :nth-child(2),
	.ad-footer-end {
		text-align: left;
	}

	.ad-legal-menu {
		justify-content: flex-start;
	}

	.ad-page-hero,
	.ad-article-hero,
	.ad-blog-hero {
		display: block;
		padding: 78px 22px;
	}

	.ad-page-hero h1,
	.ad-article-hero h1 {
		margin-top: 34px;
		font-size: clamp(3.6rem, 16vw, 6.4rem);
	}

	.ad-page-hero .ad-page-lead,
	.ad-article-hero .ad-page-lead,
	.ad-blog-hero .ad-page-lead {
		margin-top: 28px;
	}

	.ad-entry-content {
		padding: 72px 22px;
	}

	.ad-content-grid,
	.ad-project-detail-grid,
	.ad-contact-grid,
	.ad-legal-grid {
		display: block;
	}

	.ad-content-card + .ad-content-card {
		border-top: var(--ad-line);
	}

	.ad-post-row {
		grid-template-columns: 1fr 32px;
		gap: 12px;
		padding: 28px 0;
	}

	.ad-post-meta,
	.ad-post-excerpt {
		grid-column: 1;
	}

	.ad-post-row h2 {
		grid-column: 1;
	}

	.ad-row-arrow {
		grid-column: 2;
		grid-row: 1 / span 3;
		align-self: center;
	}

	.ad-post-navigation .nav-links {
		display: block;
	}

	.ad-post-navigation .nav-next {
		border-top: var(--ad-line);
		border-left: 0;
	}
}

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

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

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