/* Fluid layouts; loaded after presentation styles. No clipping to hide overflow. */
:root { --page-gutter:clamp(16px,4vw,64px); }
.content-card,.section-band,.feature-banner,.latest-note,.about-page,.single-entry { border-radius:var(--card-radius); }
html { scroll-padding-top:110px; -webkit-text-size-adjust:100%; }
.site-main,.site-footer { width:min(var(--max),calc(100% - var(--page-gutter)*2)); }
.site-main > *, .hero-copy, .section-heading > *, .content-card, .content-card > *, .home-cta > *, .footer-columns > *, .about-introduction { min-width:0; }
h1,h2,h3,p,li,.button-link,.text-link { overflow-wrap:anywhere; }
h1,h2 { text-wrap:balance; }
.hero h1 { font-size:clamp(2rem,4.8vw,5.4rem); line-height:1.06; max-width:100%; }
.hero-copy { width:100%; }
.hero-copy p { max-width:100%; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.hero-actions a,.home-cta .primary-button { white-space:normal; text-align:center; min-height:44px; }
.section-heading { flex-wrap:wrap; }
.search-form label { min-width:0; }
input,select,textarea { max-width:100%; font-size: max(16px,1em); }
.entry-content iframe,.entry-content video,.entry-content embed,.entry-content object { max-width:100%; }
.entry-content iframe[src*="youtube"],.entry-content iframe[src*="vimeo"] { width:100%; height:auto; aspect-ratio:16/9; }
.entry-content pre,.entry-content .wp-block-table { max-width:100%; overflow-x:auto; }
.entry-content table { max-width:100%; overflow-wrap:anywhere; }
.entry-content img { max-width:100%; height:auto; }
.page-cover,.project-cover { max-width:100%; margin-inline:0; }
.page-cover img,.project-cover img { width:100%; height:auto; object-fit:contain; }
.pagination .nav-links { display:flex; flex-wrap:wrap; gap:8px; }
.pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }
.site-footer { padding-bottom:max(30px,env(safe-area-inset-bottom)); }
.menu-toggle { display:none; }
@media (min-width:1101px) {
 .site-header { left:max(var(--page-gutter),calc((100vw - var(--max))/2)); right:max(var(--page-gutter),calc((100vw - var(--max))/2)); }
 .site-main { padding-top:140px; }
 .hero { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:32px; }
 .hero-copy { max-width:700px; }
}
@media (max-width:1100px) {
 html { scroll-padding-top:100px; }
 .site-header { position:sticky; top:max(10px,env(safe-area-inset-top)); left:auto; right:auto; width:min(var(--max),calc(100% - var(--page-gutter)*2)); margin:12px auto 0; padding:0; display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:10px; }
 .site-header .brand-lockup { min-width:0; grid-column:1; grid-row:1; }
 .site-header .site-logo { width:44px; height:48px; min-width:0; }
 .site-header .site-logo img { width:44px; height:48px; object-fit:contain; }
 .site-header > .contact-button { grid-column:2; grid-row:1; min-height:44px; padding:10px 16px; font-size:.875rem; justify-self:end; }
 .nav-ready .menu-toggle { grid-column:3; grid-row:1; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:44px; min-height:44px; padding:10px 12px; border:1px solid var(--line); border-radius:var(--pill); background:rgba(24,20,40,.7); color:var(--ink); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); font:inherit; font-size:.875rem; cursor:pointer; }
 .menu-toggle-icon { width:16px; height:12px; border-block:1.5px solid currentColor; position:relative; }
 .menu-toggle-icon::after { content:""; position:absolute; top:4px; left:0; width:16px; border-top:1.5px solid currentColor; }
 .site-header .nav-capsule { grid-column:1/-1; grid-row:2; width:100%; justify-self:stretch; margin:0; border-radius:20px; padding:12px; max-height:calc(100dvh - 100px); overflow:auto; }
 .nav-ready .site-header .nav-capsule { display:none; position:absolute; top:calc(100% + 10px); left:0; background:linear-gradient(130deg,rgba(255,255,255,.08),transparent),rgba(15,12,26,.88); }
 .nav-ready .site-header.menu-open .nav-capsule { display:block; }
 .header-nav-shell,.site-nav { width:100%; }
 .site-header .site-nav .menu { display:flex; flex-direction:column; align-items:stretch; gap:2px; max-width:none; }
 .site-header .site-nav .menu li { width:100%; }
 .site-header .site-nav .menu a { display:block; padding:13px 16px; min-height:46px; white-space:normal; overflow-wrap:anywhere; text-align:left; }
 .site-main.home-main,.site-main.archive-main,.site-main.page-main,.site-main.article-main { padding-top:24px; }
 .hero { grid-template-columns:minmax(0,1fr) minmax(0,.9fr); padding:36px; gap:24px; min-height:0; }
 .hero-portrait { position:relative; width:100%; grid-row:auto; right:auto; align-self:end; margin:0; }
 .hero h1 { font-size:clamp(2.2rem,5vw,3.8rem); }
 .hero-copy p { font-size:1.05rem; }
 .post-grid,.project-strip,.apps-band .project-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .topic-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .single-entry > .article-layout { grid-template-columns:minmax(0,1fr); }
 .article-layout > .article-indexes { padding:24px 0 0; border-left:0; border-top:1px solid var(--line); }
 .article-footer { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 .article-footer .share-block { justify-items:start; }
 .feature-banner { padding-right:80px; }
}
@media (max-width:700px) {
	/* Encabezado móvil tipo cápsula liquid glass. */
	.site-header {
		position: fixed; z-index: 100; top: max(14px, env(safe-area-inset-top));
		width: calc(100% - 32px); margin: 14px auto 0; padding: 8px 10px;
		border: 1px solid rgba(255,255,255,.42); border-radius: 999px;
		background: rgba(255,255,255,.72); color:#17131f;
		box-shadow: 0 12px 36px rgba(8,5,20,.2), inset 0 1px rgba(255,255,255,.65);
		backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
	}
	.site-header .site-logo, .site-header .site-logo img { width:40px; height:40px; }
	.site-header .site-logo img { filter: brightness(0) saturate(100%); }
	.site-header { grid-template-columns:minmax(0,1fr) auto; }
	.site-header > .contact-button { display:none; }
	.site-header .brand-lockup { grid-column:1; }
	.nav-ready .menu-toggle { grid-column:2; }
	.nav-ready .menu-toggle { min-height:40px; min-width:40px; padding:9px 11px; border-color:rgba(25,20,35,.22); background:rgba(255,255,255,.35); color:#17131f; }
	.nav-ready .site-header .nav-capsule { display:none; position:fixed; z-index:99; top:0; left:0; right:0; width:100vw; height:100dvh; max-height:none; padding:112px 28px 40px; border-radius:0; background:rgba(246,244,250,.96)!important; color:#17131f; border:0; box-shadow:none; backdrop-filter:blur(24px) saturate(120%); -webkit-backdrop-filter:blur(24px) saturate(120%); }
	.nav-ready .site-header.menu-open .nav-capsule { display:block; }
	.nav-ready .site-header.menu-open .nav-capsule { z-index:100; min-height:220px; }
	.nav-ready .site-header.menu-open .nav-capsule .header-nav-shell,
	.nav-ready .site-header.menu-open .nav-capsule .site-nav { display:block; width:100%; }
	.nav-ready .site-header .site-nav .menu { gap:4px; }
	.nav-ready .site-header .site-nav .menu a { border-radius:14px; color:#17131f; font-size:.95rem; font-weight:600; padding:12px 14px; }
	.nav-ready .site-header .site-nav .menu a:hover, .nav-ready .site-header .site-nav .menu a:focus-visible { background:rgba(124,44,255,.1); }
	.single-entry { margin-inline:0; }
	.single-entry > .single-hero, .single-entry > .article-layout { border-radius:0; margin-inline:0; }
	.single-entry > .single-hero { padding:24px 18px 14px; }
	.single-entry .article-layout { padding:18px 18px 28px; }
	.single-entry .article-indexes { margin-inline:0; padding-inline:0; }
	.single-entry .entry-content { max-width:none; }
	.single-entry .entry-content > p, .single-entry .entry-content > ul, .single-entry .entry-content > ol, .single-entry .entry-content > blockquote { margin-inline:0; }
	.single-entry .article-footer { margin-inline:0; }
	.site-main.home-main { padding-top:18px; }
	.latest-note-media { position:relative; inset:auto; width:100%; height:190px; margin:-28px -24px 24px; width:calc(100% + 48px); mask-image:linear-gradient(180deg,#000 60%,transparent); opacity:.6; }
	.latest-note > a > :not(.latest-note-media) { max-width:none; }
	body.fb-full-width-light .site-main.full-width-light-main { padding-top:0!important; }

	.hero { grid-template-columns:minmax(0,1fr); padding:28px 24px 0; gap:24px; }
 .hero h1 { font-size:clamp(1.9rem,8.2vw,3.4rem); }
 .hero-portrait { width:min(100%,420px); grid-row:2; margin-inline:auto; }
 .hero-actions { gap:10px; }
 .hero-actions a { padding:12px 16px; font-size:.9rem; }
 .section-band,.apps-band,.feature-banner { padding:28px 24px; }
 .feature-banner { padding-bottom:84px; }
 .feature-banner .feature-link { top:auto; bottom:22px; right:24px; }
 .section-heading { align-items:flex-start; gap:16px; }
 .section-heading h2,.home-cta h2 { font-size:clamp(1.5rem,6vw,2.3rem); }
 .post-grid,.project-strip,.apps-band .project-strip { grid-template-columns:minmax(0,1fr); }
 .topic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .archive-header h1,.page-hero h1,.single-hero h1,.legal-page .page-hero h1,.about-hero h1 { font-size:clamp(1.8rem,7.5vw,3rem); line-height:1.12; }
 .single-entry > .single-hero { padding:28px 24px 16px; }
 .article-layout { padding:20px 24px 32px; }
 .article-footer { grid-template-columns:minmax(0,1fr); }
 .article-facts { flex-wrap:wrap; }
 .entry-content { font-size:1rem; line-height:1.75; }
 .entry-content h2 { font-size:clamp(1.4rem,5.5vw,2rem); }
 .about-hero { padding:28px 24px; gap:24px; }
 .about-page .page-reading-layout { padding:28px 24px; }
 .legal-page .page-hero { padding:28px 24px; }
 .legal-sidebar a { min-height:44px; }
 .footer-invitation { padding-inline:0; }
 .footer-columns { gap:24px 16px; }
 .footer-redesign .footer-menu a { display:inline-flex; align-items:center; min-height:44px; }
 .footer-redesign .footer-menu { gap:2px; }
 .footer-bottom a { display:inline-flex; align-items:center; min-height:44px; }
 .recent-row__meta { white-space:normal; }
 .home-cta { align-items:stretch; }
 .entry-content .alignleft,.entry-content .alignright { float:none; margin:24px 0; }
}
@media (max-width:359px) {
 .site-header > .contact-button { padding-inline:12px; }
 .hero,.section-band,.apps-band,.archive-header { padding-inline:20px; }
 .hero-actions { flex-direction:column; }
 .topic-grid,.footer-columns { grid-template-columns:minmax(0,1fr); }
 .footer-identity { grid-column:auto; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
/* Article navigation follows the same reading layout as the legal pages. */
.single-entry.entry { overflow:visible; }
.single-entry > .entry-cover { overflow:hidden; border-radius:var(--card-radius) var(--card-radius) 0 0; }
.single-entry > .single-hero { padding-bottom:36px; border-bottom:1px solid var(--line); }
.single-entry > .article-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:48px; align-items:start; padding:40px clamp(24px,4vw,56px) 52px; }
.single-entry .article-layout > .article-indexes { position:sticky; top:110px; display:block; max-height:calc(100dvh - 134px); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:var(--line-strong) transparent; padding:0 12px 0 0; margin:0; border:0; background:none; box-shadow:none; border-radius:0; }
.article-indexes .article-index { margin:0 0 28px; }
.article-indexes .article-index summary { padding:8px 0 16px; font-size:.85rem; font-weight:650; color:var(--muted-strong); cursor:pointer; }
.article-indexes .article-index summary::marker { color:var(--accent); }
.article-indexes .article-index ol { margin:0; padding:0; list-style:none; display:block; }
.article-indexes .article-index li { margin:0; padding:0; }
.article-indexes .article-index--toc li a { display:block; padding:9px 12px; border-left:2px solid var(--line); font-size:.85rem; line-height:1.5; font-weight:450; }
.article-indexes .article-index--toc li.is-level-3 a { padding-left:24px; font-size:.8rem; }
.article-indexes .article-index--toc a:hover,.article-indexes .article-index--toc a[aria-current="location"] { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 12%,transparent); color:var(--ink); }
.article-indexes .category-index__link { grid-template-columns:minmax(0,1fr) auto; padding:9px 12px; border-left:2px solid var(--line); font-size:.85rem; line-height:1.5; }
.article-indexes .category-index__number { display:none; }
.article-indexes .is-current > .category-index__link { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 12%,transparent); }
.article-indexes .category-index__posts { margin:8px 0 16px; padding-left:20px; }
.article-indexes .category-index__posts a { display:block; padding:8px 0; font-size:.8rem; }
.single-entry .article-layout > .entry-content { min-width:0; width:100%; max-width:780px; margin:0; }
.single-entry .entry-content :is(h2,h3) { scroll-margin-top:110px; }
@media(max-width:1000px) {
 .single-entry > .article-layout { grid-template-columns:minmax(0,1fr); gap:28px; padding:24px; }
 .single-entry .article-layout > .article-indexes { position:static; max-height:none; padding:0; overflow:visible; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .article-indexes .article-index { align-self:start; margin:0; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.025); }
 .article-indexes .article-index summary { padding:14px 16px; min-height:48px; }
 .article-indexes .article-index > ol { max-height:50dvh; overflow-y:auto; padding:0 12px 12px; }
 .article-indexes .article-index--toc li a,.article-indexes .category-index__link { min-height:44px; }
 .single-entry .article-layout > .entry-content { max-width:100%; }
}
@media(max-width:560px) { .single-entry .article-layout > .article-indexes { grid-template-columns:minmax(0,1fr); } }
.single-entry .entry-content h2 { font-size:clamp(1.5rem,2.5vw,2.25rem); line-height:1.2; }
.single-entry .entry-content h3 { font-size:clamp(1.2rem,1.8vw,1.6rem); line-height:1.3; }
@media(min-width:1001px) {
 .article-indexes .article-index--toc > ol { max-height:40dvh; overflow-y:auto; scrollbar-width:thin; }
 .article-indexes .article-index--categories > ol { max-height:24dvh; overflow-y:auto; scrollbar-width:thin; }
}

.app-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.app-card { display:grid; grid-template-columns:76px minmax(0,1fr); gap:22px; padding:32px; border:1px solid rgba(255,255,255,.14); border-radius:24px; background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.018)); }
.app-card__icon { width:76px; height:76px; object-fit:contain; border-radius:18px; }
.app-card .eyebrow { font-size:.66rem; margin:0 0 8px; letter-spacing:.1em; }
.app-card h3 { margin:0 0 14px; font-size:clamp(1.4rem,2.3vw,2rem); line-height:1.15; }
.app-card__description { margin:0; color:var(--muted); font-size:1rem; line-height:1.7; }
.app-card__link { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; min-height:44px; padding-top:18px; border-top:1px solid rgba(255,255,255,.1); color:#ddb1ff; font-weight:700; }
.app-card a:focus-visible,.app-feature a:focus-visible { outline:2px solid #ddb1ff; outline-offset:6px; }
.feature-banner.app-feature { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); align-items:center; gap:32px; padding:40px 56px; background:radial-gradient(ellipse at 85% 65%,rgba(87,65,130,.32),transparent 60%),#13101c; }
.feature-banner.app-feature::after { display:none; }
.app-feature h2 { font-size:clamp(2rem,4vw,3.6rem); line-height:1.05; margin:14px 0 22px; }
.app-feature .secondary-button { gap:22px; margin-top:14px; min-height:48px; padding:12px 22px; white-space:normal; }
.app-feature__visual { margin:0; display:grid; place-items:center; }
.app-feature__visual img { width:100%; max-width:280px; height:330px; object-fit:contain; filter:drop-shadow(0 20px 24px rgba(0,0,0,.25)); }
#mis-apps { scroll-margin-top:120px; }
@media(max-width:700px) {
 .app-grid { grid-template-columns:minmax(0,1fr); }
 .app-card { padding:24px; grid-template-columns:60px minmax(0,1fr); gap:18px; }
 .app-card__icon { width:60px; height:60px; }
 .feature-banner.app-feature { padding:28px 24px; grid-template-columns:minmax(0,1fr); gap:24px; }
 .app-feature__visual img { height:260px; }
}

/* Editorial grid: cover and navigation alongside one continuous reading axis. */
.single-entry.editorial-entry { display:grid; grid-template-columns:minmax(230px,.78fr) minmax(0,2fr); gap:32px 48px; padding:clamp(24px,4vw,52px); align-items:start; }
.editorial-entry > .entry-cover { grid-column:1; grid-row:1; border-radius:16px; margin:0; align-self:start; }
.editorial-entry > .entry-cover img { width:100%; height:auto; max-height:none; object-fit:contain; border-radius:16px; }
.editorial-entry > .entry-cover figcaption { display:flex; justify-content:space-between; padding:12px 2px 0; font-size:.7rem; color:var(--muted); }
.single-entry.editorial-entry > .single-hero { grid-column:2; grid-row:1; padding:0 0 30px; margin:0; border-bottom:1px solid var(--line); overflow:visible; }
.editorial-entry .single-hero::before { display:none; }
.editorial-entry .single-hero h1 { font-size:clamp(2rem,3.5vw,3.55rem); line-height:1.07; margin:12px 0 20px; text-wrap:pretty; }
.editorial-entry .single-hero__copy > p:not(.eyebrow) { font-size:1.12rem; line-height:1.65; margin-top:22px; }
.editorial-entry .article-facts { gap:4px 12px; }
.editorial-entry .article-facts span { font-size:.75rem; min-height:28px; }
.single-entry.editorial-entry > .article-layout { display:contents; }
.editorial-entry .article-layout > .article-indexes { grid-column:1; grid-row:2; }
.editorial-entry .article-layout > .entry-content { grid-column:2; grid-row:2; }
.editorial-entry .entry-content > :first-child { margin-top:0; }
.single-entry.editorial-entry > .entry-footer { grid-column:1/-1; margin:16px 0 0; }
@media(max-width:1000px) {
 .single-entry.editorial-entry { grid-template-columns:minmax(180px,.7fr) minmax(0,1.4fr); gap:28px; }
 .editorial-entry .article-layout > .article-indexes { grid-column:1/-1; grid-row:2; }
 .editorial-entry .article-layout > .entry-content { grid-column:1/-1; grid-row:3; }
}
@media(max-width:700px) {
 .single-entry.editorial-entry { grid-template-columns:minmax(0,1fr); padding:24px; gap:24px; }
 .editorial-entry > .entry-cover { grid-column:1; grid-row:2; width:100%; max-width:420px; justify-self:center; }
 .single-entry.editorial-entry > .single-hero { grid-column:1; grid-row:1; padding-bottom:24px; }
 .editorial-entry .single-hero h1 { font-size:clamp(1.85rem,7.5vw,2.75rem); }
 .editorial-entry .article-layout > .article-indexes { grid-column:1; grid-row:3; }
 .editorial-entry .article-layout > .entry-content { grid-column:1; grid-row:4; }
}
/* Translucent material; foreground adapts independently over light surfaces. */
.site-header .nav-capsule,.site-header.is-scrolled .nav-capsule,.nav-ready .site-header .nav-capsule { background:linear-gradient(125deg,rgba(255,255,255,.16),rgba(255,255,255,.025) 48%,rgba(255,255,255,.08)),rgba(18,16,30,var(--glass-alpha)); backdrop-filter:blur(var(--glass-blur)) saturate(175%); -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(175%); }
.site-header .site-nav .menu a { color:#f4efff; text-shadow:0 1px 3px rgba(0,0,0,.35); }
.site-header .nav-capsule.glass-on-light { background:linear-gradient(125deg,rgba(255,255,255,.48),rgba(255,255,255,.16) 48%,rgba(255,255,255,.28)),rgba(255,255,255,.16); border-color:rgba(255,255,255,.6); box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 -1px 0 rgba(255,255,255,.22),0 8px 30px rgba(25,16,42,.12); }
.site-header .nav-capsule.glass-on-light .menu a { color:#272032; text-shadow:none; }
.site-header .nav-capsule.glass-on-light .menu a:hover { color:#7025a8; }
.site-header .site-logo.glass-on-light img { filter:brightness(0); }
.site-header .site-logo.glass-on-light { filter:drop-shadow(0 1px 2px rgba(255,255,255,.5)); }
.site-header .menu-toggle.glass-on-light { background:rgba(255,255,255,.3); color:#272032; border-color:rgba(40,30,55,.16); }

/* Keep the sticky index inside the reading area, above the author. */
.single-entry.editorial-entry > .article-layout { display:grid; grid-column:1/-1; grid-template-columns:minmax(230px,.78fr) minmax(0,2fr); gap:48px; padding:0; min-width:0; }
.editorial-entry .article-layout > .article-indexes { grid-column:1; grid-row:1; }
.editorial-entry .article-layout > .entry-content { grid-column:2; grid-row:1; }
.topic-card { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:10px; min-width:0; }
.topic-card > span { min-width:0; overflow-wrap:anywhere; }
.topic-card > small { white-space:nowrap; }
.site-header .contact-button { min-height:42px; padding:10px 20px; font-size:.85rem; line-height:1.2; box-shadow:0 4px 18px rgba(155,66,255,.22); }
.footer-brand img { filter:brightness(0) invert(1); }
.share-links svg { display:block; width:20px; height:20px; }
.share-links a,.share-links button { width:44px; height:44px; }
@media(max-width:1000px) {
 .single-entry.editorial-entry > .article-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
 .editorial-entry .article-layout > .article-indexes { grid-column:1; grid-row:1; }
 .editorial-entry .article-layout > .entry-content { grid-column:1; grid-row:2; }
}
@media(max-width:700px) {
 .single-entry.editorial-entry > .article-layout { grid-row:3; }
 .site-header .contact-button { min-height:40px; padding:10px 14px; font-size:.8rem; }
 .topic-card { padding:16px 12px; gap:8px; }
}
/* Soft reveals and pointer-lit surfaces, respecting the motion preference. */
@media(prefers-reduced-motion:no-preference) {
 .fb-motion .motion-pending { opacity:0; translate:0 22px; }
 .fb-motion .motion-revealed { animation:surface-reveal .7s cubic-bezier(.2,.7,.2,1) both; animation-delay:var(--reveal-delay,0ms); }
 @keyframes surface-reveal { from { opacity:0; translate:0 22px; } to { opacity:1; translate:0 0; } }
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .fb-motion .pointer-surface { transition:rotate .35s ease,box-shadow .35s ease; }
 .fb-motion .pointer-surface:hover { rotate:var(--tilt,0deg); box-shadow:inset var(--light-x,0px) var(--light-y,0px) 50px -25px rgba(208,157,255,.3),0 18px 42px rgba(0,0,0,.2); }
}

/* Biography: generous photographs and a consistent editorial rhythm. */
.page-entry.about-page { width:100%; max-width:none; background:linear-gradient(135deg,rgba(12,10,24,.98),rgba(45,16,78,.94)); border:1px solid var(--line); border-radius:var(--card-radius); padding:clamp(28px,3.6vw,56px); box-shadow:none; overflow:hidden; }
body:has(.about-page)::before { opacity:.08; }
.about-page .about-hero { display:flex; flex-direction:column; align-items:stretch; padding:0; gap:42px; background:none; border:0; }
.about-page .about-introduction { display:grid; grid-template-columns:1.25fr 1fr; gap:18px 64px; align-items:start; padding:20px 0 0; }
.about-introduction > .eyebrow { grid-column:1/-1; margin:0; }
.about-page .about-hero h1 { grid-column:1; grid-row:2/4; font-size:clamp(2.5rem,4.8vw,4.6rem); max-width:760px; margin:0; }
.about-page .about-lead { grid-column:2; margin:4px 0 0; font-size:1.2rem; line-height:1.7; }
.about-page .about-introduction .button-link { grid-column:2; justify-self:start; margin:0; }
.about-page .about-portrait { width:100%; max-width:none; margin:0; }
.about-page .about-portrait img { display:block; width:100%; height:auto; max-height:none; border-radius:20px; }
.about-page .about-monogram { display:none; }
.about-page .page-reading-layout { max-width:none; padding:0; margin:64px 0 0; }
.about-page .entry-content { max-width:none; font-size:1.06rem; }
.about-chapter { padding:54px 0; border-top:1px solid var(--line); }
.about-chapter--illustrated { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,6vw,84px); align-items:center; }
.about-chapter__copy { min-width:0; max-width:760px; }
.about-chapter:nth-child(even) .about-chapter__copy { order:2; }
.about-chapter:nth-child(even) .about-chapter__media { order:1; }
.about-page .entry-content h2 { margin:0 0 24px; padding:0; text-align:left; font-size:clamp(1.8rem,3vw,2.8rem); line-height:1.12; }
.about-chapter__copy > :first-child { margin-top:0; }
.about-chapter__copy > :last-child { margin-bottom:0; }
.about-page .about-chapter__media .wp-block-image,.about-page .about-chapter__media figure { width:100%; margin:0; float:none; }
.about-page .about-chapter__media img { display:block; width:100%!important; height:auto!important; max-width:100%; border-radius:18px!important; clip-path:none!important; object-fit:contain; }
.about-chapter__media { min-width:0; }
.about-chapter__media > * + * { margin-top:24px!important; }
.about-page .wp-block-latest-posts { float:none; padding:0; width:100%; }
.about-page .wp-block-latest-posts li { padding:16px 0; border-bottom:1px solid var(--line); }
.about-page .wp-block-latest-posts a { text-decoration:none; }
@media(max-width:700px) {
 .about-page .about-introduction { display:block; padding:0; }
 .about-page .about-hero h1 { margin:18px 0 24px; }
 .about-page .about-lead { font-size:1.05rem; margin-bottom:24px; }
 .about-page .about-hero { gap:28px; }
 .about-page .about-portrait img { border-radius:12px; }
 .about-page .page-reading-layout { margin-top:36px; padding:0; }
 .about-chapter,.about-chapter--illustrated { display:flex; flex-direction:column; align-items:stretch; gap:28px; padding:32px 0; }
 .about-chapter .about-chapter__copy { order:0; }
 .about-chapter .about-chapter__media { order:1; }
}
.about-page .entry-content > .about-chapter { max-width:none; width:100%; }
@media(max-width:700px) {
 .about-chapter:nth-child(even) .about-chapter__copy { order:0; }
 .about-chapter:nth-child(even) .about-chapter__media { order:1; }
}

.home-cta.social-hub { display:grid; grid-template-columns:1.1fr 1fr; gap:40px; align-items:center; padding:clamp(24px,4vw,52px); }
.social-hub__intro h2 { max-width:620px; }
.social-hub__links { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:12px; min-width:0; }
.social-profile { display:flex; align-items:center; gap:16px; padding:22px; min-width:0; color:var(--ink); border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.045); text-decoration:none; }
.social-profile__symbol { display:grid; place-items:center; flex:0 0 44px; height:44px; border-radius:12px; background:rgba(174,108,255,.15); font-size:28px; font-weight:800; }
.social-profile__text { display:grid; gap:4px; min-width:0; }
.social-profile__text strong { font-size:1.05rem; }
.social-profile__text > span { font-size:.8rem; color:var(--muted); }
.social-profile__arrow { margin-left:auto; flex-shrink:0; }
.social-profile:hover,.social-profile:focus-visible { border-color:var(--accent); background:rgba(155,66,255,.14); }
@media(prefers-reduced-motion:no-preference) {
 .fb-motion .social-profile { transition:transform .25s ease,background .25s ease,border-color .25s ease; }
 .fb-motion .social-profile__arrow { transition:transform .25s ease; }
 .fb-motion .social-profile:hover { transform:translateY(-3px); }
 .fb-motion .social-profile:hover .social-profile__arrow { transform:translate(2px,-2px); }
}
@media(max-width:800px) { .home-cta.social-hub { grid-template-columns:1fr; gap:24px; } }
.social-profile__symbol img { display:block; width:24px; height:24px; filter:brightness(0) invert(1); }
.home-cta.social-hub { grid-template-columns:minmax(0,1fr); gap:28px; }
.social-hub__intro > p:not(.eyebrow) { max-width:620px; }
/* Compact social strip. */
.home-cta.social-hub { padding:24px 28px; gap:20px; border-radius:20px; grid-template-columns:auto minmax(0,1fr); }
.social-hub__intro .eyebrow,.social-hub__intro > p:not(.eyebrow) { display:none; }
.social-hub__intro h2 { margin:0; font-size:1.2rem; line-height:1.3; letter-spacing:-.025em; }
.social-hub__links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.social-profile { gap:9px; padding:10px 13px; min-height:44px; border-radius:12px; }
.social-profile__symbol { flex-basis:20px; width:20px; height:20px; border-radius:0; background:none; }
.social-profile__symbol img { width:19px; height:19px; }
.social-profile__text strong { font-size:.82rem; font-weight:600; }
.social-profile__arrow { display:none; }
@media(max-width:1000px) {
 .home-cta.social-hub { grid-template-columns:1fr; gap:16px; }
 .social-hub__links { justify-content:flex-start; }
}
@media(max-width:560px) {
 .home-cta.social-hub { padding:20px; }
 .social-hub__links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
 .social-profile { justify-content:center; padding:10px 6px; gap:6px; }
 .social-profile__text strong { font-size:.72rem; }
 .social-profile__symbol { flex-basis:16px; width:16px; height:16px; }
 .social-profile__symbol img { width:16px; height:16px; }
}
@media(max-width:360px) { .social-hub__links { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.skip-link { position:fixed; top:12px; left:12px; z-index:100000; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; background:#fff; color:#17121f; border-radius:8px; }
.skip-link:focus-visible { width:auto; height:auto; padding:12px 20px; overflow:visible; clip-path:none; white-space:normal; }
:where(a,button,input,select,textarea,summary):focus-visible { outline:2px solid #cb9cff; outline-offset:4px; }
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto!important; }
 .fb-motion *, .reveal-in { animation:none!important; transition:none!important; }
 .fb-motion .motion-pending { opacity:1; translate:none; }
}

/* Project pages start below the sticky header on every breakpoint. */
.project-entry { padding-top:clamp(40px,6vw,84px)!important; }

/* Elementor portfolio pages use their own article wrapper. */
.portfolio-template article.mq-version,
.portfolio-template article.elementor {
	margin-top:clamp(32px,5vw,72px)!important;
	padding-top:clamp(96px,9vw,144px)!important;
}
.portfolio-template article.mq-version > .mq-version__badge { margin-top:clamp(56px,8vw,120px)!important; }
body.single-portfolio { padding-top:clamp(112px,10vw,156px)!important; }
body.single-portfolio .mq-version { transform:none!important; margin-top:0!important; margin-bottom:clamp(56px,8vw,120px)!important; }
@media(max-width:700px) { body.single-portfolio { padding-top:92px!important; } }

/* Plantilla seleccionable para páginas de apps: lienzo claro y realmente full width. */
body.fb-full-width-light { background:var(--full-width-bg,#fff)!important; color:#10131a; }
body.fb-full-width-light::before, body.fb-full-width-light::after { display:none; }
body.fb-full-width-light .site-main.full-width-light-main { width:100%; max-width:none; margin:0; padding:clamp(128px,12vw,184px) 0 0; }
body.fb-full-width-light .full-width-light-entry, body.fb-full-width-light .full-width-light-content { width:100%; max-width:none; margin:0; padding:0; }
body.fb-full-width-light .full-width-light-content > * { max-width:none; }
body.fb-full-width-light .full-width-light-content > .elementor-element:has(.elementor-widget-spacer),
body.fb-full-width-light .full-width-light-content > .elementor-element.elementor-element-empty {
	min-height:0!important; height:0!important; margin:0!important; padding:0!important; overflow:hidden!important; background:transparent!important;
}
body.fb-full-width-light .full-width-light-content > .elementor > .elementor-element:first-child,
body.fb-full-width-light .full-width-light-content > .elementor-section-wrap > .elementor-section:first-child,
body.fb-full-width-light .full-width-light-content > .elementor-top-section:first-child {
	display:none!important;
}
body.fb-full-width-light .site-footer { margin-top:0; }
/* Las categorías se muestran completas; nunca crean un scroll interno. */
.article-indexes .article-index--categories,
.article-indexes .article-index--categories > ol { max-height:none!important; height:auto!important; overflow:visible!important; }
.article-indexes .article-index--toc,
.article-indexes .article-index--toc > ol { max-height:none!important; height:auto!important; overflow:visible!important; }

/* Restauración del encabezado móvil compacto y estable. */
@media (max-width:700px) {
	.site-header { position:sticky; top:max(10px,env(safe-area-inset-top)); width:calc(100% - 32px); margin:12px auto 0; padding:8px 16px; border:1px solid rgba(255,255,255,.22); border-radius:24px; background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.035) 48%,rgba(150,80,255,.12)),rgba(18,14,34,.58); color:var(--ink); box-shadow:0 10px 28px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.2); backdrop-filter:blur(22px) saturate(170%); -webkit-backdrop-filter:blur(22px) saturate(170%); }
	.site-header .site-logo, .site-header .site-logo img { width:40px; height:40px; }
	.site-header .site-logo img { filter:brightness(0) invert(1); }
	.nav-ready .menu-toggle { border:0; background:transparent; box-shadow:none; padding-inline:4px; }
	.nav-ready .menu-toggle { color:#fff!important; }
	.nav-ready .site-header .nav-capsule { position:absolute!important; top:calc(100% + 10px)!important; left:0!important; right:0!important; width:100%!important; height:auto!important; min-height:0!important; max-height:calc(100dvh - 100px)!important; padding:12px!important; border-radius:20px!important; background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.035)),rgba(20,16,34,.84)!important; color:#fff!important; border:1px solid rgba(255,255,255,.2)!important; box-shadow:0 18px 40px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.18)!important; backdrop-filter:blur(26px) saturate(165%); -webkit-backdrop-filter:blur(26px) saturate(165%); }
	.nav-ready .site-header .site-nav .menu a { color:#fff!important; }
}
@media (max-width:700px) { body.fb-full-width-light .site-main.full-width-light-main { padding-top:96px; } }
