/* 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) {
	.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:24px!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; }

/* Portfolio pages start below the sticky header. */
.portfolio-template article.mq-version {
	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.fb-full-width-light { padding-top:0!important; }
body.single-portfolio .mq-version { transform:none!important; margin-top:0!important; margin-bottom:clamp(56px,8vw,120px)!important; }
/* Compact headers occupy normal flow: reserve space below, never above them. */
@media(max-width:1100px) {
 body.single-portfolio { padding-top:0!important; }
 body.single-portfolio .site-header { margin-bottom:24px; }
}

/* 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; }
/* La cabecera ya ocupa su espacio en el flujo normal; no reservamos otro bloque vacío encima del contenido. */
body.fb-full-width-light .site-main.full-width-light-main { width:100%; max-width:none; margin:0; padding:clamp(40px,4vw,56px) 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 .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; }

/* One compact header from tablet down to small phones. */
@media (max-width:1100px) {
 .site-header { --header-offset:max(10px,env(safe-area-inset-top)); position:sticky; top:var(--header-offset); left:auto; right:auto; z-index:100; width:calc(100% - var(--page-gutter)*2); min-height:64px; margin:12px auto 0; padding:8px 12px; grid-template-columns:minmax(0,1fr) auto auto; gap:10px; border:1px solid rgba(255,255,255,.22); border-radius:24px; background:linear-gradient(135deg,rgba(255,255,255,.1),transparent),rgba(20,16,34,.92); color:#fff; box-shadow:0 8px 24px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.15); backdrop-filter:blur(22px) saturate(150%); -webkit-backdrop-filter:blur(22px) saturate(150%); }
 .site-header,.site-header.menu-open,.site-header:has(.menu-toggle:hover) { animation:none; transform:none; }
 .site-header .brand-lockup::before { display:none; }
 .site-header .site-logo { width:44px; height:44px; filter:none; }
 .site-header .site-logo img { width:36px; height:36px; filter:brightness(0) invert(1); }
 .site-header > .contact-button { min-height:44px; padding:10px 16px; }
 .nav-ready .menu-toggle,.site-header .menu-toggle.glass-on-light { min-width:44px; min-height:44px; padding:10px 12px; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.06); color:#fff; box-shadow:none; line-height:1.2; }
 .menu-toggle-icon { flex-shrink:0; }
 .menu-open .menu-toggle-icon { border-color:transparent; }
 .menu-open .menu-toggle-icon::before,.menu-open .menu-toggle-icon::after { content:""; position:absolute; top:4px; left:0; width:16px; border-top:1.5px solid currentColor; transform:rotate(45deg); }
 .menu-open .menu-toggle-icon::after { transform:rotate(-45deg); }
 .nav-ready .site-header .nav-capsule { position:absolute; top:calc(100% + 8px); left:0; right:0; width:100%; height:auto; min-height:0; max-height:calc(100dvh - var(--header-offset) - 104px); padding:10px; border:1px solid rgba(255,255,255,.2); border-radius:20px; background:rgba(24,19,39,.98); box-shadow:0 16px 36px rgba(0,0,0,.25); overflow-y:auto; overscroll-behavior:contain; }
 .site-header .site-nav .menu a,.site-header .nav-capsule.glass-on-light .menu a { min-height:48px; padding:14px 16px; color:#fff; text-shadow:none; border-radius:12px; font-size:1rem; line-height:1.4; }
 .site-header .site-nav .menu a:hover,.site-header .site-nav .menu a:focus-visible,.site-header .site-nav .current-menu-item > a,.site-header .site-nav .menu a.is-active { background:rgba(182,126,255,.18); color:#fff; }
 body.admin-bar .site-header { --header-offset:calc(32px + max(10px,env(safe-area-inset-top))); }
}
@media (max-width:782px) { body.admin-bar .site-header { --header-offset:calc(46px + max(10px,env(safe-area-inset-top))); } }
@media (max-width:700px) {
 .site-header { grid-template-columns:minmax(0,1fr) auto; }
 .site-header > .contact-button { display:none; }
 .nav-ready .menu-toggle { grid-column:2; }
}

/* Larger, high-contrast article copy on phones. */
@media (max-width:700px) {
 body.single-post .single-entry .entry-content {
  --ink:#fff;
  --muted-strong:#fff;
  font-size:1.125rem;
  line-height:1.8;
  color:#fff;
 }
 body.single-post .single-entry .entry-content :is(p,li,blockquote,th,td,h2,h3,h4,h5,h6) { color:#fff; }
}

/* Editorial callouts must always span the complete article, never the narrow index column. */
body.single-post .single-entry.editorial-entry > .article-summary,
body.single-post .single-entry.editorial-entry > .article-quote,
body.single-post .single-entry.editorial-entry > .article-verdict {
 grid-column:1/-1;
 width:auto;
 min-width:0;
}
body.single-post .single-entry.editorial-entry > .article-rating { grid-column:1/-1; width:auto; min-width:0; }
@media(max-width:700px) {
 body.single-post .article-rating { grid-template-columns:1fr; gap:12px; margin-inline:20px; }
 body.single-post .article-rating__score { min-width:0; padding-right:0; padding-bottom:12px; border-right:0; border-bottom:1px solid rgba(211,72,255,.28); }
 body.single-post .article-module { margin-block:10px; }
 body.single-post .article-verdict.article-module { margin-bottom:24px; }
}

/* Light app landing canvas continues through the compact header and safe area. */
@media (max-width:1100px) {
 html:has(body.fb-full-width-light) { background:var(--full-width-bg,#f8f9fa); }
 body.fb-full-width-light .site-header {
  background:rgba(255,255,255,.8); border-color:rgba(30,25,40,.1); color:#211b2b;
  box-shadow:0 8px 24px rgba(30,25,40,.1),inset 0 1px rgba(255,255,255,.9);
 }
 body.fb-full-width-light .site-header .site-logo img { filter:brightness(0); }
 body.fb-full-width-light .site-header .menu-toggle {
  color:#211b2b; background:rgba(255,255,255,.4); border-color:rgba(30,25,40,.16);
 }
 body.fb-full-width-light .site-footer {
  background:var(--bg); width:100%; margin-top:0;
  padding:32px var(--page-gutter) max(30px,env(safe-area-inset-bottom));
 }
}

/* Menu control sits directly on the header, with a full touch target. */
@media (max-width:1100px) {
 .nav-ready .site-header .menu-toggle,
 body.fb-full-width-light .site-header .menu-toggle {
  background:transparent;
  border-color:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
 }
}

/* Independent footer background, including full-width light templates. */
body .site-footer.footer-redesign {
 background:var(--footer-bg,#05070d);
 width:100%;
 padding:32px max(var(--page-gutter),calc((100% - var(--max))/2)) max(30px,env(safe-area-inset-bottom));
}

/* Rounded compact capsule and spacious, coherent navigation panel. */
@media (max-width:1100px) {
 .site-header { border-radius:999px; padding-inline:18px; }
 .nav-ready .site-header .nav-capsule {
  top:calc(100% + 12px); padding:12px; border-radius:30px;
  background:linear-gradient(145deg,rgba(255,255,255,.09),transparent 65%),rgba(24,19,39,.97);
  backdrop-filter:blur(28px) saturate(150%); -webkit-backdrop-filter:blur(28px) saturate(150%);
  box-shadow:0 20px 48px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.15);
 }
 .site-header .site-nav .menu { gap:6px; }
 .site-header .site-nav .menu a,.site-header .nav-capsule.glass-on-light .menu a {
  display:flex; align-items:center; min-height:56px; padding:16px 20px;
  border-radius:20px; font-size:1.0625rem; font-weight:600; letter-spacing:-.015em;
  background:rgba(255,255,255,.035);
 }
 .site-header .site-nav .menu a:hover,.site-header .site-nav .menu a:focus-visible,
 .site-header .site-nav .current-menu-item > a,.site-header .site-nav .menu a.is-active {
  background:rgba(182,126,255,.2); color:#fff;
 }
 .site-header .site-nav .menu a:focus-visible { outline:2px solid #c99aff; outline-offset:-2px; }
 body.fb-full-width-light .site-header .nav-capsule {
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(245,241,252,.96));
  border-color:rgba(40,25,65,.12); box-shadow:0 20px 48px rgba(30,20,50,.16),inset 0 1px #fff;
 }
 body.fb-full-width-light .site-header .site-nav .menu a { color:#211b2b; background:rgba(60,35,90,.035); }
 body.fb-full-width-light .site-header .site-nav .menu a:hover,
 body.fb-full-width-light .site-header .site-nav .menu a:focus-visible,
 body.fb-full-width-light .site-header .site-nav .current-menu-item > a,
 body.fb-full-width-light .site-header .site-nav .menu a.is-active { background:rgba(155,66,255,.12); color:#6020a2; }
}

/* Preserve all menu levels configured in WordPress. */
.site-header .site-nav .sub-menu { list-style:none; margin:0; padding:8px; }
.site-header .site-nav .menu-item-has-children > a::after {
 content:"⌄"; position:absolute; right:12px; top:50%; left:auto; bottom:auto;
 display:block; width:auto; height:auto; margin:0; border:0; border-radius:0; background:none;
 opacity:1; transform:translateY(-50%); transition:none; line-height:1;
}
@media (min-width:1101px) {
 .site-header .site-nav li { position:relative; }
 .site-header .site-nav .sub-menu {
  display:none; position:absolute; top:100%; left:0; width:260px;
  border:1px solid rgba(255,255,255,.22); border-radius:20px;
  background:#181327; box-shadow:0 16px 36px rgba(0,0,0,.25); z-index:110;
 }
 .site-header .site-nav li:hover > .sub-menu,
 .site-header .site-nav li:focus-within > .sub-menu { display:block; }
 .site-header .site-nav .sub-menu a { display:flex; padding:12px 16px; color:#fff; white-space:normal; }
 .site-header .site-nav .sub-menu .sub-menu { position:static; width:auto; margin-left:12px; box-shadow:none; border:0; }
 body.fb-full-width-light .site-header .site-nav .sub-menu {
  background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(246,242,252,.98));
  border-color:rgba(40,25,65,.14); box-shadow:0 18px 38px rgba(30,20,50,.18),inset 0 1px #fff;
 }
 body.fb-full-width-light .site-header .site-nav .sub-menu a { color:#211b2b; }
 body.fb-full-width-light .site-header .site-nav .sub-menu a:hover,
 body.fb-full-width-light .site-header .site-nav .sub-menu a:focus-visible,
 body.fb-full-width-light .site-header .site-nav .sub-menu .current-menu-item > a { background:rgba(155,66,255,.12); color:#6020a2; }
}
@media (max-width:1100px) {
 .site-header .site-nav .sub-menu { display:block; padding:4px 0 8px 14px; margin:4px 8px 8px; border-left:1px solid rgba(182,126,255,.35); }
 .site-header .site-nav .sub-menu li + li { margin-top:4px; }
 .site-header .site-nav .sub-menu a { min-height:44px; padding:10px 14px; font-size:.9375rem; font-weight:500; border-radius:14px; }
 body.fb-full-width-light .site-header .site-nav .sub-menu { border-color:rgba(96,32,162,.25); }
}

/* Static presentation: content is visible immediately, without entrance effects. */
html { scroll-behavior:auto!important; }
body *, body *::before, body *::after { animation:none!important; transition:none!important; }
.reveal-in,.effect-enter,.motion-pending,.motion-revealed { opacity:1!important; transform:none!important; translate:none!important; }
.site-header:has(.menu-toggle:hover),.site-header.menu-open,.menu-toggle:active,
.site-logo:hover,.contact-button:hover,.primary-button:hover,.secondary-button:hover,
.topic-card:hover,.content-card:hover,.all-apps-link:hover { transform:none!important; }
.latest-note-media img,.latest-note:hover .latest-note-media img,
.apps-band .content-card figure img,.apps-band .content-card:hover figure img { transform:none!important; }

/* Desktop hero balances both columns within the available viewport. */
@media (min-width:1101px) {
 .home-main .hero {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(24px,3vw,48px);
  min-height:clamp(440px,calc(100svh - 200px),640px);
  padding:0 clamp(32px,4vw,56px);
  align-items:center;
 }
 .home-main .hero-copy { padding-block:clamp(32px,5svh,56px); margin-inline:auto; }
 .home-main .hero h1 { font-size:clamp(2.75rem,min(4.5vw,7svh),5rem); }
 .home-main .hero-portrait {
  position:relative; right:auto; bottom:auto; grid-column:2; grid-row:1;
  width:100%; margin:0; align-self:end; justify-self:end;
  transform:translateX(clamp(24px,4vw,56px));
 }
 .home-main .hero-portrait img {
  display:block; width:100%; height:auto;
  max-height:clamp(400px,calc(100svh - 220px),600px);
  object-fit:contain; object-position:center bottom;
 }
}

/* Give article headings breathing room before their content. */
body.single-post .single-entry .entry-content h2 { margin-bottom:24px; }
body.single-post .single-entry .entry-content :is(h3,h4,h5,h6) { margin-bottom:20px; }

/* Optional review sections share one surface; missing sections leave no gaps. */
.single-entry.editorial-entry > .article-summary,
.single-entry.editorial-entry > .article-review {
 grid-column:1/-1; min-width:0; margin:8px 0 0;
 border:1px solid rgba(203,155,255,.24); border-radius:22px;
 background:radial-gradient(ellipse at top right,rgba(155,66,255,.12),transparent 65%),rgba(255,255,255,.035);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.single-entry.editorial-entry > .article-summary { padding:26px 28px; }
.editorial-entry > .article-summary li { font-weight:500; line-height:1.6; color:#d8cdeb; }
.editorial-entry > .article-summary li::before { width:5px; height:5px; top:.65em; background:#d9b5ff; box-shadow:none; }
.editorial-entry > .article-summary .eyebrow { margin:0 0 16px; }
@media(max-width:700px) {
 .single-entry.editorial-entry > .article-summary { padding:22px 20px; }
 .single-entry.editorial-entry > .article-layout { grid-row:auto; }
}
.article-review > .article-module {
 margin:0; padding:26px 28px; min-width:0; width:auto;
 border:0; border-radius:0; background:none; box-shadow:none;
}
.article-review > .article-module + .article-module { border-top:1px solid rgba(203,155,255,.16); }
.article-review .article-rating::after { display:none; }
.article-review .article-quote p { font-size:clamp(1.2rem,2vw,1.6rem); line-height:1.45; font-weight:700; }
.article-review .article-quote p::before { content:'“'; color:#efff00; margin-right:.18em; }
.article-review .article-rating__score { min-width:0; padding-right:24px; gap:8px; }
.article-review .article-rating__score strong { flex:none; padding:.08em .08em .12em; line-height:1.15; letter-spacing:-.025em; }
.article-review .article-verdict__columns { grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:16px; margin-top:20px; }
.article-review .article-verdict__columns > div { background:rgba(0,0,0,.1); border-color:rgba(203,155,255,.13); border-radius:12px; }
.article-review .article-verdict__columns span { color:#d9b5ff; }
.article-review .article-verdict__badge { background:rgba(239,255,0,.1); color:#efff00; border:1px solid rgba(239,255,0,.22); }
.article-review .article-verdict__badge--no { background:rgba(255,255,255,.06); color:var(--ink); border-color:var(--line); }
@media(max-width:700px) {
 .article-review > .article-module { margin:0; padding:22px 20px; }
 .article-review .article-rating { grid-template-columns:auto minmax(0,1fr); gap:16px; }
 .article-review .article-rating__score { border:0; padding:0; }
 .article-review .article-rating__score strong { font-size:2.6rem; }
 .article-review .article-rating__copy p:last-child { font-size:.9rem; }
}
@media(max-width:400px) {
 .article-review .article-rating { grid-template-columns:1fr; }
}
